Commit 815533ad7fc9caa531a6f596dbe913d4b781237e

Authored by 郑超
2 parents 5eb7e78f ddd85cda

Merge remote-tracking branch 'origin/dev' into master_bak

# Conflicts:
#	src/main/java/com/cnlive/shenhe/serviceImpl/VideosServiceImpl.java
#	src/main/resources/application.properties
Showing 37 changed files with 7360 additions and 902 deletions
LOG_HOME_IS_UNDEFINED/20220304/APP_NAME_IS_UNDEFINED.log 0 → 100644
  1 +2022-03-04 17:00:58.798 [restartedMain] INFO com.cnlive.shenhe.ShenheApplication - Starting ShenheApplication on WIN7-20190718XJ with PID 17904 (D:\cnlive_shenhe\target\classes started by Administrator in D:\cnlive_shenhe)
  2 +2022-03-04 17:00:58.802 [restartedMain] INFO com.cnlive.shenhe.ShenheApplication - The following profiles are active: dev
  3 +2022-03-04 17:00:59.989 [restartedMain] WARN tk.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  4 +2022-03-04 17:01:00.046 [restartedMain] WARN org.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  5 +2022-03-04 17:01:00.964 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8080"]
  6 +2022-03-04 17:01:00.964 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
  7 +2022-03-04 17:01:00.964 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.54]
  8 +2022-03-04 17:01:01.088 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
  9 +2022-03-04 17:01:01.156 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerUrlPrefix] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2]
  10 +2022-03-04 17:01:01.159 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [service] loaded from FilterConfig.getInitParameter with value [http://test.shen.cnlive.com:82/users/login]
  11 +2022-03-04 17:01:01.159 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerLoginUrl] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2/login]
  12 +2022-03-04 17:01:01.159 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [ignorePattern] loaded from FilterConfig.getInitParameter with value [/api/*|/logging/*]
  13 +2022-03-04 17:01:01.160 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [serverName] loaded from FilterConfig.getInitParameter with value [http://test.shen.cnlive.com:82]
  14 +2022-03-04 17:01:01.162 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerUrlPrefix] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2]
  15 +2022-03-04 17:01:01.163 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [encoding] loaded from FilterConfig.getInitParameter with value [utf-8]
  16 +2022-03-04 17:01:01.163 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [encoding] loaded from FilterConfig.getInitParameter with value [utf-8]
  17 +2022-03-04 17:01:01.192 [restartedMain] INFO org.apache.catalina.core.StandardService - Stopping service [Tomcat]
... ...
LOG_HOME_IS_UNDEFINED/20220307/APP_NAME_IS_UNDEFINED.log 0 → 100644
  1 +2022-03-07 14:36:40.138 [restartedMain] INFO com.cnlive.shenhe.ShenheApplication - Starting ShenheApplication on WIN7-20190718XJ with PID 19076 (D:\cnlive_shenhe\target\classes started by Administrator in D:\cnlive_shenhe)
  2 +2022-03-07 14:36:40.141 [restartedMain] INFO com.cnlive.shenhe.ShenheApplication - The following profiles are active: dev
  3 +2022-03-07 14:36:41.000 [restartedMain] WARN tk.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  4 +2022-03-07 14:36:41.021 [restartedMain] WARN org.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  5 +2022-03-07 14:36:41.263 [restartedMain] WARN org.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  6 +2022-03-07 14:36:41.866 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8080"]
  7 +2022-03-07 14:36:41.866 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
  8 +2022-03-07 14:36:41.867 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.54]
  9 +2022-03-07 14:36:41.973 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
  10 +2022-03-07 14:36:42.041 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerUrlPrefix] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2]
  11 +2022-03-07 14:36:42.043 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [service] loaded from FilterConfig.getInitParameter with value [http://test.shen.cnlive.com:82/users/login]
  12 +2022-03-07 14:36:42.044 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerLoginUrl] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2/login]
  13 +2022-03-07 14:36:42.044 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [ignorePattern] loaded from FilterConfig.getInitParameter with value [/api/*|/logging/*]
  14 +2022-03-07 14:36:42.045 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [serverName] loaded from FilterConfig.getInitParameter with value [http://test.shen.cnlive.com:82]
  15 +2022-03-07 14:36:42.046 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerUrlPrefix] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2]
  16 +2022-03-07 14:36:42.048 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [encoding] loaded from FilterConfig.getInitParameter with value [utf-8]
  17 +2022-03-07 14:36:42.048 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [encoding] loaded from FilterConfig.getInitParameter with value [utf-8]
  18 +2022-03-07 14:36:42.075 [restartedMain] INFO org.apache.catalina.core.StandardService - Stopping service [Tomcat]
  19 +2022-03-07 14:37:25.138 [restartedMain] INFO com.cnlive.shenhe.ShenheApplication - Starting ShenheApplication on WIN7-20190718XJ with PID 20204 (D:\cnlive_shenhe\target\classes started by Administrator in D:\cnlive_shenhe)
  20 +2022-03-07 14:37:25.141 [restartedMain] INFO com.cnlive.shenhe.ShenheApplication - The following profiles are active: dev
  21 +2022-03-07 14:37:26.034 [restartedMain] WARN tk.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  22 +2022-03-07 14:37:26.055 [restartedMain] WARN org.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  23 +2022-03-07 14:37:26.294 [restartedMain] WARN org.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  24 +2022-03-07 14:37:26.869 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8080"]
  25 +2022-03-07 14:37:26.870 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
  26 +2022-03-07 14:37:26.870 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.54]
  27 +2022-03-07 14:37:26.975 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
  28 +2022-03-07 14:37:27.044 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerUrlPrefix] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2]
  29 +2022-03-07 14:37:27.046 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [service] loaded from FilterConfig.getInitParameter with value [http://test.shen.cnlive.com:82/users/login]
  30 +2022-03-07 14:37:27.046 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerLoginUrl] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2/login]
  31 +2022-03-07 14:37:27.047 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [ignorePattern] loaded from FilterConfig.getInitParameter with value [/api/*|/logging/*]
  32 +2022-03-07 14:37:27.048 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [serverName] loaded from FilterConfig.getInitParameter with value [http://test.shen.cnlive.com:82]
  33 +2022-03-07 14:37:27.049 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerUrlPrefix] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2]
  34 +2022-03-07 14:37:27.050 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [encoding] loaded from FilterConfig.getInitParameter with value [utf-8]
  35 +2022-03-07 14:37:27.051 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [encoding] loaded from FilterConfig.getInitParameter with value [utf-8]
  36 +2022-03-07 14:37:27.079 [restartedMain] INFO org.apache.catalina.core.StandardService - Stopping service [Tomcat]
  37 +2022-03-07 14:38:37.280 [restartedMain] INFO com.cnlive.shenhe.ShenheApplication - Starting ShenheApplication on WIN7-20190718XJ with PID 20300 (D:\cnlive_shenhe\target\classes started by Administrator in D:\cnlive_shenhe)
  38 +2022-03-07 14:38:37.283 [restartedMain] INFO com.cnlive.shenhe.ShenheApplication - The following profiles are active: dev
  39 +2022-03-07 14:38:38.216 [restartedMain] WARN tk.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  40 +2022-03-07 14:38:38.242 [restartedMain] WARN org.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  41 +2022-03-07 14:38:38.575 [restartedMain] WARN org.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  42 +2022-03-07 14:38:39.208 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8080"]
  43 +2022-03-07 14:38:39.209 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
  44 +2022-03-07 14:38:39.209 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.54]
  45 +2022-03-07 14:38:39.351 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
  46 +2022-03-07 14:38:39.419 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerUrlPrefix] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2]
  47 +2022-03-07 14:38:39.421 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [service] loaded from FilterConfig.getInitParameter with value [http://test.shen.cnlive.com:82/users/login]
  48 +2022-03-07 14:38:39.422 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerLoginUrl] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2/login]
  49 +2022-03-07 14:38:39.422 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [ignorePattern] loaded from FilterConfig.getInitParameter with value [/api/*|/logging/*]
  50 +2022-03-07 14:38:39.423 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [serverName] loaded from FilterConfig.getInitParameter with value [http://test.shen.cnlive.com:82]
  51 +2022-03-07 14:38:39.424 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerUrlPrefix] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2]
  52 +2022-03-07 14:38:39.425 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [encoding] loaded from FilterConfig.getInitParameter with value [utf-8]
  53 +2022-03-07 14:38:39.426 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [encoding] loaded from FilterConfig.getInitParameter with value [utf-8]
  54 +2022-03-07 14:38:39.452 [restartedMain] INFO org.apache.catalina.core.StandardService - Stopping service [Tomcat]
  55 +2022-03-07 14:41:34.242 [restartedMain] INFO com.cnlive.shenhe.ShenheApplication - Starting ShenheApplication on WIN7-20190718XJ with PID 21200 (D:\cnlive_shenhe\target\classes started by Administrator in D:\cnlive_shenhe)
  56 +2022-03-07 14:41:34.245 [restartedMain] INFO com.cnlive.shenhe.ShenheApplication - The following profiles are active: dev
  57 +2022-03-07 14:41:35.157 [restartedMain] WARN tk.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  58 +2022-03-07 14:41:35.177 [restartedMain] WARN org.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  59 +2022-03-07 14:41:35.415 [restartedMain] WARN org.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  60 +2022-03-07 14:41:35.985 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8080"]
  61 +2022-03-07 14:41:35.986 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
  62 +2022-03-07 14:41:35.986 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.54]
  63 +2022-03-07 14:41:36.109 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
  64 +2022-03-07 14:41:36.182 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerUrlPrefix] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2]
  65 +2022-03-07 14:41:36.184 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [service] loaded from FilterConfig.getInitParameter with value [http://test.shen.cnlive.com:82/users/login]
  66 +2022-03-07 14:41:36.185 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerLoginUrl] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2/login]
  67 +2022-03-07 14:41:36.185 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [ignorePattern] loaded from FilterConfig.getInitParameter with value [/api/*|/logging/*]
  68 +2022-03-07 14:41:36.186 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [serverName] loaded from FilterConfig.getInitParameter with value [http://test.shen.cnlive.com:82]
  69 +2022-03-07 14:41:36.188 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerUrlPrefix] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2]
  70 +2022-03-07 14:41:36.189 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [encoding] loaded from FilterConfig.getInitParameter with value [utf-8]
  71 +2022-03-07 14:41:36.189 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [encoding] loaded from FilterConfig.getInitParameter with value [utf-8]
  72 +2022-03-07 14:41:36.232 [restartedMain] INFO org.apache.catalina.core.StandardService - Stopping service [Tomcat]
  73 +2022-03-07 14:46:56.201 [restartedMain] INFO com.cnlive.shenhe.ShenheApplication - Starting ShenheApplication on WIN7-20190718XJ with PID 19840 (D:\cnlive_shenhe\target\classes started by Administrator in D:\cnlive_shenhe)
  74 +2022-03-07 14:46:56.206 [restartedMain] INFO com.cnlive.shenhe.ShenheApplication - The following profiles are active: dev
  75 +2022-03-07 14:46:57.165 [restartedMain] WARN tk.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  76 +2022-03-07 14:46:57.186 [restartedMain] WARN org.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  77 +2022-03-07 14:46:57.426 [restartedMain] WARN org.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  78 +2022-03-07 14:46:57.990 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8080"]
  79 +2022-03-07 14:46:57.991 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
  80 +2022-03-07 14:46:57.991 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.54]
  81 +2022-03-07 14:46:58.119 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
  82 +2022-03-07 14:46:58.188 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerUrlPrefix] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2]
  83 +2022-03-07 14:46:58.190 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [service] loaded from FilterConfig.getInitParameter with value [http://test.shen.cnlive.com:82/users/login]
  84 +2022-03-07 14:46:58.191 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerLoginUrl] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2/login]
  85 +2022-03-07 14:46:58.191 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [ignorePattern] loaded from FilterConfig.getInitParameter with value [/api/*|/logging/*]
  86 +2022-03-07 14:46:58.192 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [serverName] loaded from FilterConfig.getInitParameter with value [http://test.shen.cnlive.com:82]
  87 +2022-03-07 14:46:58.193 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerUrlPrefix] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2]
  88 +2022-03-07 14:46:58.195 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [encoding] loaded from FilterConfig.getInitParameter with value [utf-8]
  89 +2022-03-07 14:46:58.195 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [encoding] loaded from FilterConfig.getInitParameter with value [utf-8]
  90 +2022-03-07 14:46:58.221 [restartedMain] INFO org.apache.catalina.core.StandardService - Stopping service [Tomcat]
  91 +2022-03-07 14:48:28.042 [restartedMain] INFO com.cnlive.shenhe.ShenheApplication - Starting ShenheApplication on WIN7-20190718XJ with PID 17384 (D:\cnlive_shenhe\target\classes started by Administrator in D:\cnlive_shenhe)
  92 +2022-03-07 14:48:28.046 [restartedMain] INFO com.cnlive.shenhe.ShenheApplication - The following profiles are active: dev
  93 +2022-03-07 14:48:28.957 [restartedMain] WARN tk.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  94 +2022-03-07 14:48:28.978 [restartedMain] WARN org.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  95 +2022-03-07 14:48:29.215 [restartedMain] WARN org.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  96 +2022-03-07 14:48:29.785 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8080"]
  97 +2022-03-07 14:48:29.785 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
  98 +2022-03-07 14:48:29.786 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.54]
  99 +2022-03-07 14:48:29.891 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
  100 +2022-03-07 14:48:29.958 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerUrlPrefix] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2]
  101 +2022-03-07 14:48:29.961 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [service] loaded from FilterConfig.getInitParameter with value [http://test.shen.cnlive.com:82/users/login]
  102 +2022-03-07 14:48:29.961 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerLoginUrl] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2/login]
  103 +2022-03-07 14:48:29.961 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [ignorePattern] loaded from FilterConfig.getInitParameter with value [/api/*|/logging/*]
  104 +2022-03-07 14:48:29.962 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [serverName] loaded from FilterConfig.getInitParameter with value [http://test.shen.cnlive.com:82]
  105 +2022-03-07 14:48:29.964 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerUrlPrefix] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2]
  106 +2022-03-07 14:48:29.965 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [encoding] loaded from FilterConfig.getInitParameter with value [utf-8]
  107 +2022-03-07 14:48:29.965 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [encoding] loaded from FilterConfig.getInitParameter with value [utf-8]
  108 +2022-03-07 14:48:29.991 [restartedMain] INFO org.apache.catalina.core.StandardService - Stopping service [Tomcat]
  109 +2022-03-07 14:53:32.869 [restartedMain] INFO com.cnlive.shenhe.ShenheApplication - Starting ShenheApplication on WIN7-20190718XJ with PID 20740 (D:\cnlive_shenhe\target\classes started by Administrator in D:\cnlive_shenhe)
  110 +2022-03-07 14:53:32.873 [restartedMain] INFO com.cnlive.shenhe.ShenheApplication - The following profiles are active: dev
  111 +2022-03-07 14:53:33.783 [restartedMain] WARN tk.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  112 +2022-03-07 14:53:33.804 [restartedMain] WARN org.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  113 +2022-03-07 14:53:34.047 [restartedMain] WARN org.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  114 +2022-03-07 14:53:34.624 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8080"]
  115 +2022-03-07 14:53:34.624 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
  116 +2022-03-07 14:53:34.625 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.54]
  117 +2022-03-07 14:53:34.752 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
  118 +2022-03-07 14:53:34.821 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerUrlPrefix] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2]
  119 +2022-03-07 14:53:34.824 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [service] loaded from FilterConfig.getInitParameter with value [http://test.shen.cnlive.com:82/users/login]
  120 +2022-03-07 14:53:34.824 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerLoginUrl] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2/login]
  121 +2022-03-07 14:53:34.824 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [ignorePattern] loaded from FilterConfig.getInitParameter with value [/api/*|/logging/*]
  122 +2022-03-07 14:53:34.826 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [serverName] loaded from FilterConfig.getInitParameter with value [http://test.shen.cnlive.com:82]
  123 +2022-03-07 14:53:34.827 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerUrlPrefix] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2]
  124 +2022-03-07 14:53:34.828 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [encoding] loaded from FilterConfig.getInitParameter with value [utf-8]
  125 +2022-03-07 14:53:34.828 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [encoding] loaded from FilterConfig.getInitParameter with value [utf-8]
  126 +2022-03-07 14:53:34.856 [restartedMain] INFO org.apache.catalina.core.StandardService - Stopping service [Tomcat]
  127 +2022-03-07 14:54:46.254 [restartedMain] INFO com.cnlive.shenhe.ShenheApplication - Starting ShenheApplication on WIN7-20190718XJ with PID 21044 (D:\cnlive_shenhe\target\classes started by Administrator in D:\cnlive_shenhe)
  128 +2022-03-07 14:54:46.258 [restartedMain] INFO com.cnlive.shenhe.ShenheApplication - The following profiles are active: dev
  129 +2022-03-07 14:54:47.173 [restartedMain] WARN tk.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  130 +2022-03-07 14:54:47.195 [restartedMain] WARN org.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  131 +2022-03-07 14:54:47.438 [restartedMain] WARN org.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  132 +2022-03-07 14:54:48.015 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8080"]
  133 +2022-03-07 14:54:48.016 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
  134 +2022-03-07 14:54:48.016 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.54]
  135 +2022-03-07 14:54:48.142 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
  136 +2022-03-07 14:54:48.212 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerUrlPrefix] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2]
  137 +2022-03-07 14:54:48.215 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [service] loaded from FilterConfig.getInitParameter with value [http://test.shen.cnlive.com:82/users/login]
  138 +2022-03-07 14:54:48.215 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerLoginUrl] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2/login]
  139 +2022-03-07 14:54:48.215 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [ignorePattern] loaded from FilterConfig.getInitParameter with value [/api/*|/logging/*]
  140 +2022-03-07 14:54:48.217 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [serverName] loaded from FilterConfig.getInitParameter with value [http://test.shen.cnlive.com:82]
  141 +2022-03-07 14:54:48.218 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerUrlPrefix] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2]
  142 +2022-03-07 14:54:48.219 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [encoding] loaded from FilterConfig.getInitParameter with value [utf-8]
  143 +2022-03-07 14:54:48.219 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [encoding] loaded from FilterConfig.getInitParameter with value [utf-8]
  144 +2022-03-07 14:54:48.248 [restartedMain] INFO org.apache.catalina.core.StandardService - Stopping service [Tomcat]
  145 +2022-03-07 15:01:55.391 [restartedMain] INFO com.cnlive.shenhe.ShenheApplication - Starting ShenheApplication on WIN7-20190718XJ with PID 18012 (D:\cnlive_shenhe\target\classes started by Administrator in D:\cnlive_shenhe)
  146 +2022-03-07 15:01:55.394 [restartedMain] INFO com.cnlive.shenhe.ShenheApplication - The following profiles are active: dev
  147 +2022-03-07 15:01:56.302 [restartedMain] WARN tk.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  148 +2022-03-07 15:01:56.324 [restartedMain] WARN org.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  149 +2022-03-07 15:01:56.580 [restartedMain] WARN org.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  150 +2022-03-07 15:01:57.148 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8080"]
  151 +2022-03-07 15:01:57.149 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
  152 +2022-03-07 15:01:57.149 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.54]
  153 +2022-03-07 15:01:57.275 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
  154 +2022-03-07 15:01:57.344 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerUrlPrefix] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2]
  155 +2022-03-07 15:01:57.346 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [service] loaded from FilterConfig.getInitParameter with value [http://test.shen.cnlive.com:82/users/login]
  156 +2022-03-07 15:01:57.346 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerLoginUrl] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2/login]
  157 +2022-03-07 15:01:57.347 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [ignorePattern] loaded from FilterConfig.getInitParameter with value [/api/*|/logging/*]
  158 +2022-03-07 15:01:57.348 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [serverName] loaded from FilterConfig.getInitParameter with value [http://test.shen.cnlive.com:82]
  159 +2022-03-07 15:01:57.349 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerUrlPrefix] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2]
  160 +2022-03-07 15:01:57.350 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [encoding] loaded from FilterConfig.getInitParameter with value [utf-8]
  161 +2022-03-07 15:01:57.350 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [encoding] loaded from FilterConfig.getInitParameter with value [utf-8]
  162 +2022-03-07 15:01:57.379 [restartedMain] INFO org.apache.catalina.core.StandardService - Stopping service [Tomcat]
  163 +2022-03-07 15:03:00.479 [restartedMain] INFO com.cnlive.shenhe.ShenheApplication - Starting ShenheApplication on WIN7-20190718XJ with PID 19804 (D:\cnlive_shenhe\target\classes started by Administrator in D:\cnlive_shenhe)
  164 +2022-03-07 15:03:00.483 [restartedMain] INFO com.cnlive.shenhe.ShenheApplication - The following profiles are active: dev
  165 +2022-03-07 15:03:01.477 [restartedMain] WARN tk.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  166 +2022-03-07 15:03:01.499 [restartedMain] WARN org.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  167 +2022-03-07 15:03:01.743 [restartedMain] WARN org.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  168 +2022-03-07 15:03:02.317 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8080"]
  169 +2022-03-07 15:03:02.318 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
  170 +2022-03-07 15:03:02.318 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.54]
  171 +2022-03-07 15:03:02.443 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
  172 +2022-03-07 15:03:02.512 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerUrlPrefix] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2]
  173 +2022-03-07 15:03:02.514 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [service] loaded from FilterConfig.getInitParameter with value [http://test.shen.cnlive.com:82/users/login]
  174 +2022-03-07 15:03:02.514 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerLoginUrl] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2/login]
  175 +2022-03-07 15:03:02.515 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [ignorePattern] loaded from FilterConfig.getInitParameter with value [/api/*|/logging/*]
  176 +2022-03-07 15:03:02.516 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [serverName] loaded from FilterConfig.getInitParameter with value [http://test.shen.cnlive.com:82]
  177 +2022-03-07 15:03:02.517 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerUrlPrefix] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2]
  178 +2022-03-07 15:03:02.518 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [encoding] loaded from FilterConfig.getInitParameter with value [utf-8]
  179 +2022-03-07 15:03:02.518 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [encoding] loaded from FilterConfig.getInitParameter with value [utf-8]
  180 +2022-03-07 15:03:02.547 [restartedMain] INFO org.apache.catalina.core.StandardService - Stopping service [Tomcat]
  181 +2022-03-07 15:06:48.158 [restartedMain] INFO com.cnlive.shenhe.ShenheApplication - Starting ShenheApplication on WIN7-20190718XJ with PID 20544 (D:\cnlive_shenhe\target\classes started by Administrator in D:\cnlive_shenhe)
  182 +2022-03-07 15:06:48.161 [restartedMain] INFO com.cnlive.shenhe.ShenheApplication - The following profiles are active: dev
  183 +2022-03-07 15:06:49.070 [restartedMain] WARN tk.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  184 +2022-03-07 15:06:49.091 [restartedMain] WARN org.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  185 +2022-03-07 15:06:49.331 [restartedMain] WARN org.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  186 +2022-03-07 15:06:49.902 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8080"]
  187 +2022-03-07 15:06:49.902 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
  188 +2022-03-07 15:06:49.903 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.54]
  189 +2022-03-07 15:06:50.024 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
  190 +2022-03-07 15:06:50.093 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerUrlPrefix] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2]
  191 +2022-03-07 15:06:50.096 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [service] loaded from FilterConfig.getInitParameter with value [http://test.shen.cnlive.com:82/users/login]
  192 +2022-03-07 15:06:50.096 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerLoginUrl] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2/login]
  193 +2022-03-07 15:06:50.096 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [ignorePattern] loaded from FilterConfig.getInitParameter with value [/api/*|/logging/*]
  194 +2022-03-07 15:06:50.097 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [serverName] loaded from FilterConfig.getInitParameter with value [http://test.shen.cnlive.com:82]
  195 +2022-03-07 15:06:50.098 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerUrlPrefix] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2]
  196 +2022-03-07 15:06:50.100 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [encoding] loaded from FilterConfig.getInitParameter with value [utf-8]
  197 +2022-03-07 15:06:50.100 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [encoding] loaded from FilterConfig.getInitParameter with value [utf-8]
  198 +2022-03-07 15:06:50.127 [restartedMain] INFO org.apache.catalina.core.StandardService - Stopping service [Tomcat]
  199 +2022-03-07 15:12:56.607 [restartedMain] INFO com.cnlive.shenhe.ShenheApplication - Starting ShenheApplication on WIN7-20190718XJ with PID 19248 (D:\cnlive_shenhe\target\classes started by Administrator in D:\cnlive_shenhe)
  200 +2022-03-07 15:12:56.612 [restartedMain] INFO com.cnlive.shenhe.ShenheApplication - The following profiles are active: dev
  201 +2022-03-07 15:12:57.561 [restartedMain] WARN tk.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  202 +2022-03-07 15:12:57.585 [restartedMain] WARN org.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  203 +2022-03-07 15:12:58.507 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8080"]
  204 +2022-03-07 15:12:58.508 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
  205 +2022-03-07 15:12:58.509 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.54]
  206 +2022-03-07 15:12:58.693 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
  207 +2022-03-07 15:12:58.779 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerUrlPrefix] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2]
  208 +2022-03-07 15:12:58.782 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [service] loaded from FilterConfig.getInitParameter with value [http://test.shen.cnlive.com:82/users/login]
  209 +2022-03-07 15:12:58.783 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerLoginUrl] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2/login]
  210 +2022-03-07 15:12:58.783 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [ignorePattern] loaded from FilterConfig.getInitParameter with value [/api/*|/logging/*]
  211 +2022-03-07 15:12:58.785 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [serverName] loaded from FilterConfig.getInitParameter with value [http://test.shen.cnlive.com:82]
  212 +2022-03-07 15:12:58.787 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerUrlPrefix] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2]
  213 +2022-03-07 15:12:58.789 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [encoding] loaded from FilterConfig.getInitParameter with value [utf-8]
  214 +2022-03-07 15:12:58.789 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [encoding] loaded from FilterConfig.getInitParameter with value [utf-8]
  215 +2022-03-07 15:12:58.819 [restartedMain] INFO org.apache.catalina.core.StandardService - Stopping service [Tomcat]
  216 +2022-03-07 15:17:58.738 [restartedMain] INFO com.cnlive.shenhe.ShenheApplication - Starting ShenheApplication on WIN7-20190718XJ with PID 22560 (D:\cnlive_shenhe\target\classes started by Administrator in D:\cnlive_shenhe)
  217 +2022-03-07 15:17:58.741 [restartedMain] INFO com.cnlive.shenhe.ShenheApplication - The following profiles are active: dev
  218 +2022-03-07 15:17:59.573 [restartedMain] WARN tk.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  219 +2022-03-07 15:17:59.596 [restartedMain] WARN org.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  220 +2022-03-07 15:18:00.477 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8080"]
  221 +2022-03-07 15:18:00.478 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
  222 +2022-03-07 15:18:00.478 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.54]
  223 +2022-03-07 15:18:00.589 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
  224 +2022-03-07 15:18:00.660 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerUrlPrefix] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2]
  225 +2022-03-07 15:18:00.663 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [service] loaded from FilterConfig.getInitParameter with value [http://test.shen.cnlive.com:82/users/login]
  226 +2022-03-07 15:18:00.663 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerLoginUrl] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2/login]
  227 +2022-03-07 15:18:00.663 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [ignorePattern] loaded from FilterConfig.getInitParameter with value [/api/*|/logging/*]
  228 +2022-03-07 15:18:00.665 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [serverName] loaded from FilterConfig.getInitParameter with value [http://test.shen.cnlive.com:82]
  229 +2022-03-07 15:18:00.666 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerUrlPrefix] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2]
  230 +2022-03-07 15:18:00.667 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [encoding] loaded from FilterConfig.getInitParameter with value [utf-8]
  231 +2022-03-07 15:18:00.668 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [encoding] loaded from FilterConfig.getInitParameter with value [utf-8]
  232 +2022-03-07 15:18:00.700 [restartedMain] INFO org.apache.catalina.core.StandardService - Stopping service [Tomcat]
  233 +2022-03-07 15:21:05.883 [restartedMain] INFO com.cnlive.shenhe.ShenheApplication - Starting ShenheApplication on WIN7-20190718XJ with PID 22584 (D:\cnlive_shenhe\target\classes started by Administrator in D:\cnlive_shenhe)
  234 +2022-03-07 15:21:05.886 [restartedMain] INFO com.cnlive.shenhe.ShenheApplication - The following profiles are active: dev
  235 +2022-03-07 15:21:06.759 [restartedMain] WARN tk.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  236 +2022-03-07 15:21:06.781 [restartedMain] WARN org.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  237 +2022-03-07 15:21:07.575 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8080"]
  238 +2022-03-07 15:21:07.576 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
  239 +2022-03-07 15:21:07.576 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.54]
  240 +2022-03-07 15:21:07.682 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
  241 +2022-03-07 15:21:07.750 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerUrlPrefix] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2]
  242 +2022-03-07 15:21:07.753 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [service] loaded from FilterConfig.getInitParameter with value [http://test.shen.cnlive.com:82/users/login]
  243 +2022-03-07 15:21:07.753 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerLoginUrl] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2/login]
  244 +2022-03-07 15:21:07.753 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [ignorePattern] loaded from FilterConfig.getInitParameter with value [/api/*|/logging/*]
  245 +2022-03-07 15:21:07.754 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [serverName] loaded from FilterConfig.getInitParameter with value [http://test.shen.cnlive.com:82]
  246 +2022-03-07 15:21:07.755 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerUrlPrefix] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2]
  247 +2022-03-07 15:21:07.756 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [encoding] loaded from FilterConfig.getInitParameter with value [utf-8]
  248 +2022-03-07 15:21:07.757 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [encoding] loaded from FilterConfig.getInitParameter with value [utf-8]
  249 +2022-03-07 15:21:07.783 [restartedMain] INFO org.apache.catalina.core.StandardService - Stopping service [Tomcat]
  250 +2022-03-07 15:54:50.308 [restartedMain] INFO com.cnlive.shenhe.ShenheApplication - Starting ShenheApplication on WIN7-20190718XJ with PID 24400 (D:\cnlive_shenhe\target\classes started by Administrator in D:\cnlive_shenhe)
  251 +2022-03-07 15:54:50.312 [restartedMain] INFO com.cnlive.shenhe.ShenheApplication - The following profiles are active: dev
  252 +2022-03-07 15:54:51.216 [restartedMain] WARN tk.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  253 +2022-03-07 15:54:51.239 [restartedMain] WARN org.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  254 +2022-03-07 15:54:52.140 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8080"]
  255 +2022-03-07 15:54:52.141 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
  256 +2022-03-07 15:54:52.141 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.54]
  257 +2022-03-07 15:54:52.285 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
  258 +2022-03-07 15:54:52.362 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerUrlPrefix] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2]
  259 +2022-03-07 15:54:52.365 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [service] loaded from FilterConfig.getInitParameter with value [http://test.shen.cnlive.com:82/users/login]
  260 +2022-03-07 15:54:52.365 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerLoginUrl] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2/login]
  261 +2022-03-07 15:54:52.365 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [ignorePattern] loaded from FilterConfig.getInitParameter with value [/api/*|/logging/*]
  262 +2022-03-07 15:54:52.367 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [serverName] loaded from FilterConfig.getInitParameter with value [http://test.shen.cnlive.com:82]
  263 +2022-03-07 15:54:52.369 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerUrlPrefix] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2]
  264 +2022-03-07 15:54:52.370 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [encoding] loaded from FilterConfig.getInitParameter with value [utf-8]
  265 +2022-03-07 15:54:52.371 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [encoding] loaded from FilterConfig.getInitParameter with value [utf-8]
  266 +2022-03-07 15:54:52.404 [restartedMain] INFO org.apache.catalina.core.StandardService - Stopping service [Tomcat]
  267 +2022-03-07 15:55:35.218 [restartedMain] INFO com.cnlive.shenhe.ShenheApplication - Starting ShenheApplication on WIN7-20190718XJ with PID 24456 (D:\cnlive_shenhe\target\classes started by Administrator in D:\cnlive_shenhe)
  268 +2022-03-07 15:55:35.222 [restartedMain] INFO com.cnlive.shenhe.ShenheApplication - The following profiles are active: dev
  269 +2022-03-07 15:55:36.118 [restartedMain] WARN tk.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  270 +2022-03-07 15:55:36.141 [restartedMain] WARN org.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  271 +2022-03-07 15:55:37.111 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8080"]
  272 +2022-03-07 15:55:37.111 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
  273 +2022-03-07 15:55:37.111 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.54]
  274 +2022-03-07 15:55:37.237 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
  275 +2022-03-07 15:55:37.318 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerUrlPrefix] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2]
  276 +2022-03-07 15:55:37.321 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [service] loaded from FilterConfig.getInitParameter with value [http://test.shen.cnlive.com:82/users/login]
  277 +2022-03-07 15:55:37.321 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerLoginUrl] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2/login]
  278 +2022-03-07 15:55:37.321 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [ignorePattern] loaded from FilterConfig.getInitParameter with value [/api/*|/logging/*]
  279 +2022-03-07 15:55:37.322 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [serverName] loaded from FilterConfig.getInitParameter with value [http://test.shen.cnlive.com:82]
  280 +2022-03-07 15:55:37.324 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerUrlPrefix] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2]
  281 +2022-03-07 15:55:37.325 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [encoding] loaded from FilterConfig.getInitParameter with value [utf-8]
  282 +2022-03-07 15:55:37.325 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [encoding] loaded from FilterConfig.getInitParameter with value [utf-8]
  283 +2022-03-07 15:55:37.352 [restartedMain] INFO org.apache.catalina.core.StandardService - Stopping service [Tomcat]
  284 +2022-03-07 15:56:38.132 [restartedMain] INFO com.cnlive.shenhe.ShenheApplication - Starting ShenheApplication on WIN7-20190718XJ with PID 24928 (D:\cnlive_shenhe\target\classes started by Administrator in D:\cnlive_shenhe)
  285 +2022-03-07 15:56:38.135 [restartedMain] INFO com.cnlive.shenhe.ShenheApplication - The following profiles are active: dev
  286 +2022-03-07 15:56:39.032 [restartedMain] WARN tk.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  287 +2022-03-07 15:56:39.060 [restartedMain] WARN org.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  288 +2022-03-07 15:56:40.038 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8080"]
  289 +2022-03-07 15:56:40.039 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
  290 +2022-03-07 15:56:40.039 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.54]
  291 +2022-03-07 15:56:40.152 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
  292 +2022-03-07 15:56:40.226 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerUrlPrefix] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2]
  293 +2022-03-07 15:56:40.229 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [service] loaded from FilterConfig.getInitParameter with value [http://test.shen.cnlive.com:82/users/login]
  294 +2022-03-07 15:56:40.229 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerLoginUrl] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2/login]
  295 +2022-03-07 15:56:40.230 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [ignorePattern] loaded from FilterConfig.getInitParameter with value [/api/*|/logging/*]
  296 +2022-03-07 15:56:40.231 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [serverName] loaded from FilterConfig.getInitParameter with value [http://test.shen.cnlive.com:82]
  297 +2022-03-07 15:56:40.232 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerUrlPrefix] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2]
  298 +2022-03-07 15:56:40.234 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [encoding] loaded from FilterConfig.getInitParameter with value [utf-8]
  299 +2022-03-07 15:56:40.234 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [encoding] loaded from FilterConfig.getInitParameter with value [utf-8]
  300 +2022-03-07 15:56:40.262 [restartedMain] INFO org.apache.catalina.core.StandardService - Stopping service [Tomcat]
  301 +2022-03-07 15:57:09.067 [restartedMain] INFO com.cnlive.shenhe.ShenheApplication - Starting ShenheApplication on WIN7-20190718XJ with PID 25288 (D:\cnlive_shenhe\target\classes started by Administrator in D:\cnlive_shenhe)
  302 +2022-03-07 15:57:09.070 [restartedMain] INFO com.cnlive.shenhe.ShenheApplication - The following profiles are active: dev
  303 +2022-03-07 15:57:09.975 [restartedMain] WARN tk.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  304 +2022-03-07 15:57:09.998 [restartedMain] WARN org.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  305 +2022-03-07 15:57:10.915 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8080"]
  306 +2022-03-07 15:57:10.916 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
  307 +2022-03-07 15:57:10.916 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.54]
  308 +2022-03-07 15:57:11.028 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
  309 +2022-03-07 15:57:11.110 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerUrlPrefix] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2]
  310 +2022-03-07 15:57:11.113 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [service] loaded from FilterConfig.getInitParameter with value [http://test.shen.cnlive.com:82/users/login]
  311 +2022-03-07 15:57:11.113 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerLoginUrl] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2/login]
  312 +2022-03-07 15:57:11.113 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [ignorePattern] loaded from FilterConfig.getInitParameter with value [/api/*|/logging/*]
  313 +2022-03-07 15:57:11.115 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [serverName] loaded from FilterConfig.getInitParameter with value [http://test.shen.cnlive.com:82]
  314 +2022-03-07 15:57:11.116 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerUrlPrefix] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2]
  315 +2022-03-07 15:57:11.118 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [encoding] loaded from FilterConfig.getInitParameter with value [utf-8]
  316 +2022-03-07 15:57:11.118 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [encoding] loaded from FilterConfig.getInitParameter with value [utf-8]
  317 +2022-03-07 15:57:11.154 [restartedMain] INFO org.apache.catalina.core.StandardService - Stopping service [Tomcat]
  318 +2022-03-07 16:01:34.784 [restartedMain] INFO com.cnlive.shenhe.ShenheApplication - Starting ShenheApplication on WIN7-20190718XJ with PID 20168 (D:\cnlive_shenhe\target\classes started by Administrator in D:\cnlive_shenhe)
  319 +2022-03-07 16:01:34.788 [restartedMain] INFO com.cnlive.shenhe.ShenheApplication - The following profiles are active: dev
  320 +2022-03-07 16:01:35.695 [restartedMain] WARN tk.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  321 +2022-03-07 16:01:35.718 [restartedMain] WARN org.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  322 +2022-03-07 16:01:36.512 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8080"]
  323 +2022-03-07 16:01:36.512 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
  324 +2022-03-07 16:01:36.513 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.54]
  325 +2022-03-07 16:01:36.640 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
  326 +2022-03-07 16:01:36.718 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerUrlPrefix] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2]
  327 +2022-03-07 16:01:36.721 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [service] loaded from FilterConfig.getInitParameter with value [http://test.shen.cnlive.com:82/users/login]
  328 +2022-03-07 16:01:36.721 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerLoginUrl] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2/login]
  329 +2022-03-07 16:01:36.721 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [ignorePattern] loaded from FilterConfig.getInitParameter with value [/api/*|/logging/*]
  330 +2022-03-07 16:01:36.722 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [serverName] loaded from FilterConfig.getInitParameter with value [http://test.shen.cnlive.com:82]
  331 +2022-03-07 16:01:36.724 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerUrlPrefix] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2]
  332 +2022-03-07 16:01:36.725 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [encoding] loaded from FilterConfig.getInitParameter with value [utf-8]
  333 +2022-03-07 16:01:36.725 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [encoding] loaded from FilterConfig.getInitParameter with value [utf-8]
  334 +2022-03-07 16:01:36.752 [restartedMain] INFO org.apache.catalina.core.StandardService - Stopping service [Tomcat]
  335 +2022-03-07 16:49:16.688 [restartedMain] INFO com.cnlive.shenhe.ShenheApplication - Starting ShenheApplication on WIN7-20190718XJ with PID 24180 (D:\cnlive_shenhe\target\classes started by Administrator in D:\cnlive_shenhe)
  336 +2022-03-07 16:49:16.691 [restartedMain] INFO com.cnlive.shenhe.ShenheApplication - The following profiles are active: dev
  337 +2022-03-07 16:49:17.504 [restartedMain] WARN tk.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  338 +2022-03-07 16:49:17.532 [restartedMain] WARN org.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  339 +2022-03-07 16:49:18.410 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8080"]
  340 +2022-03-07 16:49:18.411 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
  341 +2022-03-07 16:49:18.411 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.54]
  342 +2022-03-07 16:49:18.509 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
  343 +2022-03-07 16:49:18.576 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerUrlPrefix] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2]
  344 +2022-03-07 16:49:18.578 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [service] loaded from FilterConfig.getInitParameter with value [http://test.shen.cnlive.com:82/users/login]
  345 +2022-03-07 16:49:18.578 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerLoginUrl] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2/login]
  346 +2022-03-07 16:49:18.578 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [ignorePattern] loaded from FilterConfig.getInitParameter with value [/api/*|/logging/*]
  347 +2022-03-07 16:49:18.580 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [serverName] loaded from FilterConfig.getInitParameter with value [http://test.shen.cnlive.com:82]
  348 +2022-03-07 16:49:18.581 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerUrlPrefix] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2]
  349 +2022-03-07 16:49:18.582 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [encoding] loaded from FilterConfig.getInitParameter with value [utf-8]
  350 +2022-03-07 16:49:18.582 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [encoding] loaded from FilterConfig.getInitParameter with value [utf-8]
  351 +2022-03-07 16:49:18.607 [restartedMain] INFO org.apache.catalina.core.StandardService - Stopping service [Tomcat]
  352 +2022-03-07 16:49:39.785 [restartedMain] INFO com.cnlive.shenhe.ShenheApplication - Starting ShenheApplication on WIN7-20190718XJ with PID 26048 (D:\cnlive_shenhe\target\classes started by Administrator in D:\cnlive_shenhe)
  353 +2022-03-07 16:49:39.789 [restartedMain] INFO com.cnlive.shenhe.ShenheApplication - The following profiles are active: dev
  354 +2022-03-07 16:49:40.666 [restartedMain] WARN tk.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  355 +2022-03-07 16:49:40.690 [restartedMain] WARN org.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  356 +2022-03-07 16:49:41.514 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8080"]
  357 +2022-03-07 16:49:41.515 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
  358 +2022-03-07 16:49:41.515 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.54]
  359 +2022-03-07 16:49:41.622 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
  360 +2022-03-07 16:49:41.695 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerUrlPrefix] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2]
  361 +2022-03-07 16:49:41.697 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [service] loaded from FilterConfig.getInitParameter with value [http://test.shen.cnlive.com:82/users/login]
  362 +2022-03-07 16:49:41.697 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerLoginUrl] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2/login]
  363 +2022-03-07 16:49:41.697 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [ignorePattern] loaded from FilterConfig.getInitParameter with value [/api/*|/logging/*]
  364 +2022-03-07 16:49:41.699 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [serverName] loaded from FilterConfig.getInitParameter with value [http://test.shen.cnlive.com:82]
  365 +2022-03-07 16:49:41.700 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerUrlPrefix] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2]
  366 +2022-03-07 16:49:41.701 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [encoding] loaded from FilterConfig.getInitParameter with value [utf-8]
  367 +2022-03-07 16:49:41.701 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [encoding] loaded from FilterConfig.getInitParameter with value [utf-8]
  368 +2022-03-07 16:49:41.729 [restartedMain] INFO org.apache.catalina.core.StandardService - Stopping service [Tomcat]
  369 +2022-03-07 16:53:06.177 [restartedMain] INFO com.cnlive.shenhe.ShenheApplication - Starting ShenheApplication on WIN7-20190718XJ with PID 24596 (D:\cnlive_shenhe\target\classes started by Administrator in D:\cnlive_shenhe)
  370 +2022-03-07 16:53:06.180 [restartedMain] INFO com.cnlive.shenhe.ShenheApplication - The following profiles are active: dev
  371 +2022-03-07 16:53:07.103 [restartedMain] WARN tk.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  372 +2022-03-07 16:53:07.129 [restartedMain] WARN org.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  373 +2022-03-07 16:53:08.164 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8080"]
  374 +2022-03-07 16:53:08.165 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
  375 +2022-03-07 16:53:08.165 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.54]
  376 +2022-03-07 16:53:08.286 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
  377 +2022-03-07 16:53:08.363 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerUrlPrefix] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2]
  378 +2022-03-07 16:53:08.366 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [service] loaded from FilterConfig.getInitParameter with value [http://test.shen.cnlive.com:82/users/login]
  379 +2022-03-07 16:53:08.366 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerLoginUrl] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2/login]
  380 +2022-03-07 16:53:08.366 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [ignorePattern] loaded from FilterConfig.getInitParameter with value [/api/*|/logging/*]
  381 +2022-03-07 16:53:08.368 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [serverName] loaded from FilterConfig.getInitParameter with value [http://test.shen.cnlive.com:82]
  382 +2022-03-07 16:53:08.370 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerUrlPrefix] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2]
  383 +2022-03-07 16:53:08.371 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [encoding] loaded from FilterConfig.getInitParameter with value [utf-8]
  384 +2022-03-07 16:53:08.372 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [encoding] loaded from FilterConfig.getInitParameter with value [utf-8]
  385 +2022-03-07 16:53:08.400 [restartedMain] INFO org.apache.catalina.core.StandardService - Stopping service [Tomcat]
  386 +2022-03-07 16:57:46.263 [restartedMain] INFO com.cnlive.shenhe.ShenheApplication - Starting ShenheApplication on WIN7-20190718XJ with PID 16608 (D:\cnlive_shenhe\target\classes started by Administrator in D:\cnlive_shenhe)
  387 +2022-03-07 16:57:46.267 [restartedMain] INFO com.cnlive.shenhe.ShenheApplication - The following profiles are active: dev
  388 +2022-03-07 16:57:47.185 [restartedMain] WARN tk.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  389 +2022-03-07 16:57:47.208 [restartedMain] WARN org.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  390 +2022-03-07 16:57:48.027 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8080"]
  391 +2022-03-07 16:57:48.028 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
  392 +2022-03-07 16:57:48.028 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.54]
  393 +2022-03-07 16:57:48.136 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
  394 +2022-03-07 16:57:48.207 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerUrlPrefix] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2]
  395 +2022-03-07 16:57:48.209 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [service] loaded from FilterConfig.getInitParameter with value [http://test.shen.cnlive.com:82/users/login]
  396 +2022-03-07 16:57:48.210 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerLoginUrl] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2/login]
  397 +2022-03-07 16:57:48.210 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [ignorePattern] loaded from FilterConfig.getInitParameter with value [/api/*|/logging/*]
  398 +2022-03-07 16:57:48.211 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [serverName] loaded from FilterConfig.getInitParameter with value [http://test.shen.cnlive.com:82]
  399 +2022-03-07 16:57:48.212 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerUrlPrefix] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2]
  400 +2022-03-07 16:57:48.213 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [encoding] loaded from FilterConfig.getInitParameter with value [utf-8]
  401 +2022-03-07 16:57:48.214 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [encoding] loaded from FilterConfig.getInitParameter with value [utf-8]
  402 +2022-03-07 16:57:48.240 [restartedMain] INFO org.apache.catalina.core.StandardService - Stopping service [Tomcat]
  403 +2022-03-07 17:01:31.422 [restartedMain] INFO com.cnlive.shenhe.ShenheApplication - Starting ShenheApplication on WIN7-20190718XJ with PID 26920 (D:\cnlive_shenhe\target\classes started by Administrator in D:\cnlive_shenhe)
  404 +2022-03-07 17:01:31.426 [restartedMain] INFO com.cnlive.shenhe.ShenheApplication - The following profiles are active: dev
  405 +2022-03-07 17:01:32.309 [restartedMain] WARN tk.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  406 +2022-03-07 17:01:32.332 [restartedMain] WARN org.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  407 +2022-03-07 17:01:33.146 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8080"]
  408 +2022-03-07 17:01:33.146 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
  409 +2022-03-07 17:01:33.147 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.54]
  410 +2022-03-07 17:01:33.272 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
  411 +2022-03-07 17:01:33.341 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerUrlPrefix] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2]
  412 +2022-03-07 17:01:33.344 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [service] loaded from FilterConfig.getInitParameter with value [http://test.shen.cnlive.com:82/users/login]
  413 +2022-03-07 17:01:33.344 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerLoginUrl] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2/login]
  414 +2022-03-07 17:01:33.344 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [ignorePattern] loaded from FilterConfig.getInitParameter with value [/api/*|/logging/*]
  415 +2022-03-07 17:01:33.345 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [serverName] loaded from FilterConfig.getInitParameter with value [http://test.shen.cnlive.com:82]
  416 +2022-03-07 17:01:33.346 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerUrlPrefix] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2]
  417 +2022-03-07 17:01:33.347 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [encoding] loaded from FilterConfig.getInitParameter with value [utf-8]
  418 +2022-03-07 17:01:33.348 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [encoding] loaded from FilterConfig.getInitParameter with value [utf-8]
  419 +2022-03-07 17:01:33.373 [restartedMain] INFO org.apache.catalina.core.StandardService - Stopping service [Tomcat]
  420 +2022-03-07 17:02:49.744 [restartedMain] INFO com.cnlive.shenhe.ShenheApplication - Starting ShenheApplication on WIN7-20190718XJ with PID 26580 (D:\cnlive_shenhe\target\classes started by Administrator in D:\cnlive_shenhe)
  421 +2022-03-07 17:02:49.748 [restartedMain] INFO com.cnlive.shenhe.ShenheApplication - The following profiles are active: dev
  422 +2022-03-07 17:02:50.696 [restartedMain] WARN tk.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  423 +2022-03-07 17:02:50.724 [restartedMain] WARN org.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.cnlive.shenhe]' package. Please check your configuration.
  424 +2022-03-07 17:02:51.709 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8080"]
  425 +2022-03-07 17:02:51.709 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
  426 +2022-03-07 17:02:51.709 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.54]
  427 +2022-03-07 17:02:51.819 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
  428 +2022-03-07 17:02:51.888 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerUrlPrefix] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2]
  429 +2022-03-07 17:02:51.891 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [service] loaded from FilterConfig.getInitParameter with value [http://test.shen.cnlive.com:82/users/login]
  430 +2022-03-07 17:02:51.891 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerLoginUrl] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2/login]
  431 +2022-03-07 17:02:51.891 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [ignorePattern] loaded from FilterConfig.getInitParameter with value [/api/*|/logging/*]
  432 +2022-03-07 17:02:51.892 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [serverName] loaded from FilterConfig.getInitParameter with value [http://test.shen.cnlive.com:82]
  433 +2022-03-07 17:02:51.893 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [casServerUrlPrefix] loaded from FilterConfig.getInitParameter with value [https://user.cnlive.com/OpenSSO2]
  434 +2022-03-07 17:02:51.895 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [encoding] loaded from FilterConfig.getInitParameter with value [utf-8]
  435 +2022-03-07 17:02:51.895 [restartedMain] INFO o.j.c.c.c.WebXmlConfigurationStrategyImpl - Property [encoding] loaded from FilterConfig.getInitParameter with value [utf-8]
  436 +2022-03-07 17:02:51.927 [restartedMain] INFO org.apache.catalina.core.StandardService - Stopping service [Tomcat]
... ...
... ... @@ -137,7 +137,7 @@
137 137 <dependency>
138 138 <groupId>com.alibaba</groupId>
139 139 <artifactId>fastjson</artifactId>
140   - <version>1.2.67</version>
  140 + <version>1.2.79</version>
141 141 </dependency>
142 142 <dependency>
143 143 <groupId>commons-codec</groupId>
... ...
src/main/java/com/cnlive/shenhe/api/AudioControllerApi.java
... ... @@ -53,7 +53,7 @@ public class AudioControllerApi {
53 53 * 音频入库
54 54 *
55 55 * @param
56   - * @multiplecategory 获取栏目分类
  56 + * @multiplecategory 获取栏目分类//
57 57 * @audioClipsName 获取音频上传人的id
58 58 * @soure 音频来源
59 59 * @audioId 音频id
... ...
src/main/java/com/cnlive/shenhe/api/ChannelControllerApi.java
... ... @@ -11,24 +11,17 @@ import com.cnlive.shenhe.utils.CommonUtils;
11 11 import org.slf4j.Logger;
12 12 import org.slf4j.LoggerFactory;
13 13 import org.springframework.beans.factory.annotation.Autowired;
14   -import org.springframework.beans.factory.annotation.Value;
15 14 import org.springframework.stereotype.Controller;
16   -import org.springframework.web.bind.annotation.GetMapping;
17 15 import org.springframework.web.bind.annotation.PostMapping;
18 16 import org.springframework.web.bind.annotation.RequestMapping;
19 17 import org.springframework.web.bind.annotation.ResponseBody;
20 18  
21   -import java.util.HashMap;
22 19 import java.util.List;
23   -import java.util.Map;
24 20  
25 21 @Controller
26 22 @RequestMapping("/api/channel")
27 23 public class ChannelControllerApi {
28 24 private static Logger logger = LoggerFactory.getLogger(ChannelControllerApi.class);
29   -
30   - @Autowired
31   - AuditPass Pass;
32 25 @Autowired
33 26 ChannelServiceImpl channelService;
34 27  
... ... @@ -46,51 +39,48 @@ public class ChannelControllerApi {
46 39 ShyChannel shyChannel = new ShyChannel();
47 40 shyChannel.setChannel_id(json.getString("channelId"));
48 41 List<ShyChannel> channelList = channelService.findshyChannel(shyChannel);
49   -
50   - Integer sp_id=null;
  42 +
  43 + Integer spId;
51 44 try {
52   - sp_id=json.getInteger("spId");
53   - } catch (Exception e) {
54   - sp_id=null;
55   - }
  45 + spId = json.getInteger("spId");
  46 + } catch (Exception e) {
  47 + spId = null;
  48 + }
56 49 //存在则更新
57 50 if (channelList.size() > 0) {
58 51 ShyChannel shyChannel1 = channelList.get(0);
59 52 shyChannel1.setShenhe_status(CommonConst.AUDIT_INTT);
60   - shyChannel1.setChannel_name(json.getString("channelName"));
  53 + shyChannel1.setChannel_name(json.getString("channelName"));
61 54 shyChannel1.setChannel_img(json.getString("face"));
62 55 shyChannel1.setCallback(json.getString("callback"));
63   - shyChannel1.setSp_id(sp_id);
64   -// shyChannel1.setAuditor(null);
65   -// shyChannel1.setUpdater(null);
66   - shyChannel1.setOffline(0);//是否下线 0表示正常 1表示下线
  56 + shyChannel1.setSp_id(spId);
  57 + //是否下线 0表示正常 1表示下线
  58 + shyChannel1.setOffline(0);
67 59 shyChannel1.setUpdated_at(CommonUtils.getCurrentTime());
68 60 channelService.getShenheType(shyChannel1);
69 61 boolean YorN = channelService.updateshyChannel(shyChannel1);
70   - if (YorN == true) {
71   - return new ResponseBean(ErrorEnum.SUCCESS.getErrorCode(),"审核请求收到成功");
72   - } else {
73   - return new ResponseBean(ErrorEnum.ERROR.getErrorCode(),"审核请求收到失败(更新)");
  62 + if (YorN) {
  63 + return new ResponseBean(ErrorEnum.SUCCESS.getErrorCode(), "审核请求收到成功");
74 64 }
  65 + return new ResponseBean(ErrorEnum.ERROR.getErrorCode(), "审核请求收到失败(更新)");
75 66 }
76 67 //如果不存在直接插入
77 68 shyChannel.setShenhe_status(CommonConst.AUDIT_INTT);
78   - shyChannel.setChannel_name(json.getString("channelName"));
  69 + shyChannel.setChannel_name(json.getString("channelName"));
79 70 shyChannel.setChannel_img(json.getString("face"));
80 71 shyChannel.setCallback(json.getString("callback"));
81   - shyChannel.setSp_id(sp_id);
82   - shyChannel.setOffline(0);//是否下线 0表示正常 1表示下线
  72 + shyChannel.setSp_id(spId);
  73 + //是否下线 0表示正常 1表示下线
  74 + shyChannel.setOffline(0);
83 75 shyChannel.setCreated_at(CommonUtils.getCurrentTime());
84 76 shyChannel.setUpdated_at(CommonUtils.getCurrentTime());
85 77 channelService.getShenheType(shyChannel);
86 78 boolean YorN = channelService.impotChannel(shyChannel);
87   - if (YorN == true) {
88   - return new ResponseBean(ErrorEnum.SUCCESS.getErrorCode(),"审核请求收到成功");
89   - } else {
90   - return new ResponseBean(ErrorEnum.ERROR.getErrorCode(),"审核请求收到失败(新增)");
  79 + if (YorN) {
  80 + return new ResponseBean(ErrorEnum.SUCCESS.getErrorCode(), "审核请求收到成功");
91 81 }
  82 + return new ResponseBean(ErrorEnum.ERROR.getErrorCode(), "审核请求收到失败(新增)");
92 83 }
93   -
94   -
  84 +
95 85  
96 86 }
... ...
src/main/java/com/cnlive/shenhe/api/ContentControllerApi.java
... ... @@ -4,11 +4,8 @@ import com.alibaba.fastjson.JSONArray;
4 4 import com.alibaba.fastjson.JSONObject;
5 5 import com.cnlive.shenhe.bean.ErrorEnum;
6 6 import com.cnlive.shenhe.bean.ResponseBean;
7   -import com.cnlive.shenhe.entity.ShyComments;
8 7 import com.cnlive.shenhe.entity.ShyContent;
9   -import com.cnlive.shenhe.serviceImpl.CommentsServiceImpl;
10 8 import com.cnlive.shenhe.serviceImpl.ContentServiceImpl;
11   -import com.cnlive.shenhe.utils.AuditPass;
12 9 import com.cnlive.shenhe.utils.CommonConst;
13 10 import com.cnlive.shenhe.utils.CommonUtils;
14 11 import org.slf4j.Logger;
... ... @@ -16,27 +13,21 @@ import org.slf4j.LoggerFactory;
16 13 import org.springframework.beans.factory.annotation.Autowired;
17 14 import org.springframework.stereotype.Controller;
18 15 import org.springframework.ui.Model;
19   -import org.springframework.web.bind.annotation.GetMapping;
20   -import org.springframework.web.bind.annotation.PathVariable;
21   -import org.springframework.web.bind.annotation.PostMapping;
22   -import org.springframework.web.bind.annotation.RequestBody;
23   -import org.springframework.web.bind.annotation.RequestMapping;
24   -import org.springframework.web.bind.annotation.ResponseBody;
  16 +import org.springframework.web.bind.annotation.*;
25 17  
26 18 import java.util.Date;
27 19 import java.util.List;
28   -import java.util.Map;
29   -
30   -import javax.servlet.http.HttpSession;
31 20  
  21 +/**
  22 + * 图文审核
  23 + *
  24 + * @author
  25 + */
32 26 @Controller
33 27 @RequestMapping("/api/content")
34 28 public class ContentControllerApi {
35 29 private static Logger logger = LoggerFactory.getLogger(ContentControllerApi.class);
36   - @Autowired
37   - AuditPass Pass;
38   - @Autowired
39   - CommentsServiceImpl commentsService;
  30 +
40 31 @Autowired
41 32 ContentServiceImpl contentService;
42 33  
... ... @@ -47,44 +38,57 @@ public class ContentControllerApi {
47 38 */
48 39 @PostMapping("/import")
49 40 @ResponseBody
50   - public ResponseBean impotContent(String param) {
  41 + public ResponseBean importContent(String param) {
51 42 logger.info("图文入库,param=====" + param);
52 43 JSONObject json = JSONObject.parseObject(param);
53 44 //判断是否存在
54   - ShyContent shyContent=new ShyContent();
  45 + ShyContent shyContent = new ShyContent();
55 46 shyContent.setContent_id(json.getString("contentId"));
56   - shyContent.setContent_tag("content");//图文标签
57   - List<ShyContent> contentList = contentService.findshyContent(shyContent);
58   -
  47 + //图文标签
  48 + shyContent.setContent_tag("content");
  49 +
59 50 //获取审核类型
60   - Integer shenheType = contentService.getShenheType(json.getInteger("spId"),"content");
  51 + Integer shenheType = contentService.getShenheType(json.getInteger("spId"), "content");
  52 + List<ShyContent> contentList = contentService.findshyContent(shyContent);
61 53 //存在则更新
62 54 if (contentList.size() > 0) {
63 55 ShyContent shyContent1 = contentList.get(0);
64   - shyContent1.setTitle(json.getString("title"));//标题
65   - shyContent1.setTitle_image(json.getString("titleImage"));//标题图片
66   - shyContent1.setShenhe_type(shenheType);//审核类型
67   - shyContent1.setContent_status(json.getInteger("contentStatus"));//当前图文的审核状态
68   - shyContent1.setSource(json.getString("source"));//来源
69   - shyContent1.setAuthor(json.getString("author"));//作者
70   - shyContent1.setContent_text(json.getString("content_text"));//图文内容
71   - String contentTime = json.getString("contentTime");//图文创建时间
  56 + //标题
  57 + shyContent1.setTitle(json.getString("title"));
  58 + //标题图片
  59 + shyContent1.setTitle_image(json.getString("titleImage"));
  60 + //审核类型
  61 + shyContent1.setShenhe_type(shenheType);
  62 + //当前图文的审核状态
  63 + shyContent1.setContent_status(json.getInteger("contentStatus"));
  64 + //来源
  65 + shyContent1.setSource(json.getString("source"));
  66 + //作者
  67 + shyContent1.setAuthor(json.getString("author"));
  68 + //图文内容
  69 + shyContent1.setContent_text(json.getString("content_text"));
  70 + //图文创建时间
  71 + String contentTime = json.getString("contentTime");
72 72 if (CommonUtils.isNotEmpty(contentTime)) {
73 73 Date timestamp = CommonUtils.getTimestamp(contentTime, "yyyy-MM-dd HH:mm:ss");
74 74 shyContent1.setContent_time(timestamp);
75 75  
76 76 }
77 77 shyContent1.setCreate_date(CommonUtils.getCurrentTime());
78   - shyContent1.setCallback(json.getString("callback"));//回调地址
79   - shyContent1.setContent_url(json.getString("contentUrl"));//图文发布h5的url
80   - shyContent1.setContent_pc_url(json.getString("contentPCUrl"));//图文发布pc的url
81   - shyContent1.setSp_id(json.getInteger("spId"));//spid
82   - shyContent1.setContent_tag("content");//图文标签
83   - shyContent1.setReceive_status(CommonConst.RECEIVE_BEFORE);//领取状态
84   - shyContent1.setLast_update(CommonUtils.getCurrentTime());//最后一次更新时间
85   -
86   -
87   -
  78 + //回调地址
  79 + shyContent1.setCallback(json.getString("callback"));
  80 + //图文发布h5的url
  81 + shyContent1.setContent_url(json.getString("contentUrl"));
  82 + //图文发布pc的url
  83 + shyContent1.setContent_pc_url(json.getString("contentPCUrl"));
  84 + //spid
  85 + shyContent1.setSp_id(json.getInteger("spId"));
  86 + //图文标签
  87 + shyContent1.setContent_tag("content");
  88 + //领取状态
  89 + shyContent1.setReceive_status(CommonConst.RECEIVE_BEFORE);
  90 + //最后一次更新时间
  91 + shyContent1.setLast_update(CommonUtils.getCurrentTime());
88 92 boolean YorN = contentService.updateshyContent(shyContent1);
89 93 if (YorN == true) {
90 94 return new ResponseBean(ErrorEnum.SUCCESS);
... ... @@ -92,27 +96,53 @@ public class ContentControllerApi {
92 96 return new ResponseBean(ErrorEnum.ERROR);
93 97 }
94 98 }
  99 + return saveContent(json, shyContent, shenheType);
  100 + }
  101 +
  102 + /**
  103 + * 保存操作
  104 + *
  105 + * @param json
  106 + * @param shyContent
  107 + * @param shenheType
  108 + * @return
  109 + */
  110 + private ResponseBean saveContent(JSONObject json, ShyContent shyContent, Integer shenheType) {
95 111 //如果不存在直接插入
96   - shyContent.setTitle(json.getString("title"));//标题
97   - shyContent.setTitle_image(json.getString("titleImage"));//标题图片
98   - shyContent.setShenhe_type(shenheType);//审核类型
99   - shyContent.setContent_status(json.getInteger("contentStatus"));//当前图文的审核状态
100   - shyContent.setSource(json.getString("source"));//来源
101   - shyContent.setAuthor(json.getString("author"));//作者
102   - shyContent.setContent_text(json.getString("content_text"));//图文内容
103   - String contentTime = json.getString("contentTime");//创建时间
  112 + //标题
  113 + shyContent.setTitle(json.getString("title"));
  114 + //标题图片
  115 + shyContent.setTitle_image(json.getString("titleImage"));
  116 + //审核类型
  117 + shyContent.setShenhe_type(shenheType);
  118 + //当前图文的审核状态
  119 + shyContent.setContent_status(json.getInteger("contentStatus"));
  120 + //来源
  121 + shyContent.setSource(json.getString("source"));
  122 + //作者
  123 + shyContent.setAuthor(json.getString("author"));
  124 + //图文内容
  125 + shyContent.setContent_text(json.getString("content_text"));
  126 + //创建时间
  127 + String contentTime = json.getString("contentTime");
104 128 if (CommonUtils.isNotEmpty(contentTime)) {
105 129 Date timestamp = CommonUtils.getTimestamp(contentTime, "yyyy-MM-dd HH:mm:ss");
106 130 shyContent.setContent_time(timestamp);
107 131  
108 132 }
109 133 shyContent.setCreate_date(CommonUtils.getCurrentTime());
110   - shyContent.setCallback(json.getString("callback"));//回调地址
111   - shyContent.setContent_url(json.getString("contentUrl"));//图文发布h5的url
112   - shyContent.setContent_pc_url(json.getString("contentPCUrl"));//图文发布pc的url
113   - shyContent.setSp_id(json.getInteger("spId"));//spid
114   - shyContent.setReceive_status(CommonConst.RECEIVE_BEFORE);//领取状态
115   - shyContent.setLast_update(CommonUtils.getCurrentTime());//最后一次更新时间
  134 + //回调地址
  135 + shyContent.setCallback(json.getString("callback"));
  136 + //图文发布h5的url
  137 + shyContent.setContent_url(json.getString("contentUrl"));
  138 + //图文发布pc的url
  139 + shyContent.setContent_pc_url(json.getString("contentPCUrl"));
  140 + //spid
  141 + shyContent.setSp_id(json.getInteger("spId"));
  142 + //领取状态
  143 + shyContent.setReceive_status(CommonConst.RECEIVE_BEFORE);
  144 + //最后一次更新时间
  145 + shyContent.setLast_update(CommonUtils.getCurrentTime());
116 146 boolean YorN = contentService.impotContent(shyContent);
117 147 if (YorN == true) {
118 148 return new ResponseBean(ErrorEnum.SUCCESS);
... ... @@ -120,8 +150,8 @@ public class ContentControllerApi {
120 150 return new ResponseBean(ErrorEnum.ERROR);
121 151 }
122 152 }
123   -
124   -
  153 +
  154 +
125 155 /**
126 156 * @author liwei
127 157 * @Date: 2019/05/15 11:17
... ... @@ -130,100 +160,99 @@ public class ContentControllerApi {
130 160 @PostMapping("/importMoment")
131 161 @ResponseBody
132 162 public ResponseBean impotMoment(@RequestBody String param) {
133   - logger.info("朋友圈入库,param=====" + param);
134   - JSONObject json = JSONObject.parseObject(param);
135   - //判断是否存在
136   - ShyContent shyContent=new ShyContent();
137   - shyContent.setContent_id(json.getString("momentId"));//朋友圈id
138   - shyContent.setContent_tag("moment");//朋友圈标签
139   - List<ShyContent> contentList = contentService.findshyContent(shyContent);
140   - //获取审核类型
141   - Integer shenheType = contentService.getShenheType(json.getInteger("spId"),"moment");
142   -
  163 + logger.info("朋友圈入库,param=====" + param);
  164 + JSONObject json = JSONObject.parseObject(param);
  165 + //判断是否存在
  166 + ShyContent shyContent = new ShyContent();
  167 + shyContent.setContent_id(json.getString("momentId"));//朋友圈id
  168 + shyContent.setContent_tag("moment");//朋友圈标签
  169 + List<ShyContent> contentList = contentService.findshyContent(shyContent);
  170 + //获取审核类型
  171 + Integer shenheType = contentService.getShenheType(json.getInteger("spId"), "moment");
  172 +
143 173 //获取生活圈内容的类型 1:图片 2:视频 3:分享
144 174 Integer contentType = json.getInteger("contentType");
145   - String contentImageUrl="";//内容图片地址
146   - if(contentType!=null&&contentType==1){
147   - JSONArray contentImageUrlList = JSONObject.parseArray(json.getString("contentImageUrl"));//朋友圈分享的内容的url
148   - for(int i=0;i<contentImageUrlList.size();i++){
149   - JSONObject contentImageUrlMap = contentImageUrlList.getJSONObject(i);
150   - contentImageUrl+=contentImageUrlMap.getString("imageUrl")+",";
151   - }
152   - contentImageUrl=contentImageUrl.substring(0, contentImageUrl.length()-1);//去掉最后一个逗号
153   - }else{
154   - contentImageUrl=json.getString("contentImageUrl");
  175 + String contentImageUrl = "";//内容图片地址
  176 + if (contentType != null && contentType == 1) {
  177 + JSONArray contentImageUrlList = JSONObject.parseArray(json.getString("contentImageUrl"));//朋友圈分享的内容的url
  178 + for (int i = 0; i < contentImageUrlList.size(); i++) {
  179 + JSONObject contentImageUrlMap = contentImageUrlList.getJSONObject(i);
  180 + contentImageUrl += contentImageUrlMap.getString("imageUrl") + ",";
  181 + }
  182 + contentImageUrl = contentImageUrl.substring(0, contentImageUrl.length() - 1);//去掉最后一个逗号
  183 + } else {
  184 + contentImageUrl = json.getString("contentImageUrl");
155 185 }
156   -
157   - //存在则更新
158   - if (contentList.size() > 0) {
159   - ShyContent shyContent1 = contentList.get(0);
160   - shyContent1.setTitle(json.getString("title"));//标题
161   - shyContent1.setTitle_image(json.getString("image"));//用户头像
162   - shyContent1.setShenhe_type(shenheType);//审核类型
163   - String contentTime = json.getString("createTime");//朋友圈内容创建时间
164   - if (CommonUtils.isNotEmpty(contentTime)) {
  186 +
  187 + //存在则更新
  188 + if (contentList.size() > 0) {
  189 + ShyContent shyContent1 = contentList.get(0);
  190 + shyContent1.setTitle(json.getString("title"));//标题
  191 + shyContent1.setTitle_image(json.getString("image"));//用户头像
  192 + shyContent1.setShenhe_type(shenheType);//审核类型
  193 + String contentTime = json.getString("createTime");//朋友圈内容创建时间
  194 + if (CommonUtils.isNotEmpty(contentTime)) {
165 195 // Date timestamp = CommonUtils.getTimestamp(contentTime, "yyyy-MM-dd HH:mm:ss");
166   - shyContent1.setContent_time(new Date(Long.valueOf(contentTime)));
167   -
168   - }
169   - shyContent1.setCreate_date(CommonUtils.getCurrentTime());
170   - shyContent1.setCallback(json.getString("callbackUrl"));//回调地址
171   - shyContent1.setContent_url(json.getString("pageUrl"));//朋友圈分享的url
172   - shyContent1.setContent_pc_url(contentImageUrl);//朋友圈分享的内容的url,以逗号分隔
173   - shyContent1.setSp_id(json.getInteger("spId"));//spid
174   - shyContent1.setAuthor(json.getString("userId"));//用户id
175   - shyContent1.setSource(json.getString("nickName"));//用户昵称
176   - shyContent1.setVideo_id(json.getString("videoId"));//关联videoId
177   - shyContent1.setContent_tag("moment");//图文标签
178   - shyContent1.setReceive_status(CommonConst.RECEIVE_BEFORE);//领取状态
179   - shyContent1.setLast_update(CommonUtils.getCurrentTime());//最后一次更新时间
180   -
181   -
182   -
183   - boolean YorN = contentService.updateshyContent(shyContent1);
184   - if (YorN == true) {
185   - return new ResponseBean(ErrorEnum.SUCCESS);
186   - } else {
187   - return new ResponseBean(ErrorEnum.ERROR);
188   - }
189   - }
190   - //如果不存在直接插入
191   - shyContent.setTitle(json.getString("title"));//标题
192   - shyContent.setTitle_image(json.getString("image"));//用户头像
193   - shyContent.setShenhe_type(shenheType);//审核类型
194   - shyContent.setContent_status(1);//当前朋友圈内容的审核状态,先发后审
195   - String contentTime = json.getString("createTime");//创建时间
196   - if (CommonUtils.isNotEmpty(contentTime)) {
  196 + shyContent1.setContent_time(new Date(Long.valueOf(contentTime)));
  197 +
  198 + }
  199 + shyContent1.setCreate_date(CommonUtils.getCurrentTime());
  200 + shyContent1.setCallback(json.getString("callbackUrl"));//回调地址
  201 + shyContent1.setContent_url(json.getString("pageUrl"));//朋友圈分享的url
  202 + shyContent1.setContent_pc_url(contentImageUrl);//朋友圈分享的内容的url,以逗号分隔
  203 + shyContent1.setSp_id(json.getInteger("spId"));//spid
  204 + shyContent1.setAuthor(json.getString("userId"));//用户id
  205 + shyContent1.setSource(json.getString("nickName"));//用户昵称
  206 + shyContent1.setVideo_id(json.getString("videoId"));//关联videoId
  207 + shyContent1.setContent_tag("moment");//图文标签
  208 + shyContent1.setReceive_status(CommonConst.RECEIVE_BEFORE);//领取状态
  209 + shyContent1.setLast_update(CommonUtils.getCurrentTime());//最后一次更新时间
  210 +
  211 +
  212 + boolean YorN = contentService.updateshyContent(shyContent1);
  213 + if (YorN == true) {
  214 + return new ResponseBean(ErrorEnum.SUCCESS);
  215 + } else {
  216 + return new ResponseBean(ErrorEnum.ERROR);
  217 + }
  218 + }
  219 + //如果不存在直接插入
  220 + shyContent.setTitle(json.getString("title"));//标题
  221 + shyContent.setTitle_image(json.getString("image"));//用户头像
  222 + shyContent.setShenhe_type(shenheType);//审核类型
  223 + shyContent.setContent_status(1);//当前朋友圈内容的审核状态,先发后审
  224 + String contentTime = json.getString("createTime");//创建时间
  225 + if (CommonUtils.isNotEmpty(contentTime)) {
197 226 // Date timestamp = CommonUtils.getTimestamp(contentTime, "yyyy-MM-dd HH:mm:ss");
198   - shyContent.setContent_time(new Date(Long.valueOf(contentTime)));
199   -
200   - }
201   - shyContent.setCreate_date(CommonUtils.getCurrentTime());
202   - shyContent.setCallback(json.getString("callbackUrl"));//回调地址
203   - shyContent.setContent_url(json.getString("pageUrl"));//朋友圈分享的url
204   - shyContent.setContent_pc_url(contentImageUrl);//朋友圈分享的内容的url,以逗号分隔
205   - shyContent.setSp_id(json.getInteger("spId"));//spid
206   - shyContent.setAuthor(json.getString("userId"));//用户id
207   - shyContent.setSource(json.getString("nickName"));//用户昵称
208   - shyContent.setVideo_id(json.getString("videoId"));//关联videoId
209   - shyContent.setReceive_status(CommonConst.RECEIVE_BEFORE);//领取状态
210   - shyContent.setLast_update(CommonUtils.getCurrentTime());//最后一次更新时间
211   - boolean YorN = contentService.impotContent(shyContent);
212   - if (YorN == true) {
213   - return new ResponseBean(ErrorEnum.SUCCESS);
214   - } else {
215   - return new ResponseBean(ErrorEnum.ERROR);
216   - }
  227 + shyContent.setContent_time(new Date(Long.valueOf(contentTime)));
  228 +
  229 + }
  230 + shyContent.setCreate_date(CommonUtils.getCurrentTime());
  231 + shyContent.setCallback(json.getString("callbackUrl"));//回调地址
  232 + shyContent.setContent_url(json.getString("pageUrl"));//朋友圈分享的url
  233 + shyContent.setContent_pc_url(contentImageUrl);//朋友圈分享的内容的url,以逗号分隔
  234 + shyContent.setSp_id(json.getInteger("spId"));//spid
  235 + shyContent.setAuthor(json.getString("userId"));//用户id
  236 + shyContent.setSource(json.getString("nickName"));//用户昵称
  237 + shyContent.setVideo_id(json.getString("videoId"));//关联videoId
  238 + shyContent.setReceive_status(CommonConst.RECEIVE_BEFORE);//领取状态
  239 + shyContent.setLast_update(CommonUtils.getCurrentTime());//最后一次更新时间
  240 + boolean YorN = contentService.impotContent(shyContent);
  241 + if (YorN == true) {
  242 + return new ResponseBean(ErrorEnum.SUCCESS);
  243 + } else {
  244 + return new ResponseBean(ErrorEnum.ERROR);
  245 + }
217 246 }
218   -
  247 +
219 248 @GetMapping("/detail/{id}.html")
220   - public Object getContentDetail(Model model, @PathVariable Integer id) {
221   - System.out.println("数美送审页面开始进入");
222   - ShyContent content = contentService.selectByPrimaryKey(id);
223   - model.addAttribute("contentText", content.getContent_text());
224   - model.addAttribute("contentTitle", content.getTitle());
225   - return "html/contentPage.html";
226   - }
227   -
  249 + public Object getContentDetail(Model model, @PathVariable Integer id) {
  250 + System.out.println("数美送审页面开始进入");
  251 + ShyContent content = contentService.selectByPrimaryKey(id);
  252 + model.addAttribute("contentText", content.getContent_text());
  253 + model.addAttribute("contentTitle", content.getTitle());
  254 + return "html/contentPage.html";
  255 + }
  256 +
228 257  
229 258 }
... ...
src/main/java/com/cnlive/shenhe/controller/AudioController.java
... ... @@ -98,7 +98,7 @@ public class AudioController extends BaseController {
98 98 if (CommonUtils.isNotNull(shySite)) {
99 99 spid = shySite.getSpid();
100 100 } else {
101   - setmodel_site(model);
  101 + setmodelSite(model);
102 102 return "error.html";
103 103 }
104 104 } else if (CommonUtils.isEmpty(sp_desc) && spid == 0) {
... ... @@ -172,7 +172,7 @@ public class AudioController extends BaseController {
172 172 for (String cid : cids) {
173 173 ShyAudio shyAudio = audioService.selectByPrimaryKey(Integer.parseInt(cid));
174 174 if (CommonUtils.isNotNull(shyAudio)) {
175   - if (shyAudio.getState() != CommonConst.AUDIT_INTT || shyAudio.getReceive()==CommonConst.RECEIVE_AFTER) {
  175 + if (shyAudio.getState() != CommonConst.AUDIT_INTT || shyAudio.getReceive() == CommonConst.RECEIVE_AFTER) {
176 176 return new ResponseBean(ErrorEnum.ERROR.getErrorCode(), "您领取的内容中有已被领取或者已经被审核,请检查并重试");
177 177 }
178 178 } else {
... ... @@ -202,7 +202,7 @@ public class AudioController extends BaseController {
202 202 String[] cids = ids.split(",");
203 203 for (String cid : cids) {
204 204 ShyAudio shyAudio = audioService.selectByPrimaryKey(Integer.parseInt(cid));
205   - if (shyAudio.getState() != CommonConst.AUDIT_INTT || shyAudio.getReceive()==CommonConst.RECEIVE_BEFORE || !shyAudio.getReceive_user_id().equals(userId)) {
  205 + if (shyAudio.getState() != CommonConst.AUDIT_INTT || shyAudio.getReceive() == CommonConst.RECEIVE_BEFORE || !shyAudio.getReceive_user_id().equals(userId)) {
206 206 return new ResponseBean(ErrorEnum.ERROR.getErrorCode(), "退领失败,您选中的内容包含已退领的或已经审核的");
207 207 }
208 208 }
... ... @@ -342,7 +342,7 @@ public class AudioController extends BaseController {
342 342 cell = row.createCell(5);//列
343 343 //审核员需要做处理
344 344 if (shyAudioList.get(i).getState() != CommonConst.AUDIT_INTT) {
345   - updater = CommonUtils.isEmpty(shyAudioList.get(i).getUploader()) || "null".equals(shyAudioList.get(i).getUploader())? "白名单":shyAudioList.get(i).getUploader();
  345 + updater = CommonUtils.isEmpty(shyAudioList.get(i).getUploader()) || "null".equals(shyAudioList.get(i).getUploader()) ? "白名单" : shyAudioList.get(i).getUploader();
346 346 String auditor_id = shyAudioList.get(i).getAuditor_id();
347 347 if (CommonUtils.isNotEmpty(auditor_id)) {
348 348 ShyUsers user = new ShyUsers();
... ... @@ -351,7 +351,7 @@ public class AudioController extends BaseController {
351 351 if (CommonUtils.isNotNull(user)) {
352 352 String email = CommonUtils.isEmpty(user.getEmail()) || "null".equals(user.getEmail()) ? "" : user.getEmail();
353 353 String userName = CommonUtils.isEmpty(user.getUsername()) ? email : user.getUsername();
354   - updater = userName ;
  354 + updater = userName;
355 355 }
356 356 }
357 357 }
... ...
src/main/java/com/cnlive/shenhe/controller/BaseController.java
1 1 package com.cnlive.shenhe.controller;
2 2  
3   -import java.io.IOException;
  3 +import com.cnlive.shenhe.bean.SessionUser;
  4 +import org.springframework.ui.Model;
  5 +import org.springframework.web.context.request.RequestContextHolder;
  6 +import org.springframework.web.context.request.ServletRequestAttributes;
4 7  
5 8 import javax.servlet.http.HttpServletRequest;
6 9 import javax.servlet.http.HttpServletResponse;
7 10 import javax.servlet.http.HttpSession;
8 11  
9   -import org.springframework.stereotype.Controller;
10   -import org.springframework.ui.Model;
11   -import org.springframework.web.bind.annotation.GetMapping;
12   -import org.springframework.web.bind.annotation.RequestMapping;
13   -import org.springframework.web.context.request.RequestContextHolder;
14   -import org.springframework.web.context.request.ServletRequestAttributes;
15   -import org.springframework.web.servlet.ModelAndView;
  12 +public class BaseController {
16 13  
17   -import com.cnlive.shenhe.bean.SessionUser;
18   -import com.cnlive.shenhe.utils.CommonUtils;
19 14  
20   -@Controller
21   -public class BaseController {
  15 + /**
  16 + * 得到request对象
  17 + */
  18 + public HttpServletRequest getRequest() {
  19 + HttpServletRequest request = ((ServletRequestAttributes) RequestContextHolder.getRequestAttributes()).getRequest();
  20 + return request;
  21 + }
22 22  
23   -
24   - /**
25   - * 得到request对象
26   - */
27   - public HttpServletRequest getRequest() {
28   - HttpServletRequest request = ((ServletRequestAttributes)RequestContextHolder.getRequestAttributes()).getRequest();
29   - return request;
30   - }
31   - /**
32   - * 得到response对象
33   - */
34   - public HttpServletResponse getResponse() {
35   - HttpServletResponse response = ((ServletRequestAttributes)RequestContextHolder.getRequestAttributes()).getResponse();
36   - return response;
37   - }
38   -
39   - /**
40   - * 得到session对象
41   - */
42   - public HttpSession getsession() {
43   - HttpSession session = this.getRequest().getSession();
44   - return session;
45   - }
46   -
47   -
48   - /**
49   - * 获取session中的用户
50   - * @return
51   - */
52   - public SessionUser getSessionUser(){
53   - SessionUser sessionUser = (SessionUser) this.getsession().getAttribute(SessionUser.getSessionKey());
54   - return sessionUser;
  23 + /**
  24 + * 得到response对象
  25 + */
  26 + public HttpServletResponse getResponse() {
  27 + HttpServletResponse response = ((ServletRequestAttributes) RequestContextHolder.getRequestAttributes()).getResponse();
  28 + return response;
  29 + }
  30 +
  31 + /**
  32 + * 得到session对象
  33 + */
  34 + public HttpSession getsession() {
  35 + HttpSession session = this.getRequest().getSession();
  36 + return session;
55 37 }
56   -
  38 +
  39 +
57 40 /**
58   - * 获取session中的用户id
  41 + * 获取session中的用户
  42 + *
59 43 * @return
60 44 */
61   - public String getSessionUserId(){
62   - SessionUser sessionUser = getSessionUser();
63   - if(sessionUser != null) return sessionUser.getUserId();
64   - return null;
  45 + public SessionUser getSessionUser() {
  46 + SessionUser sessionUser = (SessionUser) this.getsession().getAttribute(SessionUser.getSessionKey());
  47 + return sessionUser;
  48 + }
  49 +
  50 + /**
  51 + * 设置用户session
  52 + */
  53 + public void setSessionUser(SessionUser sessionUser) {
  54 + this.getsession().setAttribute("", null);
  55 + }
  56 +
  57 + /**
  58 + * 设置报错页面显示信息——站点查询失败
  59 + *
  60 + * @param model
  61 + */
  62 + public void setmodelSite(Model model) {
  63 + model.addAttribute("errorMessage", "站点查询失败,不存在此站点,请重新查询!");
  64 + model.addAttribute("remindMessage", "提示:站点查询请输入全称,不支持模糊查询");
65 65 }
66   -
67 66  
68   - /**
69   - * 设置用户session
70   - * @param teacher
71   - */
72   - public void setSessionUser(SessionUser sessionUser){
73   - this.getsession().setAttribute("",null);
74   - }
75   -
76   - /**
77   - * 设置报错页面显示信息——站点查询失败
78   - * @param model
79   - */
80   - public void setmodel_site(Model model){
81   - model.addAttribute("errorMessage", "站点查询失败,不存在此站点,请重新查询!");
82   - model.addAttribute("remindMessage", "提示:站点查询请输入全称,不支持模糊查询");
83   - }
84   - /**
85   - * 设置报错页面显示信息——参数校验失败
86   - * @param model
87   - * @param value 不能为空的参数
88   - */
89   - public void setmodel_param(Model model,String value){
90   - model.addAttribute("errorMessage", "参数传递不能为空!"+value);
91   - model.addAttribute("remindMessage", "提示:请检查所传参数,存在非空参数未赋值");
92   - }
93   -
94   - /**
95   - * 设置报错页面显示信息——入库结果失败
96   - * @param model
97   - */
98   - public void setmodel_result(Model model){
99   - model.addAttribute("errorMessage", "数据入库失败,请重试!");
100   - model.addAttribute("remindMessage", "提示:如连续两次以上入库失败,请联系开发人员");
101   - }
102   - /**
103   - * 设置报错页面显示信息——权限不足
104   - * @param model
105   - */
106   - public void setmodel_limit(Model model){
107   - model.addAttribute("errorMessage", "您没有此操作的权限,请重试或者联系管理员开通!");
108   - }
109   -
  67 + /**
  68 + * 设置报错页面显示信息——参数校验失败
  69 + *
  70 + * @param model
  71 + * @param value 不能为空的参数
  72 + */
  73 + public void setmodelParam(Model model, String value) {
  74 + model.addAttribute("errorMessage", "参数传递不能为空!" + value);
  75 + model.addAttribute("remindMessage", "提示:请检查所传参数,存在非空参数未赋值");
  76 + }
  77 +
  78 + /**
  79 + * 设置报错页面显示信息——入库结果失败
  80 + *
  81 + * @param model
  82 + */
  83 + public void setmodelResult(Model model) {
  84 + model.addAttribute("errorMessage", "数据入库失败,请重试!");
  85 + model.addAttribute("remindMessage", "提示:如连续两次以上入库失败,请联系开发人员");
  86 + }
  87 +
  88 +
110 89 }
... ...
src/main/java/com/cnlive/shenhe/controller/ChannelController.java
... ... @@ -5,12 +5,9 @@ import com.cnlive.shenhe.bean.ErrorEnum;
5 5 import com.cnlive.shenhe.bean.ResponseBean;
6 6 import com.cnlive.shenhe.bean.SessionUser;
7 7 import com.cnlive.shenhe.entity.ShyChannel;
8   -import com.cnlive.shenhe.entity.ShyContent;
9 8 import com.cnlive.shenhe.entity.ShySites;
10 9 import com.cnlive.shenhe.entity.ShyUsers;
11   -import com.cnlive.shenhe.entity.ShyVideos;
12 10 import com.cnlive.shenhe.serviceImpl.ChannelServiceImpl;
13   -import com.cnlive.shenhe.serviceImpl.ContentServiceImpl;
14 11 import com.cnlive.shenhe.serviceImpl.SitesServiceImpl;
15 12 import com.cnlive.shenhe.serviceImpl.UsersServiceImpl;
16 13 import com.cnlive.shenhe.utils.AuditPass;
... ... @@ -37,7 +34,7 @@ import java.util.Map;
37 34 public class ChannelController extends BaseController {
38 35 private static Logger logger = LoggerFactory.getLogger(ChannelController.class);
39 36 @Value("${spring.localhost.url}")
40   - private String localhost_url;//本机地址
  37 + private String localhost_url;//本机地址
41 38 @Autowired
42 39 AuditPass Pass;
43 40 @Autowired
... ... @@ -45,47 +42,43 @@ public class ChannelController extends BaseController {
45 42  
46 43 @Autowired
47 44 UsersServiceImpl usersService;
48   -
  45 +
49 46 @Autowired
50 47 SitesServiceImpl sitesService;
51 48  
52   - /**
53   - * 评论列表页
54   - *
55   - * @param model
56   - * @param channelId
57   - * @param channelName
58   - * @param offline
59   - * @param start_date
60   - * @param end_date
61   - * @param state
62   - * @param sp_desc
63   - * @param page
64   - * @param pageSize
65   - * @param orderByClause
66   - * @param session
67   - * @return
68   - */
  49 + /**
  50 + * 评论列表页
  51 + *
  52 + * @param model
  53 + * @param start_date
  54 + * @param end_date
  55 + * @param sp_desc
  56 + * @param page
  57 + * @param pageSize
  58 + * @param orderByClause
  59 + * @param session
  60 + * @return
  61 + */
69 62 @GetMapping("/page")
70 63 public String getPage(Model model, String channel_id, String channel_name, Integer receive,
71   - String start_date, String end_date,Integer shenhe_status, String sp_desc,
  64 + String start_date, String end_date, Integer shenhe_status, String sp_desc,
72 65 Integer page, Integer pageSize, String orderByClause, HttpSession session) {
73 66 SessionUser sessionUser = (SessionUser) session.getAttribute(SessionUser.getSessionKey());
74   - if(CommonUtils.isNull(sessionUser)){
75   - return "redirect:/users/login";
  67 + if (CommonUtils.isNull(sessionUser)) {
  68 + return "redirect:/users/login";
76 69 }
77 70 Integer spid = sessionUser.getSpid();
78 71 String userId = sessionUser.getUserId();
79 72 if (CommonUtils.isNull(page)) page = 1;
80 73 if (CommonUtils.isNull(pageSize)) pageSize = 10;
81 74 if (CommonUtils.isNotEmpty(sp_desc) && spid == 0) {
82   - ShySites shySite=sitesService.findspidBySpdesc(sp_desc);
83   - if(CommonUtils.isNotNull(shySite)){
84   - spid = shySite.getSpid();
85   - }else{
86   - setmodel_site(model);
87   - return "error.html";
88   - }
  75 + ShySites shySite = sitesService.findspidBySpdesc(sp_desc);
  76 + if (CommonUtils.isNotNull(shySite)) {
  77 + spid = shySite.getSpid();
  78 + } else {
  79 + setmodelSite(model);
  80 + return "error.html";
  81 + }
89 82 } else if (CommonUtils.isEmpty(sp_desc) && spid == 0) {
90 83 spid = null;
91 84 }
... ... @@ -108,31 +101,31 @@ public class ChannelController extends BaseController {
108 101 List<ShyChannel> list = channelPage.getList();
109 102 if (!list.isEmpty()) {
110 103 for (ShyChannel channel : list) {
111   - if (channel.getShenhe_status() != CommonConst.AUDIT_INTT) {
112   - String updater = CommonUtils.isEmpty(channel.getUpdater()) || "null".equals(channel.getUpdater())? "白名单":channel.getUpdater();
  104 + if (!channel.getShenhe_status().equals(CommonConst.AUDIT_INTT)) {
  105 + String updater = CommonUtils.isEmpty(channel.getUpdater()) || "null".equals(channel.getUpdater()) ? "白名单" : channel.getUpdater();
113 106 String auditor_id = channel.getAuditor();
114 107 if (CommonUtils.isNotEmpty(auditor_id)) {
115 108 ShyUsers user = new ShyUsers();
116 109 user.setUser_id(auditor_id);
117 110 user = usersService.select(user);
118 111 if (CommonUtils.isNotNull(user)) {
119   - String email = CommonUtils.isEmpty(user.getEmail()) || "null".equals(user.getEmail()) ? "" : user.getEmail();
  112 + String email = CommonUtils.isEmpty(user.getEmail()) || "null".equals(user.getEmail()) ? "" : user.getEmail();
120 113 String userName = CommonUtils.isEmpty(user.getUsername()) ? email : user.getUsername();
121   - updater = userName ;
  114 + updater = userName;
122 115 }
123 116 }
124 117 channel.setUpdater(updater);
125 118 }
126   - if(null!=channel.getSp_id()){
127   - //显示spid简称
128   - ShySites shySites = sitesService.findspidDescByspid(channel.getSp_id());
129   - if (CommonUtils.isNotNull(shySites)) {
130   - channel.setSp_desc(shySites.getName());
131   - }
132   - }else{
133   - channel.setSp_desc("sp无法显示");
  119 + if (null != channel.getSp_id()) {
  120 + //显示spid简称
  121 + ShySites shySites = sitesService.findspidDescByspid(channel.getSp_id());
  122 + if (CommonUtils.isNotNull(shySites)) {
  123 + channel.setSp_desc(shySites.getName());
  124 + }
  125 + } else {
  126 + channel.setSp_desc("sp无法显示");
134 127 }
135   -
  128 +
136 129 }
137 130 }
138 131 /* 获取参数值给前台 用来判断是否需要把查看显示出来 state recive*/
... ... @@ -168,7 +161,7 @@ public class ChannelController extends BaseController {
168 161 public ResponseBean pass(String ids, HttpSession session) {
169 162 SessionUser sessionUser = (SessionUser) session.getAttribute(SessionUser.getSessionKey());
170 163 String userId = sessionUser.getUserId();
171   - boolean success = channelService.updateState(ids, CommonConst.AUDIT_SUCCESS, userId,"","审核通过");
  164 + boolean success = channelService.updateState(ids, CommonConst.AUDIT_SUCCESS, userId, "", "审核通过");
172 165 if (success) {
173 166 return new ResponseBean();
174 167 } else {
... ... @@ -187,7 +180,7 @@ public class ChannelController extends BaseController {
187 180 public ResponseBean refuse(String ids, String msg, HttpSession session) {
188 181 SessionUser sessionUser = (SessionUser) session.getAttribute(SessionUser.getSessionKey());
189 182 String userId = sessionUser.getUserId();
190   - boolean success = channelService.updateState(ids, CommonConst.AUDIT_REFUSE, userId,"",msg);
  183 + boolean success = channelService.updateState(ids, CommonConst.AUDIT_REFUSE, userId, "", msg);
191 184 if (success) {
192 185 return new ResponseBean();
193 186 } else {
... ... @@ -255,8 +248,8 @@ public class ChannelController extends BaseController {
255 248 }
256 249 return responseBean;
257 250 }
258   -
259   -
  251 +
  252 +
260 253 /**
261 254 * @Auther: liwei
262 255 * @Date: 2019/08/17 11:17
... ... @@ -264,20 +257,20 @@ public class ChannelController extends BaseController {
264 257 */
265 258 @GetMapping("/channelNotice")
266 259 @ResponseBody
267   - public Map<String,Object> channelNotice() {
268   - Map<String,Object> map=new HashMap<>();
269   - ShyChannel shyChannel = new ShyChannel();
  260 + public Map<String, Object> channelNotice() {
  261 + Map<String, Object> map = new HashMap<>();
  262 + ShyChannel shyChannel = new ShyChannel();
270 263 shyChannel.setShenhe_type(CommonConst.AUDIT_TYPE_USER);// 审核类型为人工审
271 264 shyChannel.setShenhe_status(CommonConst.AUDIT_INTT);
272 265 List<ShyChannel> channelList = channelService.findshyChannel(shyChannel);
273 266 if (channelList.size() > 0) {
274   - logger.info("您有"+channelList.size()+"条新的频道审核申请,请注意查看!");
275   - map.put("id", "1");//第一个提示框,避免冲突
276   - map.put("title", "新频道审核通知");
277   - map.put("content","您有"+channelList.size()+"条新的频道审核申请,请注意查看!" );
278   - map.put("url",localhost_url+"/channel/page?shenhe_status=0&receive=0" );
279   - return map;
  267 + logger.info("您有" + channelList.size() + "条新的频道审核申请,请注意查看!");
  268 + map.put("id", "1");//第一个提示框,避免冲突
  269 + map.put("title", "新频道审核通知");
  270 + map.put("content", "您有" + channelList.size() + "条新的频道审核申请,请注意查看!");
  271 + map.put("url", localhost_url + "/channel/page?shenhe_status=0&receive=0");
  272 + return map;
280 273 }
281   - return null;
282   - }
  274 + return null;
  275 + }
283 276 }
... ...
src/main/java/com/cnlive/shenhe/controller/ContentController.java
1 1 package com.cnlive.shenhe.controller;
2 2  
3   -import com.alibaba.fastjson.JSONObject;
4 3 import com.cnlive.shenhe.bean.ErrorEnum;
5 4 import com.cnlive.shenhe.bean.ResponseBean;
6 5 import com.cnlive.shenhe.bean.SessionUser;
7   -import com.cnlive.shenhe.entity.ShyComments;
8 6 import com.cnlive.shenhe.entity.ShyContent;
9   -import com.cnlive.shenhe.entity.ShyLive;
10 7 import com.cnlive.shenhe.entity.ShySites;
11 8 import com.cnlive.shenhe.entity.ShyUsers;
12   -import com.cnlive.shenhe.entity.ShyVideos;
13   -import com.cnlive.shenhe.serviceImpl.CommentsServiceImpl;
14 9 import com.cnlive.shenhe.serviceImpl.ContentServiceImpl;
15 10 import com.cnlive.shenhe.serviceImpl.SitesServiceImpl;
16 11 import com.cnlive.shenhe.serviceImpl.UsersServiceImpl;
17   -import com.cnlive.shenhe.utils.AuditPass;
18 12 import com.cnlive.shenhe.utils.CommonConst;
19 13 import com.cnlive.shenhe.utils.CommonUtils;
20 14 import com.github.pagehelper.PageInfo;
21   -
22 15 import org.apache.poi.xssf.usermodel.XSSFCell;
23 16 import org.apache.poi.xssf.usermodel.XSSFRow;
24 17 import org.apache.poi.xssf.usermodel.XSSFSheet;
25 18 import org.apache.poi.xssf.usermodel.XSSFWorkbook;
26   -import org.slf4j.Logger;
27   -import org.slf4j.LoggerFactory;
28 19 import org.springframework.beans.factory.annotation.Autowired;
29 20 import org.springframework.stereotype.Controller;
30 21 import org.springframework.ui.Model;
... ... @@ -33,12 +24,7 @@ import org.springframework.web.bind.annotation.*;
33 24 import javax.servlet.ServletOutputStream;
34 25 import javax.servlet.http.HttpServletResponse;
35 26 import javax.servlet.http.HttpSession;
36   -
37   -import java.io.BufferedInputStream;
38   -import java.io.BufferedOutputStream;
39   -import java.io.ByteArrayInputStream;
40   -import java.io.ByteArrayOutputStream;
41   -import java.io.InputStream;
  27 +import java.io.*;
42 28 import java.util.Date;
43 29 import java.util.List;
44 30  
... ... @@ -46,11 +32,6 @@ import java.util.List;
46 32 @Controller
47 33 @RequestMapping("/content")
48 34 public class ContentController extends BaseController {
49   - private static Logger logger = LoggerFactory.getLogger(ContentController.class);
50   - @Autowired
51   - AuditPass Pass;
52   - @Autowired
53   - CommentsServiceImpl commentsService;
54 35 @Autowired
55 36 ContentServiceImpl contentService;
56 37 @Autowired
... ... @@ -79,25 +60,25 @@ public class ContentController extends BaseController {
79 60 * @return
80 61 */
81 62 @GetMapping("/page")
82   - public String getPage(Model model, String title,String contentId, String content_tag,
83   - String start_date, String end_date, Integer receive_status, String sp_desc,String source,String author,
  63 + public String getPage(Model model, String title, String contentId, String content_tag,
  64 + String start_date, String end_date, Integer receive_status, String sp_desc, String source, String author,
84 65 Integer page, Integer pageSize, String orderByClause, HttpSession session) {
85 66 SessionUser sessionUser = (SessionUser) session.getAttribute(SessionUser.getSessionKey());
86   - if(CommonUtils.isNull(sessionUser)){
87   - return "redirect:/users/login";
  67 + if (CommonUtils.isNull(sessionUser)) {
  68 + return "redirect:/users/login";
88 69 }
89 70 Integer spid = sessionUser.getSpid();
90 71 String userId = sessionUser.getUserId();
91 72 if (CommonUtils.isNull(page)) page = 1;
92 73 if (CommonUtils.isNull(pageSize)) pageSize = 10;
93 74 if (CommonUtils.isNotEmpty(sp_desc) && spid == 0) {
94   - ShySites shySite=sitesService.findspidBySpdesc(sp_desc);
95   - if(CommonUtils.isNotNull(shySite)){
96   - spid = shySite.getSpid();
97   - }else{
98   - setmodel_site(model);
99   - return "error.html";
100   - }
  75 + ShySites shySite = sitesService.findspidBySpdesc(sp_desc);
  76 + if (CommonUtils.isNotNull(shySite)) {
  77 + spid = shySite.getSpid();
  78 + } else {
  79 + setmodelSite(model);
  80 + return "error.html";
  81 + }
101 82 } else if (CommonUtils.isEmpty(sp_desc) && spid == 0) {
102 83 spid = null;
103 84 }
... ... @@ -116,20 +97,20 @@ public class ContentController extends BaseController {
116 97 } catch (Exception e) {
117 98 }
118 99 }
119   - PageInfo<ShyContent> contentPage = contentService.getPage( title,source,author,content_tag,contentId, sDate, eDate, receive_status, null, page, pageSize, orderByClause, spid, userId);
  100 + PageInfo<ShyContent> contentPage = contentService.getPage(title, source, author, content_tag, contentId, sDate, eDate, receive_status, null, page, pageSize, orderByClause, spid, userId);
120 101 List<ShyContent> list = contentPage.getList();
121 102 if (!list.isEmpty()) {
122 103 for (ShyContent content : list) {
123 104 if (content.getReceive_status() == CommonConst.RECEIVE_AUDIT) {
124   - String auditor_id = content.getAuditor_id();
125   - String updater = CommonUtils.isEmpty(content.getUpdater()) || "null".equals(content.getUpdater())? "白名单":content.getUpdater();
126   - updater =sitesService.getUpdater(updater,auditor_id);
  105 + String auditor_id = content.getAuditor_id();
  106 + String updater = CommonUtils.isEmpty(content.getUpdater()) || "null".equals(content.getUpdater()) ? "白名单" : content.getUpdater();
  107 + updater = sitesService.getUpdater(updater, auditor_id);
127 108 content.setUpdater(updater);
128 109 }
129 110 //显示spid简称
130 111 ShySites shySites = sitesService.findspidDescByspid(content.getSp_id());
131 112 if (CommonUtils.isNotNull(shySites)) {
132   - content.setSp_desc(shySites.getName());
  113 + content.setSp_desc(shySites.getName());
133 114 }
134 115 }
135 116 }
... ... @@ -146,20 +127,20 @@ public class ContentController extends BaseController {
146 127 */
147 128 @GetMapping("/details/{id}")
148 129 public String getDetailsComments(@PathVariable Integer id, Model model) {
149   - ShyContent content = contentService.getDetailsContent(id);
150   - if (content.getReceive_status() != CommonConst.RECEIVE_BEFORE) {
151   - String auditor_id = content.getAuditor_id();
152   - String updater = CommonUtils.isEmpty(content.getUpdater()) || "null".equals(content.getUpdater())? "白名单":content.getUpdater();
153   - updater =sitesService.getUpdater(updater,auditor_id);
  130 + ShyContent content = contentService.getDetailsContent(id);
  131 + if (content.getReceive_status() != CommonConst.RECEIVE_BEFORE) {
  132 + String auditor_id = content.getAuditor_id();
  133 + String updater = CommonUtils.isEmpty(content.getUpdater()) || "null".equals(content.getUpdater()) ? "白名单" : content.getUpdater();
  134 + updater = sitesService.getUpdater(updater, auditor_id);
154 135 content.setUpdater(updater);
155 136 }
156   - //朋友圈内容切割内容图片或者视频地址
157   - if(content.getContent_tag().equals("moment")){
158   - String[] contentImageUrlList=null;
159   - if(content.getContent_pc_url()!=null){
160   - contentImageUrlList=content.getContent_pc_url().split(",");
161   - }
162   - model.addAttribute("contentImageUrlList", contentImageUrlList);
  137 + //朋友圈内容切割内容图片或者视频地址
  138 + if (content.getContent_tag().equals("moment")) {
  139 + String[] contentImageUrlList = null;
  140 + if (content.getContent_pc_url() != null) {
  141 + contentImageUrlList = content.getContent_pc_url().split(",");
  142 + }
  143 + model.addAttribute("contentImageUrlList", contentImageUrlList);
163 144 }
164 145 model.addAttribute("content", content);
165 146 return "page/contentDetail.html";
... ... @@ -177,11 +158,11 @@ public class ContentController extends BaseController {
177 158 public ResponseBean pass(String ids, HttpSession session) {
178 159 SessionUser sessionUser = (SessionUser) session.getAttribute(SessionUser.getSessionKey());
179 160 String userId = sessionUser.getUserId();
180   - boolean success =false;
  161 + boolean success = false;
181 162 String[] contentIds = ids.split(",");
182   - for (String contentId : contentIds) {
183   - success = contentService.callback(contentId,"审核通过", CommonConst.AUDIT_SUCCESS, userId,"");
184   - }
  163 + for (String contentId : contentIds) {
  164 + success = contentService.callback(contentId, "审核通过", CommonConst.AUDIT_SUCCESS, userId, "");
  165 + }
185 166 if (success) {
186 167 return new ResponseBean();
187 168 } else {
... ... @@ -197,14 +178,14 @@ public class ContentController extends BaseController {
197 178 */
198 179 @PostMapping("/refuse")
199 180 @ResponseBody
200   - public ResponseBean refuse(String ids,String msg, HttpSession session) {
  181 + public ResponseBean refuse(String ids, String msg, HttpSession session) {
201 182 SessionUser sessionUser = (SessionUser) session.getAttribute(SessionUser.getSessionKey());
202 183 String userId = sessionUser.getUserId();
203   - boolean success =false;
  184 + boolean success = false;
204 185 String[] contentIds = ids.split(",");
205   - for (String contentId : contentIds) {
206   - success = contentService.callback(contentId,msg, CommonConst.AUDIT_REFUSE, userId,"");
207   - }
  186 + for (String contentId : contentIds) {
  187 + success = contentService.callback(contentId, msg, CommonConst.AUDIT_REFUSE, userId, "");
  188 + }
208 189 if (success) {
209 190 return new ResponseBean();
210 191 } else {
... ... @@ -246,20 +227,19 @@ public class ContentController extends BaseController {
246 227 * 根据条件导出excel
247 228 */
248 229 @GetMapping("excel")
249   - public void getExcel( String title,String contentId, String content_tag,
250   - String start_date, String end_date, Integer receive_status, String sp_desc,
251   - Integer page, Integer pageSize, String orderByClause, HttpSession session,HttpServletResponse response) {
  230 + public void getExcel(String title, String contentId, String content_tag,
  231 + String start_date, String end_date, Integer receive_status, String sp_desc,
  232 + Integer page, Integer pageSize, String orderByClause, HttpSession session, HttpServletResponse response) {
252 233 SessionUser sessionUser = (SessionUser) session.getAttribute(SessionUser.getSessionKey());
253 234 Integer spid = sessionUser.getSpid();
254   - String userId = sessionUser.getUserId();
255 235 if (CommonUtils.isNotEmpty(sp_desc) && spid == 0) {
256   - ShySites shySite=sitesService.findspidBySpdesc(sp_desc);
257   - if(CommonUtils.isNotNull(shySite)){
258   - spid = shySite.getSpid();
259   - }
260   - }else if (CommonUtils.isEmpty(sp_desc) && spid == 0) {
  236 + ShySites shySite = sitesService.findspidBySpdesc(sp_desc);
  237 + if (CommonUtils.isNotNull(shySite)) {
  238 + spid = shySite.getSpid();
  239 + }
  240 + } else if (CommonUtils.isEmpty(sp_desc) && spid == 0) {
261 241 spid = null;
262   - }
  242 + }
263 243 Date sDate = null;
264 244 Date eDate = null;
265 245  
... ... @@ -275,10 +255,10 @@ public class ContentController extends BaseController {
275 255 } catch (Exception e) {
276 256 }
277 257 }
278   - List<ShyContent> contentList = contentService.findByCondition(title,content_tag,contentId, sDate, eDate, receive_status, page, pageSize, orderByClause, spid);
279   -
  258 + List<ShyContent> contentList = contentService.findByCondition(title, content_tag, contentId, sDate, eDate, receive_status, page, pageSize, orderByClause, spid);
  259 +
280 260 String fileName = "图文数据";
281   -
  261 +
282 262 XSSFWorkbook wb = new XSSFWorkbook();
283 263 ServletOutputStream out = null;
284 264 BufferedInputStream bis = null;
... ... @@ -316,7 +296,7 @@ public class ContentController extends BaseController {
316 296 cell.setCellValue("作者(sid)");
317 297 cell = row.createCell(14);//列
318 298 cell.setCellValue("图文url");
319   -
  299 +
320 300 for (int i = 0; i < contentList.size(); i++) {
321 301 row = sheetlist.createRow((short) (i + 1));//行
322 302 cell = row.createCell(0);//列
... ... @@ -329,10 +309,10 @@ public class ContentController extends BaseController {
329 309 cell.setCellValue(contentList.get(i).getTitle());
330 310 /*状态需要处理成用户可读*/
331 311 String contentTag = "";//图文标签 content:图文发布,moment:朋友圈
332   - if (contentList.get(i).getContent_tag().equals("content") ) {
333   - contentTag = "图文发布";
  312 + if (contentList.get(i).getContent_tag().equals("content")) {
  313 + contentTag = "图文发布";
334 314 } else if (contentList.get(i).getContent_tag().equals("moment")) {
335   - contentTag = "朋友圈";
  315 + contentTag = "朋友圈";
336 316 }
337 317 cell = row.createCell(4);//列
338 318 cell.setCellValue(contentTag);
... ... @@ -340,11 +320,11 @@ public class ContentController extends BaseController {
340 320 /*状态需要处理成用户可读*/
341 321 String shenheType = "";//审核类型,1:免审,2:机审,3:人工审
342 322 if (contentList.get(i).getShenhe_type() == 1) {
343   - shenheType = "免审";
  323 + shenheType = "免审";
344 324 } else if (contentList.get(i).getShenhe_type() == 2) {
345   - shenheType = "机审";
  325 + shenheType = "机审";
346 326 } else {
347   - shenheType = "人工审";
  327 + shenheType = "人工审";
348 328 }
349 329 cell = row.createCell(5);//列
350 330 cell.setCellValue(shenheType);
... ... @@ -352,56 +332,55 @@ public class ContentController extends BaseController {
352 332 /*状态需要处理成用户可读*/
353 333 String contentStatus = "";//内容状态:0:待发布,1:已发布,2:已下线,3:已删除
354 334 if (contentList.get(i).getContent_status() == 0) {
355   - contentStatus = "待发布";
  335 + contentStatus = "待发布";
356 336 } else if (contentList.get(i).getContent_status() == 1) {
357   - contentStatus = "已发布";
358   - } else if(contentList.get(i).getContent_status() == 2){
359   - contentStatus = "已下线";
360   - }else if(contentList.get(i).getContent_status() == 3){
361   - contentStatus = "已删除";
  337 + contentStatus = "已发布";
  338 + } else if (contentList.get(i).getContent_status() == 2) {
  339 + contentStatus = "已下线";
  340 + } else if (contentList.get(i).getContent_status() == 3) {
  341 + contentStatus = "已删除";
362 342 }
363   -
  343 +
364 344 cell = row.createCell(6);//列
365 345 cell.setCellValue(contentStatus);
366 346 cell = row.createCell(7);//列
367   - cell.setCellValue(contentList.get(i).getContent_time()==null?"":CommonUtils.formatDate(contentList.get(i).getContent_time(), "yyyy-MM-dd HH:mm:ss"));
  347 + cell.setCellValue(contentList.get(i).getContent_time() == null ? "" : CommonUtils.formatDate(contentList.get(i).getContent_time(), "yyyy-MM-dd HH:mm:ss"));
368 348 cell = row.createCell(8);//列
369   - cell.setCellValue(contentList.get(i).getCreate_date()==null?"":CommonUtils.formatDate(contentList.get(i).getCreate_date(), "yyyy-MM-dd HH:mm:ss"));
  349 + cell.setCellValue(contentList.get(i).getCreate_date() == null ? "" : CommonUtils.formatDate(contentList.get(i).getCreate_date(), "yyyy-MM-dd HH:mm:ss"));
370 350  
371 351 /*状态需要处理成用户可读*/
372 352 String receiveStatus = "";//领取状态。0:未领取;1:已领取,2:已审核
373 353 if (contentList.get(i).getReceive_status() == 1) {
374   - receiveStatus = "已领取";
  354 + receiveStatus = "已领取";
375 355 } else if (contentList.get(i).getReceive_status() == 2) {
376   - receiveStatus = "已审核";
  356 + receiveStatus = "已审核";
377 357 } else {
378   - receiveStatus = "未领取";
  358 + receiveStatus = "未领取";
379 359 }
380   -
  360 +
381 361 cell = row.createCell(9);//列
382 362 cell.setCellValue(receiveStatus);
383 363  
384 364 /* 审核员需要做处理*/
385 365 String updater = "";//审核员名字
386 366 if (contentList.get(i).getReceive_status() != CommonConst.RECEIVE_BEFORE) {
387   - updater = CommonUtils.isEmpty(contentList.get(i).getUpdater()) || "null".equals(contentList.get(i).getUpdater())? "自动通过":contentList.get(i).getUpdater();
  367 + updater = CommonUtils.isEmpty(contentList.get(i).getUpdater()) || "null".equals(contentList.get(i).getUpdater()) ? "自动通过" : contentList.get(i).getUpdater();
388 368 String auditor_id = contentList.get(i).getAuditor_id();
389 369 if (CommonUtils.isNotEmpty(auditor_id)) {
390 370 ShyUsers user = new ShyUsers();
391 371 user.setUser_id(auditor_id);
392 372 user = usersService.select(user);
393 373 if (CommonUtils.isNotNull(user)) {
394   - String email = CommonUtils.isEmpty(user.getEmail()) || "null".equals(user.getEmail()) ? "" : user.getEmail();
  374 + String email = CommonUtils.isEmpty(user.getEmail()) || "null".equals(user.getEmail()) ? "" : user.getEmail();
395 375 String userName = CommonUtils.isEmpty(user.getUsername()) ? email : user.getUsername();
396   - updater = userName ;
  376 + updater = userName;
397 377 }
398 378 }
399 379 }
400 380 cell = row.createCell(10);//列
401 381 cell.setCellValue(updater);
402   -
403   -
404   -
  382 +
  383 +
405 384 cell = row.createCell(11);//列
406 385 cell.setCellValue(contentList.get(i).getShenhe_msg());
407 386 cell = row.createCell(12);//列
... ...
src/main/java/com/cnlive/shenhe/controller/EmailController.java
... ... @@ -5,9 +5,7 @@ import com.cnlive.shenhe.bean.ErrorEnum;
5 5 import com.cnlive.shenhe.bean.ResponseBean;
6 6 import com.cnlive.shenhe.bean.SessionUser;
7 7 import com.cnlive.shenhe.entity.ShyEmail;
8   -import com.cnlive.shenhe.entity.ShySites;
9 8 import com.cnlive.shenhe.entity.ShyUsers;
10   -import com.cnlive.shenhe.entity.ShyUsersfree;
11 9 import com.cnlive.shenhe.serviceImpl.EmailServiceImpl;
12 10 import com.cnlive.shenhe.serviceImpl.SitesServiceImpl;
13 11 import com.cnlive.shenhe.serviceImpl.UsersServiceImpl;
... ... @@ -15,22 +13,16 @@ import com.cnlive.shenhe.utils.CommonConst;
15 13 import com.cnlive.shenhe.utils.CommonUtils;
16 14 import com.github.pagehelper.PageInfo;
17 15  
18   -import org.jasig.cas.client.authentication.AttributePrincipal;
19 16 import org.springframework.beans.factory.annotation.Autowired;
20 17 import org.springframework.stereotype.Controller;
21 18 import org.springframework.ui.Model;
22 19 import org.springframework.web.bind.annotation.GetMapping;
23   -import org.springframework.web.bind.annotation.PathVariable;
24 20 import org.springframework.web.bind.annotation.PostMapping;
25 21 import org.springframework.web.bind.annotation.RequestMapping;
26 22 import org.springframework.web.bind.annotation.ResponseBody;
27 23  
28   -import java.util.HashMap;
29 24 import java.util.List;
30   -import java.util.Map;
31 25  
32   -import javax.print.attribute.HashAttributeSet;
33   -import javax.servlet.http.HttpServletRequest;
34 26 import javax.servlet.http.HttpSession;
35 27  
36 28 /**
... ... @@ -123,7 +115,7 @@ public class EmailController extends BaseController {
123 115 @PostMapping(value = "/write")
124 116 public String write(Model model,Integer id,String email,String remark, String[] write_business, HttpSession session, String redirect_url) {
125 117 if(CommonUtils.isEmpty(email)&&CommonUtils.isEmpty(remark)){
126   - setmodel_param(model,"email,remark不能为空");
  118 + setmodelParam(model,"email,remark不能为空");
127 119 return "error.html";
128 120 }
129 121 SessionUser sessionUser = (SessionUser) session.getAttribute(SessionUser.getSessionKey());
... ... @@ -138,7 +130,7 @@ public class EmailController extends BaseController {
138 130 if (success) {
139 131 return "redirect:" + redirect_url;
140 132 } else {
141   - setmodel_result(model);
  133 + setmodelResult(model);
142 134 return "error.html";
143 135 }
144 136 }
... ...
src/main/java/com/cnlive/shenhe/controller/LiveApplyController.java
... ... @@ -4,17 +4,13 @@ import org.apache.poi.xssf.usermodel.XSSFCell;
4 4 import org.apache.poi.xssf.usermodel.XSSFRow;
5 5 import org.apache.poi.xssf.usermodel.XSSFSheet;
6 6 import org.apache.poi.xssf.usermodel.XSSFWorkbook;
7   -import com.alibaba.fastjson.JSON;
8 7 import com.alibaba.fastjson.JSONObject;
9 8 import com.cnlive.shenhe.bean.ErrorEnum;
10 9 import com.cnlive.shenhe.bean.ResponseBean;
11 10 import com.cnlive.shenhe.bean.SessionUser;
12   -import com.cnlive.shenhe.entity.ShyChannel;
13   -import com.cnlive.shenhe.entity.ShyLive;
14 11 import com.cnlive.shenhe.entity.ShyLiveapply;
15 12 import com.cnlive.shenhe.entity.ShySites;
16 13 import com.cnlive.shenhe.entity.ShyUsers;
17   -import com.cnlive.shenhe.entity.ShyVideos;
18 14 import com.cnlive.shenhe.serviceImpl.LiveApplyServiceImpl;
19 15 import com.cnlive.shenhe.serviceImpl.LiveServiceImpl;
20 16 import com.cnlive.shenhe.serviceImpl.SitesServiceImpl;
... ... @@ -147,7 +143,7 @@ public class LiveApplyController extends BaseController {
147 143 if(CommonUtils.isNotNull(shySite)){
148 144 spid = shySite.getSpid();
149 145 }else{
150   - setmodel_site(model);
  146 + setmodelSite(model);
151 147 return "error.html";
152 148 }
153 149 } else if (CommonUtils.isEmpty(sp_desc) && spid == 0) {
... ...
src/main/java/com/cnlive/shenhe/controller/LiveController.java
... ... @@ -5,7 +5,6 @@ import org.apache.poi.xssf.usermodel.XSSFCell;
5 5 import org.apache.poi.xssf.usermodel.XSSFRow;
6 6 import org.apache.poi.xssf.usermodel.XSSFSheet;
7 7 import org.apache.poi.xssf.usermodel.XSSFWorkbook;
8   -import com.alibaba.fastjson.JSON;
9 8 import com.alibaba.fastjson.JSONObject;
10 9 import com.cnlive.shenhe.bean.ErrorEnum;
11 10 import com.cnlive.shenhe.bean.ResponseBean;
... ... @@ -13,7 +12,6 @@ import com.cnlive.shenhe.bean.SessionUser;
13 12 import com.cnlive.shenhe.entity.ShyLive;
14 13 import com.cnlive.shenhe.entity.ShySites;
15 14 import com.cnlive.shenhe.entity.ShyUsers;
16   -import com.cnlive.shenhe.entity.ShyVideos;
17 15 import com.cnlive.shenhe.serviceImpl.LiveServiceImpl;
18 16 import com.cnlive.shenhe.serviceImpl.SitesServiceImpl;
19 17 import com.cnlive.shenhe.serviceImpl.UsersServiceImpl;
... ... @@ -144,7 +142,7 @@ public class LiveController extends BaseController {
144 142 if (CommonUtils.isNotNull(shySite)) {
145 143 spid = shySite.getSpid();
146 144 } else {
147   - setmodel_site(model);
  145 + setmodelSite(model);
148 146 return "error.html";
149 147 }
150 148 } else if (CommonUtils.isEmpty(sp_desc) && spid == 0) {
... ...
src/main/java/com/cnlive/shenhe/controller/ShyActivityController.java 0 → 100644
  1 +package com.cnlive.shenhe.controller;
  2 +
  3 +
  4 +import com.cnlive.shenhe.bean.ErrorEnum;
  5 +import com.cnlive.shenhe.bean.ResponseBean;
  6 +import com.cnlive.shenhe.dto.ShyActivityDTO;
  7 +import com.cnlive.shenhe.entity.ShyActivity;
  8 +import com.cnlive.shenhe.serviceImpl.ShyActivityImpl;
  9 +import com.cnlive.shenhe.utils.CommonConst;
  10 +import com.cnlive.shenhe.utils.CommonUtils;
  11 +import com.github.pagehelper.PageInfo;
  12 +import org.springframework.beans.factory.annotation.Autowired;
  13 +import org.springframework.stereotype.Controller;
  14 +import org.springframework.ui.Model;
  15 +import org.springframework.web.bind.annotation.*;
  16 +
  17 +import java.util.Date;
  18 +import java.util.List;
  19 +
  20 +
  21 +/**
  22 + * @author Administrator
  23 + * @author yanzhaowang
  24 + * @create 2022-03-08 12:37
  25 + */
  26 +@Controller
  27 +@RequestMapping("/activity")
  28 +public class ShyActivityController {
  29 + @Autowired
  30 + private ShyActivityImpl shyActivityImpl;
  31 +
  32 + @PostMapping("/add")
  33 + @ResponseBody
  34 + public ResponseBean insterShyActivity(ShyActivity shyActivity) {
  35 + int i = shyActivityImpl.insertShyActivity(shyActivity);
  36 + if (i > 0) {
  37 + return new ResponseBean(ErrorEnum.SUCCESS.getErrorCode(), "当前活动添加成功");
  38 + }
  39 + return new ResponseBean(ErrorEnum.ERROR.getErrorCode(), "添加失败,请重试");
  40 + }
  41 +
  42 + @PostMapping("/delete")
  43 + @ResponseBody
  44 + public ResponseBean deleteShyActivity(Integer id) {
  45 + int i = shyActivityImpl.deleteShyActivity(id);
  46 + if (i > 0) {
  47 + return new ResponseBean(ErrorEnum.SUCCESS.getErrorCode(), "删除当前活动成功");
  48 + }
  49 + return new ResponseBean(ErrorEnum.ERROR.getErrorCode(), "删除失败,请重试");
  50 +
  51 + }
  52 +
  53 + @PostMapping("/update")
  54 + @ResponseBody
  55 + public ResponseBean updateShyActivity(ShyActivity shyActivity) {
  56 +
  57 + int i = shyActivityImpl.updateShyActivity(shyActivity);
  58 + if (i > 0) {
  59 + return new ResponseBean(ErrorEnum.SUCCESS.getErrorCode(), "修改当前活动成功");
  60 + }
  61 + return new ResponseBean(ErrorEnum.ERROR.getErrorCode(), "修改失败,请重试");
  62 +
  63 + }
  64 +
  65 + @GetMapping("/page")
  66 + public String getShyActivity(@RequestParam(defaultValue = "1") Integer pageNum, @RequestParam(defaultValue = "10") Integer pageSize, Model model, String activity, String exempt_from_trial) {
  67 + PageInfo<ShyActivity> shyActivityPageInfo = shyActivityImpl.selectByExample(pageNum, pageSize, activity, exempt_from_trial);
  68 + List<ShyActivity> list = shyActivityPageInfo.getList();
  69 + for (ShyActivity shyActivity : list) {
  70 + model.addAttribute("shyActivity",shyActivity);
  71 + }
  72 + model.addAttribute("ShyActivitylist", shyActivityPageInfo);
  73 + return "page/activity.html";
  74 + }
  75 +
  76 +
  77 +}
... ...
src/main/java/com/cnlive/shenhe/controller/SitesController.java
... ... @@ -50,7 +50,7 @@ public class SitesController extends BaseController {
50 50 }
51 51 Integer spid = sessionUser.getSpid();
52 52 if (!sessionUser.isMaster() && spid != 0) {
53   - setmodel_site(model);
  53 + setmodelSite(model);
54 54 return "error.html";
55 55 }
56 56 if (spid == 0) spid = null;
... ... @@ -98,7 +98,7 @@ public class SitesController extends BaseController {
98 98 if (success) {
99 99 return "redirect:" + redirect_url;
100 100 } else {
101   - setmodel_result(model);
  101 + setmodelResult(model);
102 102 return "error.html";
103 103 }
104 104 }
... ...
src/main/java/com/cnlive/shenhe/controller/TopicController.java
1 1 package com.cnlive.shenhe.controller;
2 2  
3   -import com.alibaba.fastjson.JSONObject;
4 3 import com.cnlive.shenhe.bean.ErrorEnum;
5 4 import com.cnlive.shenhe.bean.ResponseBean;
6 5 import com.cnlive.shenhe.bean.SessionUser;
7 6 import com.cnlive.shenhe.entity.*;
8 7 import com.cnlive.shenhe.serviceImpl.CommentsServiceImpl;
9   -import com.cnlive.shenhe.serviceImpl.ContentServiceImpl;
10 8 import com.cnlive.shenhe.serviceImpl.SitesServiceImpl;
11 9 import com.cnlive.shenhe.serviceImpl.TopicServiceImpl;
12 10 import com.cnlive.shenhe.serviceImpl.UsersServiceImpl;
13 11 import com.cnlive.shenhe.utils.AuditPass;
14 12 import com.cnlive.shenhe.utils.CommonConst;
15 13 import com.cnlive.shenhe.utils.CommonUtils;
16   -import com.cnlive.shenhe.utils.InfoUtil;
17 14 import com.github.pagehelper.PageInfo;
18 15  
19   -import org.apache.poi.xssf.usermodel.XSSFCell;
20   -import org.apache.poi.xssf.usermodel.XSSFRow;
21   -import org.apache.poi.xssf.usermodel.XSSFSheet;
22   -import org.apache.poi.xssf.usermodel.XSSFWorkbook;
23 16 import org.slf4j.Logger;
24 17 import org.slf4j.LoggerFactory;
25 18 import org.springframework.beans.factory.annotation.Autowired;
... ... @@ -28,15 +21,8 @@ import org.springframework.stereotype.Controller;
28 21 import org.springframework.ui.Model;
29 22 import org.springframework.web.bind.annotation.*;
30 23  
31   -import javax.servlet.ServletOutputStream;
32   -import javax.servlet.http.HttpServletResponse;
33 24 import javax.servlet.http.HttpSession;
34 25  
35   -import java.io.BufferedInputStream;
36   -import java.io.BufferedOutputStream;
37   -import java.io.ByteArrayInputStream;
38   -import java.io.ByteArrayOutputStream;
39   -import java.io.InputStream;
40 26 import java.util.Date;
41 27 import java.util.HashMap;
42 28 import java.util.List;
... ... @@ -94,7 +80,7 @@ public class TopicController extends BaseController {
94 80 if(CommonUtils.isNotNull(shySite)){
95 81 spid = shySite.getSpid();
96 82 }else{
97   - setmodel_site(model);
  83 + setmodelSite(model);
98 84 return "error.html";
99 85 }
100 86 } else if (CommonUtils.isEmpty(sp_desc) && spid == 0) {
... ...
src/main/java/com/cnlive/shenhe/controller/UsersController.java
1 1 package com.cnlive.shenhe.controller;
2 2  
3 3 import com.alibaba.fastjson.JSONObject;
4   -import com.cnlive.shenhe.bean.ErrorEnum;
5   -import com.cnlive.shenhe.bean.ResponseBean;
6 4 import com.cnlive.shenhe.bean.SessionUser;
7 5 import com.cnlive.shenhe.entity.ShySites;
8 6 import com.cnlive.shenhe.entity.ShyUsers;
9   -import com.cnlive.shenhe.entity.ShyUsersfree;
10 7 import com.cnlive.shenhe.serviceImpl.SitesServiceImpl;
11 8 import com.cnlive.shenhe.serviceImpl.UsersServiceImpl;
12 9 import com.cnlive.shenhe.utils.CommonConst;
... ... @@ -27,7 +24,6 @@ import java.util.HashMap;
27 24 import java.util.List;
28 25 import java.util.Map;
29 26  
30   -import javax.print.attribute.HashAttributeSet;
31 27 import javax.servlet.http.HttpServletRequest;
32 28 import javax.servlet.http.HttpSession;
33 29  
... ... @@ -166,7 +162,7 @@ public class UsersController extends BaseController {
166 162 if (success) {
167 163 return "redirect:" + redirect_url;
168 164 } else {
169   - setmodel_result(model);
  165 + setmodelResult(model);
170 166 return "error.html";
171 167 }
172 168 }
... ...
src/main/java/com/cnlive/shenhe/controller/UsersFreeController.java
... ... @@ -5,28 +5,23 @@ import com.cnlive.shenhe.bean.ErrorEnum;
5 5 import com.cnlive.shenhe.bean.ResponseBean;
6 6 import com.cnlive.shenhe.bean.SessionUser;
7 7 import com.cnlive.shenhe.entity.ShySites;
8   -import com.cnlive.shenhe.entity.ShyUsers;
9 8 import com.cnlive.shenhe.entity.ShyUsersfree;
10 9 import com.cnlive.shenhe.serviceImpl.SitesServiceImpl;
11   -import com.cnlive.shenhe.serviceImpl.UsersServiceImpl;
12 10 import com.cnlive.shenhe.serviceImpl.UsersfreeServiceImpl;
13 11 import com.cnlive.shenhe.utils.CommonConst;
14 12 import com.cnlive.shenhe.utils.CommonUtils;
15 13 import com.github.pagehelper.PageInfo;
16 14  
17   -import org.jasig.cas.client.authentication.AttributePrincipal;
18 15 import org.springframework.beans.factory.annotation.Autowired;
19 16 import org.springframework.stereotype.Controller;
20 17 import org.springframework.ui.Model;
21 18 import org.springframework.web.bind.annotation.GetMapping;
22   -import org.springframework.web.bind.annotation.PathVariable;
23 19 import org.springframework.web.bind.annotation.PostMapping;
24 20 import org.springframework.web.bind.annotation.RequestMapping;
25 21 import org.springframework.web.bind.annotation.ResponseBody;
26 22  
27 23 import java.util.List;
28 24  
29   -import javax.servlet.http.HttpServletRequest;
30 25 import javax.servlet.http.HttpSession;
31 26  
32 27 /**
... ... @@ -102,7 +97,7 @@ public class UsersFreeController extends BaseController {
102 97 @PostMapping(value = "/write")
103 98 public String write(Model model,String userId,String userMobile,Integer spId, String[] write_business, HttpSession session, String redirect_url) {
104 99 if(CommonUtils.isEmpty(userId)&&CommonUtils.isEmpty(userMobile)){
105   - setmodel_param(model,"userId,userMobile不能为空!");
  100 + setmodelParam(model,"userId,userMobile不能为空!");
106 101 return "error.html";
107 102 }
108 103 SessionUser sessionUser = (SessionUser) session.getAttribute(SessionUser.getSessionKey());
... ... @@ -117,7 +112,7 @@ public class UsersFreeController extends BaseController {
117 112 if (success) {
118 113 return "redirect:" + redirect_url;
119 114 } else {
120   - setmodel_result(model);
  115 + setmodelResult(model);
121 116 return "error.html";
122 117 }
123 118 }
... ...
src/main/java/com/cnlive/shenhe/controller/VideosController.java
... ... @@ -5,13 +5,18 @@ import com.alibaba.fastjson.JSONObject;
5 5 import com.cnlive.shenhe.bean.ErrorEnum;
6 6 import com.cnlive.shenhe.bean.ResponseBean;
7 7 import com.cnlive.shenhe.bean.SessionUser;
  8 +import com.cnlive.shenhe.entity.ShyActivity;
8 9 import com.cnlive.shenhe.entity.ShySites;
9 10 import com.cnlive.shenhe.entity.ShyUsers;
10 11 import com.cnlive.shenhe.entity.ShyVideos;
  12 +import com.cnlive.shenhe.serviceImpl.ShyActivityImpl;
11 13 import com.cnlive.shenhe.serviceImpl.SitesServiceImpl;
12 14 import com.cnlive.shenhe.serviceImpl.UsersServiceImpl;
13 15 import com.cnlive.shenhe.serviceImpl.VideosServiceImpl;
14   -import com.cnlive.shenhe.utils.*;
  16 +import com.cnlive.shenhe.utils.AuditPass;
  17 +import com.cnlive.shenhe.utils.CommonConst;
  18 +import com.cnlive.shenhe.utils.CommonUtils;
  19 +import com.cnlive.shenhe.utils.HttpClientUtils;
15 20 import com.github.pagehelper.PageInfo;
16 21 import org.apache.poi.xssf.usermodel.XSSFCell;
17 22 import org.apache.poi.xssf.usermodel.XSSFRow;
... ... @@ -44,13 +49,13 @@ public class VideosController extends BaseController {
44 49 @Autowired
45 50 AuditPass Pass;
46 51 @Autowired
47   - InfoUtil infoUtil;
48   - @Autowired
49 52 VideosServiceImpl videosService;
50 53 @Autowired
51 54 UsersServiceImpl usersService;
52 55 @Autowired
53 56 SitesServiceImpl sitesService;
  57 + @Autowired
  58 + ShyActivityImpl shyActivityImpl;
54 59  
55 60 @Value("${qn_domain}")
56 61 String qn_domain;
... ... @@ -76,28 +81,26 @@ public class VideosController extends BaseController {
76 81 logger.info("id:{},activity_id:{},state:{},attr_tags:{},msg:{},callback:{}", id, activity_id, state, attr_tags, msg, callback);
77 82 SessionUser sessionUser = (SessionUser) session.getAttribute(SessionUser.getSessionKey());
78 83 String userId = sessionUser.getUserId();
79   -// ShyVideos shyVideos = videosService.selectByPrimaryKey(id);
80   -// if (shyVideos.getReceive() && CommonUtils.isNotEmpty(shyVideos.getReceive_user_id()) && userId.equals(shyVideos.getReceive_user_id())) {
81   - JSONObject result = null;
  84 + JSONObject result;
82 85 try {
83 86 result = Pass.auditPass(activity_id, state, attr_tags, msg, callback);
84 87 } catch (Exception e) {
85 88 e.printStackTrace();
86   - System.out.println("视频审核失败");
  89 + logger.error("视频审核失败", e);
87 90 return new ResponseBean(ErrorEnum.ERROR);
88 91 }
89 92 if (result == null) {
90   - System.out.println("视频审核失败且接口错误没有返回信息");
  93 + logger.error("视频审核失败且接口错误没有返回信息");
91 94 return new ResponseBean(ErrorEnum.ERROR);
92 95 }
93 96 Integer code = result.getInteger("code");
94 97 String errorCode = result.getString("errorCode");
95 98 if (code != null && code != 0) {
96   - System.out.println("审核失败,code==" + code);
  99 + logger.error("审核失败,code==" + code);
97 100 return new ResponseBean(code, result.getString("msg"));
98 101 }
99 102 if (errorCode != null && !"0".equals(errorCode)) {
100   - System.out.println("审核失败,code==" + code);
  103 + logger.error("审核失败,code==" + code);
101 104 return new ResponseBean(Integer.valueOf(errorCode), "服务器异常");
102 105 }
103 106 state = state == 4 ? 2 : 1;
... ... @@ -106,9 +109,6 @@ public class VideosController extends BaseController {
106 109 return new ResponseBean(ErrorEnum.ERROR);
107 110 }
108 111 return new ResponseBean(ErrorEnum.SUCCESS);
109   -// }
110   -// logger.error("领取逻辑不符,不能审核,Video_id:{}", shyVideos.getVideo_id());
111   -// return new ResponseBean(ErrorEnum.ERROR.getErrorCode(), "领取逻辑不符,不能审核");
112 112 }
113 113  
114 114 /**
... ... @@ -135,21 +135,22 @@ public class VideosController extends BaseController {
135 135 if (CommonUtils.isNull(sessionUser)) {
136 136 return "redirect:/users/login";
137 137 }
138   - Integer spid = sessionUser.getSpid();
139   - logger.info("sp_Id:{},spid:{}", sp_Id, spid);
  138 +
  139 + Integer sessionUserSpid = sessionUser.getSpid();
  140 + logger.info("sp_Id:{},sessionUserSpid:{}", sp_Id, sessionUserSpid);
140 141 String userId = sessionUser.getUserId();
141 142 if (CommonUtils.isNull(page)) page = 1;
142 143 if (CommonUtils.isNull(pageSize)) pageSize = 10;
143   - if (CommonUtils.isNotEmpty(sp_desc) && spid == 0) {
  144 + if (CommonUtils.isNotEmpty(sp_desc) && sessionUserSpid == 0) {
144 145 ShySites shySite = sitesService.findspidBySpdesc(sp_desc);
145 146 if (CommonUtils.isNotNull(shySite)) {
146   - spid = shySite.getSpid();
  147 + sessionUserSpid = shySite.getSpid();
147 148 } else {
148   - setmodel_site(model);
  149 + setmodelSite(model);
149 150 return "error.html";
150 151 }
151   - } else if (CommonUtils.isEmpty(sp_desc) && spid == 0) {
152   - spid = null;
  152 + } else if (CommonUtils.isEmpty(sp_desc) && sessionUserSpid == 0) {
  153 + sessionUserSpid = null;
153 154 }
154 155  
155 156 if (CommonUtils.isNotNull(contentId)) {
... ... @@ -166,21 +167,22 @@ public class VideosController extends BaseController {
166 167 }
167 168 }
168 169  
169   - PageInfo<ShyVideos> videoPage = videosService.getListContent(video_title, start_date, end_date, state, receive, page, pageSize, video_priority, orderByClause, spid, userId, sp_Id, source, video_user_id, shen_auditor_id, video_id);
  170 + PageInfo<ShyVideos> videoPage = videosService.getListContent(video_title, start_date, end_date, state, receive, page, pageSize, video_priority, orderByClause, sessionUserSpid, userId, sp_Id, source, video_user_id, shen_auditor_id, video_id);
  171 + //查询查询条件
  172 + List<ShyActivity> activityList = shyActivityImpl.selectAll();
170 173 List<ShyVideos> list = videoPage.getList();
171 174 if (!list.isEmpty()) {
172 175 for (ShyVideos videos : list) {
173   - if (videos.getState() != CommonConst.AUDIT_INTT) {
  176 + if (!videos.getState().equals(CommonConst.AUDIT_INTT)) {
174 177 String updater = CommonUtils.isEmpty(videos.getUpdater()) || "null".equals(videos.getUpdater()) ? "白名单" : videos.getUpdater();
175   - String auditor_id = videos.getAuditor_id();
176   - if (CommonUtils.isNotEmpty(auditor_id)) {
  178 + String auditorId = videos.getAuditor_id();
  179 + if (CommonUtils.isNotEmpty(auditorId)) {
177 180 ShyUsers user = new ShyUsers();
178   - user.setUser_id(auditor_id);
  181 + user.setUser_id(auditorId);
179 182 user = usersService.select(user);
180 183 if (CommonUtils.isNotNull(user)) {
181 184 String email = CommonUtils.isEmpty(user.getEmail()) || "null".equals(user.getEmail()) ? "" : user.getEmail();
182   - String userName = CommonUtils.isEmpty(user.getUsername()) ? email : user.getUsername();
183   - updater = userName;
  185 + updater = CommonUtils.isEmpty(user.getUsername()) ? email : user.getUsername();
184 186 }
185 187 }
186 188 videos.setUpdater(updater);
... ... @@ -189,116 +191,31 @@ public class VideosController extends BaseController {
189 191 ShySites shySites = sitesService.findspidDescByspid(videos.getSpid());
190 192 if (CommonUtils.isNotNull(shySites)) {
191 193 if (CommonUtils.isNotEmpty(videos.getCategory()) && videos.getCategory().equals(CommonConst.CATEGORY_WITNESS)) {
192   - //0-目击者 1-童声共济 2-全民健身 3-目击者政府监督 4-美食中国 5-老年大学 6-旅游摄影大赛 7-老年大学公开课 8-甲申同文 9-万人同唱一首歌 10-上太空 11-芳华归来个人 12-芳华归来团体 13-小小表演家 100-追问发布会 33-万人同唱献给党-独唱 34-万人同唱献给党-合唱
  194 + //0-目击者 1-童声共济 2-全民健身 3-目击者政府监督 .....
193 195 String source1 = videos.getSource();
194   - if ("1".equals(source1)) {
195   - videos.setSpid_desc("童声共济" + "(目击者)");
196   - } else if ("2".equals(source1)) {
197   - videos.setSpid_desc("全民健身" + "(目击者)");
198   - } else if ("3".equals(source1)) {
199   - videos.setSpid_desc("政府监督" + "(目击者)");
200   - } else if ("4".equals(source1)) {
201   - videos.setSpid_desc("美食中国" + "(目击者)");
202   - } else if ("5".equals(source1)) {
203   - videos.setSpid_desc("老年大学" + "(目击者)");
204   - } else if ("6".equals(source1)) {
205   - videos.setSpid_desc("旅游摄影大赛" + "(目击者)");
206   - } else if ("7".equals(source1)) {
207   - videos.setSpid_desc("老年大学公开课" + "(目击者)");
208   - } else if ("8".equals(source1)) {
209   - videos.setSpid_desc("甲申同文" + "(目击者)");
210   - } else if ("9".equals(source1)) {
211   - videos.setSpid_desc("万人同唱一首歌" + "(目击者)");
212   - } else if ("10".equals(source1)) {
213   - videos.setSpid_desc("上太空" + "(目击者)");
214   - } else if ("11".equals(source1)) {
215   - videos.setSpid_desc("芳华归来个人" + "(目击者)");
216   - } else if ("12".equals(source1)) {
217   - videos.setSpid_desc("芳华归来团体" + "(目击者)");
218   - } else if ("13".equals(source1)) {
219   - videos.setSpid_desc("小小表演家" + "(目击者)");
220   - } else if ("100".equals(source1)) {
221   - videos.setSpid_desc("追问发布会" + "(目击者)");
222   - } else if ("14".equals(source1)) {
223   - videos.setSpid_desc("中国微电影" + "(目击者)");
224   - } else if ("15".equals(source1)) {
225   - videos.setSpid_desc("幼儿闯关" + "(目击者)");
226   - } else if ("16".equals(source1)) {
227   - videos.setSpid_desc("少儿闯关" + "(目击者)");
228   - } else if ("101".equals(source1)) {
229   - videos.setSpid_desc("电商-cms" + "(目击者)");
230   - } else if ("17".equals(source1)) {
231   - videos.setSpid_desc("青岛读书" + "(目击者)");
232   - } else if ("18".equals(source1)) {
233   - videos.setSpid_desc("红色故事演讲" + "(目击者)");
234   - } else if ("19".equals(source1)) {
235   - videos.setSpid_desc("红色诗词朗诵" + "(目击者)");
236   - } else if ("20".equals(source1)) {
237   - videos.setSpid_desc("红色短剧展演" + "(目击者)");
238   - } else if ("21".equals(source1)) {
239   - videos.setSpid_desc("视频号" + "(目击者)");
240   - } else if ("29".equals(source1)) {
241   - videos.setSpid_desc("中国故事上太空" + "(目击者)");
242   - } else if ("30".equals(source1)) {
243   - videos.setSpid_desc("绽放夕阳二期" + "(目击者)");
244   - } else if ("31".equals(source1)) {
245   - videos.setSpid_desc("绽放夕阳三期" + "(目击者)");
246   - } else if ("33".equals(source1)) {
247   - videos.setSpid_desc("万人同唱献给党-独唱" + "(目击者)");
248   - } else if ("34".equals(source1)) {
249   - videos.setSpid_desc("万人同唱献给党-合唱" + "(目击者)");
250   - } else if ("29".equals(source1)) {
251   - videos.setSpid_desc("我们的声音上太空" + "(目击者)");
252   - } else if ("35".equals(source1)) {
253   - videos.setSpid_desc("精英少年作品展示" + "(目击者)");
254   - } else if ("36".equals(source1)) {
255   - videos.setSpid_desc("上太空成年" + "(目击者)");
256   - } else if ("37".equals(source1)) {
257   - videos.setSpid_desc("中国推介" + "(目击者)");
258   - } else if ("38".equals(source1)) {
259   - videos.setSpid_desc("教学成果展" + "(目击者)");
260   - } else if ("39".equals(source1)) {
261   - videos.setSpid_desc("绽放夕阳" + "(目击者)");
262   - } else if ("40".equals(source1)) {
263   - videos.setSpid_desc("家乡推介" + "(目击者)");
264   - } else if ("41".equals(source1)) {
265   - videos.setSpid_desc("老体协-柔力球" + "(目击者)");
266   - } else if ("42".equals(source1)) {
267   - videos.setSpid_desc("老体协-健身球操" + "(目击者)");
268   - } else if ("43".equals(source1)) {
269   - videos.setSpid_desc("老体协-太极拳" + "(目击者)");
270   - } else if ("44".equals(source1)) {
271   - videos.setSpid_desc("老体协-持杖健走" + "(目击者)");
272   - } else if ("45".equals(source1)) {
273   - videos.setSpid_desc("老体协-广场舞" + "(目击者)");
274   - } else if ("46".equals(source1)) {
275   - videos.setSpid_desc("老体协-健身秧歌(鼓)" + "(目击者)");
276   - } else if ("47".equals(source1)) {
277   - videos.setSpid_desc("老体协-综合类" + "(目击者)");
278   - } else if ("48".equals(source1)) {
279   - videos.setSpid_desc("少儿吟诵" + "(目击者)");
280   - } else if ("49".equals(source1)) {
281   - videos.setSpid_desc("少年先锋" + "(目击者)");
282   - } else if ("50".equals(source1)) {
283   - videos.setSpid_desc("巾帼故事汇" + "(目击者)");
284   - } else if ("51".equals(source1)) {
285   - videos.setSpid_desc("浣花吟唱节" + "(目击者)");
286   - } else {
287   - videos.setSpid_desc(shySites.getName() + "(目击者)");
  196 + if (CommonUtils.isNotEmpty(source1)) {
  197 + for (ShyActivity activity : activityList) {
  198 + if (activity.getId().equals(Integer.valueOf(source1))) {
  199 + videos.setSpid_desc(activity.getActivity());
  200 + break;
  201 + }
  202 + }
288 203 }
289   - } else if (CommonUtils.isNotEmpty(videos.getCategory()) && videos.getCategory().equals(CommonConst.CATEGORY_MOMENT)) {
290   - videos.setSpid_desc(shySites.getName() + "(朋友圈)");
291 204 } else {
292   - videos.setSpid_desc(shySites.getName());
  205 + videos.setSpid_desc(shySites.getName() + "(目击者)");
293 206 }
  207 + } else if (CommonUtils.isNotEmpty(videos.getCategory()) && videos.getCategory().equals(CommonConst.CATEGORY_MOMENT)) {
  208 + videos.setSpid_desc(shySites.getName() + "(朋友圈)");
  209 + } else {
  210 + videos.setSpid_desc(shySites.getName());
294 211 }
295 212 }
296 213 }
297 214 /* 获取参数值给前台 用来判断是否需要把查看显示出来 state recive*/
298 215 String state1 = state == null ? "" : state.toString();
299   - String receive1 = "";
  216 + String receive1;
300 217 if (CommonUtils.isNotNull(receive)) {
301   - receive1 = receive == CommonConst.RECEIVE_AFTER ? "true" : "false";
  218 + receive1 = receive.equals(CommonConst.RECEIVE_AFTER) ? "true" : "false";
302 219 } else {
303 220 receive1 = "";
304 221 }
... ... @@ -307,6 +224,8 @@ public class VideosController extends BaseController {
307 224 model.addAttribute("pageSize", pageSize);
308 225 model.addAttribute("videoPage", videoPage);
309 226 model.addAttribute("sp_Id", sp_Id);
  227 + model.addAttribute("source", source);
  228 + model.addAttribute("activityList", activityList);
310 229 return "page/video.html";
311 230 }
312 231  
... ... @@ -323,78 +242,37 @@ public class VideosController extends BaseController {
323 242 Object avsampleImgs = JSON.parse(detailsContent.getAvsample_imgs());
324 243 String yuming = "";
325 244 Integer plat = detailsContent.getPlat();
326   - if (plat == CommonConst.QINIU_PLAT) {
  245 + if (CommonConst.QINIU_PLAT.equals(plat)) {
327 246 yuming = qn_domain + "/";
328   - } else if (plat == CommonConst.KS_PLAT) {
  247 + } else if (CommonConst.KS_PLAT.equals(plat)) {
329 248 yuming = ks_domain + "/";
330 249 }
331 250 detailsContent.setAttr_tags(CommonUtils.isEmpty(detailsContent.getAttr_tags()) ? "" : detailsContent.getAttr_tags());
332   -
  251 + List<ShyActivity> activityList = shyActivityImpl.selectAll();
  252 + //model.addAttribute("activityList", activityList);
333 253 ShySites shySites = sitesService.findspidDescByspid(detailsContent.getSpid());
334 254 if (CommonUtils.isNotNull(shySites)) {
335 255 if (CommonUtils.isNotEmpty(detailsContent.getCategory()) && detailsContent.getCategory().equals(CommonConst.CATEGORY_WITNESS)) {
336 256 //0-目击者 1-童声共济 2-全民健身 3-目击者政府监督 4-美食中国 5-老年大学 6-旅游摄影大赛 7-老年大学公开课 8-甲申同文 9-万人同唱一首歌 10-上太空 11-芳华归来个人 12-芳华归来团体 13-小小表演家 100-追问发布会 33-万人同唱献给党-独唱 34-万人同唱献给党-合唱
337 257 String source1 = detailsContent.getSource();
338   - if ("1".equals(source1)) {
339   - detailsContent.setSpid_desc("童声共济" + "(目击者)");
340   - } else if ("2".equals(source1)) {
341   - detailsContent.setSpid_desc("全民健身" + "(目击者)");
342   - } else if ("3".equals(source1)) {
343   - detailsContent.setSpid_desc("政府监督" + "(目击者)");
344   - } else if ("4".equals(source1)) {
345   - detailsContent.setSpid_desc("美食中国" + "(目击者)");
346   - } else if ("5".equals(source1)) {
347   - detailsContent.setSpid_desc("老年大学" + "(目击者)");
348   - } else if ("6".equals(source1)) {
349   - detailsContent.setSpid_desc("旅游摄影大赛" + "(目击者)");
350   - } else if ("7".equals(source1)) {
351   - detailsContent.setSpid_desc("老年大学公开课" + "(目击者)");
352   - } else if ("8".equals(source1)) {
353   - detailsContent.setSpid_desc("甲申同文" + "(目击者)");
354   - } else if ("9".equals(source1)) {
355   - detailsContent.setSpid_desc("万人同唱一首歌" + "(目击者)");
356   - } else if ("10".equals(source1)) {
357   - detailsContent.setSpid_desc("上太空" + "(目击者)");
358   - } else if ("11".equals(source1)) {
359   - detailsContent.setSpid_desc("芳华归来个人" + "(目击者)");
360   - } else if ("12".equals(source1)) {
361   - detailsContent.setSpid_desc("芳华归来团体" + "(目击者)");
362   - } else if ("13".equals(source1)) {
363   - detailsContent.setSpid_desc("小小表演家" + "(目击者)");
364   - } else if ("100".equals(source1)) {
365   - detailsContent.setSpid_desc("追问发布会" + "(目击者)");
366   - } else if ("14".equals(source1)) {
367   - detailsContent.setSpid_desc("中国微电影" + "(目击者)");
368   - } else if ("15".equals(source1)) {
369   - detailsContent.setSpid_desc("幼儿闯关" + "(目击者)");
370   - } else if ("16".equals(source1)) {
371   - detailsContent.setSpid_desc("少儿闯关" + "(目击者)");
372   - } else if ("101".equals(source1)) {
373   - detailsContent.setSpid_desc("电商-cms" + "(目击者)");
374   - } else if ("17".equals(source1)) {
375   - detailsContent.setSpid_desc("青岛读书" + "(目击者)");
376   - } else if ("18".equals(source1)) {
377   - detailsContent.setSpid_desc("红色故事演讲" + "(目击者)");
378   - } else if ("19".equals(source1)) {
379   - detailsContent.setSpid_desc("红色诗词朗诵" + "(目击者)");
380   - } else if ("20".equals(source1)) {
381   - detailsContent.setSpid_desc("红色短剧展演" + "(目击者)");
382   - } else if ("21".equals(source1)) {
383   - detailsContent.setSpid_desc("视频号" + "(目击者)");
384   - } else if ("33".equals(source1)) {
385   - detailsContent.setSpid_desc("万人同唱献给党-独唱" + "(目击者)");
386   - } else if ("34".equals(source1)) {
387   - detailsContent.setSpid_desc("万人同唱献给党-合唱" + "(目击者)");
388   - } else if ("29".equals(source1)) {
389   - detailsContent.setSpid_desc("我们的声音上太空" + "(目击者)");
390   - } else {
391   - detailsContent.setSpid_desc(shySites.getName() + "(目击者)");
  258 +
  259 + //如果source1不等于null;直接查询
  260 + if (CommonUtils.isNotEmpty(source1)) {
  261 + for (ShyActivity activity : activityList) {
  262 + if (activity.getId().equals(Integer.valueOf(source1))) {
  263 + detailsContent.setSpid_desc(activity.getActivity());
  264 + break;
  265 + }
  266 + }
392 267 }
393   - } else if (CommonUtils.isNotEmpty(detailsContent.getCategory()) && detailsContent.getCategory().equals(CommonConst.CATEGORY_MOMENT)) {
394   - detailsContent.setSpid_desc(shySites.getName() + "(朋友圈)");
  268 +
395 269 } else {
396   - detailsContent.setSpid_desc(shySites.getName());
  270 + detailsContent.setSpid_desc(shySites.getName() + "(目击者)");
397 271 }
  272 + } else if (CommonUtils.isNotEmpty(detailsContent.getCategory()) && detailsContent.getCategory().equals(CommonConst.CATEGORY_MOMENT)) {
  273 + detailsContent.setSpid_desc(shySites.getName() + "(朋友圈)");
  274 + } else {
  275 + detailsContent.setSpid_desc(shySites.getName());
398 276 }
399 277 model.addAttribute("images", images);
400 278 model.addAttribute("avsampleImgs", avsampleImgs);
... ...
src/main/java/com/cnlive/shenhe/dto/ShyActivityDTO.java 0 → 100644
  1 +package com.cnlive.shenhe.dto;
  2 +
  3 +
  4 +import org.springframework.stereotype.Component;
  5 +
  6 +import java.io.Serializable;
  7 +
  8 +/**
  9 + * @author Administrator
  10 + * @author yanzhaowang
  11 + * @create 2022-03-14 13:16
  12 + */
  13 +@Component
  14 +public class ShyActivityDTO implements Serializable {
  15 +
  16 +
  17 +
  18 + private Integer pageNum = 1;
  19 +
  20 + private Integer pageSize = 10;
  21 +
  22 + private String activity;
  23 +
  24 + private Byte exempt_from_trial;
  25 +
  26 + public ShyActivityDTO(Integer pageNum, Integer pageSize, String activity, Byte exempt_from_trial) {
  27 + this.pageNum = pageNum;
  28 + this.pageSize = pageSize;
  29 + this.activity = activity;
  30 + this.exempt_from_trial = exempt_from_trial;
  31 + }
  32 +
  33 + public Integer getPageNum() {
  34 + return pageNum;
  35 + }
  36 +
  37 + public void setPageNum(Integer pageNum) {
  38 + this.pageNum = pageNum;
  39 + }
  40 +
  41 + public Integer getPageSize() {
  42 + return pageSize;
  43 + }
  44 +
  45 + public void setPageSize(Integer pageSize) {
  46 + this.pageSize = pageSize;
  47 + }
  48 +
  49 + public String getActivity() {
  50 + return activity;
  51 + }
  52 +
  53 + public void setActivity(String activity) {
  54 + this.activity = activity;
  55 + }
  56 +
  57 + public Byte getExempt_from_trial() {
  58 + return exempt_from_trial;
  59 + }
  60 +
  61 + public void setExempt_from_trial(Byte exempt_from_trial) {
  62 + this.exempt_from_trial = exempt_from_trial;
  63 + }
  64 +
  65 + public ShyActivityDTO(String activity, Byte exempt_from_trial) {
  66 + this.activity = activity;
  67 + this.exempt_from_trial = exempt_from_trial;
  68 + }
  69 +
  70 + public ShyActivityDTO() {
  71 + }
  72 +}
... ...
src/main/java/com/cnlive/shenhe/entity/ShyActivity.java 0 → 100644
  1 +package com.cnlive.shenhe.entity;
  2 +
  3 +import java.util.Date;
  4 +import javax.persistence.*;
  5 +
  6 +@Table(name = "shy_activity")
  7 +public class ShyActivity {
  8 + /**
  9 + * 活动表主键ID
  10 + */
  11 + @Id
  12 + private Integer id;
  13 +
  14 + /**
  15 + * 活动名称
  16 + */
  17 + private String activity;
  18 +
  19 + /**
  20 + * 创建时间
  21 + */
  22 + private Date create_time;
  23 +
  24 + /**
  25 + * 修改时间
  26 + */
  27 + private Date update_time;
  28 +
  29 + private Byte exempt_from_trial;
  30 +
  31 + /**
  32 + * 获取活动表主键ID
  33 + *
  34 + * @return id - 活动表主键ID
  35 + */
  36 + public Integer getId() {
  37 + return id;
  38 + }
  39 +
  40 + /**
  41 + * 设置活动表主键ID
  42 + *
  43 + * @param id 活动表主键ID
  44 + */
  45 + public void setId(Integer id) {
  46 + this.id = id;
  47 + }
  48 +
  49 + /**
  50 + * 获取活动名称
  51 + *
  52 + * @return activity - 活动名称
  53 + */
  54 + public String getActivity() {
  55 + return activity;
  56 + }
  57 +
  58 + /**
  59 + * 设置活动名称
  60 + *
  61 + * @param activity 活动名称
  62 + */
  63 + public void setActivity(String activity) {
  64 + this.activity = activity;
  65 + }
  66 +
  67 + /**
  68 + * 获取创建时间
  69 + *
  70 + * @return create_time - 创建时间
  71 + */
  72 + public Date getCreate_time() {
  73 + return create_time;
  74 + }
  75 +
  76 + /**
  77 + * 设置创建时间
  78 + *
  79 + * @param create_time 创建时间
  80 + */
  81 + public void setCreate_time(Date create_time) {
  82 + this.create_time = create_time;
  83 + }
  84 +
  85 + /**
  86 + * 获取修改时间
  87 + *
  88 + * @return update_time - 修改时间
  89 + */
  90 + public Date getUpdate_time() {
  91 + return update_time;
  92 + }
  93 +
  94 + /**
  95 + * 设置修改时间
  96 + *
  97 + * @param update_time 修改时间
  98 + */
  99 + public void setUpdate_time(Date update_time) {
  100 + this.update_time = update_time;
  101 + }
  102 +
  103 + /**
  104 + * @return exempt_from_trial
  105 + */
  106 + public Byte getExempt_from_trial() {
  107 + return exempt_from_trial;
  108 + }
  109 +
  110 + /**
  111 + * @param exempt_from_trial
  112 + */
  113 + public void setExempt_from_trial(Byte exempt_from_trial) {
  114 + this.exempt_from_trial = exempt_from_trial;
  115 + }
  116 +}
0 117 \ No newline at end of file
... ...
src/main/java/com/cnlive/shenhe/mapper/ShyActivityMapper.java 0 → 100644
  1 +package com.cnlive.shenhe.mapper;
  2 +
  3 +import com.cnlive.shenhe.entity.ShyActivity;
  4 +import tk.mybatis.mapper.common.Mapper;
  5 +
  6 +import java.util.List;
  7 +
  8 +public interface ShyActivityMapper extends Mapper<ShyActivity> {
  9 +
  10 +
  11 + List<Integer> selectAllByExempt_from_trial(Integer exempt_from_trial);
  12 +}
0 13 \ No newline at end of file
... ...
src/main/java/com/cnlive/shenhe/serviceImpl/AudioServiceImpl.java
... ... @@ -77,20 +77,20 @@ public class AudioServiceImpl {
77 77 //修改点播云音频状态
78 78 JSONObject result = Pass.audioPass(shyAudio.getAudioId(), audioState, shyAudio.getAttr_tags(), shyAudio.getMsg(), shyAudio.getCallback());
79 79 Integer code = result.getInteger("code");
80   - Integer shenheState=CommonConst.AUDIT_REFUSE;
  80 + Integer shenheState = CommonConst.AUDIT_REFUSE;
81 81 if (0 == code) {
82   - if(audioState==3){
83   - shenheState=CommonConst.AUDIT_SUCCESS;
  82 + if (audioState == 3) {
  83 + shenheState = CommonConst.AUDIT_SUCCESS;
84 84 }
85 85 //修改审核云的音频状态
86   - int i = audioService.updateAudio(shyAudio.getId(), null,shyAudio.getUploader(),"", shenheState, shyAudio.getMsg());
  86 + int i = audioService.updateAudio(shyAudio.getId(), null, shyAudio.getUploader(), "", shenheState, shyAudio.getMsg());
87 87 if (i != 1) {
88 88 logger.error("点播音频更改失败,AudioId:{}", shyAudio.getAudioId());
89 89 }
90 90 return i;
91 91 } else {
92   - shyAudio.setMsg("点播音频回调失败,"+shyAudio.getMsg());
93   - audioService.updateAudio(shyAudio.getId(), null,shyAudio.getUploader(),"", CommonConst.AUDIT_CALLBACK_FAIL, shyAudio.getMsg());
  92 + shyAudio.setMsg("点播音频回调失败," + shyAudio.getMsg());
  93 + audioService.updateAudio(shyAudio.getId(), null, shyAudio.getUploader(), "", CommonConst.AUDIT_CALLBACK_FAIL, shyAudio.getMsg());
94 94 logger.error("点播音频回调失败,activity_id:{},code:{},msg:{}", shyAudio.getAudioId(), code, result.getString("msg"));
95 95 }
96 96  
... ... @@ -104,7 +104,7 @@ public class AudioServiceImpl {
104 104 String[] cids = ids.split(",");
105 105 for (String cid : cids) {
106 106 ShyAudio shyAudio = shyAudioMapper.selectByPrimaryKey(Integer.parseInt(cid));
107   - if (CommonUtils.isNotNull(shyAudio) && shyAudio.getState() == CommonConst.AUDIT_INTT && shyAudio.getReceive()==CommonConst.RECEIVE_BEFORE) {
  107 + if (CommonUtils.isNotNull(shyAudio) && shyAudio.getState() == CommonConst.AUDIT_INTT && shyAudio.getReceive() == CommonConst.RECEIVE_BEFORE) {
108 108 shyAudio.setReceive_user_id(userId);
109 109 shyAudio.setReceive(CommonConst.RECEIVE_AFTER);
110 110 shyAudioMapper.updateByPrimaryKeySelective(shyAudio);
... ... @@ -135,7 +135,7 @@ public class AudioServiceImpl {
135 135 String[] cids = ids.split(",");
136 136 for (String cid : cids) {
137 137 ShyAudio shyAudio = shyAudioMapper.selectByPrimaryKey(Integer.parseInt(cid));
138   - if (shyAudio.getState() == CommonConst.AUDIT_INTT && shyAudio.getReceive()==CommonConst.RECEIVE_AFTER && shyAudio.getReceive_user_id().equals(userId)) {
  138 + if (shyAudio.getState() == CommonConst.AUDIT_INTT && shyAudio.getReceive() == CommonConst.RECEIVE_AFTER && shyAudio.getReceive_user_id().equals(userId)) {
139 139 shyAudio.setReceive(CommonConst.RECEIVE_BEFORE);
140 140 shyAudio.setReceive_user_id(null);
141 141 int i = shyAudioMapper.updateByPrimaryKey(shyAudio);
... ... @@ -181,18 +181,18 @@ public class AudioServiceImpl {
181 181 return showMsg;
182 182 }
183 183  
184   - public int updateAudio(Integer id, String auditor_id,String updater,String attr_tags, Integer state, String msg) {
  184 + public int updateAudio(Integer id, String auditor_id, String updater, String attr_tags, Integer state, String msg) {
185 185 ShyAudio shyAudio = shyAudioMapper.selectByPrimaryKey(id);
186 186 shyAudio.setAuditor_id(auditor_id);
187 187 shyAudio.setState(state);
188   - if(CommonUtils.isNotEmpty(attr_tags)){
  188 + if (CommonUtils.isNotEmpty(attr_tags)) {
189 189 shyAudio.setAttr_tags(attr_tags);
190 190 }
191   - if(CommonUtils.isNotEmpty(msg)){
  191 + if (CommonUtils.isNotEmpty(msg)) {
192 192 shyAudio.setMsg(msg);
193 193 }
194 194 shyAudio.setUploader(updater);
195   - if(CommonUtils.isNotEmpty(auditor_id)){
  195 + if (CommonUtils.isNotEmpty(auditor_id)) {
196 196 shyAudio.setReceive(CommonConst.RECEIVE_AFTER);
197 197 shyAudio.setReceive_user_id(auditor_id);
198 198 shyAudio.setShenhe_type(CommonConst.AUDIT_TYPE_USER);
... ... @@ -263,14 +263,14 @@ public class AudioServiceImpl {
263 263 public ShyAudio getDetailsContent(Integer id) {
264 264 ShyAudio shyAudio = shyAudioMapper.selectByPrimaryKey(id);
265 265 if (shyAudio.getState() != CommonConst.AUDIT_INTT) {
266   - String updater = CommonUtils.isEmpty(shyAudio.getUploader()) || "null".equals(shyAudio.getUploader())? "白名单":shyAudio.getUploader();
  266 + String updater = CommonUtils.isEmpty(shyAudio.getUploader()) || "null".equals(shyAudio.getUploader()) ? "白名单" : shyAudio.getUploader();
267 267 String auditor_id = shyAudio.getAuditor_id();
268 268 if (CommonUtils.isNotEmpty(auditor_id)) {
269 269 ShyUsers user = new ShyUsers();
270 270 user.setUser_id(auditor_id);
271 271 user = shyUsersMapper.selectOne(user);
272   - String email = CommonUtils.isEmpty(user.getEmail()) || "null".equals(user.getEmail())? "" : user.getEmail();
273   - String userName = CommonUtils.isEmpty(user.getUsername()) ? email: user.getUsername();
  272 + String email = CommonUtils.isEmpty(user.getEmail()) || "null".equals(user.getEmail()) ? "" : user.getEmail();
  273 + String userName = CommonUtils.isEmpty(user.getUsername()) ? email : user.getUsername();
274 274 updater = userName;
275 275 }
276 276 shyAudio.setUploader(updater);
... ... @@ -351,6 +351,7 @@ public class AudioServiceImpl {
351 351 }
352 352 shyAudio.setShenhe_type(shenheType);
353 353 }
  354 +
354 355 /**
355 356 * 易盾点播音频过滤
356 357 *
... ... @@ -359,7 +360,7 @@ public class AudioServiceImpl {
359 360 */
360 361 public void audioFilter(ShyAudio shyAudio) {
361 362 //调用易盾点播音频检测接口
362   - JSONObject jsonObject = YiDunAntiFraudUtil.submitAudioOnDemandUrl(shyAudio.getAudioUrl(),yiDun_audio_callback);
  363 + JSONObject jsonObject = YiDunAntiFraudUtil.submitAudioOnDemandUrl(shyAudio.getAudioUrl(), yiDun_audio_callback);
363 364 if (jsonObject != null) {
364 365 JSONObject result = jsonObject.getJSONObject("result");
365 366 String taskId = result.getString("taskId");
... ...
src/main/java/com/cnlive/shenhe/serviceImpl/ChannelServiceImpl.java
... ... @@ -2,14 +2,8 @@ package com.cnlive.shenhe.serviceImpl;
2 2  
3 3 import com.alibaba.fastjson.JSONObject;
4 4 import com.cnlive.shenhe.entity.ShyChannel;
5   -import com.cnlive.shenhe.entity.ShyChannel;
6   -import com.cnlive.shenhe.entity.ShySites;
7 5 import com.cnlive.shenhe.entity.ShyUsers;
8   -import com.cnlive.shenhe.entity.ShyUsersfree;
9   -import com.cnlive.shenhe.entity.ShyVideos;
10   -import com.cnlive.shenhe.mapper.ShyChannelMapper;
11 6 import com.cnlive.shenhe.mapper.ShyChannelMapper;
12   -import com.cnlive.shenhe.mapper.ShySitesMapper;
13 7 import com.cnlive.shenhe.mapper.ShyUsersMapper;
14 8 import com.cnlive.shenhe.utils.AuditPass;
15 9 import com.cnlive.shenhe.utils.CommonConst;
... ... @@ -23,8 +17,6 @@ import org.springframework.beans.factory.annotation.Autowired;
23 17 import org.springframework.stereotype.Service;
24 18 import tk.mybatis.mapper.entity.Example;
25 19  
26   -import java.sql.Timestamp;
27   -import java.text.ParseException;
28 20 import java.util.Date;
29 21 import java.util.List;
30 22  
... ... @@ -40,24 +32,17 @@ public class ChannelServiceImpl {
40 32 @Autowired
41 33 ShyChannelMapper shyChannelMapper;
42 34 @Autowired
43   - ShySitesMapper shySitesMapper;
44   - @Autowired
45 35 ShyUsersMapper shyUsersMapper;
46 36 @Autowired
47 37 AuditPass Pass;
48   -
  38 +
49 39 @Autowired
50 40 SitesServiceImpl sitesService;
51 41  
52   - public List<ShySites> getBusiness(ShySites shySites) {
53   - List<ShySites> sitesList = shySitesMapper.select(shySites);
54   - return sitesList;
55   - }
56 42  
57 43 //**************************************
58 44 public List<ShyChannel> findshyChannel(ShyChannel shyChannel) {
59   - List<ShyChannel> channelList = shyChannelMapper.selectByRowBounds(shyChannel, new RowBounds(0, 100));
60   - return channelList;
  45 + return shyChannelMapper.selectByRowBounds(shyChannel, new RowBounds(0, 100));
61 46 }
62 47  
63 48 public boolean updateshyChannel(ShyChannel shyChannel) {
... ... @@ -76,13 +61,6 @@ public class ChannelServiceImpl {
76 61 return true;
77 62 }
78 63  
79   - public int updateChannel(Integer id, Integer state, String msg) {
80   - ShyChannel shyChannel = shyChannelMapper.selectByPrimaryKey(id);
81   - shyChannel.setShenhe_status(state);
82   - shyChannel.setShenhe_msg(msg);
83   - return shyChannelMapper.updateByPrimaryKeySelective(shyChannel);
84   - }
85   -
86 64 public PageInfo<ShyChannel> getPage(String channelId, String channelName, Integer receive, Date start_date, Date end_date, Integer shenhe_status, String updater, Integer page, Integer pageSize, String orderByClause, Integer spid, String userId) {
87 65 Example example = new Example(ShyChannel.class);
88 66 Example.Criteria criteria = example.createCriteria();
... ... @@ -91,11 +69,11 @@ public class ChannelServiceImpl {
91 69 } else {
92 70 example.setOrderByClause("created_at desc");
93 71 }
94   - if (CommonUtils.isNotNull(start_date) ) {
  72 + if (CommonUtils.isNotNull(start_date)) {
95 73 criteria.andGreaterThanOrEqualTo("created_at", start_date);
96 74 }
97 75 if (CommonUtils.isNotNull(end_date)) {
98   - criteria.andLessThanOrEqualTo("created_at", end_date);
  76 + criteria.andLessThanOrEqualTo("created_at", end_date);
99 77 }
100 78 if (CommonUtils.isNotEmpty(channelName)) {
101 79 criteria.andLike("channel_name", "%" + channelName + "%");
... ... @@ -106,21 +84,24 @@ public class ChannelServiceImpl {
106 84 if (CommonUtils.isNotNull(spid)) {
107 85 criteria.andEqualTo("sp_id", spid);
108 86 }
109   -
  87 +
110 88 if (CommonUtils.isNotEmpty(channelId)) {
111 89 criteria.andLike("channel_id", "%" + channelId + "%");
112 90 }
113   -
114   - if (CommonUtils.isNotNull(receive)&& receive==1) {//已认领 加上用户id
115   - criteria.andEqualTo("auditor", userId);
  91 +
  92 + //已认领 加上用户id
  93 + if (CommonUtils.isNotNull(receive) && receive == 1) {
  94 + criteria.andEqualTo("auditor", userId);
116 95 }
117   - if (CommonUtils.isNotNull(shenhe_status) && shenhe_status != 3) {//不是 我的已审 进来的,只查一种状态
  96 + //不是 我的已审 进来的,只查一种状态
  97 + if (CommonUtils.isNotNull(shenhe_status) && shenhe_status != 3) {
118 98 criteria.andEqualTo("shenhe_status", shenhe_status);
119   - } else if (CommonUtils.isNotNull(shenhe_status) && shenhe_status == 3) {//是 我的已审,查通过和拒绝的两种状态
120   - Example.Criteria criteria1 = example.createCriteria();
121   - criteria1.orEqualTo("shenhe_status", 1);
122   - criteria1.orEqualTo("shenhe_status", 2);
123   - example.and(criteria1);
  99 + //是 我的已审,查通过和拒绝的两种状态
  100 + } else if (CommonUtils.isNotNull(shenhe_status) && shenhe_status == 3) {
  101 + Example.Criteria criteria1 = example.createCriteria();
  102 + criteria1.orEqualTo("shenhe_status", 1);
  103 + criteria1.orEqualTo("shenhe_status", 2);
  104 + example.and(criteria1);
124 105 }
125 106  
126 107 PageHelper.startPage(page, pageSize, true);
... ... @@ -131,23 +112,23 @@ public class ChannelServiceImpl {
131 112  
132 113 public ShyChannel getDetailsComment(Integer id) {
133 114 ShyChannel comment = shyChannelMapper.selectByPrimaryKey(id);
134   - if (comment.getShenhe_status() != CommonConst.AUDIT_INTT) {
135   - String updater = CommonUtils.isEmpty(comment.getUpdater()) || "null".equals(comment.getUpdater())? "白名单":comment.getUpdater();
136   - String auditor_id = comment.getAuditor();
137   - if (CommonUtils.isNotEmpty(auditor_id)) {
  115 + if (!comment.getShenhe_status().equals(CommonConst.AUDIT_INTT)) {
  116 + String updater = CommonUtils.isEmpty(comment.getUpdater()) || "null".equals(comment.getUpdater()) ? "白名单" : comment.getUpdater();
  117 + String auditorId = comment.getAuditor();
  118 + if (CommonUtils.isNotEmpty(auditorId)) {
138 119 ShyUsers user = new ShyUsers();
139   - user.setUser_id(auditor_id);
  120 + user.setUser_id(auditorId);
140 121 user = shyUsersMapper.selectOne(user);
141   - String email = CommonUtils.isEmpty(user.getEmail())|| "null".equals(user.getEmail()) ? "" : user.getEmail();
  122 + String email = CommonUtils.isEmpty(user.getEmail()) || "null".equals(user.getEmail()) ? "" : user.getEmail();
142 123 String userName = CommonUtils.isEmpty(user.getUsername()) ? email : user.getUsername();
143   - updater = userName ;
  124 + updater = userName;
144 125 }
145 126 comment.setUpdater(updater);
146 127 }
147 128 return comment;
148 129 }
149 130  
150   - public boolean updateState(String ids, Integer state, String userId,String updater,String msg) {
  131 + public boolean updateState(String ids, Integer state, String userId, String updater, String msg) {
151 132 boolean success = true;
152 133 String[] channelIds = ids.split(",");
153 134 for (String channelId : channelIds) {
... ... @@ -157,16 +138,16 @@ public class ChannelServiceImpl {
157 138 json.put("state", state + 2);
158 139 json.put("channel_id", channel.getChannel_id());
159 140 json.put("msg", msg);
160   - JSONObject result = new JSONObject();
  141 + JSONObject result;
161 142 try {
162 143 result = Pass.channelPass(json, channel.getCallback());
163 144 } catch (Exception e) {
164   - logger.error("频道回调失败,id:{},channel_id:{}",channel.getId(), channel.getChannel_id());
  145 + logger.error("频道回调失败,id:{},channel_id:{}", channel.getId(), channel.getChannel_id());
165 146 success = false;
166 147 break;
167 148 }
168 149 if (result == null) {
169   - logger.error("频道回调错误,且无返回信息。id:{},channel_id:{}",channel.getId(), channel.getChannel_id());
  150 + logger.error("频道回调错误,且无返回信息。id:{},channel_id:{}", channel.getId(), channel.getChannel_id());
170 151 success = false;
171 152 break;
172 153 } else {
... ... @@ -178,12 +159,12 @@ public class ChannelServiceImpl {
178 159 }
179 160 channel.setShenhe_status(state);
180 161 channel.setShenhe_msg(msg);
181   - if(CommonUtils.isEmpty(userId)){
182   - channel.setUpdater(updater);
183   - channel.setAuditor(null);
184   - }else{
185   - channel.setAuditor(userId);
186   - channel.setUpdater(null);
  162 + if (CommonUtils.isEmpty(userId)) {
  163 + channel.setUpdater(updater);
  164 + channel.setAuditor(null);
  165 + } else {
  166 + channel.setAuditor(userId);
  167 + channel.setUpdater(null);
187 168 }
188 169 int i = shyChannelMapper.updateByPrimaryKey(channel);
189 170 if (i != 1) {
... ... @@ -199,26 +180,30 @@ public class ChannelServiceImpl {
199 180 ShyChannel shyChannel = shyChannelMapper.selectByPrimaryKey(id);
200 181 return shyChannel;
201 182 }
  183 +
202 184 public int updateByPrimaryKeySelective(ShyChannel channel) {
203 185 return shyChannelMapper.updateByPrimaryKeySelective(channel);
204 186 }
205   -
  187 +
206 188 /**
207 189 * 获得审核类型
  190 + *
208 191 * @param shyChannel
209 192 */
210   - public void getShenheType(ShyChannel shyChannel){
211   -
212   - //获取直播频道免审sp
  193 + public void getShenheType(ShyChannel shyChannel) {
  194 +
  195 + //获取直播频道免审sp
213 196 List<Integer> sites = sitesService.getBusinessList(CommonConst.BUSINESS_CHANNEL);
214 197 //初始化一个审核状态
215   - Integer shenheType=3;//审核类型,1:免审,2:机审,3:人工审
  198 + //审核类型,1:免审,2:机审,3:人工审
  199 + Integer shenheType = 3;
216 200 //如果当前sp是免审sp
217   - if(sites.contains(shyChannel.getSp_id())){
218   - shenheType=1;//免审
  201 + if (sites.contains(shyChannel.getSp_id())) {
  202 + //免审
  203 + shenheType = 1;
219 204 }
220 205 shyChannel.setShenhe_type(shenheType);
221   - }
  206 + }
222 207  
223 208 }
224 209  
... ...
src/main/java/com/cnlive/shenhe/serviceImpl/ShyActivityImpl.java 0 → 100644
  1 +package com.cnlive.shenhe.serviceImpl;
  2 +
  3 +
  4 +import com.cnlive.shenhe.dto.ShyActivityDTO;
  5 +import com.cnlive.shenhe.entity.ShyActivity;
  6 +import com.cnlive.shenhe.mapper.ShyActivityMapper;
  7 +import com.cnlive.shenhe.utils.CommonUtils;
  8 +import com.github.pagehelper.Page;
  9 +import com.github.pagehelper.PageHelper;
  10 +import com.github.pagehelper.PageInfo;
  11 +import org.springframework.beans.factory.annotation.Autowired;
  12 +import org.springframework.stereotype.Service;
  13 +import org.springframework.web.bind.annotation.RequestParam;
  14 +import tk.mybatis.mapper.entity.Example;
  15 +
  16 +import java.security.PublicKey;
  17 +import java.util.Date;
  18 +import java.util.List;
  19 +
  20 +/**
  21 + * @author Administrator
  22 + * @author yanzhaowang
  23 + * @create 2022-03-08 10:43
  24 + */
  25 +@Service
  26 +public class ShyActivityImpl {
  27 +
  28 + @Autowired
  29 + private ShyActivityMapper ShyActivityMapper;
  30 +
  31 + /**
  32 + * 添加活动
  33 + *
  34 + * @param shyActivity
  35 + * @return
  36 + */
  37 + public int insertShyActivity(ShyActivity shyActivity) {
  38 + Date date = new Date();
  39 + shyActivity.setCreate_time(date);
  40 + shyActivity.setUpdate_time(date);
  41 + Byte aByte = new Byte("0");
  42 + shyActivity.setExempt_from_trial(aByte);
  43 + int i = ShyActivityMapper.insertSelective(shyActivity);
  44 + return i;
  45 + }
  46 +
  47 + /**
  48 + * 根据主键删除活动
  49 + *
  50 + * @param id
  51 + * @return
  52 + */
  53 + public int deleteShyActivity(Integer id) {
  54 +
  55 + int i = ShyActivityMapper.deleteByPrimaryKey(id);
  56 + return i;
  57 + }
  58 +
  59 + /**
  60 + * 修改活动
  61 + *
  62 + * @param shyActivity
  63 + * @return
  64 + */
  65 + public int updateShyActivity(ShyActivity shyActivity) {
  66 + Date date = new Date();
  67 + shyActivity.setCreate_time(date);
  68 + shyActivity.setUpdate_time(date);
  69 + int i = ShyActivityMapper.updateByPrimaryKeySelective(shyActivity);
  70 + return i;
  71 + }
  72 +
  73 + /**
  74 + * 查询活动
  75 + * @param pageNum
  76 + * @param pageSize
  77 + * @return
  78 + */
  79 + public PageInfo<ShyActivity> selectByExample(Integer pageNum, Integer pageSize,String activity,String exempt_from_trial) {
  80 + Example example = new Example(ShyActivity.class);
  81 + //如果为空 按照倒序排序 分页查询所有
  82 + //以创建时间为条件进行倒序
  83 + example.setOrderByClause("`create_time` desc");
  84 +
  85 + Example.Criteria criteria = example.createCriteria();
  86 +
  87 + // 如果查询条件不为空 按照条件走模糊查询
  88 + if (CommonUtils.isNotEmpty(exempt_from_trial)) {
  89 + criteria.andLike("exempt_from_trial", "%" + exempt_from_trial + "%");
  90 + }
  91 + // 如果查询条件不为空 按照条件走模糊查询
  92 + if (CommonUtils.isNotEmpty(activity)) {
  93 + criteria.andLike("activity", "%" + activity + "%");
  94 + }
  95 + PageHelper.startPage(pageNum, pageSize, true);
  96 + List<ShyActivity> shyActivities = ShyActivityMapper.selectByExample(example);
  97 + PageInfo<ShyActivity> shyActivityPageInfo = new PageInfo<>(shyActivities);
  98 + return shyActivityPageInfo;
  99 + }
  100 +
  101 +
  102 + /**
  103 + * 根据条件查询活动
  104 + *
  105 + * @param
  106 + * @param exempt_from_trial
  107 + * @return
  108 + */
  109 + public List<Integer> selectByExample(Integer exempt_from_trial) {
  110 + List<Integer> shyActivities = ShyActivityMapper.selectAllByExempt_from_trial(exempt_from_trial);
  111 + return shyActivities;
  112 + }
  113 +
  114 + /**
  115 + * 查询所有的数据
  116 + */
  117 + /**
  118 + * @return
  119 + */
  120 + public List<ShyActivity> selectAll() {
  121 + List<ShyActivity> shyActivities = ShyActivityMapper.selectAll();
  122 + return shyActivities;
  123 + }
  124 +
  125 +}
... ...
src/main/java/com/cnlive/shenhe/serviceImpl/VideosServiceImpl.java
... ... @@ -8,7 +8,6 @@ import com.cnlive.shenhe.entity.ShyUsers;
8 8 import com.cnlive.shenhe.entity.ShyUsersfree;
9 9 import com.cnlive.shenhe.entity.ShyVideos;
10 10 import com.cnlive.shenhe.entity.ShyYidun;
11   -import com.cnlive.shenhe.mapper.ShySitesMapper;
12 11 import com.cnlive.shenhe.mapper.ShyUsersMapper;
13 12 import com.cnlive.shenhe.mapper.ShyVideosMapper;
14 13 import com.cnlive.shenhe.utils.AuditPass;
... ... @@ -42,8 +41,6 @@ public class VideosServiceImpl {
42 41 @Autowired
43 42 ShyVideosMapper shyVideosMapper;
44 43 @Autowired
45   - ShySitesMapper shySitesMapper;
46   - @Autowired
47 44 ShyUsersMapper shyUsersMapper;
48 45  
49 46 @Autowired
... ... @@ -55,9 +52,9 @@ public class VideosServiceImpl {
55 52 UsersfreeServiceImpl usersfreeServiceImpl;
56 53  
57 54 @Autowired
58   - VideofilterServiceImpl videofilterServiceImpl;
59   - @Autowired
60 55 YiDunServiceImpl yiDunServiceImpl;
  56 + @Autowired
  57 + ShyActivityImpl shyActivityImpl;
61 58  
62 59 @Value("${qn_domain}")
63 60 String qn_domain;
... ... @@ -124,8 +121,6 @@ public class VideosServiceImpl {
124 121 Timestamp startdate = null;
125 122 Timestamp enddate = null;
126 123 try {
127   -// startdate = CommonUtils.parseDate(start_date, "yyyy-MM-dd HH:mm:ss");
128   -// enddate = CommonUtils.parseDate(end_date, "yyyy-MM-dd HH:mm:ss");
129 124 startdate = CommonUtils.parseDate(start_date, "yyyy-MM-dd");
130 125 enddate = CommonUtils.parseDate(end_date, "yyyy-MM-dd");
131 126 } catch (ParseException e) {
... ... @@ -161,12 +156,15 @@ public class VideosServiceImpl {
161 156 }
162 157 }
163 158  
164   - if (CommonUtils.isNotEmpty(source) && !"moment".equals(source)) {
  159 + if (CommonUtils.isNotEmpty(source) && !"22".equals(source) && !"102".equals(source)) {
165 160 criteria.andEqualTo("source", source);
166 161 criteria2.andEqualTo("source", source);
167   - } else if (CommonUtils.isNotEmpty(source) && "moment".equals(source)) {
  162 + } else if (CommonUtils.isNotEmpty(source) && "22".equals(source)) {
168 163 criteria.andEqualTo("category", source);
169 164 criteria2.andEqualTo("category", source);
  165 + } else if (CommonUtils.isNotEmpty(source) && "102".equals(source)) {
  166 + criteria.andEqualTo("source", "102".equals(source) ? "0" : source);
  167 + criteria2.andEqualTo("source", "102".equals(source) ? "0" : source);
170 168 }
171 169  
172 170 if (CommonUtils.isNotEmpty(video_user_id)) {
... ... @@ -298,8 +296,6 @@ public class VideosServiceImpl {
298 296 Timestamp startdate = null;
299 297 Timestamp enddate = null;
300 298 try {
301   -// startdate = CommonUtils.parseDate(start_date, "yyyy-MM-dd HH:mm:ss");
302   -// enddate = CommonUtils.parseDate(end_date, "yyyy-MM-dd HH:mm:ss");
303 299 startdate = CommonUtils.parseDate(start_date, "yyyy-MM-dd");
304 300 enddate = CommonUtils.parseDate(end_date, "yyyy-MM-dd");
305 301 } catch (ParseException e) {
... ... @@ -371,13 +367,12 @@ public class VideosServiceImpl {
371 367 url = url + "(" + uuid + ")";
372 368 }
373 369 //易盾返回结果的类型
374   - String type = "";
375   - //易盾失败结果的详情
376   - String desc = "";
377 370 //调用易盾智能图片审核接口
378 371 JSONObject imagesFilter = YiDunAntiFraudUtil.getImagesFilter(jsonArray.toJSONString());
379   - type = imagesFilter.getString("type");
380   - desc = imagesFilter.getString("desc");
  372 + //易盾返回结果的类型
  373 + String type = imagesFilter.getString("type");
  374 + //易盾失败结果的详情
  375 + String desc = imagesFilter.getString("desc");
381 376 if (type.toLowerCase().equals(CommonConst.PASS)) {
382 377 shyVideos.setMsg(desc);
383 378 //修改点播云视频状态
... ... @@ -466,18 +461,13 @@ public class VideosServiceImpl {
466 461 public void getShenheType(ShyVideos shyVideo) {
467 462 //获取点播免审sp
468 463 List<Integer> sites = sitesService.getBusinessList(CommonConst.BUSINESS_VIDEO);
  464 + List<Integer> shyActivities = shyActivityImpl.selectByExample(CommonConst.AUDIT_TYPE_FREE);
469 465 logger.info("sites" + sites.toString());
470 466 //初始化一个审核状态
471 467 //审核类型,1:免审,2:机审,3:人工审
472 468 Integer shenheType = 3;
473   - //如果当前sp是免审sp 增加免审渠道类型
474   - if (sites.contains(shyVideo.getSpid()) || "1".equals(shyVideo.getSource())
475   - || "9".equals(shyVideo.getSource()) || "8".equals(shyVideo.getSource())
476   - || "29".equals(shyVideo.getSource())
477   - || "30".equals(shyVideo.getSource()) || "31".equals(shyVideo.getSource())
478   - || "36".equals(shyVideo.getSource()) || "38".equals(shyVideo.getSource())
479   - || "39".equals(shyVideo.getSource())
480   - || "40".equals(shyVideo.getSource()) || "50".equals(shyVideo.getSource())) {
  469 + //如果当前sp是免审sp
  470 + if (sites.contains(shyVideo.getSpid()) || shyActivities.contains(shyVideo.getSource())) {
481 471 //免审
482 472 shenheType = 1;
483 473 } else {
... ...
src/main/java/com/cnlive/shenhe/utils/CommonUtils.java
... ... @@ -42,14 +42,10 @@ public class CommonUtils {
42 42 public static Timestamp getCurrentTime() {
43 43 return new Timestamp(new Date().getTime());
44 44 }
  45 +
45 46 //获取当前时间加上一个时间(分钟算)
46 47 public static Timestamp getAddTime(Integer addTime) {
47   - return new Timestamp(new Date().getTime()+addTime*60*1000);
48   - }
49   -
50   - public static String getRandowUUID() {
51   - UUID uuid = UUID.randomUUID();
52   - return uuid.toString().replaceAll("-", "");
  48 + return new Timestamp(new Date().getTime() + addTime * 60 * 1000);
53 49 }
54 50  
55 51 public static boolean isEmpty(String str) {
... ...
src/main/java/com/cnlive/shenhe/utils/YiDunAntiFraudUtil.java
... ... @@ -2,8 +2,6 @@ package com.cnlive.shenhe.utils;
2 2  
3 3 import com.alibaba.fastjson.JSONArray;
4 4 import com.alibaba.fastjson.JSONObject;
5   -import com.cnlive.shenhe.api.AvsampleCallBackControllerApi;
6   -import com.cnlive.shenhe.entity.ShyYidun;
7 5 import com.cnlive.shenhe.enums.ImageLabels;
8 6 import com.cnlive.shenhe.enums.TextLabels;
9 7 import com.cnlive.shenhe.serviceImpl.YiDunServiceImpl;
... ... @@ -141,7 +139,7 @@ public class YiDunAntiFraudUtil {
141 139 * @param url
142 140 * @return
143 141 */
144   - public static JSONObject submitAudioOnDemandUrl(String url,String callbackUrl) {
  142 + public static JSONObject submitAudioOnDemandUrl(String url, String callbackUrl) {
145 143 try {
146 144 Map<String, String> params = new HashMap<>();
147 145 // 1.设置公共参数
... ... @@ -265,7 +263,7 @@ public class YiDunAntiFraudUtil {
265 263 public static JSONObject getImagesFilter(String jsonImg) {
266 264 JSONObject jsonObj = new JSONObject();
267 265 try {
268   - Map<String, String> params = new HashMap<String, String>();
  266 + Map<String, String> params = new HashMap<>(7);
269 267 // 1.设置公共参数
270 268 params.put("secretId", TEXTANDIMAGESECRETID);
271 269 params.put("businessId", IMAGEBUSINESSID);
... ...
src/main/resources/application.properties
1   -#spring.datasource.url=jdbc:mysql://127.0.0.1:3306/new_shy?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&useSSL=false
2   -#spring.datasource.username=root
3   -#spring.datasource.password=nbLdyO.79
4   -
5   -#\u91d1\u5c71\u4e00\u533a\u6570\u636e\u5e93
6   -#spring.datasource.url=jdbc:mysql://10.137.192.2:3306/new_shy?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&useSSL=false
7   -#spring.datasource.username=admin
8   -#spring.datasource.password=Sre#45iU7kJ
9   -
10   -#\u91d1\u5c71\u516d\u533a\u6570\u636e\u5e93
11   -spring.datasource.url=jdbc:mysql://10.137.192.7:3306/new_shy?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&useSSL=false
12   -spring.datasource.username=admin
13   -spring.datasource.password=83BwiCoq
  1 +spring.datasource.url=jdbc:mysql://120.92.102.31:3306/new_shy?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&useSSL=false
  2 +spring.datasource.username=root
  3 +spring.datasource.password=M345sdfss4!
14 4  
15 5 spring.datasource.driver-class-name=com.mysql.jdbc.Driver
16 6  
... ... @@ -29,83 +19,83 @@ spring.http.encoding.force=true
29 19 spring.thymeleaf.mode=LEGACYHTML5
30 20 #spring.thymeleaf.encoding=UTF-8
31 21 #spring.thymeleaf.content-type=text/html
32   -#\u5f00\u53d1\u65f6\u5173\u95ed\u7f13\u5b58,\u4e0d\u7136\u6ca1\u6cd5\u770b\u5230\u5b9e\u65f6\u9875\u9762
  22 +#\u5F00\u53D1\u65F6\u5173\u95ED\u7F13\u5B58,\u4E0D\u7136\u6CA1\u6CD5\u770B\u5230\u5B9E\u65F6\u9875\u9762
33 23 spring.thymeleaf.cache=false
34 24  
35   -#\u6253\u5370\u8fd0\u884c\u65f6\u7684sql
  25 +#\u6253\u5370\u8FD0\u884C\u65F6\u7684sql
36 26 #logging.level.com.cnlive.shenhe.mapper=debug
37 27  
38 28 mybatis.mapper-locations=classpath:mapper/*.xml
39 29 mybatis.type-aliases-package=com.cnlive.shenhe.entity
40   -server.port=81
  30 +server.port=82
41 31  
42   -#rabbitmq\u76f8\u5173\u914d\u7f6e
43   -spring.rabbitmq.host=10.254.176.11
  32 +#rabbitmq\u76F8\u5173\u914D\u7F6E
  33 +spring.rabbitmq.host=10.254.174.131
44 34 spring.rabbitmq.port=5672
45   -spring.rabbitmq.username=admin
46   -spring.rabbitmq.password=fA{5Uikx7
47   -# \u5f00\u542f\u53d1\u9001\u786e\u8ba4
  35 +spring.rabbitmq.username=test
  36 +spring.rabbitmq.password=p3~amKKt9
  37 +# \u5F00\u542F\u53D1\u9001\u786E\u8BA4
48 38 spring.rabbitmq.publisher-confirms=true
49   -# \u5f00\u542f\u53d1\u9001\u5931\u8d25\u9000\u56de
  39 +# \u5F00\u542F\u53D1\u9001\u5931\u8D25\u9000\u56DE
50 40 spring.rabbitmq.publisher-returns=true
51   -# \u5f00\u542fACK
  41 +# \u5F00\u542FACK
52 42 spring.rabbitmq.listener.direct.acknowledge-mode=manual
53 43 spring.rabbitmq.listener.simple.acknowledge-mode=manual
54 44  
55   -#\u8bdd\u9898\u8bc4\u8bba\u5206\u4eabh5
  45 +#\u8BDD\u9898\u8BC4\u8BBA\u5206\u4EABh5
56 46 #topic_comment_shareH5=http://wjjh5test.cnlive.com/cnShareTopic.html?tid=
57 47  
58   -#\u5173\u95edspringboot\u63d0\u4f9b\u7684\u9ed8\u8ba4ico
  48 +#\u5173\u95EDspringboot\u63D0\u4F9B\u7684\u9ED8\u8BA4ico
59 49 spring.mvc.favicon.enabled = false
60 50  
61   -#\u8bc4\u8bba\u7981\u8a00\u548c\u89e3\u7981\u4f7f\u7528API
  51 +#\u8BC4\u8BBA\u7981\u8A00\u548C\u89E3\u7981\u4F7F\u7528API
62 52 speak_comment=http://comment.cnlive.com/services/commentForTopic/muted
63 53  
64   -#logback\u65e5\u5fd7\u4e2d\u4f7f\u7528
65   -spring.application.name=cnlive_shenhe
66   -spring.application.home=/usr/local/cnlive_shenhe/log
  54 +#logback\u65E5\u5FD7\u4E2D\u4F7F\u7528
  55 +spring.application.name=cnlive_shenhe_test
  56 +spring.application.home=/usr/local/test_cnlive_shenhe/cnlive_shenhe/log
67 57  
68 58 sync_users_api=http://api.cnlive.com/open/api2/inner2/shenhe/getuser
69 59 sync_users_app_key=314a9dd4-a9b7-4c12-bbbe-1150a36491ae
70 60  
71   -#\u7528\u6237\u4e91\u8bf7\u6c42\u67e5\u8be2\u7528\u6237\u4fe1\u606f
  61 +#\u7528\u6237\u4E91\u8BF7\u6C42\u67E5\u8BE2\u7528\u6237\u4FE1\u606F
72 62 queryUserByMobile=http://user.api.cnlive.com/CnliveM2/user/readUserByUserName.action?userName=
73 63 queryUserByUserId=http://user.api.cnlive.com/CnliveM2/user/readUserByUid.action?uid=
74 64  
75   -#\u70b9\u64ad\u4e91\u9700\u8981\u7684\u5e38\u91cf
  65 +#\u70B9\u64AD\u4E91\u9700\u8981\u7684\u5E38\u91CF
76 66 url=http://mam.innerapi.cnlive.com/v1/inner/ShenHeInfo/shenheNotify
77 67 platformKey =AUDIT
78 68 platformValue=10011438
79 69  
80   -#\u672c\u673a\u5730\u5740
81   -spring.localhost.url=http://shen.cnlive.com
  70 +#\u672C\u673A\u5730\u5740
  71 +spring.localhost.url=http://test.shen.cnlive.com
82 72  
83   -#\u62bd\u5e27\u5e38\u91cf
  73 +#\u62BD\u5E27\u5E38\u91CF
84 74 avsmple_appKey=1eac30dfbee311e7a2f0fa163e771cf9
85 75 avsmple_appSecret=28ce1e1fbee311e7a2f0fa163e771cf92ea58ebfbee311e7a2f0fa163e771cf9
86   -avsmple_url=http://transcode.cnlive.com/api/request
87   -avsmple_callback=http://shen.cnlive.com/api/avsample/callback
  76 +avsmple_url=http://test.transcode.cnlive.com/api/request
  77 +avsmple_callback=http://test.shen.cnlive.com/api/avsample/callback
88 78  
89   -#\u540c\u6b65\u76f4\u64ad\u4e91\u4fe1\u606f
90   -live_url=http://bc.cnlive.com/bokong/activity/activityShenHe
  79 +#\u540C\u6B65\u76F4\u64AD\u4E91\u4FE1\u606F
  80 +live_url=http://test.bc.cnlive.com/bokong/activity/activityShenHe
91 81  
92   -#\u90ae\u4ef6\u4f7f\u7528\u5e38\u91cf
  82 +#\u90AE\u4EF6\u4F7F\u7528\u5E38\u91CF
93 83 email_app_id=769_jetja50p18
94 84 email_app_key=ad101b9152817a79b5c33c3617b96ff91385096ff3b4ba
95 85 email_send_URL=http://sms.cnlive.com/CnliveM3/email/sendMoreVarEmail.action
96 86  
97   -#\u62bd\u5e27\u5b58\u653ebucket\u548c\u57df\u540d
98   -#qn_bucket=cnlivetest
99   -#qn_domain=http://test.qnvod.cnlive.com
100   -#ks_bucket=cnlive-test
101   -#ks_domain=http://test.wideo.cnlive.com
  87 +#\u62BD\u5E27\u5B58\u653Ebucket\u548C\u57DF\u540D
  88 +qn_bucket=cnlivetest
  89 +qn_domain=http://test.qnvod.cnlive.com
  90 +ks_bucket=cnlive-test
  91 +ks_domain=http://test.wideo.cnlive.com
102 92  
103   -qn_bucket=mam-sxzg-82
104   -qn_domain=http://sxzg.ys2.cnliveimg.com
105   -ks_bucket=mam-sxzg-82
106   -ks_domain=http://sxzg.ys1.cnliveimg.com
  93 +#qn_bucket=mam-sxzg-82
  94 +#qn_domain=http://sxzg.ys2.cnliveimg.com
  95 +#ks_bucket=mam-sxzg-82
  96 +#ks_domain=http://sxzg.ys1.cnliveimg.com
107 97  
108   -#\u56fe\u7247\u5b58\u653e\u6839\u8def\u5f84
  98 +#\u56FE\u7247\u5B58\u653E\u6839\u8DEF\u5F84
109 99 desdir=shen
110   -yiDun_audio_callback=http://shen.cnlive.com/api/audio/callbackAudio
111   -cms_getVideoAndLiveId=http://cms.cnlive.com:8768/contentApi/getBeanById
112 100 \ No newline at end of file
  101 +yiDun_audio_callback=http://test.shen.cnlive.com/api/audio/callbackAudio
  102 +cms_getVideoAndLiveId=http://cmstest.cnlive.com:8768/contentApi/getBeanById
... ...
src/main/resources/generatorConfig.xml
... ... @@ -23,7 +23,7 @@
23 23  
24 24  
25 25 <jdbcConnection driverClass="com.mysql.jdbc.Driver"
26   - connectionURL="jdbc:mysql://120.92.102.31:3306/new_shy??useUnicode=true&amp;characterEncoding=utf8&amp;characterSetResults=utf8"
  26 + connectionURL="jdbc:mysql://120.92.102.31:3306/new_shy?useUnicode=true&amp;characterEncoding=utf8&amp;characterSetResults=utf8"
27 27 userId="root"
28 28 password="M345sdfss4!">
29 29 </jdbcConnection>
... ... @@ -32,7 +32,7 @@
32 32 <sqlMapGenerator targetPackage="mapper" targetProject="src/main/resources"/>
33 33 <javaClientGenerator targetPackage="com.cnlive.shenhe.mapper" targetProject="src/main/java"
34 34 type="XMLMAPPER"/>
35   - <table schema="" tableName="%" domainObjectName="">
  35 + <table schema="new_shy" tableName="shy_activity" domainObjectName="">
36 36 <property name="useActualColumnNames" value="true" />
37 37 </table>
38 38 </context>
... ...
src/main/resources/mapper/ShyActivityMapper.xml 0 → 100644
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
  3 +<mapper namespace="com.cnlive.shenhe.mapper.ShyActivityMapper">
  4 + <resultMap id="BaseResultMap" type="com.cnlive.shenhe.entity.ShyActivity">
  5 + <!--
  6 + WARNING - @mbg.generated
  7 + -->
  8 + <id column="id" jdbcType="INTEGER" property="id" />
  9 + <result column="activity" jdbcType="VARCHAR" property="activity" />
  10 + <result column="create_time" jdbcType="TIMESTAMP" property="create_time" />
  11 + <result column="update_time" jdbcType="TIMESTAMP" property="update_time" />
  12 + <result column="exempt_from_trial" jdbcType="TINYINT" property="exempt_from_trial" />
  13 + </resultMap>
  14 + <select id="selectAllByExempt_from_trial" resultType="java.lang.Integer">
  15 + select id from shy_activity where exempt_from_trial=${exempt_from_trial};
  16 + </select>
  17 +
  18 +
  19 +</mapper>
0 20 \ No newline at end of file
... ...
src/main/resources/static/css/bootstrap-table.min.css
1   -.fixed-table-container .bs-checkbox,.fixed-table-container .no-records-found{text-align:center}.fixed-table-body thead th .th-inner,.table td,.table th{box-sizing:border-box}.bootstrap-table .table{margin-bottom:0!important;border-bottom:1px solid #ddd;border-collapse:collapse!important;border-radius:1px}.bootstrap-table .table:not(.table-condensed),.bootstrap-table .table:not(.table-condensed)>tbody>tr>td,.bootstrap-table .table:not(.table-condensed)>tbody>tr>th,.bootstrap-table .table:not(.table-condensed)>tfoot>tr>td,.bootstrap-table .table:not(.table-condensed)>tfoot>tr>th,.bootstrap-table .table:not(.table-condensed)>thead>tr>td{padding:8px}.bootstrap-table .table.table-no-bordered>tbody>tr>td,.bootstrap-table .table.table-no-bordered>thead>tr>th{border-right:2px solid transparent}.bootstrap-table .table.table-no-bordered>tbody>tr>td:last-child{border-right:none}.fixed-table-container{position:relative;clear:both;border:1px solid #ddd;border-radius:4px;-webkit-border-radius:4px;-moz-border-radius:4px}.fixed-table-container.table-no-bordered{border:1px solid transparent}.fixed-table-footer,.fixed-table-header{overflow:hidden}.fixed-table-footer{border-top:1px solid #ddd}.fixed-table-body{overflow-x:auto;overflow-y:auto;height:100%}.fixed-table-container table{width:100%}.fixed-table-container thead th{height:0;padding:0;margin:0;border-left:1px solid #ddd}.fixed-table-container thead th:focus{outline:transparent solid 0}.fixed-table-container thead th:first-child{border-left:none;border-top-left-radius:4px;-webkit-border-top-left-radius:4px;-moz-border-radius-topleft:4px}.fixed-table-container tbody td .th-inner,.fixed-table-container thead th .th-inner{padding:8px;line-height:24px;vertical-align:top;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fixed-table-container thead th .sortable{cursor:pointer;background-position:right;background-repeat:no-repeat;padding-right:30px}.fixed-table-container thead th .both{background-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAAkElEQVQoz7X QMQ5AQBCF4dWQSJxC5wwax1Cq1e7BAdxD5SL+Tq/QCM1oNiJidwox0355mXnG/DrEtIQ6azioNZQxI0ykPhTQIwhCR+BmBYtlK7kLJYwWCcJA9M4qdrZrd8pPjZWPtOqdRQy320YSV17OatFC4euts6z39GYMKRPCTKY9UnPQ6P+GtMRfGtPnBCiqhAeJPmkqAAAAAElFTkSuQmCC')}.fixed-table-container thead th .asc{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAAZ0lEQVQ4y2NgGLKgquEuFxBPAGI2ahhWCsS/gDibUoO0gPgxEP8H4ttArEyuQYxAPBdqEAxPBImTY5gjEL9DM+wTENuQahAvEO9DMwiGdwAxOymGJQLxTyD+jgWDxCMZRsEoGAVoAADeemwtPcZI2wAAAABJRU5ErkJggg==)}.fixed-table-container thead th .desc{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAAZUlEQVQ4y2NgGAWjYBSggaqGu5FA/BOIv2PBIPFEUgxjB+IdQPwfC94HxLykus4GiD+hGfQOiB3J8SojEE9EM2wuSJzcsFMG4ttQgx4DsRalkZENxL+AuJQaMcsGxBOAmGvopk8AVz1sLZgg0bsAAAAASUVORK5CYII=)}.fixed-table-container th.detail{width:30px}.fixed-table-container tbody td{border-left:1px solid #ddd}.fixed-table-container tbody tr:first-child td{border-top:none}.fixed-table-container tbody td:first-child{border-left:none}.fixed-table-container tbody .selected td{background-color:#f5f5f5}.fixed-table-container .bs-checkbox .th-inner{padding:8px 0}.fixed-table-container input[type=radio],.fixed-table-container input[type=checkbox]{margin:0 auto!important}.fixed-table-pagination .pagination-detail,.fixed-table-pagination div.pagination{margin-top:10px;margin-bottom:10px}.fixed-table-pagination div.pagination .pagination{margin:0}.fixed-table-pagination .pagination a{padding:6px 12px;line-height:1.428571429}.fixed-table-pagination .pagination-info{line-height:34px;margin-right:5px}.fixed-table-pagination .btn-group{position:relative;display:inline-block;vertical-align:middle}.fixed-table-pagination .dropup .dropdown-menu{margin-bottom:0}.fixed-table-pagination .page-list{display:inline-block}.fixed-table-toolbar .columns-left{margin-right:5px}.fixed-table-toolbar .columns-right{margin-left:5px}.fixed-table-toolbar .columns label{display:block;padding:3px 20px;clear:both;font-weight:400;line-height:1.428571429}.fixed-table-toolbar .bs-bars,.fixed-table-toolbar .columns,.fixed-table-toolbar .search{position:relative;margin-top:10px;margin-bottom:10px;line-height:34px}.fixed-table-pagination li.disabled a{pointer-events:none;cursor:default}.fixed-table-loading{display:none;position:absolute;top:42px;right:0;bottom:0;left:0;z-index:99;background-color:#fff;text-align:center}.fixed-table-body .card-view .title{font-weight:700;display:inline-block;min-width:30%;text-align:left!important}.table td,.table th{vertical-align:middle}.fixed-table-toolbar .dropdown-menu{text-align:left;max-height:300px;overflow:auto}.fixed-table-toolbar .btn-group>.btn-group{display:inline-block;margin-left:-1px!important}.fixed-table-toolbar .btn-group>.btn-group>.btn{border-radius:0}.fixed-table-toolbar .btn-group>.btn-group:first-child>.btn{border-top-left-radius:4px;border-bottom-left-radius:4px}.fixed-table-toolbar .btn-group>.btn-group:last-child>.btn{border-top-right-radius:4px;border-bottom-right-radius:4px}.bootstrap-table .table>thead>tr>th{vertical-align:bottom;border-bottom:1px solid #ddd}.bootstrap-table .table thead>tr>th{padding:0;margin:0}.bootstrap-table .fixed-table-footer tbody>tr>td{padding:0!important}.bootstrap-table .fixed-table-footer .table{border-bottom:none;border-radius:0;padding:0!important}.pull-right .dropdown-menu{right:0;left:auto}p.fixed-table-scroll-inner{width:100%;height:200px}div.fixed-table-scroll-outer{top:0;left:0;visibility:hidden;width:200px;height:150px;overflow:hidden}
2 1 \ No newline at end of file
  2 +.fixed-table-container .bs-checkbox, .fixed-table-container .no-records-found {
  3 + text-align: center
  4 +}
  5 +
  6 +.fixed-table-body thead th .th-inner, .table td, .table th {
  7 + box-sizing: border-box
  8 +}
  9 +
  10 +.bootstrap-table .table {
  11 + margin-bottom: 0 !important;
  12 + border-bottom: 1px solid #ddd;
  13 + border-collapse: collapse !important;
  14 + border-radius: 1px
  15 +}
  16 +
  17 +.bootstrap-table .table:not(.table-condensed), .bootstrap-table .table:not(.table-condensed) > tbody > tr > td, .bootstrap-table .table:not(.table-condensed) > tbody > tr > th, .bootstrap-table .table:not(.table-condensed) > tfoot > tr > td, .bootstrap-table .table:not(.table-condensed) > tfoot > tr > th, .bootstrap-table .table:not(.table-condensed) > thead > tr > td {
  18 + padding: 8px
  19 +}
  20 +
  21 +.bootstrap-table .table.table-no-bordered > tbody > tr > td, .bootstrap-table .table.table-no-bordered > thead > tr > th {
  22 + border-right: 2px solid transparent
  23 +}
  24 +
  25 +.bootstrap-table .table.table-no-bordered > tbody > tr > td:last-child {
  26 + border-right: none
  27 +}
  28 +
  29 +.fixed-table-container {
  30 + position: relative;
  31 + clear: both;
  32 + border: 1px solid #ddd;
  33 + border-radius: 4px;
  34 + -webkit-border-radius: 4px;
  35 + -moz-border-radius: 4px
  36 +}
  37 +
  38 +.fixed-table-container.table-no-bordered {
  39 + border: 1px solid transparent
  40 +}
  41 +
  42 +.fixed-table-footer, .fixed-table-header {
  43 + overflow: hidden
  44 +}
  45 +
  46 +.fixed-table-footer {
  47 + border-top: 1px solid #ddd
  48 +}
  49 +
  50 +.fixed-table-body {
  51 + overflow-x: auto;
  52 + overflow-y: auto;
  53 + height: 100%
  54 +}
  55 +
  56 +.fixed-table-container table {
  57 + width: 100%
  58 +}
  59 +
  60 +.fixed-table-container thead th {
  61 + height: 0;
  62 + padding: 0;
  63 + margin: 0;
  64 + border-left: 1px solid #ddd
  65 +}
  66 +
  67 +.fixed-table-container thead th:focus {
  68 + outline: transparent solid 0
  69 +}
  70 +
  71 +.fixed-table-container thead th:first-child {
  72 + border-left: none;
  73 + border-top-left-radius: 4px;
  74 + -webkit-border-top-left-radius: 4px;
  75 + -moz-border-radius-topleft: 4px
  76 +}
  77 +
  78 +.fixed-table-container tbody td .th-inner, .fixed-table-container thead th .th-inner {
  79 + padding: 8px;
  80 + line-height: 24px;
  81 + vertical-align: top;
  82 + overflow: hidden;
  83 + text-overflow: ellipsis;
  84 + white-space: nowrap
  85 +}
  86 +
  87 +.fixed-table-container thead th .sortable {
  88 + cursor: pointer;
  89 + background-position: right;
  90 + background-repeat: no-repeat;
  91 + padding-right: 30px
  92 +}
  93 +
  94 +.fixed-table-container thead th .both {
  95 + background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAAkElEQVQoz7X QMQ5AQBCF4dWQSJxC5wwax1Cq1e7BAdxD5SL+Tq/QCM1oNiJidwox0355mXnG/DrEtIQ6azioNZQxI0ykPhTQIwhCR+BmBYtlK7kLJYwWCcJA9M4qdrZrd8pPjZWPtOqdRQy320YSV17OatFC4euts6z39GYMKRPCTKY9UnPQ6P+GtMRfGtPnBCiqhAeJPmkqAAAAAElFTkSuQmCC')
  96 +}
  97 +
  98 +.fixed-table-container thead th .asc {
  99 + background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAAZ0lEQVQ4y2NgGLKgquEuFxBPAGI2ahhWCsS/gDibUoO0gPgxEP8H4ttArEyuQYxAPBdqEAxPBImTY5gjEL9DM+wTENuQahAvEO9DMwiGdwAxOymGJQLxTyD+jgWDxCMZRsEoGAVoAADeemwtPcZI2wAAAABJRU5ErkJggg==)
  100 +}
  101 +
  102 +.fixed-table-container thead th .desc {
  103 + background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAAZUlEQVQ4y2NgGAWjYBSggaqGu5FA/BOIv2PBIPFEUgxjB+IdQPwfC94HxLykus4GiD+hGfQOiB3J8SojEE9EM2wuSJzcsFMG4ttQgx4DsRalkZENxL+AuJQaMcsGxBOAmGvopk8AVz1sLZgg0bsAAAAASUVORK5CYII=)
  104 +}
  105 +
  106 +.fixed-table-container th.detail {
  107 + width: 30px
  108 +}
  109 +
  110 +.fixed-table-container tbody td {
  111 + border-left: 1px solid #ddd
  112 +}
  113 +
  114 +.fixed-table-container tbody tr:first-child td {
  115 + border-top: none
  116 +}
  117 +
  118 +.fixed-table-container tbody td:first-child {
  119 + border-left: none
  120 +}
  121 +
  122 +.fixed-table-container tbody .selected td {
  123 + background-color: #f5f5f5
  124 +}
  125 +
  126 +.fixed-table-container .bs-checkbox .th-inner {
  127 + padding: 8px 0
  128 +}
  129 +
  130 +.fixed-table-container input[type=radio], .fixed-table-container input[type=checkbox] {
  131 + margin: 0 auto !important
  132 +}
  133 +
  134 +.fixed-table-pagination .pagination-detail, .fixed-table-pagination div.pagination {
  135 + margin-top: 10px;
  136 + margin-bottom: 10px
  137 +}
  138 +
  139 +.fixed-table-pagination div.pagination .pagination {
  140 + margin: 0
  141 +}
  142 +
  143 +.fixed-table-pagination .pagination a {
  144 + padding: 6px 12px;
  145 + line-height: 1.428571429
  146 +}
  147 +
  148 +.fixed-table-pagination .pagination-info {
  149 + line-height: 34px;
  150 + margin-right: 5px
  151 +}
  152 +
  153 +.fixed-table-pagination .btn-group {
  154 + position: relative;
  155 + display: inline-block;
  156 + vertical-align: middle
  157 +}
  158 +
  159 +.fixed-table-pagination .dropup .dropdown-menu {
  160 + margin-bottom: 0
  161 +}
  162 +
  163 +.fixed-table-pagination .page-list {
  164 + display: inline-block
  165 +}
  166 +
  167 +.fixed-table-toolbar .columns-left {
  168 + margin-right: 5px
  169 +}
  170 +
  171 +.fixed-table-toolbar .columns-right {
  172 + margin-left: 5px
  173 +}
  174 +
  175 +.fixed-table-toolbar .columns label {
  176 + display: block;
  177 + padding: 3px 20px;
  178 + clear: both;
  179 + font-weight: 400;
  180 + line-height: 1.428571429
  181 +}
  182 +
  183 +.fixed-table-toolbar .bs-bars, .fixed-table-toolbar .columns, .fixed-table-toolbar .search {
  184 + position: relative;
  185 + margin-top: 10px;
  186 + margin-bottom: 10px;
  187 + line-height: 34px
  188 +}
  189 +
  190 +.fixed-table-pagination li.disabled a {
  191 + pointer-events: none;
  192 + cursor: default
  193 +}
  194 +
  195 +.fixed-table-loading {
  196 + display: none;
  197 + position: absolute;
  198 + top: 42px;
  199 + right: 0;
  200 + bottom: 0;
  201 + left: 0;
  202 + z-index: 99;
  203 + background-color: #fff;
  204 + text-align: center
  205 +}
  206 +
  207 +.fixed-table-body .card-view .title {
  208 + font-weight: 700;
  209 + display: inline-block;
  210 + min-width: 30%;
  211 + text-align: left !important
  212 +}
  213 +
  214 +.table td, .table th {
  215 + vertical-align: middle
  216 +}
  217 +
  218 +.fixed-table-toolbar .dropdown-menu {
  219 + text-align: left;
  220 + max-height: 300px;
  221 + overflow: auto
  222 +}
  223 +
  224 +.fixed-table-toolbar .btn-group > .btn-group {
  225 + display: inline-block;
  226 + margin-left: -1px !important
  227 +}
  228 +
  229 +.fixed-table-toolbar .btn-group > .btn-group > .btn {
  230 + border-radius: 0
  231 +}
  232 +
  233 +.fixed-table-toolbar .btn-group > .btn-group:first-child > .btn {
  234 + border-top-left-radius: 4px;
  235 + border-bottom-left-radius: 4px
  236 +}
  237 +
  238 +.fixed-table-toolbar .btn-group > .btn-group:last-child > .btn {
  239 + border-top-right-radius: 4px;
  240 + border-bottom-right-radius: 4px
  241 +}
  242 +
  243 +.bootstrap-table .table > thead > tr > th {
  244 + vertical-align: bottom;
  245 + border-bottom: 1px solid #ddd
  246 +}
  247 +
  248 +.bootstrap-table .table thead > tr > th {
  249 + padding: 0;
  250 + margin: 0
  251 +}
  252 +
  253 +.bootstrap-table .fixed-table-footer tbody > tr > td {
  254 + padding: 0 !important
  255 +}
  256 +
  257 +.bootstrap-table .fixed-table-footer .table {
  258 + border-bottom: none;
  259 + border-radius: 0;
  260 + padding: 0 !important
  261 +}
  262 +
  263 +.pull-right .dropdown-menu {
  264 + right: 0;
  265 + left: auto
  266 +}
  267 +
  268 +p.fixed-table-scroll-inner {
  269 + width: 100%;
  270 + height: 200px
  271 +}
  272 +
  273 +div.fixed-table-scroll-outer {
  274 + top: 0;
  275 + left: 0;
  276 + visibility: hidden;
  277 + width: 200px;
  278 + height: 150px;
  279 + overflow: hidden
  280 +}
3 281 \ No newline at end of file
... ...
src/main/resources/static/js/jquery.min.js
1 1 /*! jQuery v2.2.4 | (c) jQuery Foundation | jquery.org/license */
2   -!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=a.document,e=c.slice,f=c.concat,g=c.push,h=c.indexOf,i={},j=i.toString,k=i.hasOwnProperty,l={},m="2.2.4",n=function(a,b){return new n.fn.init(a,b)},o=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,p=/^-ms-/,q=/-([\da-z])/gi,r=function(a,b){return b.toUpperCase()};n.fn=n.prototype={jquery:m,constructor:n,selector:"",length:0,toArray:function(){return e.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:e.call(this)},pushStack:function(a){var b=n.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a){return n.each(this,a)},map:function(a){return this.pushStack(n.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(e.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor()},push:g,sort:c.sort,splice:c.splice},n.extend=n.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||n.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(a=arguments[h]))for(b in a)c=g[b],d=a[b],g!==d&&(j&&d&&(n.isPlainObject(d)||(e=n.isArray(d)))?(e?(e=!1,f=c&&n.isArray(c)?c:[]):f=c&&n.isPlainObject(c)?c:{},g[b]=n.extend(j,f,d)):void 0!==d&&(g[b]=d));return g},n.extend({expando:"jQuery"+(m+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===n.type(a)},isArray:Array.isArray,isWindow:function(a){return null!=a&&a===a.window},isNumeric:function(a){var b=a&&a.toString();return!n.isArray(a)&&b-parseFloat(b)+1>=0},isPlainObject:function(a){var b;if("object"!==n.type(a)||a.nodeType||n.isWindow(a))return!1;if(a.constructor&&!k.call(a,"constructor")&&!k.call(a.constructor.prototype||{},"isPrototypeOf"))return!1;for(b in a);return void 0===b||k.call(a,b)},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?i[j.call(a)]||"object":typeof a},globalEval:function(a){var b,c=eval;a=n.trim(a),a&&(1===a.indexOf("use strict")?(b=d.createElement("script"),b.text=a,d.head.appendChild(b).parentNode.removeChild(b)):c(a))},camelCase:function(a){return a.replace(p,"ms-").replace(q,r)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b){var c,d=0;if(s(a)){for(c=a.length;c>d;d++)if(b.call(a[d],d,a[d])===!1)break}else for(d in a)if(b.call(a[d],d,a[d])===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(o,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(s(Object(a))?n.merge(c,"string"==typeof a?[a]:a):g.call(c,a)),c},inArray:function(a,b,c){return null==b?-1:h.call(b,a,c)},merge:function(a,b){for(var c=+b.length,d=0,e=a.length;c>d;d++)a[e++]=b[d];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,e,g=0,h=[];if(s(a))for(d=a.length;d>g;g++)e=b(a[g],g,c),null!=e&&h.push(e);else for(g in a)e=b(a[g],g,c),null!=e&&h.push(e);return f.apply([],h)},guid:1,proxy:function(a,b){var c,d,f;return"string"==typeof b&&(c=a[b],b=a,a=c),n.isFunction(a)?(d=e.call(arguments,2),f=function(){return a.apply(b||this,d.concat(e.call(arguments)))},f.guid=a.guid=a.guid||n.guid++,f):void 0},now:Date.now,support:l}),"function"==typeof Symbol&&(n.fn[Symbol.iterator]=c[Symbol.iterator]),n.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(a,b){i["[object "+b+"]"]=b.toLowerCase()});function s(a){var b=!!a&&"length"in a&&a.length,c=n.type(a);return"function"===c||n.isWindow(a)?!1:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a}var t=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+1*new Date,v=a.document,w=0,x=0,y=ga(),z=ga(),A=ga(),B=function(a,b){return a===b&&(l=!0),0},C=1<<31,D={}.hasOwnProperty,E=[],F=E.pop,G=E.push,H=E.push,I=E.slice,J=function(a,b){for(var c=0,d=a.length;d>c;c++)if(a[c]===b)return c;return-1},K="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",L="[\\x20\\t\\r\\n\\f]",M="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",N="\\["+L+"*("+M+")(?:"+L+"*([*^$|!~]?=)"+L+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+M+"))|)"+L+"*\\]",O=":("+M+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+N+")*)|.*)\\)|)",P=new RegExp(L+"+","g"),Q=new RegExp("^"+L+"+|((?:^|[^\\\\])(?:\\\\.)*)"+L+"+$","g"),R=new RegExp("^"+L+"*,"+L+"*"),S=new RegExp("^"+L+"*([>+~]|"+L+")"+L+"*"),T=new RegExp("="+L+"*([^\\]'\"]*?)"+L+"*\\]","g"),U=new RegExp(O),V=new RegExp("^"+M+"$"),W={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),TAG:new RegExp("^("+M+"|[*])"),ATTR:new RegExp("^"+N),PSEUDO:new RegExp("^"+O),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+L+"*(even|odd|(([+-]|)(\\d*)n|)"+L+"*(?:([+-]|)"+L+"*(\\d+)|))"+L+"*\\)|)","i"),bool:new RegExp("^(?:"+K+")$","i"),needsContext:new RegExp("^"+L+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+L+"*((?:-\\d)?\\d*)"+L+"*\\)|)(?=[^-]|$)","i")},X=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,$=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,_=/[+~]/,aa=/'|\\/g,ba=new RegExp("\\\\([\\da-f]{1,6}"+L+"?|("+L+")|.)","ig"),ca=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)},da=function(){m()};try{H.apply(E=I.call(v.childNodes),v.childNodes),E[v.childNodes.length].nodeType}catch(ea){H={apply:E.length?function(a,b){G.apply(a,I.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function fa(a,b,d,e){var f,h,j,k,l,o,r,s,w=b&&b.ownerDocument,x=b?b.nodeType:9;if(d=d||[],"string"!=typeof a||!a||1!==x&&9!==x&&11!==x)return d;if(!e&&((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,p)){if(11!==x&&(o=$.exec(a)))if(f=o[1]){if(9===x){if(!(j=b.getElementById(f)))return d;if(j.id===f)return d.push(j),d}else if(w&&(j=w.getElementById(f))&&t(b,j)&&j.id===f)return d.push(j),d}else{if(o[2])return H.apply(d,b.getElementsByTagName(a)),d;if((f=o[3])&&c.getElementsByClassName&&b.getElementsByClassName)return H.apply(d,b.getElementsByClassName(f)),d}if(c.qsa&&!A[a+" "]&&(!q||!q.test(a))){if(1!==x)w=b,s=a;else if("object"!==b.nodeName.toLowerCase()){(k=b.getAttribute("id"))?k=k.replace(aa,"\\$&"):b.setAttribute("id",k=u),r=g(a),h=r.length,l=V.test(k)?"#"+k:"[id='"+k+"']";while(h--)r[h]=l+" "+qa(r[h]);s=r.join(","),w=_.test(a)&&oa(b.parentNode)||b}if(s)try{return H.apply(d,w.querySelectorAll(s)),d}catch(y){}finally{k===u&&b.removeAttribute("id")}}}return i(a.replace(Q,"$1"),b,d,e)}function ga(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function ha(a){return a[u]=!0,a}function ia(a){var b=n.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function ja(a,b){var c=a.split("|"),e=c.length;while(e--)d.attrHandle[c[e]]=b}function ka(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||C)-(~a.sourceIndex||C);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function la(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function ma(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function na(a){return ha(function(b){return b=+b,ha(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function oa(a){return a&&"undefined"!=typeof a.getElementsByTagName&&a}c=fa.support={},f=fa.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?"HTML"!==b.nodeName:!1},m=fa.setDocument=function(a){var b,e,g=a?a.ownerDocument||a:v;return g!==n&&9===g.nodeType&&g.documentElement?(n=g,o=n.documentElement,p=!f(n),(e=n.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener("unload",da,!1):e.attachEvent&&e.attachEvent("onunload",da)),c.attributes=ia(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ia(function(a){return a.appendChild(n.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=Z.test(n.getElementsByClassName),c.getById=ia(function(a){return o.appendChild(a).id=u,!n.getElementsByName||!n.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if("undefined"!=typeof b.getElementById&&p){var c=b.getElementById(a);return c?[c]:[]}},d.filter.ID=function(a){var b=a.replace(ba,ca);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(ba,ca);return function(a){var c="undefined"!=typeof a.getAttributeNode&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return"undefined"!=typeof b.getElementsByTagName?b.getElementsByTagName(a):c.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){return"undefined"!=typeof b.getElementsByClassName&&p?b.getElementsByClassName(a):void 0},r=[],q=[],(c.qsa=Z.test(n.querySelectorAll))&&(ia(function(a){o.appendChild(a).innerHTML="<a id='"+u+"'></a><select id='"+u+"-\r\\' msallowcapture=''><option selected=''></option></select>",a.querySelectorAll("[msallowcapture^='']").length&&q.push("[*^$]="+L+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+L+"*(?:value|"+K+")"),a.querySelectorAll("[id~="+u+"-]").length||q.push("~="),a.querySelectorAll(":checked").length||q.push(":checked"),a.querySelectorAll("a#"+u+"+*").length||q.push(".#.+[+~]")}),ia(function(a){var b=n.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+L+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=Z.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ia(function(a){c.disconnectedMatch=s.call(a,"div"),s.call(a,"[s!='']:x"),r.push("!=",O)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=Z.test(o.compareDocumentPosition),t=b||Z.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===n||a.ownerDocument===v&&t(v,a)?-1:b===n||b.ownerDocument===v&&t(v,b)?1:k?J(k,a)-J(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,e=a.parentNode,f=b.parentNode,g=[a],h=[b];if(!e||!f)return a===n?-1:b===n?1:e?-1:f?1:k?J(k,a)-J(k,b):0;if(e===f)return ka(a,b);c=a;while(c=c.parentNode)g.unshift(c);c=b;while(c=c.parentNode)h.unshift(c);while(g[d]===h[d])d++;return d?ka(g[d],h[d]):g[d]===v?-1:h[d]===v?1:0},n):n},fa.matches=function(a,b){return fa(a,null,null,b)},fa.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(T,"='$1']"),c.matchesSelector&&p&&!A[b+" "]&&(!r||!r.test(b))&&(!q||!q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return fa(b,n,null,[a]).length>0},fa.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},fa.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&D.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},fa.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},fa.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=fa.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=fa.selectors={cacheLength:50,createPseudo:ha,match:W,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(ba,ca),a[3]=(a[3]||a[4]||a[5]||"").replace(ba,ca),"~="===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]||fa.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]&&fa.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return W.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&U.test(c)&&(b=g(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(ba,ca).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+L+")"+a+"("+L+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||"undefined"!=typeof a.getAttribute&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=fa.attr(d,a);return null==e?"!="===b:b?(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e.replace(P," ")+" ").indexOf(c)>-1:"|="===b?e===c||e.slice(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h,t=!1;if(q){if(f){while(p){m=b;while(m=m[p])if(h?m.nodeName.toLowerCase()===r:1===m.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){m=q,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n&&j[2],m=n&&q.childNodes[n];while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if(1===m.nodeType&&++t&&m===b){k[a]=[w,n,t];break}}else if(s&&(m=b,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n),t===!1)while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if((h?m.nodeName.toLowerCase()===r:1===m.nodeType)&&++t&&(s&&(l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),k[a]=[w,t]),m===b))break;return t-=e,t===d||t%d===0&&t/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||fa.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?ha(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=J(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:ha(function(a){var b=[],c=[],d=h(a.replace(Q,"$1"));return d[u]?ha(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),b[0]=null,!c.pop()}}),has:ha(function(a){return function(b){return fa(a,b).length>0}}),contains:ha(function(a){return a=a.replace(ba,ca),function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:ha(function(a){return V.test(a||"")||fa.error("unsupported lang: "+a),a=a.replace(ba,ca).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===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===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!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,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return Y.test(a.nodeName)},input:function(a){return X.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:na(function(){return[0]}),last:na(function(a,b){return[b-1]}),eq:na(function(a,b,c){return[0>c?c+b:c]}),even:na(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:na(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:na(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:na(function(a,b,c){for(var d=0>c?c+b:c;++d<b;)a.push(d);return a})}},d.pseudos.nth=d.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})d.pseudos[b]=la(b);for(b in{submit:!0,reset:!0})d.pseudos[b]=ma(b);function pa(){}pa.prototype=d.filters=d.pseudos,d.setFilters=new pa,g=fa.tokenize=function(a,b){var c,e,f,g,h,i,j,k=z[a+" "];if(k)return b?0:k.slice(0);h=a,i=[],j=d.preFilter;while(h){c&&!(e=R.exec(h))||(e&&(h=h.slice(e[0].length)||h),i.push(f=[])),c=!1,(e=S.exec(h))&&(c=e.shift(),f.push({value:c,type:e[0].replace(Q," ")}),h=h.slice(c.length));for(g in d.filter)!(e=W[g].exec(h))||j[g]&&!(e=j[g](e))||(c=e.shift(),f.push({value:c,type:g,matches:e}),h=h.slice(c.length));if(!c)break}return b?h.length:h?fa.error(a):z(a,i).slice(0)};function qa(a){for(var b=0,c=a.length,d="";c>b;b++)d+=a[b].value;return d}function ra(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=x++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j,k=[w,f];if(g){while(b=b[d])if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(j=b[u]||(b[u]={}),i=j[b.uniqueID]||(j[b.uniqueID]={}),(h=i[d])&&h[0]===w&&h[1]===f)return k[2]=h[2];if(i[d]=k,k[2]=a(b,c,g))return!0}}}function sa(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function ta(a,b,c){for(var d=0,e=b.length;e>d;d++)fa(a,b[d],c);return c}function ua(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(c&&!c(f,d,e)||(g.push(f),j&&b.push(h)));return g}function va(a,b,c,d,e,f){return d&&!d[u]&&(d=va(d)),e&&!e[u]&&(e=va(e,f)),ha(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||ta(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:ua(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=ua(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?J(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=ua(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):H.apply(g,r)})}function wa(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=ra(function(a){return a===b},h,!0),l=ra(function(a){return J(b,a)>-1},h,!0),m=[function(a,c,d){var e=!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d));return b=null,e}];f>i;i++)if(c=d.relative[a[i].type])m=[ra(sa(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;f>e;e++)if(d.relative[a[e].type])break;return va(i>1&&sa(m),i>1&&qa(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(Q,"$1"),c,e>i&&wa(a.slice(i,e)),f>e&&wa(a=a.slice(e)),f>e&&qa(a))}m.push(c)}return sa(m)}function xa(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,o,q,r=0,s="0",t=f&&[],u=[],v=j,x=f||e&&d.find.TAG("*",k),y=w+=null==v?1:Math.random()||.1,z=x.length;for(k&&(j=g===n||g||k);s!==z&&null!=(l=x[s]);s++){if(e&&l){o=0,g||l.ownerDocument===n||(m(l),h=!p);while(q=a[o++])if(q(l,g||n,h)){i.push(l);break}k&&(w=y)}c&&((l=!q&&l)&&r--,f&&t.push(l))}if(r+=s,c&&s!==r){o=0;while(q=b[o++])q(t,u,g,h);if(f){if(r>0)while(s--)t[s]||u[s]||(u[s]=F.call(i));u=ua(u)}H.apply(i,u),k&&!f&&u.length>0&&r+b.length>1&&fa.uniqueSort(i)}return k&&(w=y,j=v),t};return c?ha(f):f}return h=fa.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=wa(b[c]),f[u]?d.push(f):e.push(f);f=A(a,xa(e,d)),f.selector=a}return f},i=fa.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(b=(d.find.ID(k.matches[0].replace(ba,ca),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=W.needsContext.test(a)?0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(ba,ca),_.test(j[0].type)&&oa(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&qa(j),!a)return H.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,!b||_.test(a)&&oa(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ia(function(a){return 1&a.compareDocumentPosition(n.createElement("div"))}),ia(function(a){return a.innerHTML="<a href='#'></a>","#"===a.firstChild.getAttribute("href")})||ja("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ia(function(a){return a.innerHTML="<input/>",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||ja("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),ia(function(a){return null==a.getAttribute("disabled")})||ja(K,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),fa}(a);n.find=t,n.expr=t.selectors,n.expr[":"]=n.expr.pseudos,n.uniqueSort=n.unique=t.uniqueSort,n.text=t.getText,n.isXMLDoc=t.isXML,n.contains=t.contains;var u=function(a,b,c){var d=[],e=void 0!==c;while((a=a[b])&&9!==a.nodeType)if(1===a.nodeType){if(e&&n(a).is(c))break;d.push(a)}return d},v=function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c},w=n.expr.match.needsContext,x=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,y=/^.[^:#\[\.,]*$/;function z(a,b,c){if(n.isFunction(b))return n.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return n.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(y.test(b))return n.filter(b,a,c);b=n.filter(b,a)}return n.grep(a,function(a){return h.call(b,a)>-1!==c})}n.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?n.find.matchesSelector(d,a)?[d]:[]:n.find.matches(a,n.grep(b,function(a){return 1===a.nodeType}))},n.fn.extend({find:function(a){var b,c=this.length,d=[],e=this;if("string"!=typeof a)return this.pushStack(n(a).filter(function(){for(b=0;c>b;b++)if(n.contains(e[b],this))return!0}));for(b=0;c>b;b++)n.find(a,e[b],d);return d=this.pushStack(c>1?n.unique(d):d),d.selector=this.selector?this.selector+" "+a:a,d},filter:function(a){return this.pushStack(z(this,a||[],!1))},not:function(a){return this.pushStack(z(this,a||[],!0))},is:function(a){return!!z(this,"string"==typeof a&&w.test(a)?n(a):a||[],!1).length}});var A,B=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,C=n.fn.init=function(a,b,c){var e,f;if(!a)return this;if(c=c||A,"string"==typeof a){if(e="<"===a[0]&&">"===a[a.length-1]&&a.length>=3?[null,a,null]:B.exec(a),!e||!e[1]&&b)return!b||b.jquery?(b||c).find(a):this.constructor(b).find(a);if(e[1]){if(b=b instanceof n?b[0]:b,n.merge(this,n.parseHTML(e[1],b&&b.nodeType?b.ownerDocument||b:d,!0)),x.test(e[1])&&n.isPlainObject(b))for(e in b)n.isFunction(this[e])?this[e](b[e]):this.attr(e,b[e]);return this}return f=d.getElementById(e[2]),f&&f.parentNode&&(this.length=1,this[0]=f),this.context=d,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):n.isFunction(a)?void 0!==c.ready?c.ready(a):a(n):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),n.makeArray(a,this))};C.prototype=n.fn,A=n(d);var D=/^(?:parents|prev(?:Until|All))/,E={children:!0,contents:!0,next:!0,prev:!0};n.fn.extend({has:function(a){var b=n(a,this),c=b.length;return this.filter(function(){for(var a=0;c>a;a++)if(n.contains(this,b[a]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=w.test(a)||"string"!=typeof a?n(a,b||this.context):0;e>d;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&n.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?n.uniqueSort(f):f)},index:function(a){return a?"string"==typeof a?h.call(n(a),this[0]):h.call(this,a.jquery?a[0]:a):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(n.uniqueSort(n.merge(this.get(),n(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function F(a,b){while((a=a[b])&&1!==a.nodeType);return a}n.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return u(a,"parentNode")},parentsUntil:function(a,b,c){return u(a,"parentNode",c)},next:function(a){return F(a,"nextSibling")},prev:function(a){return F(a,"previousSibling")},nextAll:function(a){return u(a,"nextSibling")},prevAll:function(a){return u(a,"previousSibling")},nextUntil:function(a,b,c){return u(a,"nextSibling",c)},prevUntil:function(a,b,c){return u(a,"previousSibling",c)},siblings:function(a){return v((a.parentNode||{}).firstChild,a)},children:function(a){return v(a.firstChild)},contents:function(a){return a.contentDocument||n.merge([],a.childNodes)}},function(a,b){n.fn[a]=function(c,d){var e=n.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=n.filter(d,e)),this.length>1&&(E[a]||n.uniqueSort(e),D.test(a)&&e.reverse()),this.pushStack(e)}});var G=/\S+/g;function H(a){var b={};return n.each(a.match(G)||[],function(a,c){b[c]=!0}),b}n.Callbacks=function(a){a="string"==typeof a?H(a):n.extend({},a);var b,c,d,e,f=[],g=[],h=-1,i=function(){for(e=a.once,d=b=!0;g.length;h=-1){c=g.shift();while(++h<f.length)f[h].apply(c[0],c[1])===!1&&a.stopOnFalse&&(h=f.length,c=!1)}a.memory||(c=!1),b=!1,e&&(f=c?[]:"")},j={add:function(){return f&&(c&&!b&&(h=f.length-1,g.push(c)),function d(b){n.each(b,function(b,c){n.isFunction(c)?a.unique&&j.has(c)||f.push(c):c&&c.length&&"string"!==n.type(c)&&d(c)})}(arguments),c&&!b&&i()),this},remove:function(){return n.each(arguments,function(a,b){var c;while((c=n.inArray(b,f,c))>-1)f.splice(c,1),h>=c&&h--}),this},has:function(a){return a?n.inArray(a,f)>-1:f.length>0},empty:function(){return f&&(f=[]),this},disable:function(){return e=g=[],f=c="",this},disabled:function(){return!f},lock:function(){return e=g=[],c||(f=c=""),this},locked:function(){return!!e},fireWith:function(a,c){return e||(c=c||[],c=[a,c.slice?c.slice():c],g.push(c),b||i()),this},fire:function(){return j.fireWith(this,arguments),this},fired:function(){return!!d}};return j},n.extend({Deferred:function(a){var b=[["resolve","done",n.Callbacks("once memory"),"resolved"],["reject","fail",n.Callbacks("once memory"),"rejected"],["notify","progress",n.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return n.Deferred(function(c){n.each(b,function(b,f){var g=n.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&n.isFunction(a.promise)?a.promise().progress(c.notify).done(c.resolve).fail(c.reject):c[f[0]+"With"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?n.extend(a,d):d}},e={};return d.pipe=d.then,n.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=e.call(arguments),d=c.length,f=1!==d||a&&n.isFunction(a.promise)?d:0,g=1===f?a:n.Deferred(),h=function(a,b,c){return function(d){b[a]=this,c[a]=arguments.length>1?e.call(arguments):d,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(d>1)for(i=new Array(d),j=new Array(d),k=new Array(d);d>b;b++)c[b]&&n.isFunction(c[b].promise)?c[b].promise().progress(h(b,j,i)).done(h(b,k,c)).fail(g.reject):--f;return f||g.resolveWith(k,c),g.promise()}});var I;n.fn.ready=function(a){return n.ready.promise().done(a),this},n.extend({isReady:!1,readyWait:1,holdReady:function(a){a?n.readyWait++:n.ready(!0)},ready:function(a){(a===!0?--n.readyWait:n.isReady)||(n.isReady=!0,a!==!0&&--n.readyWait>0||(I.resolveWith(d,[n]),n.fn.triggerHandler&&(n(d).triggerHandler("ready"),n(d).off("ready"))))}});function J(){d.removeEventListener("DOMContentLoaded",J),a.removeEventListener("load",J),n.ready()}n.ready.promise=function(b){return I||(I=n.Deferred(),"complete"===d.readyState||"loading"!==d.readyState&&!d.documentElement.doScroll?a.setTimeout(n.ready):(d.addEventListener("DOMContentLoaded",J),a.addEventListener("load",J))),I.promise(b)},n.ready.promise();var K=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if("object"===n.type(c)){e=!0;for(h in c)K(a,b,h,c[h],!0,f,g)}else if(void 0!==d&&(e=!0,n.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(n(a),c)})),b))for(;i>h;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f},L=function(a){return 1===a.nodeType||9===a.nodeType||!+a.nodeType};function M(){this.expando=n.expando+M.uid++}M.uid=1,M.prototype={register:function(a,b){var c=b||{};return a.nodeType?a[this.expando]=c:Object.defineProperty(a,this.expando,{value:c,writable:!0,configurable:!0}),a[this.expando]},cache:function(a){if(!L(a))return{};var b=a[this.expando];return b||(b={},L(a)&&(a.nodeType?a[this.expando]=b:Object.defineProperty(a,this.expando,{value:b,configurable:!0}))),b},set:function(a,b,c){var d,e=this.cache(a);if("string"==typeof b)e[b]=c;else for(d in b)e[d]=b[d];return e},get:function(a,b){return void 0===b?this.cache(a):a[this.expando]&&a[this.expando][b]},access:function(a,b,c){var d;return void 0===b||b&&"string"==typeof b&&void 0===c?(d=this.get(a,b),void 0!==d?d:this.get(a,n.camelCase(b))):(this.set(a,b,c),void 0!==c?c:b)},remove:function(a,b){var c,d,e,f=a[this.expando];if(void 0!==f){if(void 0===b)this.register(a);else{n.isArray(b)?d=b.concat(b.map(n.camelCase)):(e=n.camelCase(b),b in f?d=[b,e]:(d=e,d=d in f?[d]:d.match(G)||[])),c=d.length;while(c--)delete f[d[c]]}(void 0===b||n.isEmptyObject(f))&&(a.nodeType?a[this.expando]=void 0:delete a[this.expando])}},hasData:function(a){var b=a[this.expando];return void 0!==b&&!n.isEmptyObject(b)}};var N=new M,O=new M,P=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Q=/[A-Z]/g;function R(a,b,c){var d;if(void 0===c&&1===a.nodeType)if(d="data-"+b.replace(Q,"-$&").toLowerCase(),c=a.getAttribute(d),"string"==typeof c){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:+c+""===c?+c:P.test(c)?n.parseJSON(c):c;
3   -}catch(e){}O.set(a,b,c)}else c=void 0;return c}n.extend({hasData:function(a){return O.hasData(a)||N.hasData(a)},data:function(a,b,c){return O.access(a,b,c)},removeData:function(a,b){O.remove(a,b)},_data:function(a,b,c){return N.access(a,b,c)},_removeData:function(a,b){N.remove(a,b)}}),n.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=O.get(f),1===f.nodeType&&!N.get(f,"hasDataAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=n.camelCase(d.slice(5)),R(f,d,e[d])));N.set(f,"hasDataAttrs",!0)}return e}return"object"==typeof a?this.each(function(){O.set(this,a)}):K(this,function(b){var c,d;if(f&&void 0===b){if(c=O.get(f,a)||O.get(f,a.replace(Q,"-$&").toLowerCase()),void 0!==c)return c;if(d=n.camelCase(a),c=O.get(f,d),void 0!==c)return c;if(c=R(f,d,void 0),void 0!==c)return c}else d=n.camelCase(a),this.each(function(){var c=O.get(this,d);O.set(this,d,b),a.indexOf("-")>-1&&void 0!==c&&O.set(this,a,b)})},null,b,arguments.length>1,null,!0)},removeData:function(a){return this.each(function(){O.remove(this,a)})}}),n.extend({queue:function(a,b,c){var d;return a?(b=(b||"fx")+"queue",d=N.get(a,b),c&&(!d||n.isArray(c)?d=N.access(a,b,n.makeArray(c)):d.push(c)),d||[]):void 0},dequeue:function(a,b){b=b||"fx";var c=n.queue(a,b),d=c.length,e=c.shift(),f=n._queueHooks(a,b),g=function(){n.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return N.get(a,c)||N.access(a,c,{empty:n.Callbacks("once memory").add(function(){N.remove(a,[b+"queue",c])})})}}),n.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.length<c?n.queue(this[0],a):void 0===b?this:this.each(function(){var c=n.queue(this,a,b);n._queueHooks(this,a),"fx"===a&&"inprogress"!==c[0]&&n.dequeue(this,a)})},dequeue:function(a){return this.each(function(){n.dequeue(this,a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,b){var c,d=1,e=n.Deferred(),f=this,g=this.length,h=function(){--d||e.resolveWith(f,[f])};"string"!=typeof a&&(b=a,a=void 0),a=a||"fx";while(g--)c=N.get(f[g],a+"queueHooks"),c&&c.empty&&(d++,c.empty.add(h));return h(),e.promise(b)}});var S=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,T=new RegExp("^(?:([+-])=|)("+S+")([a-z%]*)$","i"),U=["Top","Right","Bottom","Left"],V=function(a,b){return a=b||a,"none"===n.css(a,"display")||!n.contains(a.ownerDocument,a)};function W(a,b,c,d){var e,f=1,g=20,h=d?function(){return d.cur()}:function(){return n.css(a,b,"")},i=h(),j=c&&c[3]||(n.cssNumber[b]?"":"px"),k=(n.cssNumber[b]||"px"!==j&&+i)&&T.exec(n.css(a,b));if(k&&k[3]!==j){j=j||k[3],c=c||[],k=+i||1;do f=f||".5",k/=f,n.style(a,b,k+j);while(f!==(f=h()/i)&&1!==f&&--g)}return c&&(k=+k||+i||0,e=c[1]?k+(c[1]+1)*c[2]:+c[2],d&&(d.unit=j,d.start=k,d.end=e)),e}var X=/^(?:checkbox|radio)$/i,Y=/<([\w:-]+)/,Z=/^$|\/(?:java|ecma)script/i,$={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};$.optgroup=$.option,$.tbody=$.tfoot=$.colgroup=$.caption=$.thead,$.th=$.td;function _(a,b){var c="undefined"!=typeof a.getElementsByTagName?a.getElementsByTagName(b||"*"):"undefined"!=typeof a.querySelectorAll?a.querySelectorAll(b||"*"):[];return void 0===b||b&&n.nodeName(a,b)?n.merge([a],c):c}function aa(a,b){for(var c=0,d=a.length;d>c;c++)N.set(a[c],"globalEval",!b||N.get(b[c],"globalEval"))}var ba=/<|&#?\w+;/;function ca(a,b,c,d,e){for(var f,g,h,i,j,k,l=b.createDocumentFragment(),m=[],o=0,p=a.length;p>o;o++)if(f=a[o],f||0===f)if("object"===n.type(f))n.merge(m,f.nodeType?[f]:f);else if(ba.test(f)){g=g||l.appendChild(b.createElement("div")),h=(Y.exec(f)||["",""])[1].toLowerCase(),i=$[h]||$._default,g.innerHTML=i[1]+n.htmlPrefilter(f)+i[2],k=i[0];while(k--)g=g.lastChild;n.merge(m,g.childNodes),g=l.firstChild,g.textContent=""}else m.push(b.createTextNode(f));l.textContent="",o=0;while(f=m[o++])if(d&&n.inArray(f,d)>-1)e&&e.push(f);else if(j=n.contains(f.ownerDocument,f),g=_(l.appendChild(f),"script"),j&&aa(g),c){k=0;while(f=g[k++])Z.test(f.type||"")&&c.push(f)}return l}!function(){var a=d.createDocumentFragment(),b=a.appendChild(d.createElement("div")),c=d.createElement("input");c.setAttribute("type","radio"),c.setAttribute("checked","checked"),c.setAttribute("name","t"),b.appendChild(c),l.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,b.innerHTML="<textarea>x</textarea>",l.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue}();var da=/^key/,ea=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,fa=/^([^.]*)(?:\.(.+)|)/;function ga(){return!0}function ha(){return!1}function ia(){try{return d.activeElement}catch(a){}}function ja(a,b,c,d,e,f){var g,h;if("object"==typeof b){"string"!=typeof c&&(d=d||c,c=void 0);for(h in b)ja(a,h,c,d,b[h],f);return a}if(null==d&&null==e?(e=c,d=c=void 0):null==e&&("string"==typeof c?(e=d,d=void 0):(e=d,d=c,c=void 0)),e===!1)e=ha;else if(!e)return a;return 1===f&&(g=e,e=function(a){return n().off(a),g.apply(this,arguments)},e.guid=g.guid||(g.guid=n.guid++)),a.each(function(){n.event.add(this,b,e,d,c)})}n.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=N.get(a);if(r){c.handler&&(f=c,c=f.handler,e=f.selector),c.guid||(c.guid=n.guid++),(i=r.events)||(i=r.events={}),(g=r.handle)||(g=r.handle=function(b){return"undefined"!=typeof n&&n.event.triggered!==b.type?n.event.dispatch.apply(a,arguments):void 0}),b=(b||"").match(G)||[""],j=b.length;while(j--)h=fa.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o&&(l=n.event.special[o]||{},o=(e?l.delegateType:l.bindType)||o,l=n.event.special[o]||{},k=n.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&n.expr.match.needsContext.test(e),namespace:p.join(".")},f),(m=i[o])||(m=i[o]=[],m.delegateCount=0,l.setup&&l.setup.call(a,d,p,g)!==!1||a.addEventListener&&a.addEventListener(o,g)),l.add&&(l.add.call(a,k),k.handler.guid||(k.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,k):m.push(k),n.event.global[o]=!0)}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=N.hasData(a)&&N.get(a);if(r&&(i=r.events)){b=(b||"").match(G)||[""],j=b.length;while(j--)if(h=fa.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o){l=n.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,m=i[o]||[],h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),g=f=m.length;while(f--)k=m[f],!e&&q!==k.origType||c&&c.guid!==k.guid||h&&!h.test(k.namespace)||d&&d!==k.selector&&("**"!==d||!k.selector)||(m.splice(f,1),k.selector&&m.delegateCount--,l.remove&&l.remove.call(a,k));g&&!m.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!==!1||n.removeEvent(a,o,r.handle),delete i[o])}else for(o in i)n.event.remove(a,o+b[j],c,d,!0);n.isEmptyObject(i)&&N.remove(a,"handle events")}},dispatch:function(a){a=n.event.fix(a);var b,c,d,f,g,h=[],i=e.call(arguments),j=(N.get(this,"events")||{})[a.type]||[],k=n.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){h=n.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,c=0;while((g=f.handlers[c++])&&!a.isImmediatePropagationStopped())a.rnamespace&&!a.rnamespace.test(g.namespace)||(a.handleObj=g,a.data=g.data,d=((n.event.special[g.origType]||{}).handle||g.handler).apply(f.elem,i),void 0!==d&&(a.result=d)===!1&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&("click"!==a.type||isNaN(a.button)||a.button<1))for(;i!==this;i=i.parentNode||this)if(1===i.nodeType&&(i.disabled!==!0||"click"!==a.type)){for(d=[],c=0;h>c;c++)f=b[c],e=f.selector+" ",void 0===d[e]&&(d[e]=f.needsContext?n(e,this).index(i)>-1:n.find(e,this,null,[i]).length),d[e]&&d.push(f);d.length&&g.push({elem:i,handlers:d})}return h<b.length&&g.push({elem:this,handlers:b.slice(h)}),g},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(a,b){return null==a.which&&(a.which=null!=b.charCode?b.charCode:b.keyCode),a}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,b){var c,e,f,g=b.button;return null==a.pageX&&null!=b.clientX&&(c=a.target.ownerDocument||d,e=c.documentElement,f=c.body,a.pageX=b.clientX+(e&&e.scrollLeft||f&&f.scrollLeft||0)-(e&&e.clientLeft||f&&f.clientLeft||0),a.pageY=b.clientY+(e&&e.scrollTop||f&&f.scrollTop||0)-(e&&e.clientTop||f&&f.clientTop||0)),a.which||void 0===g||(a.which=1&g?1:2&g?3:4&g?2:0),a}},fix:function(a){if(a[n.expando])return a;var b,c,e,f=a.type,g=a,h=this.fixHooks[f];h||(this.fixHooks[f]=h=ea.test(f)?this.mouseHooks:da.test(f)?this.keyHooks:{}),e=h.props?this.props.concat(h.props):this.props,a=new n.Event(g),b=e.length;while(b--)c=e[b],a[c]=g[c];return a.target||(a.target=d),3===a.target.nodeType&&(a.target=a.target.parentNode),h.filter?h.filter(a,g):a},special:{load:{noBubble:!0},focus:{trigger:function(){return this!==ia()&&this.focus?(this.focus(),!1):void 0},delegateType:"focusin"},blur:{trigger:function(){return this===ia()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return"checkbox"===this.type&&this.click&&n.nodeName(this,"input")?(this.click(),!1):void 0},_default:function(a){return n.nodeName(a.target,"a")}},beforeunload:{postDispatch:function(a){void 0!==a.result&&a.originalEvent&&(a.originalEvent.returnValue=a.result)}}}},n.removeEvent=function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c)},n.Event=function(a,b){return this instanceof n.Event?(a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||void 0===a.defaultPrevented&&a.returnValue===!1?ga:ha):this.type=a,b&&n.extend(this,b),this.timeStamp=a&&a.timeStamp||n.now(),void(this[n.expando]=!0)):new n.Event(a,b)},n.Event.prototype={constructor:n.Event,isDefaultPrevented:ha,isPropagationStopped:ha,isImmediatePropagationStopped:ha,isSimulated:!1,preventDefault:function(){var a=this.originalEvent;this.isDefaultPrevented=ga,a&&!this.isSimulated&&a.preventDefault()},stopPropagation:function(){var a=this.originalEvent;this.isPropagationStopped=ga,a&&!this.isSimulated&&a.stopPropagation()},stopImmediatePropagation:function(){var a=this.originalEvent;this.isImmediatePropagationStopped=ga,a&&!this.isSimulated&&a.stopImmediatePropagation(),this.stopPropagation()}},n.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(a,b){n.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c,d=this,e=a.relatedTarget,f=a.handleObj;return e&&(e===d||n.contains(d,e))||(a.type=f.origType,c=f.handler.apply(this,arguments),a.type=b),c}}}),n.fn.extend({on:function(a,b,c,d){return ja(this,a,b,c,d)},one:function(a,b,c,d){return ja(this,a,b,c,d,1)},off:function(a,b,c){var d,e;if(a&&a.preventDefault&&a.handleObj)return d=a.handleObj,n(a.delegateTarget).off(d.namespace?d.origType+"."+d.namespace:d.origType,d.selector,d.handler),this;if("object"==typeof a){for(e in a)this.off(e,b,a[e]);return this}return b!==!1&&"function"!=typeof b||(c=b,b=void 0),c===!1&&(c=ha),this.each(function(){n.event.remove(this,a,c,b)})}});var ka=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,la=/<script|<style|<link/i,ma=/checked\s*(?:[^=]|=\s*.checked.)/i,na=/^true\/(.*)/,oa=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function pa(a,b){return n.nodeName(a,"table")&&n.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function qa(a){return a.type=(null!==a.getAttribute("type"))+"/"+a.type,a}function ra(a){var b=na.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function sa(a,b){var c,d,e,f,g,h,i,j;if(1===b.nodeType){if(N.hasData(a)&&(f=N.access(a),g=N.set(b,f),j=f.events)){delete g.handle,g.events={};for(e in j)for(c=0,d=j[e].length;d>c;c++)n.event.add(b,e,j[e][c])}O.hasData(a)&&(h=O.access(a),i=n.extend({},h),O.set(b,i))}}function ta(a,b){var c=b.nodeName.toLowerCase();"input"===c&&X.test(a.type)?b.checked=a.checked:"input"!==c&&"textarea"!==c||(b.defaultValue=a.defaultValue)}function ua(a,b,c,d){b=f.apply([],b);var e,g,h,i,j,k,m=0,o=a.length,p=o-1,q=b[0],r=n.isFunction(q);if(r||o>1&&"string"==typeof q&&!l.checkClone&&ma.test(q))return a.each(function(e){var f=a.eq(e);r&&(b[0]=q.call(this,e,f.html())),ua(f,b,c,d)});if(o&&(e=ca(b,a[0].ownerDocument,!1,a,d),g=e.firstChild,1===e.childNodes.length&&(e=g),g||d)){for(h=n.map(_(e,"script"),qa),i=h.length;o>m;m++)j=e,m!==p&&(j=n.clone(j,!0,!0),i&&n.merge(h,_(j,"script"))),c.call(a[m],j,m);if(i)for(k=h[h.length-1].ownerDocument,n.map(h,ra),m=0;i>m;m++)j=h[m],Z.test(j.type||"")&&!N.access(j,"globalEval")&&n.contains(k,j)&&(j.src?n._evalUrl&&n._evalUrl(j.src):n.globalEval(j.textContent.replace(oa,"")))}return a}function va(a,b,c){for(var d,e=b?n.filter(b,a):a,f=0;null!=(d=e[f]);f++)c||1!==d.nodeType||n.cleanData(_(d)),d.parentNode&&(c&&n.contains(d.ownerDocument,d)&&aa(_(d,"script")),d.parentNode.removeChild(d));return a}n.extend({htmlPrefilter:function(a){return a.replace(ka,"<$1></$2>")},clone:function(a,b,c){var d,e,f,g,h=a.cloneNode(!0),i=n.contains(a.ownerDocument,a);if(!(l.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||n.isXMLDoc(a)))for(g=_(h),f=_(a),d=0,e=f.length;e>d;d++)ta(f[d],g[d]);if(b)if(c)for(f=f||_(a),g=g||_(h),d=0,e=f.length;e>d;d++)sa(f[d],g[d]);else sa(a,h);return g=_(h,"script"),g.length>0&&aa(g,!i&&_(a,"script")),h},cleanData:function(a){for(var b,c,d,e=n.event.special,f=0;void 0!==(c=a[f]);f++)if(L(c)){if(b=c[N.expando]){if(b.events)for(d in b.events)e[d]?n.event.remove(c,d):n.removeEvent(c,d,b.handle);c[N.expando]=void 0}c[O.expando]&&(c[O.expando]=void 0)}}}),n.fn.extend({domManip:ua,detach:function(a){return va(this,a,!0)},remove:function(a){return va(this,a)},text:function(a){return K(this,function(a){return void 0===a?n.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=a)})},null,a,arguments.length)},append:function(){return ua(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=pa(this,a);b.appendChild(a)}})},prepend:function(){return ua(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=pa(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return ua(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return ua(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},empty:function(){for(var a,b=0;null!=(a=this[b]);b++)1===a.nodeType&&(n.cleanData(_(a,!1)),a.textContent="");return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return n.clone(this,a,b)})},html:function(a){return K(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a&&1===b.nodeType)return b.innerHTML;if("string"==typeof a&&!la.test(a)&&!$[(Y.exec(a)||["",""])[1].toLowerCase()]){a=n.htmlPrefilter(a);try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(n.cleanData(_(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=[];return ua(this,arguments,function(b){var c=this.parentNode;n.inArray(this,a)<0&&(n.cleanData(_(this)),c&&c.replaceChild(b,this))},a)}}),n.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){n.fn[a]=function(a){for(var c,d=[],e=n(a),f=e.length-1,h=0;f>=h;h++)c=h===f?this:this.clone(!0),n(e[h])[b](c),g.apply(d,c.get());return this.pushStack(d)}});var wa,xa={HTML:"block",BODY:"block"};function ya(a,b){var c=n(b.createElement(a)).appendTo(b.body),d=n.css(c[0],"display");return c.detach(),d}function za(a){var b=d,c=xa[a];return c||(c=ya(a,b),"none"!==c&&c||(wa=(wa||n("<iframe frameborder='0' width='0' height='0'/>")).appendTo(b.documentElement),b=wa[0].contentDocument,b.write(),b.close(),c=ya(a,b),wa.detach()),xa[a]=c),c}var Aa=/^margin/,Ba=new RegExp("^("+S+")(?!px)[a-z%]+$","i"),Ca=function(b){var c=b.ownerDocument.defaultView;return c&&c.opener||(c=a),c.getComputedStyle(b)},Da=function(a,b,c,d){var e,f,g={};for(f in b)g[f]=a.style[f],a.style[f]=b[f];e=c.apply(a,d||[]);for(f in b)a.style[f]=g[f];return e},Ea=d.documentElement;!function(){var b,c,e,f,g=d.createElement("div"),h=d.createElement("div");if(h.style){h.style.backgroundClip="content-box",h.cloneNode(!0).style.backgroundClip="",l.clearCloneStyle="content-box"===h.style.backgroundClip,g.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",g.appendChild(h);function i(){h.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",h.innerHTML="",Ea.appendChild(g);var d=a.getComputedStyle(h);b="1%"!==d.top,f="2px"===d.marginLeft,c="4px"===d.width,h.style.marginRight="50%",e="4px"===d.marginRight,Ea.removeChild(g)}n.extend(l,{pixelPosition:function(){return i(),b},boxSizingReliable:function(){return null==c&&i(),c},pixelMarginRight:function(){return null==c&&i(),e},reliableMarginLeft:function(){return null==c&&i(),f},reliableMarginRight:function(){var b,c=h.appendChild(d.createElement("div"));return c.style.cssText=h.style.cssText="-webkit-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",c.style.marginRight=c.style.width="0",h.style.width="1px",Ea.appendChild(g),b=!parseFloat(a.getComputedStyle(c).marginRight),Ea.removeChild(g),h.removeChild(c),b}})}}();function Fa(a,b,c){var d,e,f,g,h=a.style;return c=c||Ca(a),g=c?c.getPropertyValue(b)||c[b]:void 0,""!==g&&void 0!==g||n.contains(a.ownerDocument,a)||(g=n.style(a,b)),c&&!l.pixelMarginRight()&&Ba.test(g)&&Aa.test(b)&&(d=h.width,e=h.minWidth,f=h.maxWidth,h.minWidth=h.maxWidth=h.width=g,g=c.width,h.width=d,h.minWidth=e,h.maxWidth=f),void 0!==g?g+"":g}function Ga(a,b){return{get:function(){return a()?void delete this.get:(this.get=b).apply(this,arguments)}}}var Ha=/^(none|table(?!-c[ea]).+)/,Ia={position:"absolute",visibility:"hidden",display:"block"},Ja={letterSpacing:"0",fontWeight:"400"},Ka=["Webkit","O","Moz","ms"],La=d.createElement("div").style;function Ma(a){if(a in La)return a;var b=a[0].toUpperCase()+a.slice(1),c=Ka.length;while(c--)if(a=Ka[c]+b,a in La)return a}function Na(a,b,c){var d=T.exec(b);return d?Math.max(0,d[2]-(c||0))+(d[3]||"px"):b}function Oa(a,b,c,d,e){for(var f=c===(d?"border":"content")?4:"width"===b?1:0,g=0;4>f;f+=2)"margin"===c&&(g+=n.css(a,c+U[f],!0,e)),d?("content"===c&&(g-=n.css(a,"padding"+U[f],!0,e)),"margin"!==c&&(g-=n.css(a,"border"+U[f]+"Width",!0,e))):(g+=n.css(a,"padding"+U[f],!0,e),"padding"!==c&&(g+=n.css(a,"border"+U[f]+"Width",!0,e)));return g}function Pa(a,b,c){var d=!0,e="width"===b?a.offsetWidth:a.offsetHeight,f=Ca(a),g="border-box"===n.css(a,"boxSizing",!1,f);if(0>=e||null==e){if(e=Fa(a,b,f),(0>e||null==e)&&(e=a.style[b]),Ba.test(e))return e;d=g&&(l.boxSizingReliable()||e===a.style[b]),e=parseFloat(e)||0}return e+Oa(a,b,c||(g?"border":"content"),d,f)+"px"}function Qa(a,b){for(var c,d,e,f=[],g=0,h=a.length;h>g;g++)d=a[g],d.style&&(f[g]=N.get(d,"olddisplay"),c=d.style.display,b?(f[g]||"none"!==c||(d.style.display=""),""===d.style.display&&V(d)&&(f[g]=N.access(d,"olddisplay",za(d.nodeName)))):(e=V(d),"none"===c&&e||N.set(d,"olddisplay",e?c:n.css(d,"display"))));for(g=0;h>g;g++)d=a[g],d.style&&(b&&"none"!==d.style.display&&""!==d.style.display||(d.style.display=b?f[g]||"":"none"));return a}n.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=Fa(a,"opacity");return""===c?"1":c}}}},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:{"float":"cssFloat"},style:function(a,b,c,d){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var e,f,g,h=n.camelCase(b),i=a.style;return b=n.cssProps[h]||(n.cssProps[h]=Ma(h)||h),g=n.cssHooks[b]||n.cssHooks[h],void 0===c?g&&"get"in g&&void 0!==(e=g.get(a,!1,d))?e:i[b]:(f=typeof c,"string"===f&&(e=T.exec(c))&&e[1]&&(c=W(a,b,e),f="number"),null!=c&&c===c&&("number"===f&&(c+=e&&e[3]||(n.cssNumber[h]?"":"px")),l.clearCloneStyle||""!==c||0!==b.indexOf("background")||(i[b]="inherit"),g&&"set"in g&&void 0===(c=g.set(a,c,d))||(i[b]=c)),void 0)}},css:function(a,b,c,d){var e,f,g,h=n.camelCase(b);return b=n.cssProps[h]||(n.cssProps[h]=Ma(h)||h),g=n.cssHooks[b]||n.cssHooks[h],g&&"get"in g&&(e=g.get(a,!0,c)),void 0===e&&(e=Fa(a,b,d)),"normal"===e&&b in Ja&&(e=Ja[b]),""===c||c?(f=parseFloat(e),c===!0||isFinite(f)?f||0:e):e}}),n.each(["height","width"],function(a,b){n.cssHooks[b]={get:function(a,c,d){return c?Ha.test(n.css(a,"display"))&&0===a.offsetWidth?Da(a,Ia,function(){return Pa(a,b,d)}):Pa(a,b,d):void 0},set:function(a,c,d){var e,f=d&&Ca(a),g=d&&Oa(a,b,d,"border-box"===n.css(a,"boxSizing",!1,f),f);return g&&(e=T.exec(c))&&"px"!==(e[3]||"px")&&(a.style[b]=c,c=n.css(a,b)),Na(a,c,g)}}}),n.cssHooks.marginLeft=Ga(l.reliableMarginLeft,function(a,b){return b?(parseFloat(Fa(a,"marginLeft"))||a.getBoundingClientRect().left-Da(a,{marginLeft:0},function(){return a.getBoundingClientRect().left}))+"px":void 0}),n.cssHooks.marginRight=Ga(l.reliableMarginRight,function(a,b){return b?Da(a,{display:"inline-block"},Fa,[a,"marginRight"]):void 0}),n.each({margin:"",padding:"",border:"Width"},function(a,b){n.cssHooks[a+b]={expand:function(c){for(var d=0,e={},f="string"==typeof c?c.split(" "):[c];4>d;d++)e[a+U[d]+b]=f[d]||f[d-2]||f[0];return e}},Aa.test(a)||(n.cssHooks[a+b].set=Na)}),n.fn.extend({css:function(a,b){return K(this,function(a,b,c){var d,e,f={},g=0;if(n.isArray(b)){for(d=Ca(a),e=b.length;e>g;g++)f[b[g]]=n.css(a,b[g],!1,d);return f}return void 0!==c?n.style(a,b,c):n.css(a,b)},a,b,arguments.length>1)},show:function(){return Qa(this,!0)},hide:function(){return Qa(this)},toggle:function(a){return"boolean"==typeof a?a?this.show():this.hide():this.each(function(){V(this)?n(this).show():n(this).hide()})}});function Ra(a,b,c,d,e){return new Ra.prototype.init(a,b,c,d,e)}n.Tween=Ra,Ra.prototype={constructor:Ra,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||n.easing._default,this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(n.cssNumber[c]?"":"px")},cur:function(){var a=Ra.propHooks[this.prop];return a&&a.get?a.get(this):Ra.propHooks._default.get(this)},run:function(a){var b,c=Ra.propHooks[this.prop];return this.options.duration?this.pos=b=n.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):this.pos=b=a,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c&&c.set?c.set(this):Ra.propHooks._default.set(this),this}},Ra.prototype.init.prototype=Ra.prototype,Ra.propHooks={_default:{get:function(a){var b;return 1!==a.elem.nodeType||null!=a.elem[a.prop]&&null==a.elem.style[a.prop]?a.elem[a.prop]:(b=n.css(a.elem,a.prop,""),b&&"auto"!==b?b:0)},set:function(a){n.fx.step[a.prop]?n.fx.step[a.prop](a):1!==a.elem.nodeType||null==a.elem.style[n.cssProps[a.prop]]&&!n.cssHooks[a.prop]?a.elem[a.prop]=a.now:n.style(a.elem,a.prop,a.now+a.unit)}}},Ra.propHooks.scrollTop=Ra.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},n.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2},_default:"swing"},n.fx=Ra.prototype.init,n.fx.step={};var Sa,Ta,Ua=/^(?:toggle|show|hide)$/,Va=/queueHooks$/;function Wa(){return a.setTimeout(function(){Sa=void 0}),Sa=n.now()}function Xa(a,b){var c,d=0,e={height:a};for(b=b?1:0;4>d;d+=2-b)c=U[d],e["margin"+c]=e["padding"+c]=a;return b&&(e.opacity=e.width=a),e}function Ya(a,b,c){for(var d,e=(_a.tweeners[b]||[]).concat(_a.tweeners["*"]),f=0,g=e.length;g>f;f++)if(d=e[f].call(c,b,a))return d}function Za(a,b,c){var d,e,f,g,h,i,j,k,l=this,m={},o=a.style,p=a.nodeType&&V(a),q=N.get(a,"fxshow");c.queue||(h=n._queueHooks(a,"fx"),null==h.unqueued&&(h.unqueued=0,i=h.empty.fire,h.empty.fire=function(){h.unqueued||i()}),h.unqueued++,l.always(function(){l.always(function(){h.unqueued--,n.queue(a,"fx").length||h.empty.fire()})})),1===a.nodeType&&("height"in b||"width"in b)&&(c.overflow=[o.overflow,o.overflowX,o.overflowY],j=n.css(a,"display"),k="none"===j?N.get(a,"olddisplay")||za(a.nodeName):j,"inline"===k&&"none"===n.css(a,"float")&&(o.display="inline-block")),c.overflow&&(o.overflow="hidden",l.always(function(){o.overflow=c.overflow[0],o.overflowX=c.overflow[1],o.overflowY=c.overflow[2]}));for(d in b)if(e=b[d],Ua.exec(e)){if(delete b[d],f=f||"toggle"===e,e===(p?"hide":"show")){if("show"!==e||!q||void 0===q[d])continue;p=!0}m[d]=q&&q[d]||n.style(a,d)}else j=void 0;if(n.isEmptyObject(m))"inline"===("none"===j?za(a.nodeName):j)&&(o.display=j);else{q?"hidden"in q&&(p=q.hidden):q=N.access(a,"fxshow",{}),f&&(q.hidden=!p),p?n(a).show():l.done(function(){n(a).hide()}),l.done(function(){var b;N.remove(a,"fxshow");for(b in m)n.style(a,b,m[b])});for(d in m)g=Ya(p?q[d]:0,d,l),d in q||(q[d]=g.start,p&&(g.end=g.start,g.start="width"===d||"height"===d?1:0))}}function $a(a,b){var c,d,e,f,g;for(c in a)if(d=n.camelCase(c),e=b[d],f=a[c],n.isArray(f)&&(e=f[1],f=a[c]=f[0]),c!==d&&(a[d]=f,delete a[c]),g=n.cssHooks[d],g&&"expand"in g){f=g.expand(f),delete a[d];for(c in f)c in a||(a[c]=f[c],b[c]=e)}else b[d]=e}function _a(a,b,c){var d,e,f=0,g=_a.prefilters.length,h=n.Deferred().always(function(){delete i.elem}),i=function(){if(e)return!1;for(var b=Sa||Wa(),c=Math.max(0,j.startTime+j.duration-b),d=c/j.duration||0,f=1-d,g=0,i=j.tweens.length;i>g;g++)j.tweens[g].run(f);return h.notifyWith(a,[j,f,c]),1>f&&i?c:(h.resolveWith(a,[j]),!1)},j=h.promise({elem:a,props:n.extend({},b),opts:n.extend(!0,{specialEasing:{},easing:n.easing._default},c),originalProperties:b,originalOptions:c,startTime:Sa||Wa(),duration:c.duration,tweens:[],createTween:function(b,c){var d=n.Tween(a,j.opts,b,c,j.opts.specialEasing[b]||j.opts.easing);return j.tweens.push(d),d},stop:function(b){var c=0,d=b?j.tweens.length:0;if(e)return this;for(e=!0;d>c;c++)j.tweens[c].run(1);return b?(h.notifyWith(a,[j,1,0]),h.resolveWith(a,[j,b])):h.rejectWith(a,[j,b]),this}}),k=j.props;for($a(k,j.opts.specialEasing);g>f;f++)if(d=_a.prefilters[f].call(j,a,k,j.opts))return n.isFunction(d.stop)&&(n._queueHooks(j.elem,j.opts.queue).stop=n.proxy(d.stop,d)),d;return n.map(k,Ya,j),n.isFunction(j.opts.start)&&j.opts.start.call(a,j),n.fx.timer(n.extend(i,{elem:a,anim:j,queue:j.opts.queue})),j.progress(j.opts.progress).done(j.opts.done,j.opts.complete).fail(j.opts.fail).always(j.opts.always)}n.Animation=n.extend(_a,{tweeners:{"*":[function(a,b){var c=this.createTween(a,b);return W(c.elem,a,T.exec(b),c),c}]},tweener:function(a,b){n.isFunction(a)?(b=a,a=["*"]):a=a.match(G);for(var c,d=0,e=a.length;e>d;d++)c=a[d],_a.tweeners[c]=_a.tweeners[c]||[],_a.tweeners[c].unshift(b)},prefilters:[Za],prefilter:function(a,b){b?_a.prefilters.unshift(a):_a.prefilters.push(a)}}),n.speed=function(a,b,c){var d=a&&"object"==typeof a?n.extend({},a):{complete:c||!c&&b||n.isFunction(a)&&a,duration:a,easing:c&&b||b&&!n.isFunction(b)&&b};return d.duration=n.fx.off?0:"number"==typeof d.duration?d.duration:d.duration in n.fx.speeds?n.fx.speeds[d.duration]:n.fx.speeds._default,null!=d.queue&&d.queue!==!0||(d.queue="fx"),d.old=d.complete,d.complete=function(){n.isFunction(d.old)&&d.old.call(this),d.queue&&n.dequeue(this,d.queue)},d},n.fn.extend({fadeTo:function(a,b,c,d){return this.filter(V).css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){var e=n.isEmptyObject(a),f=n.speed(b,c,d),g=function(){var b=_a(this,n.extend({},a),f);(e||N.get(this,"finish"))&&b.stop(!0)};return g.finish=g,e||f.queue===!1?this.each(g):this.queue(f.queue,g)},stop:function(a,b,c){var d=function(a){var b=a.stop;delete a.stop,b(c)};return"string"!=typeof a&&(c=b,b=a,a=void 0),b&&a!==!1&&this.queue(a||"fx",[]),this.each(function(){var b=!0,e=null!=a&&a+"queueHooks",f=n.timers,g=N.get(this);if(e)g[e]&&g[e].stop&&d(g[e]);else for(e in g)g[e]&&g[e].stop&&Va.test(e)&&d(g[e]);for(e=f.length;e--;)f[e].elem!==this||null!=a&&f[e].queue!==a||(f[e].anim.stop(c),b=!1,f.splice(e,1));!b&&c||n.dequeue(this,a)})},finish:function(a){return a!==!1&&(a=a||"fx"),this.each(function(){var b,c=N.get(this),d=c[a+"queue"],e=c[a+"queueHooks"],f=n.timers,g=d?d.length:0;for(c.finish=!0,n.queue(this,a,[]),e&&e.stop&&e.stop.call(this,!0),b=f.length;b--;)f[b].elem===this&&f[b].queue===a&&(f[b].anim.stop(!0),f.splice(b,1));for(b=0;g>b;b++)d[b]&&d[b].finish&&d[b].finish.call(this);delete c.finish})}}),n.each(["toggle","show","hide"],function(a,b){var c=n.fn[b];n.fn[b]=function(a,d,e){return null==a||"boolean"==typeof a?c.apply(this,arguments):this.animate(Xa(b,!0),a,d,e)}}),n.each({slideDown:Xa("show"),slideUp:Xa("hide"),slideToggle:Xa("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){n.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),n.timers=[],n.fx.tick=function(){var a,b=0,c=n.timers;for(Sa=n.now();b<c.length;b++)a=c[b],a()||c[b]!==a||c.splice(b--,1);c.length||n.fx.stop(),Sa=void 0},n.fx.timer=function(a){n.timers.push(a),a()?n.fx.start():n.timers.pop()},n.fx.interval=13,n.fx.start=function(){Ta||(Ta=a.setInterval(n.fx.tick,n.fx.interval))},n.fx.stop=function(){a.clearInterval(Ta),Ta=null},n.fx.speeds={slow:600,fast:200,_default:400},n.fn.delay=function(b,c){return b=n.fx?n.fx.speeds[b]||b:b,c=c||"fx",this.queue(c,function(c,d){var e=a.setTimeout(c,b);d.stop=function(){a.clearTimeout(e)}})},function(){var a=d.createElement("input"),b=d.createElement("select"),c=b.appendChild(d.createElement("option"));a.type="checkbox",l.checkOn=""!==a.value,l.optSelected=c.selected,b.disabled=!0,l.optDisabled=!c.disabled,a=d.createElement("input"),a.value="t",a.type="radio",l.radioValue="t"===a.value}();var ab,bb=n.expr.attrHandle;n.fn.extend({attr:function(a,b){return K(this,n.attr,a,b,arguments.length>1)},removeAttr:function(a){return this.each(function(){n.removeAttr(this,a)})}}),n.extend({attr:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return"undefined"==typeof a.getAttribute?n.prop(a,b,c):(1===f&&n.isXMLDoc(a)||(b=b.toLowerCase(),e=n.attrHooks[b]||(n.expr.match.bool.test(b)?ab:void 0)),void 0!==c?null===c?void n.removeAttr(a,b):e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:(a.setAttribute(b,c+""),c):e&&"get"in e&&null!==(d=e.get(a,b))?d:(d=n.find.attr(a,b),null==d?void 0:d))},attrHooks:{type:{set:function(a,b){if(!l.radioValue&&"radio"===b&&n.nodeName(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}}},removeAttr:function(a,b){var c,d,e=0,f=b&&b.match(G);if(f&&1===a.nodeType)while(c=f[e++])d=n.propFix[c]||c,n.expr.match.bool.test(c)&&(a[d]=!1),a.removeAttribute(c)}}),ab={set:function(a,b,c){return b===!1?n.removeAttr(a,c):a.setAttribute(c,c),c}},n.each(n.expr.match.bool.source.match(/\w+/g),function(a,b){var c=bb[b]||n.find.attr;bb[b]=function(a,b,d){var e,f;return d||(f=bb[b],bb[b]=e,e=null!=c(a,b,d)?b.toLowerCase():null,bb[b]=f),e}});var cb=/^(?:input|select|textarea|button)$/i,db=/^(?:a|area)$/i;n.fn.extend({prop:function(a,b){return K(this,n.prop,a,b,arguments.length>1)},removeProp:function(a){return this.each(function(){delete this[n.propFix[a]||a]})}}),n.extend({prop:function(a,b,c){var d,e,f=a.nodeType;if(3!==f&&8!==f&&2!==f)return 1===f&&n.isXMLDoc(a)||(b=n.propFix[b]||b,e=n.propHooks[b]),
4   -void 0!==c?e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:a[b]=c:e&&"get"in e&&null!==(d=e.get(a,b))?d:a[b]},propHooks:{tabIndex:{get:function(a){var b=n.find.attr(a,"tabindex");return b?parseInt(b,10):cb.test(a.nodeName)||db.test(a.nodeName)&&a.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),l.optSelected||(n.propHooks.selected={get:function(a){var b=a.parentNode;return b&&b.parentNode&&b.parentNode.selectedIndex,null},set:function(a){var b=a.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex)}}),n.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){n.propFix[this.toLowerCase()]=this});var eb=/[\t\r\n\f]/g;function fb(a){return a.getAttribute&&a.getAttribute("class")||""}n.fn.extend({addClass:function(a){var b,c,d,e,f,g,h,i=0;if(n.isFunction(a))return this.each(function(b){n(this).addClass(a.call(this,b,fb(this)))});if("string"==typeof a&&a){b=a.match(G)||[];while(c=this[i++])if(e=fb(c),d=1===c.nodeType&&(" "+e+" ").replace(eb," ")){g=0;while(f=b[g++])d.indexOf(" "+f+" ")<0&&(d+=f+" ");h=n.trim(d),e!==h&&c.setAttribute("class",h)}}return this},removeClass:function(a){var b,c,d,e,f,g,h,i=0;if(n.isFunction(a))return this.each(function(b){n(this).removeClass(a.call(this,b,fb(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof a&&a){b=a.match(G)||[];while(c=this[i++])if(e=fb(c),d=1===c.nodeType&&(" "+e+" ").replace(eb," ")){g=0;while(f=b[g++])while(d.indexOf(" "+f+" ")>-1)d=d.replace(" "+f+" "," ");h=n.trim(d),e!==h&&c.setAttribute("class",h)}}return this},toggleClass:function(a,b){var c=typeof a;return"boolean"==typeof b&&"string"===c?b?this.addClass(a):this.removeClass(a):n.isFunction(a)?this.each(function(c){n(this).toggleClass(a.call(this,c,fb(this),b),b)}):this.each(function(){var b,d,e,f;if("string"===c){d=0,e=n(this),f=a.match(G)||[];while(b=f[d++])e.hasClass(b)?e.removeClass(b):e.addClass(b)}else void 0!==a&&"boolean"!==c||(b=fb(this),b&&N.set(this,"__className__",b),this.setAttribute&&this.setAttribute("class",b||a===!1?"":N.get(this,"__className__")||""))})},hasClass:function(a){var b,c,d=0;b=" "+a+" ";while(c=this[d++])if(1===c.nodeType&&(" "+fb(c)+" ").replace(eb," ").indexOf(b)>-1)return!0;return!1}});var gb=/\r/g,hb=/[\x20\t\r\n\f]+/g;n.fn.extend({val:function(a){var b,c,d,e=this[0];{if(arguments.length)return d=n.isFunction(a),this.each(function(c){var e;1===this.nodeType&&(e=d?a.call(this,c,n(this).val()):a,null==e?e="":"number"==typeof e?e+="":n.isArray(e)&&(e=n.map(e,function(a){return null==a?"":a+""})),b=n.valHooks[this.type]||n.valHooks[this.nodeName.toLowerCase()],b&&"set"in b&&void 0!==b.set(this,e,"value")||(this.value=e))});if(e)return b=n.valHooks[e.type]||n.valHooks[e.nodeName.toLowerCase()],b&&"get"in b&&void 0!==(c=b.get(e,"value"))?c:(c=e.value,"string"==typeof c?c.replace(gb,""):null==c?"":c)}}}),n.extend({valHooks:{option:{get:function(a){var b=n.find.attr(a,"value");return null!=b?b:n.trim(n.text(a)).replace(hb," ")}},select:{get:function(a){for(var b,c,d=a.options,e=a.selectedIndex,f="select-one"===a.type||0>e,g=f?null:[],h=f?e+1:d.length,i=0>e?h:f?e:0;h>i;i++)if(c=d[i],(c.selected||i===e)&&(l.optDisabled?!c.disabled:null===c.getAttribute("disabled"))&&(!c.parentNode.disabled||!n.nodeName(c.parentNode,"optgroup"))){if(b=n(c).val(),f)return b;g.push(b)}return g},set:function(a,b){var c,d,e=a.options,f=n.makeArray(b),g=e.length;while(g--)d=e[g],(d.selected=n.inArray(n.valHooks.option.get(d),f)>-1)&&(c=!0);return c||(a.selectedIndex=-1),f}}}}),n.each(["radio","checkbox"],function(){n.valHooks[this]={set:function(a,b){return n.isArray(b)?a.checked=n.inArray(n(a).val(),b)>-1:void 0}},l.checkOn||(n.valHooks[this].get=function(a){return null===a.getAttribute("value")?"on":a.value})});var ib=/^(?:focusinfocus|focusoutblur)$/;n.extend(n.event,{trigger:function(b,c,e,f){var g,h,i,j,l,m,o,p=[e||d],q=k.call(b,"type")?b.type:b,r=k.call(b,"namespace")?b.namespace.split("."):[];if(h=i=e=e||d,3!==e.nodeType&&8!==e.nodeType&&!ib.test(q+n.event.triggered)&&(q.indexOf(".")>-1&&(r=q.split("."),q=r.shift(),r.sort()),l=q.indexOf(":")<0&&"on"+q,b=b[n.expando]?b:new n.Event(q,"object"==typeof b&&b),b.isTrigger=f?2:3,b.namespace=r.join("."),b.rnamespace=b.namespace?new RegExp("(^|\\.)"+r.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=e),c=null==c?[b]:n.makeArray(c,[b]),o=n.event.special[q]||{},f||!o.trigger||o.trigger.apply(e,c)!==!1)){if(!f&&!o.noBubble&&!n.isWindow(e)){for(j=o.delegateType||q,ib.test(j+q)||(h=h.parentNode);h;h=h.parentNode)p.push(h),i=h;i===(e.ownerDocument||d)&&p.push(i.defaultView||i.parentWindow||a)}g=0;while((h=p[g++])&&!b.isPropagationStopped())b.type=g>1?j:o.bindType||q,m=(N.get(h,"events")||{})[b.type]&&N.get(h,"handle"),m&&m.apply(h,c),m=l&&h[l],m&&m.apply&&L(h)&&(b.result=m.apply(h,c),b.result===!1&&b.preventDefault());return b.type=q,f||b.isDefaultPrevented()||o._default&&o._default.apply(p.pop(),c)!==!1||!L(e)||l&&n.isFunction(e[q])&&!n.isWindow(e)&&(i=e[l],i&&(e[l]=null),n.event.triggered=q,e[q](),n.event.triggered=void 0,i&&(e[l]=i)),b.result}},simulate:function(a,b,c){var d=n.extend(new n.Event,c,{type:a,isSimulated:!0});n.event.trigger(d,null,b)}}),n.fn.extend({trigger:function(a,b){return this.each(function(){n.event.trigger(a,b,this)})},triggerHandler:function(a,b){var c=this[0];return c?n.event.trigger(a,b,c,!0):void 0}}),n.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(a,b){n.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),n.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}}),l.focusin="onfocusin"in a,l.focusin||n.each({focus:"focusin",blur:"focusout"},function(a,b){var c=function(a){n.event.simulate(b,a.target,n.event.fix(a))};n.event.special[b]={setup:function(){var d=this.ownerDocument||this,e=N.access(d,b);e||d.addEventListener(a,c,!0),N.access(d,b,(e||0)+1)},teardown:function(){var d=this.ownerDocument||this,e=N.access(d,b)-1;e?N.access(d,b,e):(d.removeEventListener(a,c,!0),N.remove(d,b))}}});var jb=a.location,kb=n.now(),lb=/\?/;n.parseJSON=function(a){return JSON.parse(a+"")},n.parseXML=function(b){var c;if(!b||"string"!=typeof b)return null;try{c=(new a.DOMParser).parseFromString(b,"text/xml")}catch(d){c=void 0}return c&&!c.getElementsByTagName("parsererror").length||n.error("Invalid XML: "+b),c};var mb=/#.*$/,nb=/([?&])_=[^&]*/,ob=/^(.*?):[ \t]*([^\r\n]*)$/gm,pb=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,qb=/^(?:GET|HEAD)$/,rb=/^\/\//,sb={},tb={},ub="*/".concat("*"),vb=d.createElement("a");vb.href=jb.href;function wb(a){return function(b,c){"string"!=typeof b&&(c=b,b="*");var d,e=0,f=b.toLowerCase().match(G)||[];if(n.isFunction(c))while(d=f[e++])"+"===d[0]?(d=d.slice(1)||"*",(a[d]=a[d]||[]).unshift(c)):(a[d]=a[d]||[]).push(c)}}function xb(a,b,c,d){var e={},f=a===tb;function g(h){var i;return e[h]=!0,n.each(a[h]||[],function(a,h){var j=h(b,c,d);return"string"!=typeof j||f||e[j]?f?!(i=j):void 0:(b.dataTypes.unshift(j),g(j),!1)}),i}return g(b.dataTypes[0])||!e["*"]&&g("*")}function yb(a,b){var c,d,e=n.ajaxSettings.flatOptions||{};for(c in b)void 0!==b[c]&&((e[c]?a:d||(d={}))[c]=b[c]);return d&&n.extend(!0,a,d),a}function zb(a,b,c){var d,e,f,g,h=a.contents,i=a.dataTypes;while("*"===i[0])i.shift(),void 0===d&&(d=a.mimeType||b.getResponseHeader("Content-Type"));if(d)for(e in h)if(h[e]&&h[e].test(d)){i.unshift(e);break}if(i[0]in c)f=i[0];else{for(e in c){if(!i[0]||a.converters[e+" "+i[0]]){f=e;break}g||(g=e)}f=f||g}return f?(f!==i[0]&&i.unshift(f),c[f]):void 0}function Ab(a,b,c,d){var e,f,g,h,i,j={},k=a.dataTypes.slice();if(k[1])for(g in a.converters)j[g.toLowerCase()]=a.converters[g];f=k.shift();while(f)if(a.responseFields[f]&&(c[a.responseFields[f]]=b),!i&&d&&a.dataFilter&&(b=a.dataFilter(b,a.dataType)),i=f,f=k.shift())if("*"===f)f=i;else if("*"!==i&&i!==f){if(g=j[i+" "+f]||j["* "+f],!g)for(e in j)if(h=e.split(" "),h[1]===f&&(g=j[i+" "+h[0]]||j["* "+h[0]])){g===!0?g=j[e]:j[e]!==!0&&(f=h[0],k.unshift(h[1]));break}if(g!==!0)if(g&&a["throws"])b=g(b);else try{b=g(b)}catch(l){return{state:"parsererror",error:g?l:"No conversion from "+i+" to "+f}}}return{state:"success",data:b}}n.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:jb.href,type:"GET",isLocal:pb.test(jb.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":ub,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":n.parseJSON,"text xml":n.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?yb(yb(a,n.ajaxSettings),b):yb(n.ajaxSettings,a)},ajaxPrefilter:wb(sb),ajaxTransport:wb(tb),ajax:function(b,c){"object"==typeof b&&(c=b,b=void 0),c=c||{};var e,f,g,h,i,j,k,l,m=n.ajaxSetup({},c),o=m.context||m,p=m.context&&(o.nodeType||o.jquery)?n(o):n.event,q=n.Deferred(),r=n.Callbacks("once memory"),s=m.statusCode||{},t={},u={},v=0,w="canceled",x={readyState:0,getResponseHeader:function(a){var b;if(2===v){if(!h){h={};while(b=ob.exec(g))h[b[1].toLowerCase()]=b[2]}b=h[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return 2===v?g:null},setRequestHeader:function(a,b){var c=a.toLowerCase();return v||(a=u[c]=u[c]||a,t[a]=b),this},overrideMimeType:function(a){return v||(m.mimeType=a),this},statusCode:function(a){var b;if(a)if(2>v)for(b in a)s[b]=[s[b],a[b]];else x.always(a[x.status]);return this},abort:function(a){var b=a||w;return e&&e.abort(b),z(0,b),this}};if(q.promise(x).complete=r.add,x.success=x.done,x.error=x.fail,m.url=((b||m.url||jb.href)+"").replace(mb,"").replace(rb,jb.protocol+"//"),m.type=c.method||c.type||m.method||m.type,m.dataTypes=n.trim(m.dataType||"*").toLowerCase().match(G)||[""],null==m.crossDomain){j=d.createElement("a");try{j.href=m.url,j.href=j.href,m.crossDomain=vb.protocol+"//"+vb.host!=j.protocol+"//"+j.host}catch(y){m.crossDomain=!0}}if(m.data&&m.processData&&"string"!=typeof m.data&&(m.data=n.param(m.data,m.traditional)),xb(sb,m,c,x),2===v)return x;k=n.event&&m.global,k&&0===n.active++&&n.event.trigger("ajaxStart"),m.type=m.type.toUpperCase(),m.hasContent=!qb.test(m.type),f=m.url,m.hasContent||(m.data&&(f=m.url+=(lb.test(f)?"&":"?")+m.data,delete m.data),m.cache===!1&&(m.url=nb.test(f)?f.replace(nb,"$1_="+kb++):f+(lb.test(f)?"&":"?")+"_="+kb++)),m.ifModified&&(n.lastModified[f]&&x.setRequestHeader("If-Modified-Since",n.lastModified[f]),n.etag[f]&&x.setRequestHeader("If-None-Match",n.etag[f])),(m.data&&m.hasContent&&m.contentType!==!1||c.contentType)&&x.setRequestHeader("Content-Type",m.contentType),x.setRequestHeader("Accept",m.dataTypes[0]&&m.accepts[m.dataTypes[0]]?m.accepts[m.dataTypes[0]]+("*"!==m.dataTypes[0]?", "+ub+"; q=0.01":""):m.accepts["*"]);for(l in m.headers)x.setRequestHeader(l,m.headers[l]);if(m.beforeSend&&(m.beforeSend.call(o,x,m)===!1||2===v))return x.abort();w="abort";for(l in{success:1,error:1,complete:1})x[l](m[l]);if(e=xb(tb,m,c,x)){if(x.readyState=1,k&&p.trigger("ajaxSend",[x,m]),2===v)return x;m.async&&m.timeout>0&&(i=a.setTimeout(function(){x.abort("timeout")},m.timeout));try{v=1,e.send(t,z)}catch(y){if(!(2>v))throw y;z(-1,y)}}else z(-1,"No Transport");function z(b,c,d,h){var j,l,t,u,w,y=c;2!==v&&(v=2,i&&a.clearTimeout(i),e=void 0,g=h||"",x.readyState=b>0?4:0,j=b>=200&&300>b||304===b,d&&(u=zb(m,x,d)),u=Ab(m,u,x,j),j?(m.ifModified&&(w=x.getResponseHeader("Last-Modified"),w&&(n.lastModified[f]=w),w=x.getResponseHeader("etag"),w&&(n.etag[f]=w)),204===b||"HEAD"===m.type?y="nocontent":304===b?y="notmodified":(y=u.state,l=u.data,t=u.error,j=!t)):(t=y,!b&&y||(y="error",0>b&&(b=0))),x.status=b,x.statusText=(c||y)+"",j?q.resolveWith(o,[l,y,x]):q.rejectWith(o,[x,y,t]),x.statusCode(s),s=void 0,k&&p.trigger(j?"ajaxSuccess":"ajaxError",[x,m,j?l:t]),r.fireWith(o,[x,y]),k&&(p.trigger("ajaxComplete",[x,m]),--n.active||n.event.trigger("ajaxStop")))}return x},getJSON:function(a,b,c){return n.get(a,b,c,"json")},getScript:function(a,b){return n.get(a,void 0,b,"script")}}),n.each(["get","post"],function(a,b){n[b]=function(a,c,d,e){return n.isFunction(c)&&(e=e||d,d=c,c=void 0),n.ajax(n.extend({url:a,type:b,dataType:e,data:c,success:d},n.isPlainObject(a)&&a))}}),n._evalUrl=function(a){return n.ajax({url:a,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},n.fn.extend({wrapAll:function(a){var b;return n.isFunction(a)?this.each(function(b){n(this).wrapAll(a.call(this,b))}):(this[0]&&(b=n(a,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstElementChild)a=a.firstElementChild;return a}).append(this)),this)},wrapInner:function(a){return n.isFunction(a)?this.each(function(b){n(this).wrapInner(a.call(this,b))}):this.each(function(){var b=n(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=n.isFunction(a);return this.each(function(c){n(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){n.nodeName(this,"body")||n(this).replaceWith(this.childNodes)}).end()}}),n.expr.filters.hidden=function(a){return!n.expr.filters.visible(a)},n.expr.filters.visible=function(a){return a.offsetWidth>0||a.offsetHeight>0||a.getClientRects().length>0};var Bb=/%20/g,Cb=/\[\]$/,Db=/\r?\n/g,Eb=/^(?:submit|button|image|reset|file)$/i,Fb=/^(?:input|select|textarea|keygen)/i;function Gb(a,b,c,d){var e;if(n.isArray(b))n.each(b,function(b,e){c||Cb.test(a)?d(a,e):Gb(a+"["+("object"==typeof e&&null!=e?b:"")+"]",e,c,d)});else if(c||"object"!==n.type(b))d(a,b);else for(e in b)Gb(a+"["+e+"]",b[e],c,d)}n.param=function(a,b){var c,d=[],e=function(a,b){b=n.isFunction(b)?b():null==b?"":b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};if(void 0===b&&(b=n.ajaxSettings&&n.ajaxSettings.traditional),n.isArray(a)||a.jquery&&!n.isPlainObject(a))n.each(a,function(){e(this.name,this.value)});else for(c in a)Gb(c,a[c],b,e);return d.join("&").replace(Bb,"+")},n.fn.extend({serialize:function(){return n.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=n.prop(this,"elements");return a?n.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!n(this).is(":disabled")&&Fb.test(this.nodeName)&&!Eb.test(a)&&(this.checked||!X.test(a))}).map(function(a,b){var c=n(this).val();return null==c?null:n.isArray(c)?n.map(c,function(a){return{name:b.name,value:a.replace(Db,"\r\n")}}):{name:b.name,value:c.replace(Db,"\r\n")}}).get()}}),n.ajaxSettings.xhr=function(){try{return new a.XMLHttpRequest}catch(b){}};var Hb={0:200,1223:204},Ib=n.ajaxSettings.xhr();l.cors=!!Ib&&"withCredentials"in Ib,l.ajax=Ib=!!Ib,n.ajaxTransport(function(b){var c,d;return l.cors||Ib&&!b.crossDomain?{send:function(e,f){var g,h=b.xhr();if(h.open(b.type,b.url,b.async,b.username,b.password),b.xhrFields)for(g in b.xhrFields)h[g]=b.xhrFields[g];b.mimeType&&h.overrideMimeType&&h.overrideMimeType(b.mimeType),b.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest");for(g in e)h.setRequestHeader(g,e[g]);c=function(a){return function(){c&&(c=d=h.onload=h.onerror=h.onabort=h.onreadystatechange=null,"abort"===a?h.abort():"error"===a?"number"!=typeof h.status?f(0,"error"):f(h.status,h.statusText):f(Hb[h.status]||h.status,h.statusText,"text"!==(h.responseType||"text")||"string"!=typeof h.responseText?{binary:h.response}:{text:h.responseText},h.getAllResponseHeaders()))}},h.onload=c(),d=h.onerror=c("error"),void 0!==h.onabort?h.onabort=d:h.onreadystatechange=function(){4===h.readyState&&a.setTimeout(function(){c&&d()})},c=c("abort");try{h.send(b.hasContent&&b.data||null)}catch(i){if(c)throw i}},abort:function(){c&&c()}}:void 0}),n.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(a){return n.globalEval(a),a}}}),n.ajaxPrefilter("script",function(a){void 0===a.cache&&(a.cache=!1),a.crossDomain&&(a.type="GET")}),n.ajaxTransport("script",function(a){if(a.crossDomain){var b,c;return{send:function(e,f){b=n("<script>").prop({charset:a.scriptCharset,src:a.url}).on("load error",c=function(a){b.remove(),c=null,a&&f("error"===a.type?404:200,a.type)}),d.head.appendChild(b[0])},abort:function(){c&&c()}}}});var Jb=[],Kb=/(=)\?(?=&|$)|\?\?/;n.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=Jb.pop()||n.expando+"_"+kb++;return this[a]=!0,a}}),n.ajaxPrefilter("json jsonp",function(b,c,d){var e,f,g,h=b.jsonp!==!1&&(Kb.test(b.url)?"url":"string"==typeof b.data&&0===(b.contentType||"").indexOf("application/x-www-form-urlencoded")&&Kb.test(b.data)&&"data");return h||"jsonp"===b.dataTypes[0]?(e=b.jsonpCallback=n.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,h?b[h]=b[h].replace(Kb,"$1"+e):b.jsonp!==!1&&(b.url+=(lb.test(b.url)?"&":"?")+b.jsonp+"="+e),b.converters["script json"]=function(){return g||n.error(e+" was not called"),g[0]},b.dataTypes[0]="json",f=a[e],a[e]=function(){g=arguments},d.always(function(){void 0===f?n(a).removeProp(e):a[e]=f,b[e]&&(b.jsonpCallback=c.jsonpCallback,Jb.push(e)),g&&n.isFunction(f)&&f(g[0]),g=f=void 0}),"script"):void 0}),n.parseHTML=function(a,b,c){if(!a||"string"!=typeof a)return null;"boolean"==typeof b&&(c=b,b=!1),b=b||d;var e=x.exec(a),f=!c&&[];return e?[b.createElement(e[1])]:(e=ca([a],b,f),f&&f.length&&n(f).remove(),n.merge([],e.childNodes))};var Lb=n.fn.load;n.fn.load=function(a,b,c){if("string"!=typeof a&&Lb)return Lb.apply(this,arguments);var d,e,f,g=this,h=a.indexOf(" ");return h>-1&&(d=n.trim(a.slice(h)),a=a.slice(0,h)),n.isFunction(b)?(c=b,b=void 0):b&&"object"==typeof b&&(e="POST"),g.length>0&&n.ajax({url:a,type:e||"GET",dataType:"html",data:b}).done(function(a){f=arguments,g.html(d?n("<div>").append(n.parseHTML(a)).find(d):a)}).always(c&&function(a,b){g.each(function(){c.apply(this,f||[a.responseText,b,a])})}),this},n.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(a,b){n.fn[b]=function(a){return this.on(b,a)}}),n.expr.filters.animated=function(a){return n.grep(n.timers,function(b){return a===b.elem}).length};function Mb(a){return n.isWindow(a)?a:9===a.nodeType&&a.defaultView}n.offset={setOffset:function(a,b,c){var d,e,f,g,h,i,j,k=n.css(a,"position"),l=n(a),m={};"static"===k&&(a.style.position="relative"),h=l.offset(),f=n.css(a,"top"),i=n.css(a,"left"),j=("absolute"===k||"fixed"===k)&&(f+i).indexOf("auto")>-1,j?(d=l.position(),g=d.top,e=d.left):(g=parseFloat(f)||0,e=parseFloat(i)||0),n.isFunction(b)&&(b=b.call(a,c,n.extend({},h))),null!=b.top&&(m.top=b.top-h.top+g),null!=b.left&&(m.left=b.left-h.left+e),"using"in b?b.using.call(a,m):l.css(m)}},n.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(b){n.offset.setOffset(this,a,b)});var b,c,d=this[0],e={top:0,left:0},f=d&&d.ownerDocument;if(f)return b=f.documentElement,n.contains(b,d)?(e=d.getBoundingClientRect(),c=Mb(f),{top:e.top+c.pageYOffset-b.clientTop,left:e.left+c.pageXOffset-b.clientLeft}):e},position:function(){if(this[0]){var a,b,c=this[0],d={top:0,left:0};return"fixed"===n.css(c,"position")?b=c.getBoundingClientRect():(a=this.offsetParent(),b=this.offset(),n.nodeName(a[0],"html")||(d=a.offset()),d.top+=n.css(a[0],"borderTopWidth",!0),d.left+=n.css(a[0],"borderLeftWidth",!0)),{top:b.top-d.top-n.css(c,"marginTop",!0),left:b.left-d.left-n.css(c,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var a=this.offsetParent;while(a&&"static"===n.css(a,"position"))a=a.offsetParent;return a||Ea})}}),n.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,b){var c="pageYOffset"===b;n.fn[a]=function(d){return K(this,function(a,d,e){var f=Mb(a);return void 0===e?f?f[b]:a[d]:void(f?f.scrollTo(c?f.pageXOffset:e,c?e:f.pageYOffset):a[d]=e)},a,d,arguments.length)}}),n.each(["top","left"],function(a,b){n.cssHooks[b]=Ga(l.pixelPosition,function(a,c){return c?(c=Fa(a,b),Ba.test(c)?n(a).position()[b]+"px":c):void 0})}),n.each({Height:"height",Width:"width"},function(a,b){n.each({padding:"inner"+a,content:b,"":"outer"+a},function(c,d){n.fn[d]=function(d,e){var f=arguments.length&&(c||"boolean"!=typeof d),g=c||(d===!0||e===!0?"margin":"border");return K(this,function(b,c,d){var e;return n.isWindow(b)?b.document.documentElement["client"+a]:9===b.nodeType?(e=b.documentElement,Math.max(b.body["scroll"+a],e["scroll"+a],b.body["offset"+a],e["offset"+a],e["client"+a])):void 0===d?n.css(b,c,g):n.style(b,c,d,g)},b,f?d:void 0,f,null)}})}),n.fn.extend({bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return 1===arguments.length?this.off(a,"**"):this.off(b,a||"**",c)},size:function(){return this.length}}),n.fn.andSelf=n.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return n});var Nb=a.jQuery,Ob=a.$;return n.noConflict=function(b){return a.$===n&&(a.$=Ob),b&&a.jQuery===n&&(a.jQuery=Nb),n},b||(a.jQuery=a.$=n),n});
  2 +!function (a, b) {
  3 + "object" == typeof module && "object" == typeof module.exports ? module.exports = a.document ? b(a, !0) : function (a) {
  4 + if (!a.document) throw new Error("jQuery requires a window with a document");
  5 + return b(a)
  6 + } : b(a)
  7 +}("undefined" != typeof window ? window : this, function (a, b) {
  8 + var c = [], d = a.document, e = c.slice, f = c.concat, g = c.push, h = c.indexOf, i = {}, j = i.toString,
  9 + k = i.hasOwnProperty, l = {}, m = "2.2.4", n = function (a, b) {
  10 + return new n.fn.init(a, b)
  11 + }, o = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, p = /^-ms-/, q = /-([\da-z])/gi, r = function (a, b) {
  12 + return b.toUpperCase()
  13 + };
  14 + n.fn = n.prototype = {
  15 + jquery: m, constructor: n, selector: "", length: 0, toArray: function () {
  16 + return e.call(this)
  17 + }, get: function (a) {
  18 + return null != a ? 0 > a ? this[a + this.length] : this[a] : e.call(this)
  19 + }, pushStack: function (a) {
  20 + var b = n.merge(this.constructor(), a);
  21 + return b.prevObject = this, b.context = this.context, b
  22 + }, each: function (a) {
  23 + return n.each(this, a)
  24 + }, map: function (a) {
  25 + return this.pushStack(n.map(this, function (b, c) {
  26 + return a.call(b, c, b)
  27 + }))
  28 + }, slice: function () {
  29 + return this.pushStack(e.apply(this, arguments))
  30 + }, first: function () {
  31 + return this.eq(0)
  32 + }, last: function () {
  33 + return this.eq(-1)
  34 + }, eq: function (a) {
  35 + var b = this.length, c = +a + (0 > a ? b : 0);
  36 + return this.pushStack(c >= 0 && b > c ? [this[c]] : [])
  37 + }, end: function () {
  38 + return this.prevObject || this.constructor()
  39 + }, push: g, sort: c.sort, splice: c.splice
  40 + }, n.extend = n.fn.extend = function () {
  41 + var a, b, c, d, e, f, g = arguments[0] || {}, h = 1, i = arguments.length, j = !1;
  42 + for ("boolean" == typeof g && (j = g, g = arguments[h] || {}, h++), "object" == typeof g || n.isFunction(g) || (g = {}), h === i && (g = this, h--); i > h; h++) if (null != (a = arguments[h])) for (b in a) c = g[b], d = a[b], g !== d && (j && d && (n.isPlainObject(d) || (e = n.isArray(d))) ? (e ? (e = !1, f = c && n.isArray(c) ? c : []) : f = c && n.isPlainObject(c) ? c : {}, g[b] = n.extend(j, f, d)) : void 0 !== d && (g[b] = d));
  43 + return g
  44 + }, n.extend({
  45 + expando: "jQuery" + (m + Math.random()).replace(/\D/g, ""), isReady: !0, error: function (a) {
  46 + throw new Error(a)
  47 + }, noop: function () {
  48 + }, isFunction: function (a) {
  49 + return "function" === n.type(a)
  50 + }, isArray: Array.isArray, isWindow: function (a) {
  51 + return null != a && a === a.window
  52 + }, isNumeric: function (a) {
  53 + var b = a && a.toString();
  54 + return !n.isArray(a) && b - parseFloat(b) + 1 >= 0
  55 + }, isPlainObject: function (a) {
  56 + var b;
  57 + if ("object" !== n.type(a) || a.nodeType || n.isWindow(a)) return !1;
  58 + if (a.constructor && !k.call(a, "constructor") && !k.call(a.constructor.prototype || {}, "isPrototypeOf")) return !1;
  59 + for (b in a) ;
  60 + return void 0 === b || k.call(a, b)
  61 + }, isEmptyObject: function (a) {
  62 + var b;
  63 + for (b in a) return !1;
  64 + return !0
  65 + }, type: function (a) {
  66 + return null == a ? a + "" : "object" == typeof a || "function" == typeof a ? i[j.call(a)] || "object" : typeof a
  67 + }, globalEval: function (a) {
  68 + var b, c = eval;
  69 + a = n.trim(a), a && (1 === a.indexOf("use strict") ? (b = d.createElement("script"), b.text = a, d.head.appendChild(b).parentNode.removeChild(b)) : c(a))
  70 + }, camelCase: function (a) {
  71 + return a.replace(p, "ms-").replace(q, r)
  72 + }, nodeName: function (a, b) {
  73 + return a.nodeName && a.nodeName.toLowerCase() === b.toLowerCase()
  74 + }, each: function (a, b) {
  75 + var c, d = 0;
  76 + if (s(a)) {
  77 + for (c = a.length; c > d; d++) if (b.call(a[d], d, a[d]) === !1) break
  78 + } else for (d in a) if (b.call(a[d], d, a[d]) === !1) break;
  79 + return a
  80 + }, trim: function (a) {
  81 + return null == a ? "" : (a + "").replace(o, "")
  82 + }, makeArray: function (a, b) {
  83 + var c = b || [];
  84 + return null != a && (s(Object(a)) ? n.merge(c, "string" == typeof a ? [a] : a) : g.call(c, a)), c
  85 + }, inArray: function (a, b, c) {
  86 + return null == b ? -1 : h.call(b, a, c)
  87 + }, merge: function (a, b) {
  88 + for (var c = +b.length, d = 0, e = a.length; c > d; d++) a[e++] = b[d];
  89 + return a.length = e, a
  90 + }, grep: function (a, b, c) {
  91 + for (var d, e = [], f = 0, g = a.length, h = !c; g > f; f++) d = !b(a[f], f), d !== h && e.push(a[f]);
  92 + return e
  93 + }, map: function (a, b, c) {
  94 + var d, e, g = 0, h = [];
  95 + if (s(a)) for (d = a.length; d > g; g++) e = b(a[g], g, c), null != e && h.push(e); else for (g in a) e = b(a[g], g, c), null != e && h.push(e);
  96 + return f.apply([], h)
  97 + }, guid: 1, proxy: function (a, b) {
  98 + var c, d, f;
  99 + return "string" == typeof b && (c = a[b], b = a, a = c), n.isFunction(a) ? (d = e.call(arguments, 2), f = function () {
  100 + return a.apply(b || this, d.concat(e.call(arguments)))
  101 + }, f.guid = a.guid = a.guid || n.guid++, f) : void 0
  102 + }, now: Date.now, support: l
  103 + }), "function" == typeof Symbol && (n.fn[Symbol.iterator] = c[Symbol.iterator]), n.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "), function (a, b) {
  104 + i["[object " + b + "]"] = b.toLowerCase()
  105 + });
  106 +
  107 + function s(a) {
  108 + var b = !!a && "length" in a && a.length, c = n.type(a);
  109 + return "function" === c || n.isWindow(a) ? !1 : "array" === c || 0 === b || "number" == typeof b && b > 0 && b - 1 in a
  110 + }
  111 +
  112 + var t = function (a) {
  113 + var b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u = "sizzle" + 1 * new Date, v = a.document, w = 0,
  114 + x = 0, y = ga(), z = ga(), A = ga(), B = function (a, b) {
  115 + return a === b && (l = !0), 0
  116 + }, C = 1 << 31, D = {}.hasOwnProperty, E = [], F = E.pop, G = E.push, H = E.push, I = E.slice,
  117 + J = function (a, b) {
  118 + for (var c = 0, d = a.length; d > c; c++) if (a[c] === b) return c;
  119 + return -1
  120 + },
  121 + K = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",
  122 + L = "[\\x20\\t\\r\\n\\f]", M = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",
  123 + N = "\\[" + L + "*(" + M + ")(?:" + L + "*([*^$|!~]?=)" + L + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + M + "))|)" + L + "*\\]",
  124 + O = ":(" + M + ")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|" + N + ")*)|.*)\\)|)",
  125 + P = new RegExp(L + "+", "g"), Q = new RegExp("^" + L + "+|((?:^|[^\\\\])(?:\\\\.)*)" + L + "+$", "g"),
  126 + R = new RegExp("^" + L + "*," + L + "*"), S = new RegExp("^" + L + "*([>+~]|" + L + ")" + L + "*"),
  127 + T = new RegExp("=" + L + "*([^\\]'\"]*?)" + L + "*\\]", "g"), U = new RegExp(O),
  128 + V = new RegExp("^" + M + "$"), W = {
  129 + ID: new RegExp("^#(" + M + ")"),
  130 + CLASS: new RegExp("^\\.(" + M + ")"),
  131 + TAG: new RegExp("^(" + M + "|[*])"),
  132 + ATTR: new RegExp("^" + N),
  133 + PSEUDO: new RegExp("^" + O),
  134 + CHILD: new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + L + "*(even|odd|(([+-]|)(\\d*)n|)" + L + "*(?:([+-]|)" + L + "*(\\d+)|))" + L + "*\\)|)", "i"),
  135 + bool: new RegExp("^(?:" + K + ")$", "i"),
  136 + needsContext: new RegExp("^" + L + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + L + "*((?:-\\d)?\\d*)" + L + "*\\)|)(?=[^-]|$)", "i")
  137 + }, X = /^(?:input|select|textarea|button)$/i, Y = /^h\d$/i, Z = /^[^{]+\{\s*\[native \w/,
  138 + $ = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, _ = /[+~]/, aa = /'|\\/g,
  139 + ba = new RegExp("\\\\([\\da-f]{1,6}" + L + "?|(" + L + ")|.)", "ig"), ca = function (a, b, c) {
  140 + var d = "0x" + b - 65536;
  141 + return d !== d || c ? b : 0 > d ? String.fromCharCode(d + 65536) : String.fromCharCode(d >> 10 | 55296, 1023 & d | 56320)
  142 + }, da = function () {
  143 + m()
  144 + };
  145 + try {
  146 + H.apply(E = I.call(v.childNodes), v.childNodes), E[v.childNodes.length].nodeType
  147 + } catch (ea) {
  148 + H = {
  149 + apply: E.length ? function (a, b) {
  150 + G.apply(a, I.call(b))
  151 + } : function (a, b) {
  152 + var c = a.length, d = 0;
  153 + while (a[c++] = b[d++]) ;
  154 + a.length = c - 1
  155 + }
  156 + }
  157 + }
  158 +
  159 + function fa(a, b, d, e) {
  160 + var f, h, j, k, l, o, r, s, w = b && b.ownerDocument, x = b ? b.nodeType : 9;
  161 + if (d = d || [], "string" != typeof a || !a || 1 !== x && 9 !== x && 11 !== x) return d;
  162 + if (!e && ((b ? b.ownerDocument || b : v) !== n && m(b), b = b || n, p)) {
  163 + if (11 !== x && (o = $.exec(a))) if (f = o[1]) {
  164 + if (9 === x) {
  165 + if (!(j = b.getElementById(f))) return d;
  166 + if (j.id === f) return d.push(j), d
  167 + } else if (w && (j = w.getElementById(f)) && t(b, j) && j.id === f) return d.push(j), d
  168 + } else {
  169 + if (o[2]) return H.apply(d, b.getElementsByTagName(a)), d;
  170 + if ((f = o[3]) && c.getElementsByClassName && b.getElementsByClassName) return H.apply(d, b.getElementsByClassName(f)), d
  171 + }
  172 + if (c.qsa && !A[a + " "] && (!q || !q.test(a))) {
  173 + if (1 !== x) w = b, s = a; else if ("object" !== b.nodeName.toLowerCase()) {
  174 + (k = b.getAttribute("id")) ? k = k.replace(aa, "\\$&") : b.setAttribute("id", k = u), r = g(a), h = r.length, l = V.test(k) ? "#" + k : "[id='" + k + "']";
  175 + while (h--) r[h] = l + " " + qa(r[h]);
  176 + s = r.join(","), w = _.test(a) && oa(b.parentNode) || b
  177 + }
  178 + if (s) try {
  179 + return H.apply(d, w.querySelectorAll(s)), d
  180 + } catch (y) {
  181 + } finally {
  182 + k === u && b.removeAttribute("id")
  183 + }
  184 + }
  185 + }
  186 + return i(a.replace(Q, "$1"), b, d, e)
  187 + }
  188 +
  189 + function ga() {
  190 + var a = [];
  191 +
  192 + function b(c, e) {
  193 + return a.push(c + " ") > d.cacheLength && delete b[a.shift()], b[c + " "] = e
  194 + }
  195 +
  196 + return b
  197 + }
  198 +
  199 + function ha(a) {
  200 + return a[u] = !0, a
  201 + }
  202 +
  203 + function ia(a) {
  204 + var b = n.createElement("div");
  205 + try {
  206 + return !!a(b)
  207 + } catch (c) {
  208 + return !1
  209 + } finally {
  210 + b.parentNode && b.parentNode.removeChild(b), b = null
  211 + }
  212 + }
  213 +
  214 + function ja(a, b) {
  215 + var c = a.split("|"), e = c.length;
  216 + while (e--) d.attrHandle[c[e]] = b
  217 + }
  218 +
  219 + function ka(a, b) {
  220 + var c = b && a,
  221 + d = c && 1 === a.nodeType && 1 === b.nodeType && (~b.sourceIndex || C) - (~a.sourceIndex || C);
  222 + if (d) return d;
  223 + if (c) while (c = c.nextSibling) if (c === b) return -1;
  224 + return a ? 1 : -1
  225 + }
  226 +
  227 + function la(a) {
  228 + return function (b) {
  229 + var c = b.nodeName.toLowerCase();
  230 + return "input" === c && b.type === a
  231 + }
  232 + }
  233 +
  234 + function ma(a) {
  235 + return function (b) {
  236 + var c = b.nodeName.toLowerCase();
  237 + return ("input" === c || "button" === c) && b.type === a
  238 + }
  239 + }
  240 +
  241 + function na(a) {
  242 + return ha(function (b) {
  243 + return b = +b, ha(function (c, d) {
  244 + var e, f = a([], c.length, b), g = f.length;
  245 + while (g--) c[e = f[g]] && (c[e] = !(d[e] = c[e]))
  246 + })
  247 + })
  248 + }
  249 +
  250 + function oa(a) {
  251 + return a && "undefined" != typeof a.getElementsByTagName && a
  252 + }
  253 +
  254 + c = fa.support = {}, f = fa.isXML = function (a) {
  255 + var b = a && (a.ownerDocument || a).documentElement;
  256 + return b ? "HTML" !== b.nodeName : !1
  257 + }, m = fa.setDocument = function (a) {
  258 + var b, e, g = a ? a.ownerDocument || a : v;
  259 + return g !== n && 9 === g.nodeType && g.documentElement ? (n = g, o = n.documentElement, p = !f(n), (e = n.defaultView) && e.top !== e && (e.addEventListener ? e.addEventListener("unload", da, !1) : e.attachEvent && e.attachEvent("onunload", da)), c.attributes = ia(function (a) {
  260 + return a.className = "i", !a.getAttribute("className")
  261 + }), c.getElementsByTagName = ia(function (a) {
  262 + return a.appendChild(n.createComment("")), !a.getElementsByTagName("*").length
  263 + }), c.getElementsByClassName = Z.test(n.getElementsByClassName), c.getById = ia(function (a) {
  264 + return o.appendChild(a).id = u, !n.getElementsByName || !n.getElementsByName(u).length
  265 + }), c.getById ? (d.find.ID = function (a, b) {
  266 + if ("undefined" != typeof b.getElementById && p) {
  267 + var c = b.getElementById(a);
  268 + return c ? [c] : []
  269 + }
  270 + }, d.filter.ID = function (a) {
  271 + var b = a.replace(ba, ca);
  272 + return function (a) {
  273 + return a.getAttribute("id") === b
  274 + }
  275 + }) : (delete d.find.ID, d.filter.ID = function (a) {
  276 + var b = a.replace(ba, ca);
  277 + return function (a) {
  278 + var c = "undefined" != typeof a.getAttributeNode && a.getAttributeNode("id");
  279 + return c && c.value === b
  280 + }
  281 + }), d.find.TAG = c.getElementsByTagName ? function (a, b) {
  282 + return "undefined" != typeof b.getElementsByTagName ? b.getElementsByTagName(a) : c.qsa ? b.querySelectorAll(a) : void 0
  283 + } : function (a, b) {
  284 + var c, d = [], e = 0, f = b.getElementsByTagName(a);
  285 + if ("*" === a) {
  286 + while (c = f[e++]) 1 === c.nodeType && d.push(c);
  287 + return d
  288 + }
  289 + return f
  290 + }, d.find.CLASS = c.getElementsByClassName && function (a, b) {
  291 + return "undefined" != typeof b.getElementsByClassName && p ? b.getElementsByClassName(a) : void 0
  292 + }, r = [], q = [], (c.qsa = Z.test(n.querySelectorAll)) && (ia(function (a) {
  293 + o.appendChild(a).innerHTML = "<a id='" + u + "'></a><select id='" + u + "-\r\\' msallowcapture=''><option selected=''></option></select>", a.querySelectorAll("[msallowcapture^='']").length && q.push("[*^$]=" + L + "*(?:''|\"\")"), a.querySelectorAll("[selected]").length || q.push("\\[" + L + "*(?:value|" + K + ")"), a.querySelectorAll("[id~=" + u + "-]").length || q.push("~="), a.querySelectorAll(":checked").length || q.push(":checked"), a.querySelectorAll("a#" + u + "+*").length || q.push(".#.+[+~]")
  294 + }), ia(function (a) {
  295 + var b = n.createElement("input");
  296 + b.setAttribute("type", "hidden"), a.appendChild(b).setAttribute("name", "D"), a.querySelectorAll("[name=d]").length && q.push("name" + L + "*[*^$|!~]?="), a.querySelectorAll(":enabled").length || q.push(":enabled", ":disabled"), a.querySelectorAll("*,:x"), q.push(",.*:")
  297 + })), (c.matchesSelector = Z.test(s = o.matches || o.webkitMatchesSelector || o.mozMatchesSelector || o.oMatchesSelector || o.msMatchesSelector)) && ia(function (a) {
  298 + c.disconnectedMatch = s.call(a, "div"), s.call(a, "[s!='']:x"), r.push("!=", O)
  299 + }), q = q.length && new RegExp(q.join("|")), r = r.length && new RegExp(r.join("|")), b = Z.test(o.compareDocumentPosition), t = b || Z.test(o.contains) ? function (a, b) {
  300 + var c = 9 === a.nodeType ? a.documentElement : a, d = b && b.parentNode;
  301 + return a === d || !(!d || 1 !== d.nodeType || !(c.contains ? c.contains(d) : a.compareDocumentPosition && 16 & a.compareDocumentPosition(d)))
  302 + } : function (a, b) {
  303 + if (b) while (b = b.parentNode) if (b === a) return !0;
  304 + return !1
  305 + }, B = b ? function (a, b) {
  306 + if (a === b) return l = !0, 0;
  307 + var d = !a.compareDocumentPosition - !b.compareDocumentPosition;
  308 + return d ? d : (d = (a.ownerDocument || a) === (b.ownerDocument || b) ? a.compareDocumentPosition(b) : 1, 1 & d || !c.sortDetached && b.compareDocumentPosition(a) === d ? a === n || a.ownerDocument === v && t(v, a) ? -1 : b === n || b.ownerDocument === v && t(v, b) ? 1 : k ? J(k, a) - J(k, b) : 0 : 4 & d ? -1 : 1)
  309 + } : function (a, b) {
  310 + if (a === b) return l = !0, 0;
  311 + var c, d = 0, e = a.parentNode, f = b.parentNode, g = [a], h = [b];
  312 + if (!e || !f) return a === n ? -1 : b === n ? 1 : e ? -1 : f ? 1 : k ? J(k, a) - J(k, b) : 0;
  313 + if (e === f) return ka(a, b);
  314 + c = a;
  315 + while (c = c.parentNode) g.unshift(c);
  316 + c = b;
  317 + while (c = c.parentNode) h.unshift(c);
  318 + while (g[d] === h[d]) d++;
  319 + return d ? ka(g[d], h[d]) : g[d] === v ? -1 : h[d] === v ? 1 : 0
  320 + }, n) : n
  321 + }, fa.matches = function (a, b) {
  322 + return fa(a, null, null, b)
  323 + }, fa.matchesSelector = function (a, b) {
  324 + if ((a.ownerDocument || a) !== n && m(a), b = b.replace(T, "='$1']"), c.matchesSelector && p && !A[b + " "] && (!r || !r.test(b)) && (!q || !q.test(b))) try {
  325 + var d = s.call(a, b);
  326 + if (d || c.disconnectedMatch || a.document && 11 !== a.document.nodeType) return d
  327 + } catch (e) {
  328 + }
  329 + return fa(b, n, null, [a]).length > 0
  330 + }, fa.contains = function (a, b) {
  331 + return (a.ownerDocument || a) !== n && m(a), t(a, b)
  332 + }, fa.attr = function (a, b) {
  333 + (a.ownerDocument || a) !== n && m(a);
  334 + var e = d.attrHandle[b.toLowerCase()],
  335 + f = e && D.call(d.attrHandle, b.toLowerCase()) ? e(a, b, !p) : void 0;
  336 + return void 0 !== f ? f : c.attributes || !p ? a.getAttribute(b) : (f = a.getAttributeNode(b)) && f.specified ? f.value : null
  337 + }, fa.error = function (a) {
  338 + throw new Error("Syntax error, unrecognized expression: " + a)
  339 + }, fa.uniqueSort = function (a) {
  340 + var b, d = [], e = 0, f = 0;
  341 + if (l = !c.detectDuplicates, k = !c.sortStable && a.slice(0), a.sort(B), l) {
  342 + while (b = a[f++]) b === a[f] && (e = d.push(f));
  343 + while (e--) a.splice(d[e], 1)
  344 + }
  345 + return k = null, a
  346 + }, e = fa.getText = function (a) {
  347 + var b, c = "", d = 0, f = a.nodeType;
  348 + if (f) {
  349 + if (1 === f || 9 === f || 11 === f) {
  350 + if ("string" == typeof a.textContent) return a.textContent;
  351 + for (a = a.firstChild; a; a = a.nextSibling) c += e(a)
  352 + } else if (3 === f || 4 === f) return a.nodeValue
  353 + } else while (b = a[d++]) c += e(b);
  354 + return c
  355 + }, d = fa.selectors = {
  356 + cacheLength: 50,
  357 + createPseudo: ha,
  358 + match: W,
  359 + attrHandle: {},
  360 + find: {},
  361 + relative: {
  362 + ">": {dir: "parentNode", first: !0},
  363 + " ": {dir: "parentNode"},
  364 + "+": {dir: "previousSibling", first: !0},
  365 + "~": {dir: "previousSibling"}
  366 + },
  367 + preFilter: {
  368 + ATTR: function (a) {
  369 + return a[1] = a[1].replace(ba, ca), a[3] = (a[3] || a[4] || a[5] || "").replace(ba, ca), "~=" === a[2] && (a[3] = " " + a[3] + " "), a.slice(0, 4)
  370 + }, CHILD: function (a) {
  371 + return a[1] = a[1].toLowerCase(), "nth" === a[1].slice(0, 3) ? (a[3] || fa.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] && fa.error(a[0]), a
  372 + }, PSEUDO: function (a) {
  373 + var b, c = !a[6] && a[2];
  374 + return W.CHILD.test(a[0]) ? null : (a[3] ? a[2] = a[4] || a[5] || "" : c && U.test(c) && (b = g(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))
  375 + }
  376 + },
  377 + filter: {
  378 + TAG: function (a) {
  379 + var b = a.replace(ba, ca).toLowerCase();
  380 + return "*" === a ? function () {
  381 + return !0
  382 + } : function (a) {
  383 + return a.nodeName && a.nodeName.toLowerCase() === b
  384 + }
  385 + }, CLASS: function (a) {
  386 + var b = y[a + " "];
  387 + return b || (b = new RegExp("(^|" + L + ")" + a + "(" + L + "|$)")) && y(a, function (a) {
  388 + return b.test("string" == typeof a.className && a.className || "undefined" != typeof a.getAttribute && a.getAttribute("class") || "")
  389 + })
  390 + }, ATTR: function (a, b, c) {
  391 + return function (d) {
  392 + var e = fa.attr(d, a);
  393 + return null == e ? "!=" === b : b ? (e += "", "=" === b ? e === c : "!=" === b ? e !== c : "^=" === b ? c && 0 === e.indexOf(c) : "*=" === b ? c && e.indexOf(c) > -1 : "$=" === b ? c && e.slice(-c.length) === c : "~=" === b ? (" " + e.replace(P, " ") + " ").indexOf(c) > -1 : "|=" === b ? e === c || e.slice(0, c.length + 1) === c + "-" : !1) : !0
  394 + }
  395 + }, CHILD: function (a, b, c, d, e) {
  396 + var f = "nth" !== a.slice(0, 3), g = "last" !== a.slice(-4), h = "of-type" === b;
  397 + return 1 === d && 0 === e ? function (a) {
  398 + return !!a.parentNode
  399 + } : function (b, c, i) {
  400 + var j, k, l, m, n, o, p = f !== g ? "nextSibling" : "previousSibling", q = b.parentNode,
  401 + r = h && b.nodeName.toLowerCase(), s = !i && !h, t = !1;
  402 + if (q) {
  403 + if (f) {
  404 + while (p) {
  405 + m = b;
  406 + while (m = m[p]) if (h ? m.nodeName.toLowerCase() === r : 1 === m.nodeType) return !1;
  407 + o = p = "only" === a && !o && "nextSibling"
  408 + }
  409 + return !0
  410 + }
  411 + if (o = [g ? q.firstChild : q.lastChild], g && s) {
  412 + m = q, l = m[u] || (m[u] = {}), k = l[m.uniqueID] || (l[m.uniqueID] = {}), j = k[a] || [], n = j[0] === w && j[1], t = n && j[2], m = n && q.childNodes[n];
  413 + while (m = ++n && m && m[p] || (t = n = 0) || o.pop()) if (1 === m.nodeType && ++t && m === b) {
  414 + k[a] = [w, n, t];
  415 + break
  416 + }
  417 + } else if (s && (m = b, l = m[u] || (m[u] = {}), k = l[m.uniqueID] || (l[m.uniqueID] = {}), j = k[a] || [], n = j[0] === w && j[1], t = n), t === !1) while (m = ++n && m && m[p] || (t = n = 0) || o.pop()) if ((h ? m.nodeName.toLowerCase() === r : 1 === m.nodeType) && ++t && (s && (l = m[u] || (m[u] = {}), k = l[m.uniqueID] || (l[m.uniqueID] = {}), k[a] = [w, t]), m === b)) break;
  418 + return t -= e, t === d || t % d === 0 && t / d >= 0
  419 + }
  420 + }
  421 + }, PSEUDO: function (a, b) {
  422 + var c, e = d.pseudos[a] || d.setFilters[a.toLowerCase()] || fa.error("unsupported pseudo: " + a);
  423 + return e[u] ? e(b) : e.length > 1 ? (c = [a, a, "", b], d.setFilters.hasOwnProperty(a.toLowerCase()) ? ha(function (a, c) {
  424 + var d, f = e(a, b), g = f.length;
  425 + while (g--) d = J(a, f[g]), a[d] = !(c[d] = f[g])
  426 + }) : function (a) {
  427 + return e(a, 0, c)
  428 + }) : e
  429 + }
  430 + },
  431 + pseudos: {
  432 + not: ha(function (a) {
  433 + var b = [], c = [], d = h(a.replace(Q, "$1"));
  434 + return d[u] ? ha(function (a, b, c, e) {
  435 + var f, g = d(a, null, e, []), h = a.length;
  436 + while (h--) (f = g[h]) && (a[h] = !(b[h] = f))
  437 + }) : function (a, e, f) {
  438 + return b[0] = a, d(b, null, f, c), b[0] = null, !c.pop()
  439 + }
  440 + }), has: ha(function (a) {
  441 + return function (b) {
  442 + return fa(a, b).length > 0
  443 + }
  444 + }), contains: ha(function (a) {
  445 + return a = a.replace(ba, ca), function (b) {
  446 + return (b.textContent || b.innerText || e(b)).indexOf(a) > -1
  447 + }
  448 + }), lang: ha(function (a) {
  449 + return V.test(a || "") || fa.error("unsupported lang: " + a), a = a.replace(ba, ca).toLowerCase(), function (b) {
  450 + var c;
  451 + do if (c = p ? b.lang : b.getAttribute("xml:lang") || b.getAttribute("lang")) return c = c.toLowerCase(), c === a || 0 === c.indexOf(a + "-"); while ((b = b.parentNode) && 1 === b.nodeType);
  452 + return !1
  453 + }
  454 + }), target: function (b) {
  455 + var c = a.location && a.location.hash;
  456 + return c && c.slice(1) === b.id
  457 + }, root: function (a) {
  458 + return a === o
  459 + }, focus: function (a) {
  460 + return a === n.activeElement && (!n.hasFocus || n.hasFocus()) && !!(a.type || a.href || ~a.tabIndex)
  461 + }, enabled: function (a) {
  462 + return a.disabled === !1
  463 + }, disabled: function (a) {
  464 + return a.disabled === !0
  465 + }, checked: function (a) {
  466 + var b = a.nodeName.toLowerCase();
  467 + return "input" === b && !!a.checked || "option" === b && !!a.selected
  468 + }, selected: function (a) {
  469 + return a.parentNode && a.parentNode.selectedIndex, a.selected === !0
  470 + }, empty: function (a) {
  471 + for (a = a.firstChild; a; a = a.nextSibling) if (a.nodeType < 6) return !1;
  472 + return !0
  473 + }, parent: function (a) {
  474 + return !d.pseudos.empty(a)
  475 + }, header: function (a) {
  476 + return Y.test(a.nodeName)
  477 + }, input: function (a) {
  478 + return X.test(a.nodeName)
  479 + }, button: function (a) {
  480 + var b = a.nodeName.toLowerCase();
  481 + return "input" === b && "button" === a.type || "button" === b
  482 + }, text: function (a) {
  483 + var b;
  484 + return "input" === a.nodeName.toLowerCase() && "text" === a.type && (null == (b = a.getAttribute("type")) || "text" === b.toLowerCase())
  485 + }, first: na(function () {
  486 + return [0]
  487 + }), last: na(function (a, b) {
  488 + return [b - 1]
  489 + }), eq: na(function (a, b, c) {
  490 + return [0 > c ? c + b : c]
  491 + }), even: na(function (a, b) {
  492 + for (var c = 0; b > c; c += 2) a.push(c);
  493 + return a
  494 + }), odd: na(function (a, b) {
  495 + for (var c = 1; b > c; c += 2) a.push(c);
  496 + return a
  497 + }), lt: na(function (a, b, c) {
  498 + for (var d = 0 > c ? c + b : c; --d >= 0;) a.push(d);
  499 + return a
  500 + }), gt: na(function (a, b, c) {
  501 + for (var d = 0 > c ? c + b : c; ++d < b;) a.push(d);
  502 + return a
  503 + })
  504 + }
  505 + }, d.pseudos.nth = d.pseudos.eq;
  506 + for (b in {radio: !0, checkbox: !0, file: !0, password: !0, image: !0}) d.pseudos[b] = la(b);
  507 + for (b in {submit: !0, reset: !0}) d.pseudos[b] = ma(b);
  508 +
  509 + function pa() {
  510 + }
  511 +
  512 + pa.prototype = d.filters = d.pseudos, d.setFilters = new pa, g = fa.tokenize = function (a, b) {
  513 + var c, e, f, g, h, i, j, k = z[a + " "];
  514 + if (k) return b ? 0 : k.slice(0);
  515 + h = a, i = [], j = d.preFilter;
  516 + while (h) {
  517 + c && !(e = R.exec(h)) || (e && (h = h.slice(e[0].length) || h), i.push(f = [])), c = !1, (e = S.exec(h)) && (c = e.shift(), f.push({
  518 + value: c,
  519 + type: e[0].replace(Q, " ")
  520 + }), h = h.slice(c.length));
  521 + for (g in d.filter) !(e = W[g].exec(h)) || j[g] && !(e = j[g](e)) || (c = e.shift(), f.push({
  522 + value: c,
  523 + type: g,
  524 + matches: e
  525 + }), h = h.slice(c.length));
  526 + if (!c) break
  527 + }
  528 + return b ? h.length : h ? fa.error(a) : z(a, i).slice(0)
  529 + };
  530 +
  531 + function qa(a) {
  532 + for (var b = 0, c = a.length, d = ""; c > b; b++) d += a[b].value;
  533 + return d
  534 + }
  535 +
  536 + function ra(a, b, c) {
  537 + var d = b.dir, e = c && "parentNode" === d, f = x++;
  538 + return b.first ? function (b, c, f) {
  539 + while (b = b[d]) if (1 === b.nodeType || e) return a(b, c, f)
  540 + } : function (b, c, g) {
  541 + var h, i, j, k = [w, f];
  542 + if (g) {
  543 + while (b = b[d]) if ((1 === b.nodeType || e) && a(b, c, g)) return !0
  544 + } else while (b = b[d]) if (1 === b.nodeType || e) {
  545 + if (j = b[u] || (b[u] = {}), i = j[b.uniqueID] || (j[b.uniqueID] = {}), (h = i[d]) && h[0] === w && h[1] === f) return k[2] = h[2];
  546 + if (i[d] = k, k[2] = a(b, c, g)) return !0
  547 + }
  548 + }
  549 + }
  550 +
  551 + function sa(a) {
  552 + return a.length > 1 ? function (b, c, d) {
  553 + var e = a.length;
  554 + while (e--) if (!a[e](b, c, d)) return !1;
  555 + return !0
  556 + } : a[0]
  557 + }
  558 +
  559 + function ta(a, b, c) {
  560 + for (var d = 0, e = b.length; e > d; d++) fa(a, b[d], c);
  561 + return c
  562 + }
  563 +
  564 + function ua(a, b, c, d, e) {
  565 + for (var f, g = [], h = 0, i = a.length, j = null != b; i > h; h++) (f = a[h]) && (c && !c(f, d, e) || (g.push(f), j && b.push(h)));
  566 + return g
  567 + }
  568 +
  569 + function va(a, b, c, d, e, f) {
  570 + return d && !d[u] && (d = va(d)), e && !e[u] && (e = va(e, f)), ha(function (f, g, h, i) {
  571 + var j, k, l, m = [], n = [], o = g.length, p = f || ta(b || "*", h.nodeType ? [h] : h, []),
  572 + q = !a || !f && b ? p : ua(p, m, a, h, i), r = c ? e || (f ? a : o || d) ? [] : g : q;
  573 + if (c && c(q, r, h, i), d) {
  574 + j = ua(r, n), d(j, [], h, i), k = j.length;
  575 + while (k--) (l = j[k]) && (r[n[k]] = !(q[n[k]] = l))
  576 + }
  577 + if (f) {
  578 + if (e || a) {
  579 + if (e) {
  580 + j = [], k = r.length;
  581 + while (k--) (l = r[k]) && j.push(q[k] = l);
  582 + e(null, r = [], j, i)
  583 + }
  584 + k = r.length;
  585 + while (k--) (l = r[k]) && (j = e ? J(f, l) : m[k]) > -1 && (f[j] = !(g[j] = l))
  586 + }
  587 + } else r = ua(r === g ? r.splice(o, r.length) : r), e ? e(null, g, r, i) : H.apply(g, r)
  588 + })
  589 + }
  590 +
  591 + function wa(a) {
  592 + for (var b, c, e, f = a.length, g = d.relative[a[0].type], h = g || d.relative[" "], i = g ? 1 : 0, k = ra(function (a) {
  593 + return a === b
  594 + }, h, !0), l = ra(function (a) {
  595 + return J(b, a) > -1
  596 + }, h, !0), m = [function (a, c, d) {
  597 + var e = !g && (d || c !== j) || ((b = c).nodeType ? k(a, c, d) : l(a, c, d));
  598 + return b = null, e
  599 + }]; f > i; i++) if (c = d.relative[a[i].type]) m = [ra(sa(m), c)]; else {
  600 + if (c = d.filter[a[i].type].apply(null, a[i].matches), c[u]) {
  601 + for (e = ++i; f > e; e++) if (d.relative[a[e].type]) break;
  602 + return va(i > 1 && sa(m), i > 1 && qa(a.slice(0, i - 1).concat({value: " " === a[i - 2].type ? "*" : ""})).replace(Q, "$1"), c, e > i && wa(a.slice(i, e)), f > e && wa(a = a.slice(e)), f > e && qa(a))
  603 + }
  604 + m.push(c)
  605 + }
  606 + return sa(m)
  607 + }
  608 +
  609 + function xa(a, b) {
  610 + var c = b.length > 0, e = a.length > 0, f = function (f, g, h, i, k) {
  611 + var l, o, q, r = 0, s = "0", t = f && [], u = [], v = j, x = f || e && d.find.TAG("*", k),
  612 + y = w += null == v ? 1 : Math.random() || .1, z = x.length;
  613 + for (k && (j = g === n || g || k); s !== z && null != (l = x[s]); s++) {
  614 + if (e && l) {
  615 + o = 0, g || l.ownerDocument === n || (m(l), h = !p);
  616 + while (q = a[o++]) if (q(l, g || n, h)) {
  617 + i.push(l);
  618 + break
  619 + }
  620 + k && (w = y)
  621 + }
  622 + c && ((l = !q && l) && r--, f && t.push(l))
  623 + }
  624 + if (r += s, c && s !== r) {
  625 + o = 0;
  626 + while (q = b[o++]) q(t, u, g, h);
  627 + if (f) {
  628 + if (r > 0) while (s--) t[s] || u[s] || (u[s] = F.call(i));
  629 + u = ua(u)
  630 + }
  631 + H.apply(i, u), k && !f && u.length > 0 && r + b.length > 1 && fa.uniqueSort(i)
  632 + }
  633 + return k && (w = y, j = v), t
  634 + };
  635 + return c ? ha(f) : f
  636 + }
  637 +
  638 + return h = fa.compile = function (a, b) {
  639 + var c, d = [], e = [], f = A[a + " "];
  640 + if (!f) {
  641 + b || (b = g(a)), c = b.length;
  642 + while (c--) f = wa(b[c]), f[u] ? d.push(f) : e.push(f);
  643 + f = A(a, xa(e, d)), f.selector = a
  644 + }
  645 + return f
  646 + }, i = fa.select = function (a, b, e, f) {
  647 + var i, j, k, l, m, n = "function" == typeof a && a, o = !f && g(a = n.selector || a);
  648 + if (e = e || [], 1 === o.length) {
  649 + if (j = o[0] = o[0].slice(0), j.length > 2 && "ID" === (k = j[0]).type && c.getById && 9 === b.nodeType && p && d.relative[j[1].type]) {
  650 + if (b = (d.find.ID(k.matches[0].replace(ba, ca), b) || [])[0], !b) return e;
  651 + n && (b = b.parentNode), a = a.slice(j.shift().value.length)
  652 + }
  653 + i = W.needsContext.test(a) ? 0 : j.length;
  654 + while (i--) {
  655 + if (k = j[i], d.relative[l = k.type]) break;
  656 + if ((m = d.find[l]) && (f = m(k.matches[0].replace(ba, ca), _.test(j[0].type) && oa(b.parentNode) || b))) {
  657 + if (j.splice(i, 1), a = f.length && qa(j), !a) return H.apply(e, f), e;
  658 + break
  659 + }
  660 + }
  661 + }
  662 + return (n || h(a, o))(f, b, !p, e, !b || _.test(a) && oa(b.parentNode) || b), e
  663 + }, c.sortStable = u.split("").sort(B).join("") === u, c.detectDuplicates = !!l, m(), c.sortDetached = ia(function (a) {
  664 + return 1 & a.compareDocumentPosition(n.createElement("div"))
  665 + }), ia(function (a) {
  666 + return a.innerHTML = "<a href='#'></a>", "#" === a.firstChild.getAttribute("href")
  667 + }) || ja("type|href|height|width", function (a, b, c) {
  668 + return c ? void 0 : a.getAttribute(b, "type" === b.toLowerCase() ? 1 : 2)
  669 + }), c.attributes && ia(function (a) {
  670 + return a.innerHTML = "<input/>", a.firstChild.setAttribute("value", ""), "" === a.firstChild.getAttribute("value")
  671 + }) || ja("value", function (a, b, c) {
  672 + return c || "input" !== a.nodeName.toLowerCase() ? void 0 : a.defaultValue
  673 + }), ia(function (a) {
  674 + return null == a.getAttribute("disabled")
  675 + }) || ja(K, function (a, b, c) {
  676 + var d;
  677 + return c ? void 0 : a[b] === !0 ? b.toLowerCase() : (d = a.getAttributeNode(b)) && d.specified ? d.value : null
  678 + }), fa
  679 + }(a);
  680 + n.find = t, n.expr = t.selectors, n.expr[":"] = n.expr.pseudos, n.uniqueSort = n.unique = t.uniqueSort, n.text = t.getText, n.isXMLDoc = t.isXML, n.contains = t.contains;
  681 + var u = function (a, b, c) {
  682 + var d = [], e = void 0 !== c;
  683 + while ((a = a[b]) && 9 !== a.nodeType) if (1 === a.nodeType) {
  684 + if (e && n(a).is(c)) break;
  685 + d.push(a)
  686 + }
  687 + return d
  688 + }, v = function (a, b) {
  689 + for (var c = []; a; a = a.nextSibling) 1 === a.nodeType && a !== b && c.push(a);
  690 + return c
  691 + }, w = n.expr.match.needsContext, x = /^<([\w-]+)\s*\/?>(?:<\/\1>|)$/, y = /^.[^:#\[\.,]*$/;
  692 +
  693 + function z(a, b, c) {
  694 + if (n.isFunction(b)) return n.grep(a, function (a, d) {
  695 + return !!b.call(a, d, a) !== c
  696 + });
  697 + if (b.nodeType) return n.grep(a, function (a) {
  698 + return a === b !== c
  699 + });
  700 + if ("string" == typeof b) {
  701 + if (y.test(b)) return n.filter(b, a, c);
  702 + b = n.filter(b, a)
  703 + }
  704 + return n.grep(a, function (a) {
  705 + return h.call(b, a) > -1 !== c
  706 + })
  707 + }
  708 +
  709 + n.filter = function (a, b, c) {
  710 + var d = b[0];
  711 + return c && (a = ":not(" + a + ")"), 1 === b.length && 1 === d.nodeType ? n.find.matchesSelector(d, a) ? [d] : [] : n.find.matches(a, n.grep(b, function (a) {
  712 + return 1 === a.nodeType
  713 + }))
  714 + }, n.fn.extend({
  715 + find: function (a) {
  716 + var b, c = this.length, d = [], e = this;
  717 + if ("string" != typeof a) return this.pushStack(n(a).filter(function () {
  718 + for (b = 0; c > b; b++) if (n.contains(e[b], this)) return !0
  719 + }));
  720 + for (b = 0; c > b; b++) n.find(a, e[b], d);
  721 + return d = this.pushStack(c > 1 ? n.unique(d) : d), d.selector = this.selector ? this.selector + " " + a : a, d
  722 + }, filter: function (a) {
  723 + return this.pushStack(z(this, a || [], !1))
  724 + }, not: function (a) {
  725 + return this.pushStack(z(this, a || [], !0))
  726 + }, is: function (a) {
  727 + return !!z(this, "string" == typeof a && w.test(a) ? n(a) : a || [], !1).length
  728 + }
  729 + });
  730 + var A, B = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/, C = n.fn.init = function (a, b, c) {
  731 + var e, f;
  732 + if (!a) return this;
  733 + if (c = c || A, "string" == typeof a) {
  734 + if (e = "<" === a[0] && ">" === a[a.length - 1] && a.length >= 3 ? [null, a, null] : B.exec(a), !e || !e[1] && b) return !b || b.jquery ? (b || c).find(a) : this.constructor(b).find(a);
  735 + if (e[1]) {
  736 + if (b = b instanceof n ? b[0] : b, n.merge(this, n.parseHTML(e[1], b && b.nodeType ? b.ownerDocument || b : d, !0)), x.test(e[1]) && n.isPlainObject(b)) for (e in b) n.isFunction(this[e]) ? this[e](b[e]) : this.attr(e, b[e]);
  737 + return this
  738 + }
  739 + return f = d.getElementById(e[2]), f && f.parentNode && (this.length = 1, this[0] = f), this.context = d, this.selector = a, this
  740 + }
  741 + return a.nodeType ? (this.context = this[0] = a, this.length = 1, this) : n.isFunction(a) ? void 0 !== c.ready ? c.ready(a) : a(n) : (void 0 !== a.selector && (this.selector = a.selector, this.context = a.context), n.makeArray(a, this))
  742 + };
  743 + C.prototype = n.fn, A = n(d);
  744 + var D = /^(?:parents|prev(?:Until|All))/, E = {children: !0, contents: !0, next: !0, prev: !0};
  745 + n.fn.extend({
  746 + has: function (a) {
  747 + var b = n(a, this), c = b.length;
  748 + return this.filter(function () {
  749 + for (var a = 0; c > a; a++) if (n.contains(this, b[a])) return !0
  750 + })
  751 + }, closest: function (a, b) {
  752 + for (var c, d = 0, e = this.length, f = [], g = w.test(a) || "string" != typeof a ? n(a, b || this.context) : 0; e > d; d++) for (c = this[d]; c && c !== b; c = c.parentNode) if (c.nodeType < 11 && (g ? g.index(c) > -1 : 1 === c.nodeType && n.find.matchesSelector(c, a))) {
  753 + f.push(c);
  754 + break
  755 + }
  756 + return this.pushStack(f.length > 1 ? n.uniqueSort(f) : f)
  757 + }, index: function (a) {
  758 + return a ? "string" == typeof a ? h.call(n(a), this[0]) : h.call(this, a.jquery ? a[0] : a) : this[0] && this[0].parentNode ? this.first().prevAll().length : -1
  759 + }, add: function (a, b) {
  760 + return this.pushStack(n.uniqueSort(n.merge(this.get(), n(a, b))))
  761 + }, addBack: function (a) {
  762 + return this.add(null == a ? this.prevObject : this.prevObject.filter(a))
  763 + }
  764 + });
  765 +
  766 + function F(a, b) {
  767 + while ((a = a[b]) && 1 !== a.nodeType) ;
  768 + return a
  769 + }
  770 +
  771 + n.each({
  772 + parent: function (a) {
  773 + var b = a.parentNode;
  774 + return b && 11 !== b.nodeType ? b : null
  775 + }, parents: function (a) {
  776 + return u(a, "parentNode")
  777 + }, parentsUntil: function (a, b, c) {
  778 + return u(a, "parentNode", c)
  779 + }, next: function (a) {
  780 + return F(a, "nextSibling")
  781 + }, prev: function (a) {
  782 + return F(a, "previousSibling")
  783 + }, nextAll: function (a) {
  784 + return u(a, "nextSibling")
  785 + }, prevAll: function (a) {
  786 + return u(a, "previousSibling")
  787 + }, nextUntil: function (a, b, c) {
  788 + return u(a, "nextSibling", c)
  789 + }, prevUntil: function (a, b, c) {
  790 + return u(a, "previousSibling", c)
  791 + }, siblings: function (a) {
  792 + return v((a.parentNode || {}).firstChild, a)
  793 + }, children: function (a) {
  794 + return v(a.firstChild)
  795 + }, contents: function (a) {
  796 + return a.contentDocument || n.merge([], a.childNodes)
  797 + }
  798 + }, function (a, b) {
  799 + n.fn[a] = function (c, d) {
  800 + var e = n.map(this, b, c);
  801 + return "Until" !== a.slice(-5) && (d = c), d && "string" == typeof d && (e = n.filter(d, e)), this.length > 1 && (E[a] || n.uniqueSort(e), D.test(a) && e.reverse()), this.pushStack(e)
  802 + }
  803 + });
  804 + var G = /\S+/g;
  805 +
  806 + function H(a) {
  807 + var b = {};
  808 + return n.each(a.match(G) || [], function (a, c) {
  809 + b[c] = !0
  810 + }), b
  811 + }
  812 +
  813 + n.Callbacks = function (a) {
  814 + a = "string" == typeof a ? H(a) : n.extend({}, a);
  815 + var b, c, d, e, f = [], g = [], h = -1, i = function () {
  816 + for (e = a.once, d = b = !0; g.length; h = -1) {
  817 + c = g.shift();
  818 + while (++h < f.length) f[h].apply(c[0], c[1]) === !1 && a.stopOnFalse && (h = f.length, c = !1)
  819 + }
  820 + a.memory || (c = !1), b = !1, e && (f = c ? [] : "")
  821 + }, j = {
  822 + add: function () {
  823 + return f && (c && !b && (h = f.length - 1, g.push(c)), function d(b) {
  824 + n.each(b, function (b, c) {
  825 + n.isFunction(c) ? a.unique && j.has(c) || f.push(c) : c && c.length && "string" !== n.type(c) && d(c)
  826 + })
  827 + }(arguments), c && !b && i()), this
  828 + }, remove: function () {
  829 + return n.each(arguments, function (a, b) {
  830 + var c;
  831 + while ((c = n.inArray(b, f, c)) > -1) f.splice(c, 1), h >= c && h--
  832 + }), this
  833 + }, has: function (a) {
  834 + return a ? n.inArray(a, f) > -1 : f.length > 0
  835 + }, empty: function () {
  836 + return f && (f = []), this
  837 + }, disable: function () {
  838 + return e = g = [], f = c = "", this
  839 + }, disabled: function () {
  840 + return !f
  841 + }, lock: function () {
  842 + return e = g = [], c || (f = c = ""), this
  843 + }, locked: function () {
  844 + return !!e
  845 + }, fireWith: function (a, c) {
  846 + return e || (c = c || [], c = [a, c.slice ? c.slice() : c], g.push(c), b || i()), this
  847 + }, fire: function () {
  848 + return j.fireWith(this, arguments), this
  849 + }, fired: function () {
  850 + return !!d
  851 + }
  852 + };
  853 + return j
  854 + }, n.extend({
  855 + Deferred: function (a) {
  856 + var b = [["resolve", "done", n.Callbacks("once memory"), "resolved"], ["reject", "fail", n.Callbacks("once memory"), "rejected"], ["notify", "progress", n.Callbacks("memory")]],
  857 + c = "pending", d = {
  858 + state: function () {
  859 + return c
  860 + }, always: function () {
  861 + return e.done(arguments).fail(arguments), this
  862 + }, then: function () {
  863 + var a = arguments;
  864 + return n.Deferred(function (c) {
  865 + n.each(b, function (b, f) {
  866 + var g = n.isFunction(a[b]) && a[b];
  867 + e[f[1]](function () {
  868 + var a = g && g.apply(this, arguments);
  869 + a && n.isFunction(a.promise) ? a.promise().progress(c.notify).done(c.resolve).fail(c.reject) : c[f[0] + "With"](this === d ? c.promise() : this, g ? [a] : arguments)
  870 + })
  871 + }), a = null
  872 + }).promise()
  873 + }, promise: function (a) {
  874 + return null != a ? n.extend(a, d) : d
  875 + }
  876 + }, e = {};
  877 + return d.pipe = d.then, n.each(b, function (a, f) {
  878 + var g = f[2], h = f[3];
  879 + d[f[1]] = g.add, h && g.add(function () {
  880 + c = h
  881 + }, b[1 ^ a][2].disable, b[2][2].lock), e[f[0]] = function () {
  882 + return e[f[0] + "With"](this === e ? d : this, arguments), this
  883 + }, e[f[0] + "With"] = g.fireWith
  884 + }), d.promise(e), a && a.call(e, e), e
  885 + }, when: function (a) {
  886 + var b = 0, c = e.call(arguments), d = c.length, f = 1 !== d || a && n.isFunction(a.promise) ? d : 0,
  887 + g = 1 === f ? a : n.Deferred(), h = function (a, b, c) {
  888 + return function (d) {
  889 + b[a] = this, c[a] = arguments.length > 1 ? e.call(arguments) : d, c === i ? g.notifyWith(b, c) : --f || g.resolveWith(b, c)
  890 + }
  891 + }, i, j, k;
  892 + if (d > 1) for (i = new Array(d), j = new Array(d), k = new Array(d); d > b; b++) c[b] && n.isFunction(c[b].promise) ? c[b].promise().progress(h(b, j, i)).done(h(b, k, c)).fail(g.reject) : --f;
  893 + return f || g.resolveWith(k, c), g.promise()
  894 + }
  895 + });
  896 + var I;
  897 + n.fn.ready = function (a) {
  898 + return n.ready.promise().done(a), this
  899 + }, n.extend({
  900 + isReady: !1, readyWait: 1, holdReady: function (a) {
  901 + a ? n.readyWait++ : n.ready(!0)
  902 + }, ready: function (a) {
  903 + (a === !0 ? --n.readyWait : n.isReady) || (n.isReady = !0, a !== !0 && --n.readyWait > 0 || (I.resolveWith(d, [n]), n.fn.triggerHandler && (n(d).triggerHandler("ready"), n(d).off("ready"))))
  904 + }
  905 + });
  906 +
  907 + function J() {
  908 + d.removeEventListener("DOMContentLoaded", J), a.removeEventListener("load", J), n.ready()
  909 + }
  910 +
  911 + n.ready.promise = function (b) {
  912 + return I || (I = n.Deferred(), "complete" === d.readyState || "loading" !== d.readyState && !d.documentElement.doScroll ? a.setTimeout(n.ready) : (d.addEventListener("DOMContentLoaded", J), a.addEventListener("load", J))), I.promise(b)
  913 + }, n.ready.promise();
  914 + var K = function (a, b, c, d, e, f, g) {
  915 + var h = 0, i = a.length, j = null == c;
  916 + if ("object" === n.type(c)) {
  917 + e = !0;
  918 + for (h in c) K(a, b, h, c[h], !0, f, g)
  919 + } else if (void 0 !== d && (e = !0, n.isFunction(d) || (g = !0), j && (g ? (b.call(a, d), b = null) : (j = b, b = function (a, b, c) {
  920 + return j.call(n(a), c)
  921 + })), b)) for (; i > h; h++) b(a[h], c, g ? d : d.call(a[h], h, b(a[h], c)));
  922 + return e ? a : j ? b.call(a) : i ? b(a[0], c) : f
  923 + }, L = function (a) {
  924 + return 1 === a.nodeType || 9 === a.nodeType || !+a.nodeType
  925 + };
  926 +
  927 + function M() {
  928 + this.expando = n.expando + M.uid++
  929 + }
  930 +
  931 + M.uid = 1, M.prototype = {
  932 + register: function (a, b) {
  933 + var c = b || {};
  934 + return a.nodeType ? a[this.expando] = c : Object.defineProperty(a, this.expando, {
  935 + value: c,
  936 + writable: !0,
  937 + configurable: !0
  938 + }), a[this.expando]
  939 + }, cache: function (a) {
  940 + if (!L(a)) return {};
  941 + var b = a[this.expando];
  942 + return b || (b = {}, L(a) && (a.nodeType ? a[this.expando] = b : Object.defineProperty(a, this.expando, {
  943 + value: b,
  944 + configurable: !0
  945 + }))), b
  946 + }, set: function (a, b, c) {
  947 + var d, e = this.cache(a);
  948 + if ("string" == typeof b) e[b] = c; else for (d in b) e[d] = b[d];
  949 + return e
  950 + }, get: function (a, b) {
  951 + return void 0 === b ? this.cache(a) : a[this.expando] && a[this.expando][b]
  952 + }, access: function (a, b, c) {
  953 + var d;
  954 + return void 0 === b || b && "string" == typeof b && void 0 === c ? (d = this.get(a, b), void 0 !== d ? d : this.get(a, n.camelCase(b))) : (this.set(a, b, c), void 0 !== c ? c : b)
  955 + }, remove: function (a, b) {
  956 + var c, d, e, f = a[this.expando];
  957 + if (void 0 !== f) {
  958 + if (void 0 === b) this.register(a); else {
  959 + n.isArray(b) ? d = b.concat(b.map(n.camelCase)) : (e = n.camelCase(b), b in f ? d = [b, e] : (d = e, d = d in f ? [d] : d.match(G) || [])), c = d.length;
  960 + while (c--) delete f[d[c]]
  961 + }
  962 + (void 0 === b || n.isEmptyObject(f)) && (a.nodeType ? a[this.expando] = void 0 : delete a[this.expando])
  963 + }
  964 + }, hasData: function (a) {
  965 + var b = a[this.expando];
  966 + return void 0 !== b && !n.isEmptyObject(b)
  967 + }
  968 + };
  969 + var N = new M, O = new M, P = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, Q = /[A-Z]/g;
  970 +
  971 + function R(a, b, c) {
  972 + var d;
  973 + if (void 0 === c && 1 === a.nodeType) if (d = "data-" + b.replace(Q, "-$&").toLowerCase(), c = a.getAttribute(d), "string" == typeof c) {
  974 + try {
  975 + c = "true" === c ? !0 : "false" === c ? !1 : "null" === c ? null : +c + "" === c ? +c : P.test(c) ? n.parseJSON(c) : c;
  976 + } catch (e) {
  977 + }
  978 + O.set(a, b, c)
  979 + } else c = void 0;
  980 + return c
  981 + }
  982 +
  983 + n.extend({
  984 + hasData: function (a) {
  985 + return O.hasData(a) || N.hasData(a)
  986 + }, data: function (a, b, c) {
  987 + return O.access(a, b, c)
  988 + }, removeData: function (a, b) {
  989 + O.remove(a, b)
  990 + }, _data: function (a, b, c) {
  991 + return N.access(a, b, c)
  992 + }, _removeData: function (a, b) {
  993 + N.remove(a, b)
  994 + }
  995 + }), n.fn.extend({
  996 + data: function (a, b) {
  997 + var c, d, e, f = this[0], g = f && f.attributes;
  998 + if (void 0 === a) {
  999 + if (this.length && (e = O.get(f), 1 === f.nodeType && !N.get(f, "hasDataAttrs"))) {
  1000 + c = g.length;
  1001 + while (c--) g[c] && (d = g[c].name, 0 === d.indexOf("data-") && (d = n.camelCase(d.slice(5)), R(f, d, e[d])));
  1002 + N.set(f, "hasDataAttrs", !0)
  1003 + }
  1004 + return e
  1005 + }
  1006 + return "object" == typeof a ? this.each(function () {
  1007 + O.set(this, a)
  1008 + }) : K(this, function (b) {
  1009 + var c, d;
  1010 + if (f && void 0 === b) {
  1011 + if (c = O.get(f, a) || O.get(f, a.replace(Q, "-$&").toLowerCase()), void 0 !== c) return c;
  1012 + if (d = n.camelCase(a), c = O.get(f, d), void 0 !== c) return c;
  1013 + if (c = R(f, d, void 0), void 0 !== c) return c
  1014 + } else d = n.camelCase(a), this.each(function () {
  1015 + var c = O.get(this, d);
  1016 + O.set(this, d, b), a.indexOf("-") > -1 && void 0 !== c && O.set(this, a, b)
  1017 + })
  1018 + }, null, b, arguments.length > 1, null, !0)
  1019 + }, removeData: function (a) {
  1020 + return this.each(function () {
  1021 + O.remove(this, a)
  1022 + })
  1023 + }
  1024 + }), n.extend({
  1025 + queue: function (a, b, c) {
  1026 + var d;
  1027 + return a ? (b = (b || "fx") + "queue", d = N.get(a, b), c && (!d || n.isArray(c) ? d = N.access(a, b, n.makeArray(c)) : d.push(c)), d || []) : void 0
  1028 + }, dequeue: function (a, b) {
  1029 + b = b || "fx";
  1030 + var c = n.queue(a, b), d = c.length, e = c.shift(), f = n._queueHooks(a, b), g = function () {
  1031 + n.dequeue(a, b)
  1032 + };
  1033 + "inprogress" === e && (e = c.shift(), d--), e && ("fx" === b && c.unshift("inprogress"), delete f.stop, e.call(a, g, f)), !d && f && f.empty.fire()
  1034 + }, _queueHooks: function (a, b) {
  1035 + var c = b + "queueHooks";
  1036 + return N.get(a, c) || N.access(a, c, {
  1037 + empty: n.Callbacks("once memory").add(function () {
  1038 + N.remove(a, [b + "queue", c])
  1039 + })
  1040 + })
  1041 + }
  1042 + }), n.fn.extend({
  1043 + queue: function (a, b) {
  1044 + var c = 2;
  1045 + return "string" != typeof a && (b = a, a = "fx", c--), arguments.length < c ? n.queue(this[0], a) : void 0 === b ? this : this.each(function () {
  1046 + var c = n.queue(this, a, b);
  1047 + n._queueHooks(this, a), "fx" === a && "inprogress" !== c[0] && n.dequeue(this, a)
  1048 + })
  1049 + }, dequeue: function (a) {
  1050 + return this.each(function () {
  1051 + n.dequeue(this, a)
  1052 + })
  1053 + }, clearQueue: function (a) {
  1054 + return this.queue(a || "fx", [])
  1055 + }, promise: function (a, b) {
  1056 + var c, d = 1, e = n.Deferred(), f = this, g = this.length, h = function () {
  1057 + --d || e.resolveWith(f, [f])
  1058 + };
  1059 + "string" != typeof a && (b = a, a = void 0), a = a || "fx";
  1060 + while (g--) c = N.get(f[g], a + "queueHooks"), c && c.empty && (d++, c.empty.add(h));
  1061 + return h(), e.promise(b)
  1062 + }
  1063 + });
  1064 + var S = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source, T = new RegExp("^(?:([+-])=|)(" + S + ")([a-z%]*)$", "i"),
  1065 + U = ["Top", "Right", "Bottom", "Left"], V = function (a, b) {
  1066 + return a = b || a, "none" === n.css(a, "display") || !n.contains(a.ownerDocument, a)
  1067 + };
  1068 +
  1069 + function W(a, b, c, d) {
  1070 + var e, f = 1, g = 20, h = d ? function () {
  1071 + return d.cur()
  1072 + } : function () {
  1073 + return n.css(a, b, "")
  1074 + }, i = h(), j = c && c[3] || (n.cssNumber[b] ? "" : "px"),
  1075 + k = (n.cssNumber[b] || "px" !== j && +i) && T.exec(n.css(a, b));
  1076 + if (k && k[3] !== j) {
  1077 + j = j || k[3], c = c || [], k = +i || 1;
  1078 + do f = f || ".5", k /= f, n.style(a, b, k + j); while (f !== (f = h() / i) && 1 !== f && --g)
  1079 + }
  1080 + return c && (k = +k || +i || 0, e = c[1] ? k + (c[1] + 1) * c[2] : +c[2], d && (d.unit = j, d.start = k, d.end = e)), e
  1081 + }
  1082 +
  1083 + var X = /^(?:checkbox|radio)$/i, Y = /<([\w:-]+)/, Z = /^$|\/(?:java|ecma)script/i, $ = {
  1084 + option: [1, "<select multiple='multiple'>", "</select>"],
  1085 + thead: [1, "<table>", "</table>"],
  1086 + col: [2, "<table><colgroup>", "</colgroup></table>"],
  1087 + tr: [2, "<table><tbody>", "</tbody></table>"],
  1088 + td: [3, "<table><tbody><tr>", "</tr></tbody></table>"],
  1089 + _default: [0, "", ""]
  1090 + };
  1091 + $.optgroup = $.option, $.tbody = $.tfoot = $.colgroup = $.caption = $.thead, $.th = $.td;
  1092 +
  1093 + function _(a, b) {
  1094 + var c = "undefined" != typeof a.getElementsByTagName ? a.getElementsByTagName(b || "*") : "undefined" != typeof a.querySelectorAll ? a.querySelectorAll(b || "*") : [];
  1095 + return void 0 === b || b && n.nodeName(a, b) ? n.merge([a], c) : c
  1096 + }
  1097 +
  1098 + function aa(a, b) {
  1099 + for (var c = 0, d = a.length; d > c; c++) N.set(a[c], "globalEval", !b || N.get(b[c], "globalEval"))
  1100 + }
  1101 +
  1102 + var ba = /<|&#?\w+;/;
  1103 +
  1104 + function ca(a, b, c, d, e) {
  1105 + for (var f, g, h, i, j, k, l = b.createDocumentFragment(), m = [], o = 0, p = a.length; p > o; o++) if (f = a[o], f || 0 === f) if ("object" === n.type(f)) n.merge(m, f.nodeType ? [f] : f); else if (ba.test(f)) {
  1106 + g = g || l.appendChild(b.createElement("div")), h = (Y.exec(f) || ["", ""])[1].toLowerCase(), i = $[h] || $._default, g.innerHTML = i[1] + n.htmlPrefilter(f) + i[2], k = i[0];
  1107 + while (k--) g = g.lastChild;
  1108 + n.merge(m, g.childNodes), g = l.firstChild, g.textContent = ""
  1109 + } else m.push(b.createTextNode(f));
  1110 + l.textContent = "", o = 0;
  1111 + while (f = m[o++]) if (d && n.inArray(f, d) > -1) e && e.push(f); else if (j = n.contains(f.ownerDocument, f), g = _(l.appendChild(f), "script"), j && aa(g), c) {
  1112 + k = 0;
  1113 + while (f = g[k++]) Z.test(f.type || "") && c.push(f)
  1114 + }
  1115 + return l
  1116 + }
  1117 +
  1118 + !function () {
  1119 + var a = d.createDocumentFragment(), b = a.appendChild(d.createElement("div")), c = d.createElement("input");
  1120 + c.setAttribute("type", "radio"), c.setAttribute("checked", "checked"), c.setAttribute("name", "t"), b.appendChild(c), l.checkClone = b.cloneNode(!0).cloneNode(!0).lastChild.checked, b.innerHTML = "<textarea>x</textarea>", l.noCloneChecked = !!b.cloneNode(!0).lastChild.defaultValue
  1121 + }();
  1122 + var da = /^key/, ea = /^(?:mouse|pointer|contextmenu|drag|drop)|click/, fa = /^([^.]*)(?:\.(.+)|)/;
  1123 +
  1124 + function ga() {
  1125 + return !0
  1126 + }
  1127 +
  1128 + function ha() {
  1129 + return !1
  1130 + }
  1131 +
  1132 + function ia() {
  1133 + try {
  1134 + return d.activeElement
  1135 + } catch (a) {
  1136 + }
  1137 + }
  1138 +
  1139 + function ja(a, b, c, d, e, f) {
  1140 + var g, h;
  1141 + if ("object" == typeof b) {
  1142 + "string" != typeof c && (d = d || c, c = void 0);
  1143 + for (h in b) ja(a, h, c, d, b[h], f);
  1144 + return a
  1145 + }
  1146 + if (null == d && null == e ? (e = c, d = c = void 0) : null == e && ("string" == typeof c ? (e = d, d = void 0) : (e = d, d = c, c = void 0)), e === !1) e = ha; else if (!e) return a;
  1147 + return 1 === f && (g = e, e = function (a) {
  1148 + return n().off(a), g.apply(this, arguments)
  1149 + }, e.guid = g.guid || (g.guid = n.guid++)), a.each(function () {
  1150 + n.event.add(this, b, e, d, c)
  1151 + })
  1152 + }
  1153 +
  1154 + n.event = {
  1155 + global: {},
  1156 + add: function (a, b, c, d, e) {
  1157 + var f, g, h, i, j, k, l, m, o, p, q, r = N.get(a);
  1158 + if (r) {
  1159 + c.handler && (f = c, c = f.handler, e = f.selector), c.guid || (c.guid = n.guid++), (i = r.events) || (i = r.events = {}), (g = r.handle) || (g = r.handle = function (b) {
  1160 + return "undefined" != typeof n && n.event.triggered !== b.type ? n.event.dispatch.apply(a, arguments) : void 0
  1161 + }), b = (b || "").match(G) || [""], j = b.length;
  1162 + while (j--) h = fa.exec(b[j]) || [], o = q = h[1], p = (h[2] || "").split(".").sort(), o && (l = n.event.special[o] || {}, o = (e ? l.delegateType : l.bindType) || o, l = n.event.special[o] || {}, k = n.extend({
  1163 + type: o,
  1164 + origType: q,
  1165 + data: d,
  1166 + handler: c,
  1167 + guid: c.guid,
  1168 + selector: e,
  1169 + needsContext: e && n.expr.match.needsContext.test(e),
  1170 + namespace: p.join(".")
  1171 + }, f), (m = i[o]) || (m = i[o] = [], m.delegateCount = 0, l.setup && l.setup.call(a, d, p, g) !== !1 || a.addEventListener && a.addEventListener(o, g)), l.add && (l.add.call(a, k), k.handler.guid || (k.handler.guid = c.guid)), e ? m.splice(m.delegateCount++, 0, k) : m.push(k), n.event.global[o] = !0)
  1172 + }
  1173 + },
  1174 + remove: function (a, b, c, d, e) {
  1175 + var f, g, h, i, j, k, l, m, o, p, q, r = N.hasData(a) && N.get(a);
  1176 + if (r && (i = r.events)) {
  1177 + b = (b || "").match(G) || [""], j = b.length;
  1178 + while (j--) if (h = fa.exec(b[j]) || [], o = q = h[1], p = (h[2] || "").split(".").sort(), o) {
  1179 + l = n.event.special[o] || {}, o = (d ? l.delegateType : l.bindType) || o, m = i[o] || [], h = h[2] && new RegExp("(^|\\.)" + p.join("\\.(?:.*\\.|)") + "(\\.|$)"), g = f = m.length;
  1180 + while (f--) k = m[f], !e && q !== k.origType || c && c.guid !== k.guid || h && !h.test(k.namespace) || d && d !== k.selector && ("**" !== d || !k.selector) || (m.splice(f, 1), k.selector && m.delegateCount--, l.remove && l.remove.call(a, k));
  1181 + g && !m.length && (l.teardown && l.teardown.call(a, p, r.handle) !== !1 || n.removeEvent(a, o, r.handle), delete i[o])
  1182 + } else for (o in i) n.event.remove(a, o + b[j], c, d, !0);
  1183 + n.isEmptyObject(i) && N.remove(a, "handle events")
  1184 + }
  1185 + },
  1186 + dispatch: function (a) {
  1187 + a = n.event.fix(a);
  1188 + var b, c, d, f, g, h = [], i = e.call(arguments), j = (N.get(this, "events") || {})[a.type] || [],
  1189 + k = n.event.special[a.type] || {};
  1190 + if (i[0] = a, a.delegateTarget = this, !k.preDispatch || k.preDispatch.call(this, a) !== !1) {
  1191 + h = n.event.handlers.call(this, a, j), b = 0;
  1192 + while ((f = h[b++]) && !a.isPropagationStopped()) {
  1193 + a.currentTarget = f.elem, c = 0;
  1194 + while ((g = f.handlers[c++]) && !a.isImmediatePropagationStopped()) a.rnamespace && !a.rnamespace.test(g.namespace) || (a.handleObj = g, a.data = g.data, d = ((n.event.special[g.origType] || {}).handle || g.handler).apply(f.elem, i), void 0 !== d && (a.result = d) === !1 && (a.preventDefault(), a.stopPropagation()))
  1195 + }
  1196 + return k.postDispatch && k.postDispatch.call(this, a), a.result
  1197 + }
  1198 + },
  1199 + handlers: function (a, b) {
  1200 + var c, d, e, f, g = [], h = b.delegateCount, i = a.target;
  1201 + if (h && i.nodeType && ("click" !== a.type || isNaN(a.button) || a.button < 1)) for (; i !== this; i = i.parentNode || this) if (1 === i.nodeType && (i.disabled !== !0 || "click" !== a.type)) {
  1202 + for (d = [], c = 0; h > c; c++) f = b[c], e = f.selector + " ", void 0 === d[e] && (d[e] = f.needsContext ? n(e, this).index(i) > -1 : n.find(e, this, null, [i]).length), d[e] && d.push(f);
  1203 + d.length && g.push({elem: i, handlers: d})
  1204 + }
  1205 + return h < b.length && g.push({elem: this, handlers: b.slice(h)}), g
  1206 + },
  1207 + props: "altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),
  1208 + fixHooks: {},
  1209 + keyHooks: {
  1210 + props: "char charCode key keyCode".split(" "), filter: function (a, b) {
  1211 + return null == a.which && (a.which = null != b.charCode ? b.charCode : b.keyCode), a
  1212 + }
  1213 + },
  1214 + mouseHooks: {
  1215 + props: "button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),
  1216 + filter: function (a, b) {
  1217 + var c, e, f, g = b.button;
  1218 + return null == a.pageX && null != b.clientX && (c = a.target.ownerDocument || d, e = c.documentElement, f = c.body, a.pageX = b.clientX + (e && e.scrollLeft || f && f.scrollLeft || 0) - (e && e.clientLeft || f && f.clientLeft || 0), a.pageY = b.clientY + (e && e.scrollTop || f && f.scrollTop || 0) - (e && e.clientTop || f && f.clientTop || 0)), a.which || void 0 === g || (a.which = 1 & g ? 1 : 2 & g ? 3 : 4 & g ? 2 : 0), a
  1219 + }
  1220 + },
  1221 + fix: function (a) {
  1222 + if (a[n.expando]) return a;
  1223 + var b, c, e, f = a.type, g = a, h = this.fixHooks[f];
  1224 + h || (this.fixHooks[f] = h = ea.test(f) ? this.mouseHooks : da.test(f) ? this.keyHooks : {}), e = h.props ? this.props.concat(h.props) : this.props, a = new n.Event(g), b = e.length;
  1225 + while (b--) c = e[b], a[c] = g[c];
  1226 + return a.target || (a.target = d), 3 === a.target.nodeType && (a.target = a.target.parentNode), h.filter ? h.filter(a, g) : a
  1227 + },
  1228 + special: {
  1229 + load: {noBubble: !0}, focus: {
  1230 + trigger: function () {
  1231 + return this !== ia() && this.focus ? (this.focus(), !1) : void 0
  1232 + }, delegateType: "focusin"
  1233 + }, blur: {
  1234 + trigger: function () {
  1235 + return this === ia() && this.blur ? (this.blur(), !1) : void 0
  1236 + }, delegateType: "focusout"
  1237 + }, click: {
  1238 + trigger: function () {
  1239 + return "checkbox" === this.type && this.click && n.nodeName(this, "input") ? (this.click(), !1) : void 0
  1240 + }, _default: function (a) {
  1241 + return n.nodeName(a.target, "a")
  1242 + }
  1243 + }, beforeunload: {
  1244 + postDispatch: function (a) {
  1245 + void 0 !== a.result && a.originalEvent && (a.originalEvent.returnValue = a.result)
  1246 + }
  1247 + }
  1248 + }
  1249 + }, n.removeEvent = function (a, b, c) {
  1250 + a.removeEventListener && a.removeEventListener(b, c)
  1251 + }, n.Event = function (a, b) {
  1252 + return this instanceof n.Event ? (a && a.type ? (this.originalEvent = a, this.type = a.type, this.isDefaultPrevented = a.defaultPrevented || void 0 === a.defaultPrevented && a.returnValue === !1 ? ga : ha) : this.type = a, b && n.extend(this, b), this.timeStamp = a && a.timeStamp || n.now(), void (this[n.expando] = !0)) : new n.Event(a, b)
  1253 + }, n.Event.prototype = {
  1254 + constructor: n.Event,
  1255 + isDefaultPrevented: ha,
  1256 + isPropagationStopped: ha,
  1257 + isImmediatePropagationStopped: ha,
  1258 + isSimulated: !1,
  1259 + preventDefault: function () {
  1260 + var a = this.originalEvent;
  1261 + this.isDefaultPrevented = ga, a && !this.isSimulated && a.preventDefault()
  1262 + },
  1263 + stopPropagation: function () {
  1264 + var a = this.originalEvent;
  1265 + this.isPropagationStopped = ga, a && !this.isSimulated && a.stopPropagation()
  1266 + },
  1267 + stopImmediatePropagation: function () {
  1268 + var a = this.originalEvent;
  1269 + this.isImmediatePropagationStopped = ga, a && !this.isSimulated && a.stopImmediatePropagation(), this.stopPropagation()
  1270 + }
  1271 + }, n.each({
  1272 + mouseenter: "mouseover",
  1273 + mouseleave: "mouseout",
  1274 + pointerenter: "pointerover",
  1275 + pointerleave: "pointerout"
  1276 + }, function (a, b) {
  1277 + n.event.special[a] = {
  1278 + delegateType: b, bindType: b, handle: function (a) {
  1279 + var c, d = this, e = a.relatedTarget, f = a.handleObj;
  1280 + return e && (e === d || n.contains(d, e)) || (a.type = f.origType, c = f.handler.apply(this, arguments), a.type = b), c
  1281 + }
  1282 + }
  1283 + }), n.fn.extend({
  1284 + on: function (a, b, c, d) {
  1285 + return ja(this, a, b, c, d)
  1286 + }, one: function (a, b, c, d) {
  1287 + return ja(this, a, b, c, d, 1)
  1288 + }, off: function (a, b, c) {
  1289 + var d, e;
  1290 + if (a && a.preventDefault && a.handleObj) return d = a.handleObj, n(a.delegateTarget).off(d.namespace ? d.origType + "." + d.namespace : d.origType, d.selector, d.handler), this;
  1291 + if ("object" == typeof a) {
  1292 + for (e in a) this.off(e, b, a[e]);
  1293 + return this
  1294 + }
  1295 + return b !== !1 && "function" != typeof b || (c = b, b = void 0), c === !1 && (c = ha), this.each(function () {
  1296 + n.event.remove(this, a, c, b)
  1297 + })
  1298 + }
  1299 + });
  1300 + var ka = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi, la = /<script|<style|<link/i,
  1301 + ma = /checked\s*(?:[^=]|=\s*.checked.)/i, na = /^true\/(.*)/, oa = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;
  1302 +
  1303 + function pa(a, b) {
  1304 + return n.nodeName(a, "table") && n.nodeName(11 !== b.nodeType ? b : b.firstChild, "tr") ? a.getElementsByTagName("tbody")[0] || a.appendChild(a.ownerDocument.createElement("tbody")) : a
  1305 + }
  1306 +
  1307 + function qa(a) {
  1308 + return a.type = (null !== a.getAttribute("type")) + "/" + a.type, a
  1309 + }
  1310 +
  1311 + function ra(a) {
  1312 + var b = na.exec(a.type);
  1313 + return b ? a.type = b[1] : a.removeAttribute("type"), a
  1314 + }
  1315 +
  1316 + function sa(a, b) {
  1317 + var c, d, e, f, g, h, i, j;
  1318 + if (1 === b.nodeType) {
  1319 + if (N.hasData(a) && (f = N.access(a), g = N.set(b, f), j = f.events)) {
  1320 + delete g.handle, g.events = {};
  1321 + for (e in j) for (c = 0, d = j[e].length; d > c; c++) n.event.add(b, e, j[e][c])
  1322 + }
  1323 + O.hasData(a) && (h = O.access(a), i = n.extend({}, h), O.set(b, i))
  1324 + }
  1325 + }
  1326 +
  1327 + function ta(a, b) {
  1328 + var c = b.nodeName.toLowerCase();
  1329 + "input" === c && X.test(a.type) ? b.checked = a.checked : "input" !== c && "textarea" !== c || (b.defaultValue = a.defaultValue)
  1330 + }
  1331 +
  1332 + function ua(a, b, c, d) {
  1333 + b = f.apply([], b);
  1334 + var e, g, h, i, j, k, m = 0, o = a.length, p = o - 1, q = b[0], r = n.isFunction(q);
  1335 + if (r || o > 1 && "string" == typeof q && !l.checkClone && ma.test(q)) return a.each(function (e) {
  1336 + var f = a.eq(e);
  1337 + r && (b[0] = q.call(this, e, f.html())), ua(f, b, c, d)
  1338 + });
  1339 + if (o && (e = ca(b, a[0].ownerDocument, !1, a, d), g = e.firstChild, 1 === e.childNodes.length && (e = g), g || d)) {
  1340 + for (h = n.map(_(e, "script"), qa), i = h.length; o > m; m++) j = e, m !== p && (j = n.clone(j, !0, !0), i && n.merge(h, _(j, "script"))), c.call(a[m], j, m);
  1341 + if (i) for (k = h[h.length - 1].ownerDocument, n.map(h, ra), m = 0; i > m; m++) j = h[m], Z.test(j.type || "") && !N.access(j, "globalEval") && n.contains(k, j) && (j.src ? n._evalUrl && n._evalUrl(j.src) : n.globalEval(j.textContent.replace(oa, "")))
  1342 + }
  1343 + return a
  1344 + }
  1345 +
  1346 + function va(a, b, c) {
  1347 + for (var d, e = b ? n.filter(b, a) : a, f = 0; null != (d = e[f]); f++) c || 1 !== d.nodeType || n.cleanData(_(d)), d.parentNode && (c && n.contains(d.ownerDocument, d) && aa(_(d, "script")), d.parentNode.removeChild(d));
  1348 + return a
  1349 + }
  1350 +
  1351 + n.extend({
  1352 + htmlPrefilter: function (a) {
  1353 + return a.replace(ka, "<$1></$2>")
  1354 + }, clone: function (a, b, c) {
  1355 + var d, e, f, g, h = a.cloneNode(!0), i = n.contains(a.ownerDocument, a);
  1356 + if (!(l.noCloneChecked || 1 !== a.nodeType && 11 !== a.nodeType || n.isXMLDoc(a))) for (g = _(h), f = _(a), d = 0, e = f.length; e > d; d++) ta(f[d], g[d]);
  1357 + if (b) if (c) for (f = f || _(a), g = g || _(h), d = 0, e = f.length; e > d; d++) sa(f[d], g[d]); else sa(a, h);
  1358 + return g = _(h, "script"), g.length > 0 && aa(g, !i && _(a, "script")), h
  1359 + }, cleanData: function (a) {
  1360 + for (var b, c, d, e = n.event.special, f = 0; void 0 !== (c = a[f]); f++) if (L(c)) {
  1361 + if (b = c[N.expando]) {
  1362 + if (b.events) for (d in b.events) e[d] ? n.event.remove(c, d) : n.removeEvent(c, d, b.handle);
  1363 + c[N.expando] = void 0
  1364 + }
  1365 + c[O.expando] && (c[O.expando] = void 0)
  1366 + }
  1367 + }
  1368 + }), n.fn.extend({
  1369 + domManip: ua, detach: function (a) {
  1370 + return va(this, a, !0)
  1371 + }, remove: function (a) {
  1372 + return va(this, a)
  1373 + }, text: function (a) {
  1374 + return K(this, function (a) {
  1375 + return void 0 === a ? n.text(this) : this.empty().each(function () {
  1376 + 1 !== this.nodeType && 11 !== this.nodeType && 9 !== this.nodeType || (this.textContent = a)
  1377 + })
  1378 + }, null, a, arguments.length)
  1379 + }, append: function () {
  1380 + return ua(this, arguments, function (a) {
  1381 + if (1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) {
  1382 + var b = pa(this, a);
  1383 + b.appendChild(a)
  1384 + }
  1385 + })
  1386 + }, prepend: function () {
  1387 + return ua(this, arguments, function (a) {
  1388 + if (1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) {
  1389 + var b = pa(this, a);
  1390 + b.insertBefore(a, b.firstChild)
  1391 + }
  1392 + })
  1393 + }, before: function () {
  1394 + return ua(this, arguments, function (a) {
  1395 + this.parentNode && this.parentNode.insertBefore(a, this)
  1396 + })
  1397 + }, after: function () {
  1398 + return ua(this, arguments, function (a) {
  1399 + this.parentNode && this.parentNode.insertBefore(a, this.nextSibling)
  1400 + })
  1401 + }, empty: function () {
  1402 + for (var a, b = 0; null != (a = this[b]); b++) 1 === a.nodeType && (n.cleanData(_(a, !1)), a.textContent = "");
  1403 + return this
  1404 + }, clone: function (a, b) {
  1405 + return a = null == a ? !1 : a, b = null == b ? a : b, this.map(function () {
  1406 + return n.clone(this, a, b)
  1407 + })
  1408 + }, html: function (a) {
  1409 + return K(this, function (a) {
  1410 + var b = this[0] || {}, c = 0, d = this.length;
  1411 + if (void 0 === a && 1 === b.nodeType) return b.innerHTML;
  1412 + if ("string" == typeof a && !la.test(a) && !$[(Y.exec(a) || ["", ""])[1].toLowerCase()]) {
  1413 + a = n.htmlPrefilter(a);
  1414 + try {
  1415 + for (; d > c; c++) b = this[c] || {}, 1 === b.nodeType && (n.cleanData(_(b, !1)), b.innerHTML = a);
  1416 + b = 0
  1417 + } catch (e) {
  1418 + }
  1419 + }
  1420 + b && this.empty().append(a)
  1421 + }, null, a, arguments.length)
  1422 + }, replaceWith: function () {
  1423 + var a = [];
  1424 + return ua(this, arguments, function (b) {
  1425 + var c = this.parentNode;
  1426 + n.inArray(this, a) < 0 && (n.cleanData(_(this)), c && c.replaceChild(b, this))
  1427 + }, a)
  1428 + }
  1429 + }), n.each({
  1430 + appendTo: "append",
  1431 + prependTo: "prepend",
  1432 + insertBefore: "before",
  1433 + insertAfter: "after",
  1434 + replaceAll: "replaceWith"
  1435 + }, function (a, b) {
  1436 + n.fn[a] = function (a) {
  1437 + for (var c, d = [], e = n(a), f = e.length - 1, h = 0; f >= h; h++) c = h === f ? this : this.clone(!0), n(e[h])[b](c), g.apply(d, c.get());
  1438 + return this.pushStack(d)
  1439 + }
  1440 + });
  1441 + var wa, xa = {HTML: "block", BODY: "block"};
  1442 +
  1443 + function ya(a, b) {
  1444 + var c = n(b.createElement(a)).appendTo(b.body), d = n.css(c[0], "display");
  1445 + return c.detach(), d
  1446 + }
  1447 +
  1448 + function za(a) {
  1449 + var b = d, c = xa[a];
  1450 + return c || (c = ya(a, b), "none" !== c && c || (wa = (wa || n("<iframe frameborder='0' width='0' height='0'/>")).appendTo(b.documentElement), b = wa[0].contentDocument, b.write(), b.close(), c = ya(a, b), wa.detach()), xa[a] = c), c
  1451 + }
  1452 +
  1453 + var Aa = /^margin/, Ba = new RegExp("^(" + S + ")(?!px)[a-z%]+$", "i"), Ca = function (b) {
  1454 + var c = b.ownerDocument.defaultView;
  1455 + return c && c.opener || (c = a), c.getComputedStyle(b)
  1456 + }, Da = function (a, b, c, d) {
  1457 + var e, f, g = {};
  1458 + for (f in b) g[f] = a.style[f], a.style[f] = b[f];
  1459 + e = c.apply(a, d || []);
  1460 + for (f in b) a.style[f] = g[f];
  1461 + return e
  1462 + }, Ea = d.documentElement;
  1463 + !function () {
  1464 + var b, c, e, f, g = d.createElement("div"), h = d.createElement("div");
  1465 + if (h.style) {
  1466 + h.style.backgroundClip = "content-box", h.cloneNode(!0).style.backgroundClip = "", l.clearCloneStyle = "content-box" === h.style.backgroundClip, g.style.cssText = "border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute", g.appendChild(h);
  1467 +
  1468 + function i() {
  1469 + h.style.cssText = "-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%", h.innerHTML = "", Ea.appendChild(g);
  1470 + var d = a.getComputedStyle(h);
  1471 + b = "1%" !== d.top, f = "2px" === d.marginLeft, c = "4px" === d.width, h.style.marginRight = "50%", e = "4px" === d.marginRight, Ea.removeChild(g)
  1472 + }
  1473 +
  1474 + n.extend(l, {
  1475 + pixelPosition: function () {
  1476 + return i(), b
  1477 + }, boxSizingReliable: function () {
  1478 + return null == c && i(), c
  1479 + }, pixelMarginRight: function () {
  1480 + return null == c && i(), e
  1481 + }, reliableMarginLeft: function () {
  1482 + return null == c && i(), f
  1483 + }, reliableMarginRight: function () {
  1484 + var b, c = h.appendChild(d.createElement("div"));
  1485 + return c.style.cssText = h.style.cssText = "-webkit-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0", c.style.marginRight = c.style.width = "0", h.style.width = "1px", Ea.appendChild(g), b = !parseFloat(a.getComputedStyle(c).marginRight), Ea.removeChild(g), h.removeChild(c), b
  1486 + }
  1487 + })
  1488 + }
  1489 + }();
  1490 +
  1491 + function Fa(a, b, c) {
  1492 + var d, e, f, g, h = a.style;
  1493 + return c = c || Ca(a), g = c ? c.getPropertyValue(b) || c[b] : void 0, "" !== g && void 0 !== g || n.contains(a.ownerDocument, a) || (g = n.style(a, b)), c && !l.pixelMarginRight() && Ba.test(g) && Aa.test(b) && (d = h.width, e = h.minWidth, f = h.maxWidth, h.minWidth = h.maxWidth = h.width = g, g = c.width, h.width = d, h.minWidth = e, h.maxWidth = f), void 0 !== g ? g + "" : g
  1494 + }
  1495 +
  1496 + function Ga(a, b) {
  1497 + return {
  1498 + get: function () {
  1499 + return a() ? void delete this.get : (this.get = b).apply(this, arguments)
  1500 + }
  1501 + }
  1502 + }
  1503 +
  1504 + var Ha = /^(none|table(?!-c[ea]).+)/, Ia = {position: "absolute", visibility: "hidden", display: "block"},
  1505 + Ja = {letterSpacing: "0", fontWeight: "400"}, Ka = ["Webkit", "O", "Moz", "ms"],
  1506 + La = d.createElement("div").style;
  1507 +
  1508 + function Ma(a) {
  1509 + if (a in La) return a;
  1510 + var b = a[0].toUpperCase() + a.slice(1), c = Ka.length;
  1511 + while (c--) if (a = Ka[c] + b, a in La) return a
  1512 + }
  1513 +
  1514 + function Na(a, b, c) {
  1515 + var d = T.exec(b);
  1516 + return d ? Math.max(0, d[2] - (c || 0)) + (d[3] || "px") : b
  1517 + }
  1518 +
  1519 + function Oa(a, b, c, d, e) {
  1520 + for (var f = c === (d ? "border" : "content") ? 4 : "width" === b ? 1 : 0, g = 0; 4 > f; f += 2) "margin" === c && (g += n.css(a, c + U[f], !0, e)), d ? ("content" === c && (g -= n.css(a, "padding" + U[f], !0, e)), "margin" !== c && (g -= n.css(a, "border" + U[f] + "Width", !0, e))) : (g += n.css(a, "padding" + U[f], !0, e), "padding" !== c && (g += n.css(a, "border" + U[f] + "Width", !0, e)));
  1521 + return g
  1522 + }
  1523 +
  1524 + function Pa(a, b, c) {
  1525 + var d = !0, e = "width" === b ? a.offsetWidth : a.offsetHeight, f = Ca(a),
  1526 + g = "border-box" === n.css(a, "boxSizing", !1, f);
  1527 + if (0 >= e || null == e) {
  1528 + if (e = Fa(a, b, f), (0 > e || null == e) && (e = a.style[b]), Ba.test(e)) return e;
  1529 + d = g && (l.boxSizingReliable() || e === a.style[b]), e = parseFloat(e) || 0
  1530 + }
  1531 + return e + Oa(a, b, c || (g ? "border" : "content"), d, f) + "px"
  1532 + }
  1533 +
  1534 + function Qa(a, b) {
  1535 + for (var c, d, e, f = [], g = 0, h = a.length; h > g; g++) d = a[g], d.style && (f[g] = N.get(d, "olddisplay"), c = d.style.display, b ? (f[g] || "none" !== c || (d.style.display = ""), "" === d.style.display && V(d) && (f[g] = N.access(d, "olddisplay", za(d.nodeName)))) : (e = V(d), "none" === c && e || N.set(d, "olddisplay", e ? c : n.css(d, "display"))));
  1536 + for (g = 0; h > g; g++) d = a[g], d.style && (b && "none" !== d.style.display && "" !== d.style.display || (d.style.display = b ? f[g] || "" : "none"));
  1537 + return a
  1538 + }
  1539 +
  1540 + n.extend({
  1541 + cssHooks: {
  1542 + opacity: {
  1543 + get: function (a, b) {
  1544 + if (b) {
  1545 + var c = Fa(a, "opacity");
  1546 + return "" === c ? "1" : c
  1547 + }
  1548 + }
  1549 + }
  1550 + },
  1551 + cssNumber: {
  1552 + animationIterationCount: !0,
  1553 + columnCount: !0,
  1554 + fillOpacity: !0,
  1555 + flexGrow: !0,
  1556 + flexShrink: !0,
  1557 + fontWeight: !0,
  1558 + lineHeight: !0,
  1559 + opacity: !0,
  1560 + order: !0,
  1561 + orphans: !0,
  1562 + widows: !0,
  1563 + zIndex: !0,
  1564 + zoom: !0
  1565 + },
  1566 + cssProps: {"float": "cssFloat"},
  1567 + style: function (a, b, c, d) {
  1568 + if (a && 3 !== a.nodeType && 8 !== a.nodeType && a.style) {
  1569 + var e, f, g, h = n.camelCase(b), i = a.style;
  1570 + return b = n.cssProps[h] || (n.cssProps[h] = Ma(h) || h), g = n.cssHooks[b] || n.cssHooks[h], void 0 === c ? g && "get" in g && void 0 !== (e = g.get(a, !1, d)) ? e : i[b] : (f = typeof c, "string" === f && (e = T.exec(c)) && e[1] && (c = W(a, b, e), f = "number"), null != c && c === c && ("number" === f && (c += e && e[3] || (n.cssNumber[h] ? "" : "px")), l.clearCloneStyle || "" !== c || 0 !== b.indexOf("background") || (i[b] = "inherit"), g && "set" in g && void 0 === (c = g.set(a, c, d)) || (i[b] = c)), void 0)
  1571 + }
  1572 + },
  1573 + css: function (a, b, c, d) {
  1574 + var e, f, g, h = n.camelCase(b);
  1575 + return b = n.cssProps[h] || (n.cssProps[h] = Ma(h) || h), g = n.cssHooks[b] || n.cssHooks[h], g && "get" in g && (e = g.get(a, !0, c)), void 0 === e && (e = Fa(a, b, d)), "normal" === e && b in Ja && (e = Ja[b]), "" === c || c ? (f = parseFloat(e), c === !0 || isFinite(f) ? f || 0 : e) : e
  1576 + }
  1577 + }), n.each(["height", "width"], function (a, b) {
  1578 + n.cssHooks[b] = {
  1579 + get: function (a, c, d) {
  1580 + return c ? Ha.test(n.css(a, "display")) && 0 === a.offsetWidth ? Da(a, Ia, function () {
  1581 + return Pa(a, b, d)
  1582 + }) : Pa(a, b, d) : void 0
  1583 + }, set: function (a, c, d) {
  1584 + var e, f = d && Ca(a), g = d && Oa(a, b, d, "border-box" === n.css(a, "boxSizing", !1, f), f);
  1585 + return g && (e = T.exec(c)) && "px" !== (e[3] || "px") && (a.style[b] = c, c = n.css(a, b)), Na(a, c, g)
  1586 + }
  1587 + }
  1588 + }), n.cssHooks.marginLeft = Ga(l.reliableMarginLeft, function (a, b) {
  1589 + return b ? (parseFloat(Fa(a, "marginLeft")) || a.getBoundingClientRect().left - Da(a, {marginLeft: 0}, function () {
  1590 + return a.getBoundingClientRect().left
  1591 + })) + "px" : void 0
  1592 + }), n.cssHooks.marginRight = Ga(l.reliableMarginRight, function (a, b) {
  1593 + return b ? Da(a, {display: "inline-block"}, Fa, [a, "marginRight"]) : void 0
  1594 + }), n.each({margin: "", padding: "", border: "Width"}, function (a, b) {
  1595 + n.cssHooks[a + b] = {
  1596 + expand: function (c) {
  1597 + for (var d = 0, e = {}, f = "string" == typeof c ? c.split(" ") : [c]; 4 > d; d++) e[a + U[d] + b] = f[d] || f[d - 2] || f[0];
  1598 + return e
  1599 + }
  1600 + }, Aa.test(a) || (n.cssHooks[a + b].set = Na)
  1601 + }), n.fn.extend({
  1602 + css: function (a, b) {
  1603 + return K(this, function (a, b, c) {
  1604 + var d, e, f = {}, g = 0;
  1605 + if (n.isArray(b)) {
  1606 + for (d = Ca(a), e = b.length; e > g; g++) f[b[g]] = n.css(a, b[g], !1, d);
  1607 + return f
  1608 + }
  1609 + return void 0 !== c ? n.style(a, b, c) : n.css(a, b)
  1610 + }, a, b, arguments.length > 1)
  1611 + }, show: function () {
  1612 + return Qa(this, !0)
  1613 + }, hide: function () {
  1614 + return Qa(this)
  1615 + }, toggle: function (a) {
  1616 + return "boolean" == typeof a ? a ? this.show() : this.hide() : this.each(function () {
  1617 + V(this) ? n(this).show() : n(this).hide()
  1618 + })
  1619 + }
  1620 + });
  1621 +
  1622 + function Ra(a, b, c, d, e) {
  1623 + return new Ra.prototype.init(a, b, c, d, e)
  1624 + }
  1625 +
  1626 + n.Tween = Ra, Ra.prototype = {
  1627 + constructor: Ra, init: function (a, b, c, d, e, f) {
  1628 + this.elem = a, this.prop = c, this.easing = e || n.easing._default, this.options = b, this.start = this.now = this.cur(), this.end = d, this.unit = f || (n.cssNumber[c] ? "" : "px")
  1629 + }, cur: function () {
  1630 + var a = Ra.propHooks[this.prop];
  1631 + return a && a.get ? a.get(this) : Ra.propHooks._default.get(this)
  1632 + }, run: function (a) {
  1633 + var b, c = Ra.propHooks[this.prop];
  1634 + return this.options.duration ? this.pos = b = n.easing[this.easing](a, this.options.duration * a, 0, 1, this.options.duration) : this.pos = b = a, this.now = (this.end - this.start) * b + this.start, this.options.step && this.options.step.call(this.elem, this.now, this), c && c.set ? c.set(this) : Ra.propHooks._default.set(this), this
  1635 + }
  1636 + }, Ra.prototype.init.prototype = Ra.prototype, Ra.propHooks = {
  1637 + _default: {
  1638 + get: function (a) {
  1639 + var b;
  1640 + return 1 !== a.elem.nodeType || null != a.elem[a.prop] && null == a.elem.style[a.prop] ? a.elem[a.prop] : (b = n.css(a.elem, a.prop, ""), b && "auto" !== b ? b : 0)
  1641 + }, set: function (a) {
  1642 + n.fx.step[a.prop] ? n.fx.step[a.prop](a) : 1 !== a.elem.nodeType || null == a.elem.style[n.cssProps[a.prop]] && !n.cssHooks[a.prop] ? a.elem[a.prop] = a.now : n.style(a.elem, a.prop, a.now + a.unit)
  1643 + }
  1644 + }
  1645 + }, Ra.propHooks.scrollTop = Ra.propHooks.scrollLeft = {
  1646 + set: function (a) {
  1647 + a.elem.nodeType && a.elem.parentNode && (a.elem[a.prop] = a.now)
  1648 + }
  1649 + }, n.easing = {
  1650 + linear: function (a) {
  1651 + return a
  1652 + }, swing: function (a) {
  1653 + return .5 - Math.cos(a * Math.PI) / 2
  1654 + }, _default: "swing"
  1655 + }, n.fx = Ra.prototype.init, n.fx.step = {};
  1656 + var Sa, Ta, Ua = /^(?:toggle|show|hide)$/, Va = /queueHooks$/;
  1657 +
  1658 + function Wa() {
  1659 + return a.setTimeout(function () {
  1660 + Sa = void 0
  1661 + }), Sa = n.now()
  1662 + }
  1663 +
  1664 + function Xa(a, b) {
  1665 + var c, d = 0, e = {height: a};
  1666 + for (b = b ? 1 : 0; 4 > d; d += 2 - b) c = U[d], e["margin" + c] = e["padding" + c] = a;
  1667 + return b && (e.opacity = e.width = a), e
  1668 + }
  1669 +
  1670 + function Ya(a, b, c) {
  1671 + for (var d, e = (_a.tweeners[b] || []).concat(_a.tweeners["*"]), f = 0, g = e.length; g > f; f++) if (d = e[f].call(c, b, a)) return d
  1672 + }
  1673 +
  1674 + function Za(a, b, c) {
  1675 + var d, e, f, g, h, i, j, k, l = this, m = {}, o = a.style, p = a.nodeType && V(a), q = N.get(a, "fxshow");
  1676 + c.queue || (h = n._queueHooks(a, "fx"), null == h.unqueued && (h.unqueued = 0, i = h.empty.fire, h.empty.fire = function () {
  1677 + h.unqueued || i()
  1678 + }), h.unqueued++, l.always(function () {
  1679 + l.always(function () {
  1680 + h.unqueued--, n.queue(a, "fx").length || h.empty.fire()
  1681 + })
  1682 + })), 1 === a.nodeType && ("height" in b || "width" in b) && (c.overflow = [o.overflow, o.overflowX, o.overflowY], j = n.css(a, "display"), k = "none" === j ? N.get(a, "olddisplay") || za(a.nodeName) : j, "inline" === k && "none" === n.css(a, "float") && (o.display = "inline-block")), c.overflow && (o.overflow = "hidden", l.always(function () {
  1683 + o.overflow = c.overflow[0], o.overflowX = c.overflow[1], o.overflowY = c.overflow[2]
  1684 + }));
  1685 + for (d in b) if (e = b[d], Ua.exec(e)) {
  1686 + if (delete b[d], f = f || "toggle" === e, e === (p ? "hide" : "show")) {
  1687 + if ("show" !== e || !q || void 0 === q[d]) continue;
  1688 + p = !0
  1689 + }
  1690 + m[d] = q && q[d] || n.style(a, d)
  1691 + } else j = void 0;
  1692 + if (n.isEmptyObject(m)) "inline" === ("none" === j ? za(a.nodeName) : j) && (o.display = j); else {
  1693 + q ? "hidden" in q && (p = q.hidden) : q = N.access(a, "fxshow", {}), f && (q.hidden = !p), p ? n(a).show() : l.done(function () {
  1694 + n(a).hide()
  1695 + }), l.done(function () {
  1696 + var b;
  1697 + N.remove(a, "fxshow");
  1698 + for (b in m) n.style(a, b, m[b])
  1699 + });
  1700 + for (d in m) g = Ya(p ? q[d] : 0, d, l), d in q || (q[d] = g.start, p && (g.end = g.start, g.start = "width" === d || "height" === d ? 1 : 0))
  1701 + }
  1702 + }
  1703 +
  1704 + function $a(a, b) {
  1705 + var c, d, e, f, g;
  1706 + for (c in a) if (d = n.camelCase(c), e = b[d], f = a[c], n.isArray(f) && (e = f[1], f = a[c] = f[0]), c !== d && (a[d] = f, delete a[c]), g = n.cssHooks[d], g && "expand" in g) {
  1707 + f = g.expand(f), delete a[d];
  1708 + for (c in f) c in a || (a[c] = f[c], b[c] = e)
  1709 + } else b[d] = e
  1710 + }
  1711 +
  1712 + function _a(a, b, c) {
  1713 + var d, e, f = 0, g = _a.prefilters.length, h = n.Deferred().always(function () {
  1714 + delete i.elem
  1715 + }), i = function () {
  1716 + if (e) return !1;
  1717 + for (var b = Sa || Wa(), c = Math.max(0, j.startTime + j.duration - b), d = c / j.duration || 0, f = 1 - d, g = 0, i = j.tweens.length; i > g; g++) j.tweens[g].run(f);
  1718 + return h.notifyWith(a, [j, f, c]), 1 > f && i ? c : (h.resolveWith(a, [j]), !1)
  1719 + }, j = h.promise({
  1720 + elem: a,
  1721 + props: n.extend({}, b),
  1722 + opts: n.extend(!0, {specialEasing: {}, easing: n.easing._default}, c),
  1723 + originalProperties: b,
  1724 + originalOptions: c,
  1725 + startTime: Sa || Wa(),
  1726 + duration: c.duration,
  1727 + tweens: [],
  1728 + createTween: function (b, c) {
  1729 + var d = n.Tween(a, j.opts, b, c, j.opts.specialEasing[b] || j.opts.easing);
  1730 + return j.tweens.push(d), d
  1731 + },
  1732 + stop: function (b) {
  1733 + var c = 0, d = b ? j.tweens.length : 0;
  1734 + if (e) return this;
  1735 + for (e = !0; d > c; c++) j.tweens[c].run(1);
  1736 + return b ? (h.notifyWith(a, [j, 1, 0]), h.resolveWith(a, [j, b])) : h.rejectWith(a, [j, b]), this
  1737 + }
  1738 + }), k = j.props;
  1739 + for ($a(k, j.opts.specialEasing); g > f; f++) if (d = _a.prefilters[f].call(j, a, k, j.opts)) return n.isFunction(d.stop) && (n._queueHooks(j.elem, j.opts.queue).stop = n.proxy(d.stop, d)), d;
  1740 + return n.map(k, Ya, j), n.isFunction(j.opts.start) && j.opts.start.call(a, j), n.fx.timer(n.extend(i, {
  1741 + elem: a,
  1742 + anim: j,
  1743 + queue: j.opts.queue
  1744 + })), j.progress(j.opts.progress).done(j.opts.done, j.opts.complete).fail(j.opts.fail).always(j.opts.always)
  1745 + }
  1746 +
  1747 + n.Animation = n.extend(_a, {
  1748 + tweeners: {
  1749 + "*": [function (a, b) {
  1750 + var c = this.createTween(a, b);
  1751 + return W(c.elem, a, T.exec(b), c), c
  1752 + }]
  1753 + }, tweener: function (a, b) {
  1754 + n.isFunction(a) ? (b = a, a = ["*"]) : a = a.match(G);
  1755 + for (var c, d = 0, e = a.length; e > d; d++) c = a[d], _a.tweeners[c] = _a.tweeners[c] || [], _a.tweeners[c].unshift(b)
  1756 + }, prefilters: [Za], prefilter: function (a, b) {
  1757 + b ? _a.prefilters.unshift(a) : _a.prefilters.push(a)
  1758 + }
  1759 + }), n.speed = function (a, b, c) {
  1760 + var d = a && "object" == typeof a ? n.extend({}, a) : {
  1761 + complete: c || !c && b || n.isFunction(a) && a,
  1762 + duration: a,
  1763 + easing: c && b || b && !n.isFunction(b) && b
  1764 + };
  1765 + return d.duration = n.fx.off ? 0 : "number" == typeof d.duration ? d.duration : d.duration in n.fx.speeds ? n.fx.speeds[d.duration] : n.fx.speeds._default, null != d.queue && d.queue !== !0 || (d.queue = "fx"), d.old = d.complete, d.complete = function () {
  1766 + n.isFunction(d.old) && d.old.call(this), d.queue && n.dequeue(this, d.queue)
  1767 + }, d
  1768 + }, n.fn.extend({
  1769 + fadeTo: function (a, b, c, d) {
  1770 + return this.filter(V).css("opacity", 0).show().end().animate({opacity: b}, a, c, d)
  1771 + }, animate: function (a, b, c, d) {
  1772 + var e = n.isEmptyObject(a), f = n.speed(b, c, d), g = function () {
  1773 + var b = _a(this, n.extend({}, a), f);
  1774 + (e || N.get(this, "finish")) && b.stop(!0)
  1775 + };
  1776 + return g.finish = g, e || f.queue === !1 ? this.each(g) : this.queue(f.queue, g)
  1777 + }, stop: function (a, b, c) {
  1778 + var d = function (a) {
  1779 + var b = a.stop;
  1780 + delete a.stop, b(c)
  1781 + };
  1782 + return "string" != typeof a && (c = b, b = a, a = void 0), b && a !== !1 && this.queue(a || "fx", []), this.each(function () {
  1783 + var b = !0, e = null != a && a + "queueHooks", f = n.timers, g = N.get(this);
  1784 + if (e) g[e] && g[e].stop && d(g[e]); else for (e in g) g[e] && g[e].stop && Va.test(e) && d(g[e]);
  1785 + for (e = f.length; e--;) f[e].elem !== this || null != a && f[e].queue !== a || (f[e].anim.stop(c), b = !1, f.splice(e, 1));
  1786 + !b && c || n.dequeue(this, a)
  1787 + })
  1788 + }, finish: function (a) {
  1789 + return a !== !1 && (a = a || "fx"), this.each(function () {
  1790 + var b, c = N.get(this), d = c[a + "queue"], e = c[a + "queueHooks"], f = n.timers, g = d ? d.length : 0;
  1791 + for (c.finish = !0, n.queue(this, a, []), e && e.stop && e.stop.call(this, !0), b = f.length; b--;) f[b].elem === this && f[b].queue === a && (f[b].anim.stop(!0), f.splice(b, 1));
  1792 + for (b = 0; g > b; b++) d[b] && d[b].finish && d[b].finish.call(this);
  1793 + delete c.finish
  1794 + })
  1795 + }
  1796 + }), n.each(["toggle", "show", "hide"], function (a, b) {
  1797 + var c = n.fn[b];
  1798 + n.fn[b] = function (a, d, e) {
  1799 + return null == a || "boolean" == typeof a ? c.apply(this, arguments) : this.animate(Xa(b, !0), a, d, e)
  1800 + }
  1801 + }), n.each({
  1802 + slideDown: Xa("show"),
  1803 + slideUp: Xa("hide"),
  1804 + slideToggle: Xa("toggle"),
  1805 + fadeIn: {opacity: "show"},
  1806 + fadeOut: {opacity: "hide"},
  1807 + fadeToggle: {opacity: "toggle"}
  1808 + }, function (a, b) {
  1809 + n.fn[a] = function (a, c, d) {
  1810 + return this.animate(b, a, c, d)
  1811 + }
  1812 + }), n.timers = [], n.fx.tick = function () {
  1813 + var a, b = 0, c = n.timers;
  1814 + for (Sa = n.now(); b < c.length; b++) a = c[b], a() || c[b] !== a || c.splice(b--, 1);
  1815 + c.length || n.fx.stop(), Sa = void 0
  1816 + }, n.fx.timer = function (a) {
  1817 + n.timers.push(a), a() ? n.fx.start() : n.timers.pop()
  1818 + }, n.fx.interval = 13, n.fx.start = function () {
  1819 + Ta || (Ta = a.setInterval(n.fx.tick, n.fx.interval))
  1820 + }, n.fx.stop = function () {
  1821 + a.clearInterval(Ta), Ta = null
  1822 + }, n.fx.speeds = {slow: 600, fast: 200, _default: 400}, n.fn.delay = function (b, c) {
  1823 + return b = n.fx ? n.fx.speeds[b] || b : b, c = c || "fx", this.queue(c, function (c, d) {
  1824 + var e = a.setTimeout(c, b);
  1825 + d.stop = function () {
  1826 + a.clearTimeout(e)
  1827 + }
  1828 + })
  1829 + }, function () {
  1830 + var a = d.createElement("input"), b = d.createElement("select"), c = b.appendChild(d.createElement("option"));
  1831 + a.type = "checkbox", l.checkOn = "" !== a.value, l.optSelected = c.selected, b.disabled = !0, l.optDisabled = !c.disabled, a = d.createElement("input"), a.value = "t", a.type = "radio", l.radioValue = "t" === a.value
  1832 + }();
  1833 + var ab, bb = n.expr.attrHandle;
  1834 + n.fn.extend({
  1835 + attr: function (a, b) {
  1836 + return K(this, n.attr, a, b, arguments.length > 1)
  1837 + }, removeAttr: function (a) {
  1838 + return this.each(function () {
  1839 + n.removeAttr(this, a)
  1840 + })
  1841 + }
  1842 + }), n.extend({
  1843 + attr: function (a, b, c) {
  1844 + var d, e, f = a.nodeType;
  1845 + if (3 !== f && 8 !== f && 2 !== f) return "undefined" == typeof a.getAttribute ? n.prop(a, b, c) : (1 === f && n.isXMLDoc(a) || (b = b.toLowerCase(), e = n.attrHooks[b] || (n.expr.match.bool.test(b) ? ab : void 0)), void 0 !== c ? null === c ? void n.removeAttr(a, b) : e && "set" in e && void 0 !== (d = e.set(a, c, b)) ? d : (a.setAttribute(b, c + ""), c) : e && "get" in e && null !== (d = e.get(a, b)) ? d : (d = n.find.attr(a, b), null == d ? void 0 : d))
  1846 + }, attrHooks: {
  1847 + type: {
  1848 + set: function (a, b) {
  1849 + if (!l.radioValue && "radio" === b && n.nodeName(a, "input")) {
  1850 + var c = a.value;
  1851 + return a.setAttribute("type", b), c && (a.value = c), b
  1852 + }
  1853 + }
  1854 + }
  1855 + }, removeAttr: function (a, b) {
  1856 + var c, d, e = 0, f = b && b.match(G);
  1857 + if (f && 1 === a.nodeType) while (c = f[e++]) d = n.propFix[c] || c, n.expr.match.bool.test(c) && (a[d] = !1), a.removeAttribute(c)
  1858 + }
  1859 + }), ab = {
  1860 + set: function (a, b, c) {
  1861 + return b === !1 ? n.removeAttr(a, c) : a.setAttribute(c, c), c
  1862 + }
  1863 + }, n.each(n.expr.match.bool.source.match(/\w+/g), function (a, b) {
  1864 + var c = bb[b] || n.find.attr;
  1865 + bb[b] = function (a, b, d) {
  1866 + var e, f;
  1867 + return d || (f = bb[b], bb[b] = e, e = null != c(a, b, d) ? b.toLowerCase() : null, bb[b] = f), e
  1868 + }
  1869 + });
  1870 + var cb = /^(?:input|select|textarea|button)$/i, db = /^(?:a|area)$/i;
  1871 + n.fn.extend({
  1872 + prop: function (a, b) {
  1873 + return K(this, n.prop, a, b, arguments.length > 1)
  1874 + }, removeProp: function (a) {
  1875 + return this.each(function () {
  1876 + delete this[n.propFix[a] || a]
  1877 + })
  1878 + }
  1879 + }), n.extend({
  1880 + prop: function (a, b, c) {
  1881 + var d, e, f = a.nodeType;
  1882 + if (3 !== f && 8 !== f && 2 !== f) return 1 === f && n.isXMLDoc(a) || (b = n.propFix[b] || b, e = n.propHooks[b]),
  1883 + void 0 !== c ? e && "set" in e && void 0 !== (d = e.set(a, c, b)) ? d : a[b] = c : e && "get" in e && null !== (d = e.get(a, b)) ? d : a[b]
  1884 + }, propHooks: {
  1885 + tabIndex: {
  1886 + get: function (a) {
  1887 + var b = n.find.attr(a, "tabindex");
  1888 + return b ? parseInt(b, 10) : cb.test(a.nodeName) || db.test(a.nodeName) && a.href ? 0 : -1
  1889 + }
  1890 + }
  1891 + }, propFix: {"for": "htmlFor", "class": "className"}
  1892 + }), l.optSelected || (n.propHooks.selected = {
  1893 + get: function (a) {
  1894 + var b = a.parentNode;
  1895 + return b && b.parentNode && b.parentNode.selectedIndex, null
  1896 + }, set: function (a) {
  1897 + var b = a.parentNode;
  1898 + b && (b.selectedIndex, b.parentNode && b.parentNode.selectedIndex)
  1899 + }
  1900 + }), n.each(["tabIndex", "readOnly", "maxLength", "cellSpacing", "cellPadding", "rowSpan", "colSpan", "useMap", "frameBorder", "contentEditable"], function () {
  1901 + n.propFix[this.toLowerCase()] = this
  1902 + });
  1903 + var eb = /[\t\r\n\f]/g;
  1904 +
  1905 + function fb(a) {
  1906 + return a.getAttribute && a.getAttribute("class") || ""
  1907 + }
  1908 +
  1909 + n.fn.extend({
  1910 + addClass: function (a) {
  1911 + var b, c, d, e, f, g, h, i = 0;
  1912 + if (n.isFunction(a)) return this.each(function (b) {
  1913 + n(this).addClass(a.call(this, b, fb(this)))
  1914 + });
  1915 + if ("string" == typeof a && a) {
  1916 + b = a.match(G) || [];
  1917 + while (c = this[i++]) if (e = fb(c), d = 1 === c.nodeType && (" " + e + " ").replace(eb, " ")) {
  1918 + g = 0;
  1919 + while (f = b[g++]) d.indexOf(" " + f + " ") < 0 && (d += f + " ");
  1920 + h = n.trim(d), e !== h && c.setAttribute("class", h)
  1921 + }
  1922 + }
  1923 + return this
  1924 + }, removeClass: function (a) {
  1925 + var b, c, d, e, f, g, h, i = 0;
  1926 + if (n.isFunction(a)) return this.each(function (b) {
  1927 + n(this).removeClass(a.call(this, b, fb(this)))
  1928 + });
  1929 + if (!arguments.length) return this.attr("class", "");
  1930 + if ("string" == typeof a && a) {
  1931 + b = a.match(G) || [];
  1932 + while (c = this[i++]) if (e = fb(c), d = 1 === c.nodeType && (" " + e + " ").replace(eb, " ")) {
  1933 + g = 0;
  1934 + while (f = b[g++]) while (d.indexOf(" " + f + " ") > -1) d = d.replace(" " + f + " ", " ");
  1935 + h = n.trim(d), e !== h && c.setAttribute("class", h)
  1936 + }
  1937 + }
  1938 + return this
  1939 + }, toggleClass: function (a, b) {
  1940 + var c = typeof a;
  1941 + return "boolean" == typeof b && "string" === c ? b ? this.addClass(a) : this.removeClass(a) : n.isFunction(a) ? this.each(function (c) {
  1942 + n(this).toggleClass(a.call(this, c, fb(this), b), b)
  1943 + }) : this.each(function () {
  1944 + var b, d, e, f;
  1945 + if ("string" === c) {
  1946 + d = 0, e = n(this), f = a.match(G) || [];
  1947 + while (b = f[d++]) e.hasClass(b) ? e.removeClass(b) : e.addClass(b)
  1948 + } else void 0 !== a && "boolean" !== c || (b = fb(this), b && N.set(this, "__className__", b), this.setAttribute && this.setAttribute("class", b || a === !1 ? "" : N.get(this, "__className__") || ""))
  1949 + })
  1950 + }, hasClass: function (a) {
  1951 + var b, c, d = 0;
  1952 + b = " " + a + " ";
  1953 + while (c = this[d++]) if (1 === c.nodeType && (" " + fb(c) + " ").replace(eb, " ").indexOf(b) > -1) return !0;
  1954 + return !1
  1955 + }
  1956 + });
  1957 + var gb = /\r/g, hb = /[\x20\t\r\n\f]+/g;
  1958 + n.fn.extend({
  1959 + val: function (a) {
  1960 + var b, c, d, e = this[0];
  1961 + {
  1962 + if (arguments.length) return d = n.isFunction(a), this.each(function (c) {
  1963 + var e;
  1964 + 1 === this.nodeType && (e = d ? a.call(this, c, n(this).val()) : a, null == e ? e = "" : "number" == typeof e ? e += "" : n.isArray(e) && (e = n.map(e, function (a) {
  1965 + return null == a ? "" : a + ""
  1966 + })), b = n.valHooks[this.type] || n.valHooks[this.nodeName.toLowerCase()], b && "set" in b && void 0 !== b.set(this, e, "value") || (this.value = e))
  1967 + });
  1968 + if (e) return b = n.valHooks[e.type] || n.valHooks[e.nodeName.toLowerCase()], b && "get" in b && void 0 !== (c = b.get(e, "value")) ? c : (c = e.value, "string" == typeof c ? c.replace(gb, "") : null == c ? "" : c)
  1969 + }
  1970 + }
  1971 + }), n.extend({
  1972 + valHooks: {
  1973 + option: {
  1974 + get: function (a) {
  1975 + var b = n.find.attr(a, "value");
  1976 + return null != b ? b : n.trim(n.text(a)).replace(hb, " ")
  1977 + }
  1978 + }, select: {
  1979 + get: function (a) {
  1980 + for (var b, c, d = a.options, e = a.selectedIndex, f = "select-one" === a.type || 0 > e, g = f ? null : [], h = f ? e + 1 : d.length, i = 0 > e ? h : f ? e : 0; h > i; i++) if (c = d[i], (c.selected || i === e) && (l.optDisabled ? !c.disabled : null === c.getAttribute("disabled")) && (!c.parentNode.disabled || !n.nodeName(c.parentNode, "optgroup"))) {
  1981 + if (b = n(c).val(), f) return b;
  1982 + g.push(b)
  1983 + }
  1984 + return g
  1985 + }, set: function (a, b) {
  1986 + var c, d, e = a.options, f = n.makeArray(b), g = e.length;
  1987 + while (g--) d = e[g], (d.selected = n.inArray(n.valHooks.option.get(d), f) > -1) && (c = !0);
  1988 + return c || (a.selectedIndex = -1), f
  1989 + }
  1990 + }
  1991 + }
  1992 + }), n.each(["radio", "checkbox"], function () {
  1993 + n.valHooks[this] = {
  1994 + set: function (a, b) {
  1995 + return n.isArray(b) ? a.checked = n.inArray(n(a).val(), b) > -1 : void 0
  1996 + }
  1997 + }, l.checkOn || (n.valHooks[this].get = function (a) {
  1998 + return null === a.getAttribute("value") ? "on" : a.value
  1999 + })
  2000 + });
  2001 + var ib = /^(?:focusinfocus|focusoutblur)$/;
  2002 + n.extend(n.event, {
  2003 + trigger: function (b, c, e, f) {
  2004 + var g, h, i, j, l, m, o, p = [e || d], q = k.call(b, "type") ? b.type : b,
  2005 + r = k.call(b, "namespace") ? b.namespace.split(".") : [];
  2006 + if (h = i = e = e || d, 3 !== e.nodeType && 8 !== e.nodeType && !ib.test(q + n.event.triggered) && (q.indexOf(".") > -1 && (r = q.split("."), q = r.shift(), r.sort()), l = q.indexOf(":") < 0 && "on" + q, b = b[n.expando] ? b : new n.Event(q, "object" == typeof b && b), b.isTrigger = f ? 2 : 3, b.namespace = r.join("."), b.rnamespace = b.namespace ? new RegExp("(^|\\.)" + r.join("\\.(?:.*\\.|)") + "(\\.|$)") : null, b.result = void 0, b.target || (b.target = e), c = null == c ? [b] : n.makeArray(c, [b]), o = n.event.special[q] || {}, f || !o.trigger || o.trigger.apply(e, c) !== !1)) {
  2007 + if (!f && !o.noBubble && !n.isWindow(e)) {
  2008 + for (j = o.delegateType || q, ib.test(j + q) || (h = h.parentNode); h; h = h.parentNode) p.push(h), i = h;
  2009 + i === (e.ownerDocument || d) && p.push(i.defaultView || i.parentWindow || a)
  2010 + }
  2011 + g = 0;
  2012 + while ((h = p[g++]) && !b.isPropagationStopped()) b.type = g > 1 ? j : o.bindType || q, m = (N.get(h, "events") || {})[b.type] && N.get(h, "handle"), m && m.apply(h, c), m = l && h[l], m && m.apply && L(h) && (b.result = m.apply(h, c), b.result === !1 && b.preventDefault());
  2013 + return b.type = q, f || b.isDefaultPrevented() || o._default && o._default.apply(p.pop(), c) !== !1 || !L(e) || l && n.isFunction(e[q]) && !n.isWindow(e) && (i = e[l], i && (e[l] = null), n.event.triggered = q, e[q](), n.event.triggered = void 0, i && (e[l] = i)), b.result
  2014 + }
  2015 + }, simulate: function (a, b, c) {
  2016 + var d = n.extend(new n.Event, c, {type: a, isSimulated: !0});
  2017 + n.event.trigger(d, null, b)
  2018 + }
  2019 + }), n.fn.extend({
  2020 + trigger: function (a, b) {
  2021 + return this.each(function () {
  2022 + n.event.trigger(a, b, this)
  2023 + })
  2024 + }, triggerHandler: function (a, b) {
  2025 + var c = this[0];
  2026 + return c ? n.event.trigger(a, b, c, !0) : void 0
  2027 + }
  2028 + }), n.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "), function (a, b) {
  2029 + n.fn[b] = function (a, c) {
  2030 + return arguments.length > 0 ? this.on(b, null, a, c) : this.trigger(b)
  2031 + }
  2032 + }), n.fn.extend({
  2033 + hover: function (a, b) {
  2034 + return this.mouseenter(a).mouseleave(b || a)
  2035 + }
  2036 + }), l.focusin = "onfocusin" in a, l.focusin || n.each({focus: "focusin", blur: "focusout"}, function (a, b) {
  2037 + var c = function (a) {
  2038 + n.event.simulate(b, a.target, n.event.fix(a))
  2039 + };
  2040 + n.event.special[b] = {
  2041 + setup: function () {
  2042 + var d = this.ownerDocument || this, e = N.access(d, b);
  2043 + e || d.addEventListener(a, c, !0), N.access(d, b, (e || 0) + 1)
  2044 + }, teardown: function () {
  2045 + var d = this.ownerDocument || this, e = N.access(d, b) - 1;
  2046 + e ? N.access(d, b, e) : (d.removeEventListener(a, c, !0), N.remove(d, b))
  2047 + }
  2048 + }
  2049 + });
  2050 + var jb = a.location, kb = n.now(), lb = /\?/;
  2051 + n.parseJSON = function (a) {
  2052 + return JSON.parse(a + "")
  2053 + }, n.parseXML = function (b) {
  2054 + var c;
  2055 + if (!b || "string" != typeof b) return null;
  2056 + try {
  2057 + c = (new a.DOMParser).parseFromString(b, "text/xml")
  2058 + } catch (d) {
  2059 + c = void 0
  2060 + }
  2061 + return c && !c.getElementsByTagName("parsererror").length || n.error("Invalid XML: " + b), c
  2062 + };
  2063 + var mb = /#.*$/, nb = /([?&])_=[^&]*/, ob = /^(.*?):[ \t]*([^\r\n]*)$/gm,
  2064 + pb = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, qb = /^(?:GET|HEAD)$/, rb = /^\/\//, sb = {},
  2065 + tb = {}, ub = "*/".concat("*"), vb = d.createElement("a");
  2066 + vb.href = jb.href;
  2067 +
  2068 + function wb(a) {
  2069 + return function (b, c) {
  2070 + "string" != typeof b && (c = b, b = "*");
  2071 + var d, e = 0, f = b.toLowerCase().match(G) || [];
  2072 + if (n.isFunction(c)) while (d = f[e++]) "+" === d[0] ? (d = d.slice(1) || "*", (a[d] = a[d] || []).unshift(c)) : (a[d] = a[d] || []).push(c)
  2073 + }
  2074 + }
  2075 +
  2076 + function xb(a, b, c, d) {
  2077 + var e = {}, f = a === tb;
  2078 +
  2079 + function g(h) {
  2080 + var i;
  2081 + return e[h] = !0, n.each(a[h] || [], function (a, h) {
  2082 + var j = h(b, c, d);
  2083 + return "string" != typeof j || f || e[j] ? f ? !(i = j) : void 0 : (b.dataTypes.unshift(j), g(j), !1)
  2084 + }), i
  2085 + }
  2086 +
  2087 + return g(b.dataTypes[0]) || !e["*"] && g("*")
  2088 + }
  2089 +
  2090 + function yb(a, b) {
  2091 + var c, d, e = n.ajaxSettings.flatOptions || {};
  2092 + for (c in b) void 0 !== b[c] && ((e[c] ? a : d || (d = {}))[c] = b[c]);
  2093 + return d && n.extend(!0, a, d), a
  2094 + }
  2095 +
  2096 + function zb(a, b, c) {
  2097 + var d, e, f, g, h = a.contents, i = a.dataTypes;
  2098 + while ("*" === i[0]) i.shift(), void 0 === d && (d = a.mimeType || b.getResponseHeader("Content-Type"));
  2099 + if (d) for (e in h) if (h[e] && h[e].test(d)) {
  2100 + i.unshift(e);
  2101 + break
  2102 + }
  2103 + if (i[0] in c) f = i[0]; else {
  2104 + for (e in c) {
  2105 + if (!i[0] || a.converters[e + " " + i[0]]) {
  2106 + f = e;
  2107 + break
  2108 + }
  2109 + g || (g = e)
  2110 + }
  2111 + f = f || g
  2112 + }
  2113 + return f ? (f !== i[0] && i.unshift(f), c[f]) : void 0
  2114 + }
  2115 +
  2116 + function Ab(a, b, c, d) {
  2117 + var e, f, g, h, i, j = {}, k = a.dataTypes.slice();
  2118 + if (k[1]) for (g in a.converters) j[g.toLowerCase()] = a.converters[g];
  2119 + f = k.shift();
  2120 + while (f) if (a.responseFields[f] && (c[a.responseFields[f]] = b), !i && d && a.dataFilter && (b = a.dataFilter(b, a.dataType)), i = f, f = k.shift()) if ("*" === f) f = i; else if ("*" !== i && i !== f) {
  2121 + if (g = j[i + " " + f] || j["* " + f], !g) for (e in j) if (h = e.split(" "), h[1] === f && (g = j[i + " " + h[0]] || j["* " + h[0]])) {
  2122 + g === !0 ? g = j[e] : j[e] !== !0 && (f = h[0], k.unshift(h[1]));
  2123 + break
  2124 + }
  2125 + if (g !== !0) if (g && a["throws"]) b = g(b); else try {
  2126 + b = g(b)
  2127 + } catch (l) {
  2128 + return {state: "parsererror", error: g ? l : "No conversion from " + i + " to " + f}
  2129 + }
  2130 + }
  2131 + return {state: "success", data: b}
  2132 + }
  2133 +
  2134 + n.extend({
  2135 + active: 0,
  2136 + lastModified: {},
  2137 + etag: {},
  2138 + ajaxSettings: {
  2139 + url: jb.href,
  2140 + type: "GET",
  2141 + isLocal: pb.test(jb.protocol),
  2142 + global: !0,
  2143 + processData: !0,
  2144 + async: !0,
  2145 + contentType: "application/x-www-form-urlencoded; charset=UTF-8",
  2146 + accepts: {
  2147 + "*": ub,
  2148 + text: "text/plain",
  2149 + html: "text/html",
  2150 + xml: "application/xml, text/xml",
  2151 + json: "application/json, text/javascript"
  2152 + },
  2153 + contents: {xml: /\bxml\b/, html: /\bhtml/, json: /\bjson\b/},
  2154 + responseFields: {xml: "responseXML", text: "responseText", json: "responseJSON"},
  2155 + converters: {"* text": String, "text html": !0, "text json": n.parseJSON, "text xml": n.parseXML},
  2156 + flatOptions: {url: !0, context: !0}
  2157 + },
  2158 + ajaxSetup: function (a, b) {
  2159 + return b ? yb(yb(a, n.ajaxSettings), b) : yb(n.ajaxSettings, a)
  2160 + },
  2161 + ajaxPrefilter: wb(sb),
  2162 + ajaxTransport: wb(tb),
  2163 + ajax: function (b, c) {
  2164 + "object" == typeof b && (c = b, b = void 0), c = c || {};
  2165 + var e, f, g, h, i, j, k, l, m = n.ajaxSetup({}, c), o = m.context || m,
  2166 + p = m.context && (o.nodeType || o.jquery) ? n(o) : n.event, q = n.Deferred(),
  2167 + r = n.Callbacks("once memory"), s = m.statusCode || {}, t = {}, u = {}, v = 0, w = "canceled", x = {
  2168 + readyState: 0, getResponseHeader: function (a) {
  2169 + var b;
  2170 + if (2 === v) {
  2171 + if (!h) {
  2172 + h = {};
  2173 + while (b = ob.exec(g)) h[b[1].toLowerCase()] = b[2]
  2174 + }
  2175 + b = h[a.toLowerCase()]
  2176 + }
  2177 + return null == b ? null : b
  2178 + }, getAllResponseHeaders: function () {
  2179 + return 2 === v ? g : null
  2180 + }, setRequestHeader: function (a, b) {
  2181 + var c = a.toLowerCase();
  2182 + return v || (a = u[c] = u[c] || a, t[a] = b), this
  2183 + }, overrideMimeType: function (a) {
  2184 + return v || (m.mimeType = a), this
  2185 + }, statusCode: function (a) {
  2186 + var b;
  2187 + if (a) if (2 > v) for (b in a) s[b] = [s[b], a[b]]; else x.always(a[x.status]);
  2188 + return this
  2189 + }, abort: function (a) {
  2190 + var b = a || w;
  2191 + return e && e.abort(b), z(0, b), this
  2192 + }
  2193 + };
  2194 + if (q.promise(x).complete = r.add, x.success = x.done, x.error = x.fail, m.url = ((b || m.url || jb.href) + "").replace(mb, "").replace(rb, jb.protocol + "//"), m.type = c.method || c.type || m.method || m.type, m.dataTypes = n.trim(m.dataType || "*").toLowerCase().match(G) || [""], null == m.crossDomain) {
  2195 + j = d.createElement("a");
  2196 + try {
  2197 + j.href = m.url, j.href = j.href, m.crossDomain = vb.protocol + "//" + vb.host != j.protocol + "//" + j.host
  2198 + } catch (y) {
  2199 + m.crossDomain = !0
  2200 + }
  2201 + }
  2202 + if (m.data && m.processData && "string" != typeof m.data && (m.data = n.param(m.data, m.traditional)), xb(sb, m, c, x), 2 === v) return x;
  2203 + k = n.event && m.global, k && 0 === n.active++ && n.event.trigger("ajaxStart"), m.type = m.type.toUpperCase(), m.hasContent = !qb.test(m.type), f = m.url, m.hasContent || (m.data && (f = m.url += (lb.test(f) ? "&" : "?") + m.data, delete m.data), m.cache === !1 && (m.url = nb.test(f) ? f.replace(nb, "$1_=" + kb++) : f + (lb.test(f) ? "&" : "?") + "_=" + kb++)), m.ifModified && (n.lastModified[f] && x.setRequestHeader("If-Modified-Since", n.lastModified[f]), n.etag[f] && x.setRequestHeader("If-None-Match", n.etag[f])), (m.data && m.hasContent && m.contentType !== !1 || c.contentType) && x.setRequestHeader("Content-Type", m.contentType), x.setRequestHeader("Accept", m.dataTypes[0] && m.accepts[m.dataTypes[0]] ? m.accepts[m.dataTypes[0]] + ("*" !== m.dataTypes[0] ? ", " + ub + "; q=0.01" : "") : m.accepts["*"]);
  2204 + for (l in m.headers) x.setRequestHeader(l, m.headers[l]);
  2205 + if (m.beforeSend && (m.beforeSend.call(o, x, m) === !1 || 2 === v)) return x.abort();
  2206 + w = "abort";
  2207 + for (l in {success: 1, error: 1, complete: 1}) x[l](m[l]);
  2208 + if (e = xb(tb, m, c, x)) {
  2209 + if (x.readyState = 1, k && p.trigger("ajaxSend", [x, m]), 2 === v) return x;
  2210 + m.async && m.timeout > 0 && (i = a.setTimeout(function () {
  2211 + x.abort("timeout")
  2212 + }, m.timeout));
  2213 + try {
  2214 + v = 1, e.send(t, z)
  2215 + } catch (y) {
  2216 + if (!(2 > v)) throw y;
  2217 + z(-1, y)
  2218 + }
  2219 + } else z(-1, "No Transport");
  2220 +
  2221 + function z(b, c, d, h) {
  2222 + var j, l, t, u, w, y = c;
  2223 + 2 !== v && (v = 2, i && a.clearTimeout(i), e = void 0, g = h || "", x.readyState = b > 0 ? 4 : 0, j = b >= 200 && 300 > b || 304 === b, d && (u = zb(m, x, d)), u = Ab(m, u, x, j), j ? (m.ifModified && (w = x.getResponseHeader("Last-Modified"), w && (n.lastModified[f] = w), w = x.getResponseHeader("etag"), w && (n.etag[f] = w)), 204 === b || "HEAD" === m.type ? y = "nocontent" : 304 === b ? y = "notmodified" : (y = u.state, l = u.data, t = u.error, j = !t)) : (t = y, !b && y || (y = "error", 0 > b && (b = 0))), x.status = b, x.statusText = (c || y) + "", j ? q.resolveWith(o, [l, y, x]) : q.rejectWith(o, [x, y, t]), x.statusCode(s), s = void 0, k && p.trigger(j ? "ajaxSuccess" : "ajaxError", [x, m, j ? l : t]), r.fireWith(o, [x, y]), k && (p.trigger("ajaxComplete", [x, m]), --n.active || n.event.trigger("ajaxStop")))
  2224 + }
  2225 +
  2226 + return x
  2227 + },
  2228 + getJSON: function (a, b, c) {
  2229 + return n.get(a, b, c, "json")
  2230 + },
  2231 + getScript: function (a, b) {
  2232 + return n.get(a, void 0, b, "script")
  2233 + }
  2234 + }), n.each(["get", "post"], function (a, b) {
  2235 + n[b] = function (a, c, d, e) {
  2236 + return n.isFunction(c) && (e = e || d, d = c, c = void 0), n.ajax(n.extend({
  2237 + url: a,
  2238 + type: b,
  2239 + dataType: e,
  2240 + data: c,
  2241 + success: d
  2242 + }, n.isPlainObject(a) && a))
  2243 + }
  2244 + }), n._evalUrl = function (a) {
  2245 + return n.ajax({url: a, type: "GET", dataType: "script", async: !1, global: !1, "throws": !0})
  2246 + }, n.fn.extend({
  2247 + wrapAll: function (a) {
  2248 + var b;
  2249 + return n.isFunction(a) ? this.each(function (b) {
  2250 + n(this).wrapAll(a.call(this, b))
  2251 + }) : (this[0] && (b = n(a, this[0].ownerDocument).eq(0).clone(!0), this[0].parentNode && b.insertBefore(this[0]), b.map(function () {
  2252 + var a = this;
  2253 + while (a.firstElementChild) a = a.firstElementChild;
  2254 + return a
  2255 + }).append(this)), this)
  2256 + }, wrapInner: function (a) {
  2257 + return n.isFunction(a) ? this.each(function (b) {
  2258 + n(this).wrapInner(a.call(this, b))
  2259 + }) : this.each(function () {
  2260 + var b = n(this), c = b.contents();
  2261 + c.length ? c.wrapAll(a) : b.append(a)
  2262 + })
  2263 + }, wrap: function (a) {
  2264 + var b = n.isFunction(a);
  2265 + return this.each(function (c) {
  2266 + n(this).wrapAll(b ? a.call(this, c) : a)
  2267 + })
  2268 + }, unwrap: function () {
  2269 + return this.parent().each(function () {
  2270 + n.nodeName(this, "body") || n(this).replaceWith(this.childNodes)
  2271 + }).end()
  2272 + }
  2273 + }), n.expr.filters.hidden = function (a) {
  2274 + return !n.expr.filters.visible(a)
  2275 + }, n.expr.filters.visible = function (a) {
  2276 + return a.offsetWidth > 0 || a.offsetHeight > 0 || a.getClientRects().length > 0
  2277 + };
  2278 + var Bb = /%20/g, Cb = /\[\]$/, Db = /\r?\n/g, Eb = /^(?:submit|button|image|reset|file)$/i,
  2279 + Fb = /^(?:input|select|textarea|keygen)/i;
  2280 +
  2281 + function Gb(a, b, c, d) {
  2282 + var e;
  2283 + if (n.isArray(b)) n.each(b, function (b, e) {
  2284 + c || Cb.test(a) ? d(a, e) : Gb(a + "[" + ("object" == typeof e && null != e ? b : "") + "]", e, c, d)
  2285 + }); else if (c || "object" !== n.type(b)) d(a, b); else for (e in b) Gb(a + "[" + e + "]", b[e], c, d)
  2286 + }
  2287 +
  2288 + n.param = function (a, b) {
  2289 + var c, d = [], e = function (a, b) {
  2290 + b = n.isFunction(b) ? b() : null == b ? "" : b, d[d.length] = encodeURIComponent(a) + "=" + encodeURIComponent(b)
  2291 + };
  2292 + if (void 0 === b && (b = n.ajaxSettings && n.ajaxSettings.traditional), n.isArray(a) || a.jquery && !n.isPlainObject(a)) n.each(a, function () {
  2293 + e(this.name, this.value)
  2294 + }); else for (c in a) Gb(c, a[c], b, e);
  2295 + return d.join("&").replace(Bb, "+")
  2296 + }, n.fn.extend({
  2297 + serialize: function () {
  2298 + return n.param(this.serializeArray())
  2299 + }, serializeArray: function () {
  2300 + return this.map(function () {
  2301 + var a = n.prop(this, "elements");
  2302 + return a ? n.makeArray(a) : this
  2303 + }).filter(function () {
  2304 + var a = this.type;
  2305 + return this.name && !n(this).is(":disabled") && Fb.test(this.nodeName) && !Eb.test(a) && (this.checked || !X.test(a))
  2306 + }).map(function (a, b) {
  2307 + var c = n(this).val();
  2308 + return null == c ? null : n.isArray(c) ? n.map(c, function (a) {
  2309 + return {name: b.name, value: a.replace(Db, "\r\n")}
  2310 + }) : {name: b.name, value: c.replace(Db, "\r\n")}
  2311 + }).get()
  2312 + }
  2313 + }), n.ajaxSettings.xhr = function () {
  2314 + try {
  2315 + return new a.XMLHttpRequest
  2316 + } catch (b) {
  2317 + }
  2318 + };
  2319 + var Hb = {0: 200, 1223: 204}, Ib = n.ajaxSettings.xhr();
  2320 + l.cors = !!Ib && "withCredentials" in Ib, l.ajax = Ib = !!Ib, n.ajaxTransport(function (b) {
  2321 + var c, d;
  2322 + return l.cors || Ib && !b.crossDomain ? {
  2323 + send: function (e, f) {
  2324 + var g, h = b.xhr();
  2325 + if (h.open(b.type, b.url, b.async, b.username, b.password), b.xhrFields) for (g in b.xhrFields) h[g] = b.xhrFields[g];
  2326 + b.mimeType && h.overrideMimeType && h.overrideMimeType(b.mimeType), b.crossDomain || e["X-Requested-With"] || (e["X-Requested-With"] = "XMLHttpRequest");
  2327 + for (g in e) h.setRequestHeader(g, e[g]);
  2328 + c = function (a) {
  2329 + return function () {
  2330 + c && (c = d = h.onload = h.onerror = h.onabort = h.onreadystatechange = null, "abort" === a ? h.abort() : "error" === a ? "number" != typeof h.status ? f(0, "error") : f(h.status, h.statusText) : f(Hb[h.status] || h.status, h.statusText, "text" !== (h.responseType || "text") || "string" != typeof h.responseText ? {binary: h.response} : {text: h.responseText}, h.getAllResponseHeaders()))
  2331 + }
  2332 + }, h.onload = c(), d = h.onerror = c("error"), void 0 !== h.onabort ? h.onabort = d : h.onreadystatechange = function () {
  2333 + 4 === h.readyState && a.setTimeout(function () {
  2334 + c && d()
  2335 + })
  2336 + }, c = c("abort");
  2337 + try {
  2338 + h.send(b.hasContent && b.data || null)
  2339 + } catch (i) {
  2340 + if (c) throw i
  2341 + }
  2342 + }, abort: function () {
  2343 + c && c()
  2344 + }
  2345 + } : void 0
  2346 + }), n.ajaxSetup({
  2347 + accepts: {script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},
  2348 + contents: {script: /\b(?:java|ecma)script\b/},
  2349 + converters: {
  2350 + "text script": function (a) {
  2351 + return n.globalEval(a), a
  2352 + }
  2353 + }
  2354 + }), n.ajaxPrefilter("script", function (a) {
  2355 + void 0 === a.cache && (a.cache = !1), a.crossDomain && (a.type = "GET")
  2356 + }), n.ajaxTransport("script", function (a) {
  2357 + if (a.crossDomain) {
  2358 + var b, c;
  2359 + return {
  2360 + send: function (e, f) {
  2361 + b = n("<script>").prop({charset: a.scriptCharset, src: a.url}).on("load error", c = function (a) {
  2362 + b.remove(), c = null, a && f("error" === a.type ? 404 : 200, a.type)
  2363 + }), d.head.appendChild(b[0])
  2364 + }, abort: function () {
  2365 + c && c()
  2366 + }
  2367 + }
  2368 + }
  2369 + });
  2370 + var Jb = [], Kb = /(=)\?(?=&|$)|\?\?/;
  2371 + n.ajaxSetup({
  2372 + jsonp: "callback", jsonpCallback: function () {
  2373 + var a = Jb.pop() || n.expando + "_" + kb++;
  2374 + return this[a] = !0, a
  2375 + }
  2376 + }), n.ajaxPrefilter("json jsonp", function (b, c, d) {
  2377 + var e, f, g,
  2378 + h = b.jsonp !== !1 && (Kb.test(b.url) ? "url" : "string" == typeof b.data && 0 === (b.contentType || "").indexOf("application/x-www-form-urlencoded") && Kb.test(b.data) && "data");
  2379 + return h || "jsonp" === b.dataTypes[0] ? (e = b.jsonpCallback = n.isFunction(b.jsonpCallback) ? b.jsonpCallback() : b.jsonpCallback, h ? b[h] = b[h].replace(Kb, "$1" + e) : b.jsonp !== !1 && (b.url += (lb.test(b.url) ? "&" : "?") + b.jsonp + "=" + e), b.converters["script json"] = function () {
  2380 + return g || n.error(e + " was not called"), g[0]
  2381 + }, b.dataTypes[0] = "json", f = a[e], a[e] = function () {
  2382 + g = arguments
  2383 + }, d.always(function () {
  2384 + void 0 === f ? n(a).removeProp(e) : a[e] = f, b[e] && (b.jsonpCallback = c.jsonpCallback, Jb.push(e)), g && n.isFunction(f) && f(g[0]), g = f = void 0
  2385 + }), "script") : void 0
  2386 + }), n.parseHTML = function (a, b, c) {
  2387 + if (!a || "string" != typeof a) return null;
  2388 + "boolean" == typeof b && (c = b, b = !1), b = b || d;
  2389 + var e = x.exec(a), f = !c && [];
  2390 + return e ? [b.createElement(e[1])] : (e = ca([a], b, f), f && f.length && n(f).remove(), n.merge([], e.childNodes))
  2391 + };
  2392 + var Lb = n.fn.load;
  2393 + n.fn.load = function (a, b, c) {
  2394 + if ("string" != typeof a && Lb) return Lb.apply(this, arguments);
  2395 + var d, e, f, g = this, h = a.indexOf(" ");
  2396 + return h > -1 && (d = n.trim(a.slice(h)), a = a.slice(0, h)), n.isFunction(b) ? (c = b, b = void 0) : b && "object" == typeof b && (e = "POST"), g.length > 0 && n.ajax({
  2397 + url: a,
  2398 + type: e || "GET",
  2399 + dataType: "html",
  2400 + data: b
  2401 + }).done(function (a) {
  2402 + f = arguments, g.html(d ? n("<div>").append(n.parseHTML(a)).find(d) : a)
  2403 + }).always(c && function (a, b) {
  2404 + g.each(function () {
  2405 + c.apply(this, f || [a.responseText, b, a])
  2406 + })
  2407 + }), this
  2408 + }, n.each(["ajaxStart", "ajaxStop", "ajaxComplete", "ajaxError", "ajaxSuccess", "ajaxSend"], function (a, b) {
  2409 + n.fn[b] = function (a) {
  2410 + return this.on(b, a)
  2411 + }
  2412 + }), n.expr.filters.animated = function (a) {
  2413 + return n.grep(n.timers, function (b) {
  2414 + return a === b.elem
  2415 + }).length
  2416 + };
  2417 +
  2418 + function Mb(a) {
  2419 + return n.isWindow(a) ? a : 9 === a.nodeType && a.defaultView
  2420 + }
  2421 +
  2422 + n.offset = {
  2423 + setOffset: function (a, b, c) {
  2424 + var d, e, f, g, h, i, j, k = n.css(a, "position"), l = n(a), m = {};
  2425 + "static" === k && (a.style.position = "relative"), h = l.offset(), f = n.css(a, "top"), i = n.css(a, "left"), j = ("absolute" === k || "fixed" === k) && (f + i).indexOf("auto") > -1, j ? (d = l.position(), g = d.top, e = d.left) : (g = parseFloat(f) || 0, e = parseFloat(i) || 0), n.isFunction(b) && (b = b.call(a, c, n.extend({}, h))), null != b.top && (m.top = b.top - h.top + g), null != b.left && (m.left = b.left - h.left + e), "using" in b ? b.using.call(a, m) : l.css(m)
  2426 + }
  2427 + }, n.fn.extend({
  2428 + offset: function (a) {
  2429 + if (arguments.length) return void 0 === a ? this : this.each(function (b) {
  2430 + n.offset.setOffset(this, a, b)
  2431 + });
  2432 + var b, c, d = this[0], e = {top: 0, left: 0}, f = d && d.ownerDocument;
  2433 + if (f) return b = f.documentElement, n.contains(b, d) ? (e = d.getBoundingClientRect(), c = Mb(f), {
  2434 + top: e.top + c.pageYOffset - b.clientTop,
  2435 + left: e.left + c.pageXOffset - b.clientLeft
  2436 + }) : e
  2437 + }, position: function () {
  2438 + if (this[0]) {
  2439 + var a, b, c = this[0], d = {top: 0, left: 0};
  2440 + return "fixed" === n.css(c, "position") ? b = c.getBoundingClientRect() : (a = this.offsetParent(), b = this.offset(), n.nodeName(a[0], "html") || (d = a.offset()), d.top += n.css(a[0], "borderTopWidth", !0), d.left += n.css(a[0], "borderLeftWidth", !0)), {
  2441 + top: b.top - d.top - n.css(c, "marginTop", !0),
  2442 + left: b.left - d.left - n.css(c, "marginLeft", !0)
  2443 + }
  2444 + }
  2445 + }, offsetParent: function () {
  2446 + return this.map(function () {
  2447 + var a = this.offsetParent;
  2448 + while (a && "static" === n.css(a, "position")) a = a.offsetParent;
  2449 + return a || Ea
  2450 + })
  2451 + }
  2452 + }), n.each({scrollLeft: "pageXOffset", scrollTop: "pageYOffset"}, function (a, b) {
  2453 + var c = "pageYOffset" === b;
  2454 + n.fn[a] = function (d) {
  2455 + return K(this, function (a, d, e) {
  2456 + var f = Mb(a);
  2457 + return void 0 === e ? f ? f[b] : a[d] : void (f ? f.scrollTo(c ? f.pageXOffset : e, c ? e : f.pageYOffset) : a[d] = e)
  2458 + }, a, d, arguments.length)
  2459 + }
  2460 + }), n.each(["top", "left"], function (a, b) {
  2461 + n.cssHooks[b] = Ga(l.pixelPosition, function (a, c) {
  2462 + return c ? (c = Fa(a, b), Ba.test(c) ? n(a).position()[b] + "px" : c) : void 0
  2463 + })
  2464 + }), n.each({Height: "height", Width: "width"}, function (a, b) {
  2465 + n.each({padding: "inner" + a, content: b, "": "outer" + a}, function (c, d) {
  2466 + n.fn[d] = function (d, e) {
  2467 + var f = arguments.length && (c || "boolean" != typeof d),
  2468 + g = c || (d === !0 || e === !0 ? "margin" : "border");
  2469 + return K(this, function (b, c, d) {
  2470 + var e;
  2471 + return n.isWindow(b) ? b.document.documentElement["client" + a] : 9 === b.nodeType ? (e = b.documentElement, Math.max(b.body["scroll" + a], e["scroll" + a], b.body["offset" + a], e["offset" + a], e["client" + a])) : void 0 === d ? n.css(b, c, g) : n.style(b, c, d, g)
  2472 + }, b, f ? d : void 0, f, null)
  2473 + }
  2474 + })
  2475 + }), n.fn.extend({
  2476 + bind: function (a, b, c) {
  2477 + return this.on(a, null, b, c)
  2478 + }, unbind: function (a, b) {
  2479 + return this.off(a, null, b)
  2480 + }, delegate: function (a, b, c, d) {
  2481 + return this.on(b, a, c, d)
  2482 + }, undelegate: function (a, b, c) {
  2483 + return 1 === arguments.length ? this.off(a, "**") : this.off(b, a || "**", c)
  2484 + }, size: function () {
  2485 + return this.length
  2486 + }
  2487 + }), n.fn.andSelf = n.fn.addBack, "function" == typeof define && define.amd && define("jquery", [], function () {
  2488 + return n
  2489 + });
  2490 + var Nb = a.jQuery, Ob = a.$;
  2491 + return n.noConflict = function (b) {
  2492 + return a.$ === n && (a.$ = Ob), b && a.jQuery === n && (a.jQuery = Nb), n
  2493 + }, b || (a.jQuery = a.$ = n), n
  2494 +});
... ...
src/main/resources/static/js/select2.full.min.js
1   -/*! Select2 4.0.0 | https://github.com/select2/select2/blob/master/LICENSE.md */!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports?require("jquery"):jQuery)}(function(a){var b=function(){if(a&&a.fn&&a.fn.select2&&a.fn.select2.amd)var b=a.fn.select2.amd;var b;return function(){if(!b||!b.requirejs){b?c=b:b={};var a,c,d;!function(b){function e(a,b){return u.call(a,b)}function f(a,b){var c,d,e,f,g,h,i,j,k,l,m,n=b&&b.split("/"),o=s.map,p=o&&o["*"]||{};if(a&&"."===a.charAt(0))if(b){for(n=n.slice(0,n.length-1),a=a.split("/"),g=a.length-1,s.nodeIdCompat&&w.test(a[g])&&(a[g]=a[g].replace(w,"")),a=n.concat(a),k=0;k<a.length;k+=1)if(m=a[k],"."===m)a.splice(k,1),k-=1;else if(".."===m){if(1===k&&(".."===a[2]||".."===a[0]))break;k>0&&(a.splice(k-1,2),k-=2)}a=a.join("/")}else 0===a.indexOf("./")&&(a=a.substring(2));if((n||p)&&o){for(c=a.split("/"),k=c.length;k>0;k-=1){if(d=c.slice(0,k).join("/"),n)for(l=n.length;l>0;l-=1)if(e=o[n.slice(0,l).join("/")],e&&(e=e[d])){f=e,h=k;break}if(f)break;!i&&p&&p[d]&&(i=p[d],j=k)}!f&&i&&(f=i,h=j),f&&(c.splice(0,h,f),a=c.join("/"))}return a}function g(a,c){return function(){return n.apply(b,v.call(arguments,0).concat([a,c]))}}function h(a){return function(b){return f(b,a)}}function i(a){return function(b){q[a]=b}}function j(a){if(e(r,a)){var c=r[a];delete r[a],t[a]=!0,m.apply(b,c)}if(!e(q,a)&&!e(t,a))throw new Error("No "+a);return q[a]}function k(a){var b,c=a?a.indexOf("!"):-1;return c>-1&&(b=a.substring(0,c),a=a.substring(c+1,a.length)),[b,a]}function l(a){return function(){return s&&s.config&&s.config[a]||{}}}var m,n,o,p,q={},r={},s={},t={},u=Object.prototype.hasOwnProperty,v=[].slice,w=/\.js$/;o=function(a,b){var c,d=k(a),e=d[0];return a=d[1],e&&(e=f(e,b),c=j(e)),e?a=c&&c.normalize?c.normalize(a,h(b)):f(a,b):(a=f(a,b),d=k(a),e=d[0],a=d[1],e&&(c=j(e))),{f:e?e+"!"+a:a,n:a,pr:e,p:c}},p={require:function(a){return g(a)},exports:function(a){var b=q[a];return"undefined"!=typeof b?b:q[a]={}},module:function(a){return{id:a,uri:"",exports:q[a],config:l(a)}}},m=function(a,c,d,f){var h,k,l,m,n,s,u=[],v=typeof d;if(f=f||a,"undefined"===v||"function"===v){for(c=!c.length&&d.length?["require","exports","module"]:c,n=0;n<c.length;n+=1)if(m=o(c[n],f),k=m.f,"require"===k)u[n]=p.require(a);else if("exports"===k)u[n]=p.exports(a),s=!0;else if("module"===k)h=u[n]=p.module(a);else if(e(q,k)||e(r,k)||e(t,k))u[n]=j(k);else{if(!m.p)throw new Error(a+" missing "+k);m.p.load(m.n,g(f,!0),i(k),{}),u[n]=q[k]}l=d?d.apply(q[a],u):void 0,a&&(h&&h.exports!==b&&h.exports!==q[a]?q[a]=h.exports:l===b&&s||(q[a]=l))}else a&&(q[a]=d)},a=c=n=function(a,c,d,e,f){if("string"==typeof a)return p[a]?p[a](c):j(o(a,c).f);if(!a.splice){if(s=a,s.deps&&n(s.deps,s.callback),!c)return;c.splice?(a=c,c=d,d=null):a=b}return c=c||function(){},"function"==typeof d&&(d=e,e=f),e?m(b,a,c,d):setTimeout(function(){m(b,a,c,d)},4),n},n.config=function(a){return n(a)},a._defined=q,d=function(a,b,c){b.splice||(c=b,b=[]),e(q,a)||e(r,a)||(r[a]=[a,b,c])},d.amd={jQuery:!0}}(),b.requirejs=a,b.require=c,b.define=d}}(),b.define("almond",function(){}),b.define("jquery",[],function(){var b=a||$;return null==b&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),b}),b.define("select2/utils",["jquery"],function(a){function b(a){var b=a.prototype,c=[];for(var d in b){var e=b[d];"function"==typeof e&&"constructor"!==d&&c.push(d)}return c}var c={};c.Extend=function(a,b){function c(){this.constructor=a}var d={}.hasOwnProperty;for(var e in b)d.call(b,e)&&(a[e]=b[e]);return c.prototype=b.prototype,a.prototype=new c,a.__super__=b.prototype,a},c.Decorate=function(a,c){function d(){var b=Array.prototype.unshift,d=c.prototype.constructor.length,e=a.prototype.constructor;d>0&&(b.call(arguments,a.prototype.constructor),e=c.prototype.constructor),e.apply(this,arguments)}function e(){this.constructor=d}var f=b(c),g=b(a);c.displayName=a.displayName,d.prototype=new e;for(var h=0;h<g.length;h++){var i=g[h];d.prototype[i]=a.prototype[i]}for(var j=(function(a){var b=function(){};a in d.prototype&&(b=d.prototype[a]);var e=c.prototype[a];return function(){var a=Array.prototype.unshift;return a.call(arguments,b),e.apply(this,arguments)}}),k=0;k<f.length;k++){var l=f[k];d.prototype[l]=j(l)}return d};var d=function(){this.listeners={}};return d.prototype.on=function(a,b){this.listeners=this.listeners||{},a in this.listeners?this.listeners[a].push(b):this.listeners[a]=[b]},d.prototype.trigger=function(a){var b=Array.prototype.slice;this.listeners=this.listeners||{},a in this.listeners&&this.invoke(this.listeners[a],b.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},d.prototype.invoke=function(a,b){for(var c=0,d=a.length;d>c;c++)a[c].apply(this,b)},c.Observable=d,c.generateChars=function(a){for(var b="",c=0;a>c;c++){var d=Math.floor(36*Math.random());b+=d.toString(36)}return b},c.bind=function(a,b){return function(){a.apply(b,arguments)}},c._convertData=function(a){for(var b in a){var c=b.split("-"),d=a;if(1!==c.length){for(var e=0;e<c.length;e++){var f=c[e];f=f.substring(0,1).toLowerCase()+f.substring(1),f in d||(d[f]={}),e==c.length-1&&(d[f]=a[b]),d=d[f]}delete a[b]}}return a},c.hasScroll=function(b,c){var d=a(c),e=c.style.overflowX,f=c.style.overflowY;return e!==f||"hidden"!==f&&"visible"!==f?"scroll"===e||"scroll"===f?!0:d.innerHeight()<c.scrollHeight||d.innerWidth()<c.scrollWidth:!1},c.escapeMarkup=function(a){var b={"\\":"&#92;","&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#47;"};return"string"!=typeof a?a:String(a).replace(/[&<>"'\/\\]/g,function(a){return b[a]})},c.appendMany=function(b,c){if("1.7"===a.fn.jquery.substr(0,3)){var d=a();a.map(c,function(a){d=d.add(a)}),c=d}b.append(c)},c}),b.define("select2/results",["jquery","./utils"],function(a,b){function c(a,b,d){this.$element=a,this.data=d,this.options=b,c.__super__.constructor.call(this)}return b.Extend(c,b.Observable),c.prototype.render=function(){var b=a('<ul class="select2-results__options" role="tree"></ul>');return this.options.get("multiple")&&b.attr("aria-multiselectable","true"),this.$results=b,b},c.prototype.clear=function(){this.$results.empty()},c.prototype.displayMessage=function(b){var c=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var d=a('<li role="treeitem" class="select2-results__option"></li>'),e=this.options.get("translations").get(b.message);d.append(c(e(b.args))),this.$results.append(d)},c.prototype.append=function(a){this.hideLoading();var b=[];if(null==a.results||0===a.results.length)return void(0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"}));a.results=this.sort(a.results);for(var c=0;c<a.results.length;c++){var d=a.results[c],e=this.option(d);b.push(e)}this.$results.append(b)},c.prototype.position=function(a,b){var c=b.find(".select2-results");c.append(a)},c.prototype.sort=function(a){var b=this.options.get("sorter");return b(a)},c.prototype.setClasses=function(){var b=this;this.data.current(function(c){var d=a.map(c,function(a){return a.id.toString()}),e=b.$results.find(".select2-results__option[aria-selected]");e.each(function(){var b=a(this),c=a.data(this,"data"),e=""+c.id;null!=c.element&&c.element.selected||null==c.element&&a.inArray(e,d)>-1?b.attr("aria-selected","true"):b.attr("aria-selected","false")});var f=e.filter("[aria-selected=true]");f.length>0?f.first().trigger("mouseenter"):e.first().trigger("mouseenter")})},c.prototype.showLoading=function(a){this.hideLoading();var b=this.options.get("translations").get("searching"),c={disabled:!0,loading:!0,text:b(a)},d=this.option(c);d.className+=" loading-results",this.$results.prepend(d)},c.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},c.prototype.option=function(b){var c=document.createElement("li");c.className="select2-results__option";var d={role:"treeitem","aria-selected":"false"};b.disabled&&(delete d["aria-selected"],d["aria-disabled"]="true"),null==b.id&&delete d["aria-selected"],null!=b._resultId&&(c.id=b._resultId),b.title&&(c.title=b.title),b.children&&(d.role="group",d["aria-label"]=b.text,delete d["aria-selected"]);for(var e in d){var f=d[e];c.setAttribute(e,f)}if(b.children){var g=a(c),h=document.createElement("strong");h.className="select2-results__group";{a(h)}this.template(b,h);for(var i=[],j=0;j<b.children.length;j++){var k=b.children[j],l=this.option(k);i.push(l)}var m=a("<ul></ul>",{"class":"select2-results__options select2-results__options--nested"});m.append(i),g.append(h),g.append(m)}else this.template(b,c);return a.data(c,"data",b),c},c.prototype.bind=function(b){var c=this,d=b.id+"-results";this.$results.attr("id",d),b.on("results:all",function(a){c.clear(),c.append(a.data),b.isOpen()&&c.setClasses()}),b.on("results:append",function(a){c.append(a.data),b.isOpen()&&c.setClasses()}),b.on("query",function(a){c.showLoading(a)}),b.on("select",function(){b.isOpen()&&c.setClasses()}),b.on("unselect",function(){b.isOpen()&&c.setClasses()}),b.on("open",function(){c.$results.attr("aria-expanded","true"),c.$results.attr("aria-hidden","false"),c.setClasses(),c.ensureHighlightVisible()}),b.on("close",function(){c.$results.attr("aria-expanded","false"),c.$results.attr("aria-hidden","true"),c.$results.removeAttr("aria-activedescendant")}),b.on("results:toggle",function(){var a=c.getHighlightedResults();0!==a.length&&a.trigger("mouseup")}),b.on("results:select",function(){var a=c.getHighlightedResults();if(0!==a.length){var b=a.data("data");"true"==a.attr("aria-selected")?c.trigger("close"):c.trigger("select",{data:b})}}),b.on("results:previous",function(){var a=c.getHighlightedResults(),b=c.$results.find("[aria-selected]"),d=b.index(a);if(0!==d){var e=d-1;0===a.length&&(e=0);var f=b.eq(e);f.trigger("mouseenter");var g=c.$results.offset().top,h=f.offset().top,i=c.$results.scrollTop()+(h-g);0===e?c.$results.scrollTop(0):0>h-g&&c.$results.scrollTop(i)}}),b.on("results:next",function(){var a=c.getHighlightedResults(),b=c.$results.find("[aria-selected]"),d=b.index(a),e=d+1;if(!(e>=b.length)){var f=b.eq(e);f.trigger("mouseenter");var g=c.$results.offset().top+c.$results.outerHeight(!1),h=f.offset().top+f.outerHeight(!1),i=c.$results.scrollTop()+h-g;0===e?c.$results.scrollTop(0):h>g&&c.$results.scrollTop(i)}}),b.on("results:focus",function(a){a.element.addClass("select2-results__option--highlighted")}),b.on("results:message",function(a){c.displayMessage(a)}),a.fn.mousewheel&&this.$results.on("mousewheel",function(a){var b=c.$results.scrollTop(),d=c.$results.get(0).scrollHeight-c.$results.scrollTop()+a.deltaY,e=a.deltaY>0&&b-a.deltaY<=0,f=a.deltaY<0&&d<=c.$results.height();e?(c.$results.scrollTop(0),a.preventDefault(),a.stopPropagation()):f&&(c.$results.scrollTop(c.$results.get(0).scrollHeight-c.$results.height()),a.preventDefault(),a.stopPropagation())}),this.$results.on("mouseup",".select2-results__option[aria-selected]",function(b){var d=a(this),e=d.data("data");return"true"===d.attr("aria-selected")?void(c.options.get("multiple")?c.trigger("unselect",{originalEvent:b,data:e}):c.trigger("close")):void c.trigger("select",{originalEvent:b,data:e})}),this.$results.on("mouseenter",".select2-results__option[aria-selected]",function(){var b=a(this).data("data");c.getHighlightedResults().removeClass("select2-results__option--highlighted"),c.trigger("results:focus",{data:b,element:a(this)})})},c.prototype.getHighlightedResults=function(){var a=this.$results.find(".select2-results__option--highlighted");return a},c.prototype.destroy=function(){this.$results.remove()},c.prototype.ensureHighlightVisible=function(){var a=this.getHighlightedResults();if(0!==a.length){var b=this.$results.find("[aria-selected]"),c=b.index(a),d=this.$results.offset().top,e=a.offset().top,f=this.$results.scrollTop()+(e-d),g=e-d;f-=2*a.outerHeight(!1),2>=c?this.$results.scrollTop(0):(g>this.$results.outerHeight()||0>g)&&this.$results.scrollTop(f)}},c.prototype.template=function(b,c){var d=this.options.get("templateResult"),e=this.options.get("escapeMarkup"),f=d(b);null==f?c.style.display="none":"string"==typeof f?c.innerHTML=e(f):a(c).append(f)},c}),b.define("select2/keys",[],function(){var a={BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46};return a}),b.define("select2/selection/base",["jquery","../utils","../keys"],function(a,b,c){function d(a,b){this.$element=a,this.options=b,d.__super__.constructor.call(this)}return b.Extend(d,b.Observable),d.prototype.render=function(){var b=a('<span class="select2-selection" role="combobox" aria-autocomplete="list" aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,null!=this.$element.data("old-tabindex")?this._tabindex=this.$element.data("old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),b.attr("title",this.$element.attr("title")),b.attr("tabindex",this._tabindex),this.$selection=b,b},d.prototype.bind=function(a){var b=this,d=(a.id+"-container",a.id+"-results");this.container=a,this.$selection.on("focus",function(a){b.trigger("focus",a)}),this.$selection.on("blur",function(a){b.trigger("blur",a)}),this.$selection.on("keydown",function(a){b.trigger("keypress",a),a.which===c.SPACE&&a.preventDefault()}),a.on("results:focus",function(a){b.$selection.attr("aria-activedescendant",a.data._resultId)}),a.on("selection:update",function(a){b.update(a.data)}),a.on("open",function(){b.$selection.attr("aria-expanded","true"),b.$selection.attr("aria-owns",d),b._attachCloseHandler(a)}),a.on("close",function(){b.$selection.attr("aria-expanded","false"),b.$selection.removeAttr("aria-activedescendant"),b.$selection.removeAttr("aria-owns"),b.$selection.focus(),b._detachCloseHandler(a)}),a.on("enable",function(){b.$selection.attr("tabindex",b._tabindex)}),a.on("disable",function(){b.$selection.attr("tabindex","-1")})},d.prototype._attachCloseHandler=function(b){a(document.body).on("mousedown.select2."+b.id,function(b){var c=a(b.target),d=c.closest(".select2"),e=a(".select2.select2-container--open");e.each(function(){var b=a(this);if(this!=d[0]){var c=b.data("element");c.select2("close")}})})},d.prototype._detachCloseHandler=function(b){a(document.body).off("mousedown.select2."+b.id)},d.prototype.position=function(a,b){var c=b.find(".selection");c.append(a)},d.prototype.destroy=function(){this._detachCloseHandler(this.container)},d.prototype.update=function(){throw new Error("The `update` method must be defined in child classes.")},d}),b.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(a,b,c){function d(){d.__super__.constructor.apply(this,arguments)}return c.Extend(d,b),d.prototype.render=function(){var a=d.__super__.render.call(this);return a.addClass("select2-selection--single"),a.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),a},d.prototype.bind=function(a){var b=this;d.__super__.bind.apply(this,arguments);var c=a.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",c),this.$selection.attr("aria-labelledby",c),this.$selection.on("mousedown",function(a){1===a.which&&b.trigger("toggle",{originalEvent:a})}),this.$selection.on("focus",function(){}),this.$selection.on("blur",function(){}),a.on("selection:update",function(a){b.update(a.data)})},d.prototype.clear=function(){this.$selection.find(".select2-selection__rendered").empty()},d.prototype.display=function(a){var b=this.options.get("templateSelection"),c=this.options.get("escapeMarkup");return c(b(a))},d.prototype.selectionContainer=function(){return a("<span></span>")},d.prototype.update=function(a){if(0===a.length)return void this.clear();var b=a[0],c=this.display(b),d=this.$selection.find(".select2-selection__rendered");d.empty().append(c),d.prop("title",b.title||b.text)},d}),b.define("select2/selection/multiple",["jquery","./base","../utils"],function(a,b,c){function d(){d.__super__.constructor.apply(this,arguments)}return c.Extend(d,b),d.prototype.render=function(){var a=d.__super__.render.call(this);return a.addClass("select2-selection--multiple"),a.html('<ul class="select2-selection__rendered"></ul>'),a},d.prototype.bind=function(){var b=this;d.__super__.bind.apply(this,arguments),this.$selection.on("click",function(a){b.trigger("toggle",{originalEvent:a})}),this.$selection.on("click",".select2-selection__choice__remove",function(c){var d=a(this),e=d.parent(),f=e.data("data");b.trigger("unselect",{originalEvent:c,data:f})})},d.prototype.clear=function(){this.$selection.find(".select2-selection__rendered").empty()},d.prototype.display=function(a){var b=this.options.get("templateSelection"),c=this.options.get("escapeMarkup");return c(b(a))},d.prototype.selectionContainer=function(){var b=a('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation">&times;</span></li>');return b},d.prototype.update=function(a){if(this.clear(),0!==a.length){for(var b=[],d=0;d<a.length;d++){var e=a[d],f=this.display(e),g=this.selectionContainer();g.append(f),g.prop("title",e.title||e.text),g.data("data",e),b.push(g)}var h=this.$selection.find(".select2-selection__rendered");c.appendMany(h,b)}},d}),b.define("select2/selection/placeholder",["../utils"],function(){function a(a,b,c){this.placeholder=this.normalizePlaceholder(c.get("placeholder")),a.call(this,b,c)}return a.prototype.normalizePlaceholder=function(a,b){return"string"==typeof b&&(b={id:"",text:b}),b},a.prototype.createPlaceholder=function(a,b){var c=this.selectionContainer();return c.html(this.display(b)),c.addClass("select2-selection__placeholder").removeClass("select2-selection__choice"),c},a.prototype.update=function(a,b){var c=1==b.length&&b[0].id!=this.placeholder.id,d=b.length>1;if(d||c)return a.call(this,b);this.clear();var e=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(e)},a}),b.define("select2/selection/allowClear",["jquery","../keys"],function(a,b){function c(){}return c.prototype.bind=function(a,b,c){var d=this;a.call(this,b,c),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",function(a){d._handleClear(a)}),b.on("keypress",function(a){d._handleKeyboardClear(a,b)})},c.prototype._handleClear=function(a,b){if(!this.options.get("disabled")){var c=this.$selection.find(".select2-selection__clear");if(0!==c.length){b.stopPropagation();for(var d=c.data("data"),e=0;e<d.length;e++){var f={data:d[e]};if(this.trigger("unselect",f),f.prevented)return}this.$element.val(this.placeholder.id).trigger("change"),this.trigger("toggle")}}},c.prototype._handleKeyboardClear=function(a,c,d){d.isOpen()||(c.which==b.DELETE||c.which==b.BACKSPACE)&&this._handleClear(c)},c.prototype.update=function(b,c){if(b.call(this,c),!(this.$selection.find(".select2-selection__placeholder").length>0||0===c.length)){var d=a('<span class="select2-selection__clear">&times;</span>');d.data("data",c),this.$selection.find(".select2-selection__rendered").prepend(d)}},c}),b.define("select2/selection/search",["jquery","../utils","../keys"],function(a,b,c){function d(a,b,c){a.call(this,b,c)}return d.prototype.render=function(b){var c=a('<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" role="textbox" /></li>');this.$searchContainer=c,this.$search=c.find("input");var d=b.call(this);return d},d.prototype.bind=function(a,b,d){var e=this;a.call(this,b,d),b.on("open",function(){e.$search.attr("tabindex",0),e.$search.focus()}),b.on("close",function(){e.$search.attr("tabindex",-1),e.$search.val(""),e.$search.focus()}),b.on("enable",function(){e.$search.prop("disabled",!1)}),b.on("disable",function(){e.$search.prop("disabled",!0)}),this.$selection.on("focusin",".select2-search--inline",function(a){e.trigger("focus",a)}),this.$selection.on("focusout",".select2-search--inline",function(a){e.trigger("blur",a)}),this.$selection.on("keydown",".select2-search--inline",function(a){a.stopPropagation(),e.trigger("keypress",a),e._keyUpPrevented=a.isDefaultPrevented();var b=a.which;if(b===c.BACKSPACE&&""===e.$search.val()){var d=e.$searchContainer.prev(".select2-selection__choice");if(d.length>0){var f=d.data("data");e.searchRemoveChoice(f),a.preventDefault()}}}),this.$selection.on("input",".select2-search--inline",function(){e.$selection.off("keyup.search")}),this.$selection.on("keyup.search input",".select2-search--inline",function(a){e.handleSearch(a)})},d.prototype.createPlaceholder=function(a,b){this.$search.attr("placeholder",b.text)},d.prototype.update=function(a,b){this.$search.attr("placeholder",""),a.call(this,b),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch()},d.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var a=this.$search.val();this.trigger("query",{term:a})}this._keyUpPrevented=!1},d.prototype.searchRemoveChoice=function(a,b){this.trigger("unselect",{data:b}),this.trigger("open"),this.$search.val(b.text+" ")},d.prototype.resizeSearch=function(){this.$search.css("width","25px");var a="";if(""!==this.$search.attr("placeholder"))a=this.$selection.find(".select2-selection__rendered").innerWidth();else{var b=this.$search.val().length+1;a=.75*b+"em"}this.$search.css("width",a)},d}),b.define("select2/selection/eventRelay",["jquery"],function(a){function b(){}return b.prototype.bind=function(b,c,d){var e=this,f=["open","opening","close","closing","select","selecting","unselect","unselecting"],g=["opening","closing","selecting","unselecting"];b.call(this,c,d),c.on("*",function(b,c){if(-1!==a.inArray(b,f)){c=c||{};var d=a.Event("select2:"+b,{params:c});e.$element.trigger(d),-1!==a.inArray(b,g)&&(c.prevented=d.isDefaultPrevented())}})},b}),b.define("select2/translation",["jquery","require"],function(a,b){function c(a){this.dict=a||{}}return c.prototype.all=function(){return this.dict},c.prototype.get=function(a){return this.dict[a]},c.prototype.extend=function(b){this.dict=a.extend({},b.all(),this.dict)},c._cache={},c.loadPath=function(a){if(!(a in c._cache)){var d=b(a);c._cache[a]=d}return new c(c._cache[a])},c}),b.define("select2/diacritics",[],function(){var a={"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ω":"ω","ς":"σ"};return a}),b.define("select2/data/base",["../utils"],function(a){function b(){b.__super__.constructor.call(this)}return a.Extend(b,a.Observable),b.prototype.current=function(){throw new Error("The `current` method must be defined in child classes.")},b.prototype.query=function(){throw new Error("The `query` method must be defined in child classes.")},b.prototype.bind=function(){},b.prototype.destroy=function(){},b.prototype.generateResultId=function(b,c){var d=b.id+"-result-";return d+=a.generateChars(4),d+=null!=c.id?"-"+c.id.toString():"-"+a.generateChars(4)},b}),b.define("select2/data/select",["./base","../utils","jquery"],function(a,b,c){function d(a,b){this.$element=a,this.options=b,d.__super__.constructor.call(this)}return b.Extend(d,a),d.prototype.current=function(a){var b=[],d=this;this.$element.find(":selected").each(function(){var a=c(this),e=d.item(a);b.push(e)}),a(b)},d.prototype.select=function(a){var b=this;if(a.selected=!0,c(a.element).is("option"))return a.element.selected=!0,void this.$element.trigger("change");if(this.$element.prop("multiple"))this.current(function(d){var e=[];a=[a],a.push.apply(a,d);for(var f=0;f<a.length;f++){var g=a[f].id;-1===c.inArray(g,e)&&e.push(g)}b.$element.val(e),b.$element.trigger("change")});else{var d=a.id;this.$element.val(d),this.$element.trigger("change")}},d.prototype.unselect=function(a){var b=this;if(this.$element.prop("multiple"))return a.selected=!1,c(a.element).is("option")?(a.element.selected=!1,void this.$element.trigger("change")):void this.current(function(d){for(var e=[],f=0;f<d.length;f++){var g=d[f].id;g!==a.id&&-1===c.inArray(g,e)&&e.push(g)}b.$element.val(e),b.$element.trigger("change")})},d.prototype.bind=function(a){var b=this;this.container=a,a.on("select",function(a){b.select(a.data)}),a.on("unselect",function(a){b.unselect(a.data)})},d.prototype.destroy=function(){this.$element.find("*").each(function(){c.removeData(this,"data")})},d.prototype.query=function(a,b){var d=[],e=this,f=this.$element.children();f.each(function(){var b=c(this);if(b.is("option")||b.is("optgroup")){var f=e.item(b),g=e.matches(a,f);null!==g&&d.push(g)}}),b({results:d})},d.prototype.addOptions=function(a){b.appendMany(this.$element,a)},d.prototype.option=function(a){var b;a.children?(b=document.createElement("optgroup"),b.label=a.text):(b=document.createElement("option"),void 0!==b.textContent?b.textContent=a.text:b.innerText=a.text),a.id&&(b.value=a.id),a.disabled&&(b.disabled=!0),a.selected&&(b.selected=!0),a.title&&(b.title=a.title);var d=c(b),e=this._normalizeItem(a);return e.element=b,c.data(b,"data",e),d},d.prototype.item=function(a){var b={};
2   -if(b=c.data(a[0],"data"),null!=b)return b;if(a.is("option"))b={id:a.val(),text:a.text(),disabled:a.prop("disabled"),selected:a.prop("selected"),title:a.prop("title")};else if(a.is("optgroup")){b={text:a.prop("label"),children:[],title:a.prop("title")};for(var d=a.children("option"),e=[],f=0;f<d.length;f++){var g=c(d[f]),h=this.item(g);e.push(h)}b.children=e}return b=this._normalizeItem(b),b.element=a[0],c.data(a[0],"data",b),b},d.prototype._normalizeItem=function(a){c.isPlainObject(a)||(a={id:a,text:a}),a=c.extend({},{text:""},a);var b={selected:!1,disabled:!1};return null!=a.id&&(a.id=a.id.toString()),null!=a.text&&(a.text=a.text.toString()),null==a._resultId&&a.id&&null!=this.container&&(a._resultId=this.generateResultId(this.container,a)),c.extend({},b,a)},d.prototype.matches=function(a,b){var c=this.options.get("matcher");return c(a,b)},d}),b.define("select2/data/array",["./select","../utils","jquery"],function(a,b,c){function d(a,b){var c=b.get("data")||[];d.__super__.constructor.call(this,a,b),this.addOptions(this.convertToOptions(c))}return b.Extend(d,a),d.prototype.select=function(a){var b=this.$element.find("option").filter(function(b,c){return c.value==a.id.toString()});0===b.length&&(b=this.option(a),this.addOptions(b)),d.__super__.select.call(this,a)},d.prototype.convertToOptions=function(a){function d(a){return function(){return c(this).val()==a.id}}for(var e=this,f=this.$element.find("option"),g=f.map(function(){return e.item(c(this)).id}).get(),h=[],i=0;i<a.length;i++){var j=this._normalizeItem(a[i]);if(c.inArray(j.id,g)>=0){var k=f.filter(d(j)),l=this.item(k),m=(c.extend(!0,{},l,j),this.option(l));k.replaceWith(m)}else{var n=this.option(j);if(j.children){var o=this.convertToOptions(j.children);b.appendMany(n,o)}h.push(n)}}return h},d}),b.define("select2/data/ajax",["./array","../utils","jquery"],function(a,b,c){function d(b,c){this.ajaxOptions=this._applyDefaults(c.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),a.__super__.constructor.call(this,b,c)}return b.Extend(d,a),d.prototype._applyDefaults=function(a){var b={data:function(a){return{q:a.term}},transport:function(a,b,d){var e=c.ajax(a);return e.then(b),e.fail(d),e}};return c.extend({},b,a,!0)},d.prototype.processResults=function(a){return a},d.prototype.query=function(a,b){function d(){var d=f.transport(f,function(d){var f=e.processResults(d,a);e.options.get("debug")&&window.console&&console.error&&(f&&f.results&&c.isArray(f.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),b(f)},function(){});e._request=d}var e=this;null!=this._request&&(c.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var f=c.extend({type:"GET"},this.ajaxOptions);"function"==typeof f.url&&(f.url=f.url(a)),"function"==typeof f.data&&(f.data=f.data(a)),this.ajaxOptions.delay&&""!==a.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(d,this.ajaxOptions.delay)):d()},d}),b.define("select2/data/tags",["jquery"],function(a){function b(b,c,d){var e=d.get("tags"),f=d.get("createTag");if(void 0!==f&&(this.createTag=f),b.call(this,c,d),a.isArray(e))for(var g=0;g<e.length;g++){var h=e[g],i=this._normalizeItem(h),j=this.option(i);this.$element.append(j)}}return b.prototype.query=function(a,b,c){function d(a,f){for(var g=a.results,h=0;h<g.length;h++){var i=g[h],j=null!=i.children&&!d({results:i.children},!0),k=i.text===b.term;if(k||j)return f?!1:(a.data=g,void c(a))}if(f)return!0;var l=e.createTag(b);if(null!=l){var m=e.option(l);m.attr("data-select2-tag",!0),e.addOptions([m]),e.insertTag(g,l)}a.results=g,c(a)}var e=this;return this._removeOldTags(),null==b.term||null!=b.page?void a.call(this,b,c):void a.call(this,b,d)},b.prototype.createTag=function(b,c){var d=a.trim(c.term);return""===d?null:{id:d,text:d}},b.prototype.insertTag=function(a,b,c){b.unshift(c)},b.prototype._removeOldTags=function(){var b=(this._lastTag,this.$element.find("option[data-select2-tag]"));b.each(function(){this.selected||a(this).remove()})},b}),b.define("select2/data/tokenizer",["jquery"],function(a){function b(a,b,c){var d=c.get("tokenizer");void 0!==d&&(this.tokenizer=d),a.call(this,b,c)}return b.prototype.bind=function(a,b,c){a.call(this,b,c),this.$search=b.dropdown.$search||b.selection.$search||c.find(".select2-search__field")},b.prototype.query=function(a,b,c){function d(a){e.select(a)}var e=this;b.term=b.term||"";var f=this.tokenizer(b,this.options,d);f.term!==b.term&&(this.$search.length&&(this.$search.val(f.term),this.$search.focus()),b.term=f.term),a.call(this,b,c)},b.prototype.tokenizer=function(b,c,d,e){for(var f=d.get("tokenSeparators")||[],g=c.term,h=0,i=this.createTag||function(a){return{id:a.term,text:a.term}};h<g.length;){var j=g[h];if(-1!==a.inArray(j,f)){var k=g.substr(0,h),l=a.extend({},c,{term:k}),m=i(l);e(m),g=g.substr(h+1)||"",h=0}else h++}return{term:g}},b}),b.define("select2/data/minimumInputLength",[],function(){function a(a,b,c){this.minimumInputLength=c.get("minimumInputLength"),a.call(this,b,c)}return a.prototype.query=function(a,b,c){return b.term=b.term||"",b.term.length<this.minimumInputLength?void this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:b.term,params:b}}):void a.call(this,b,c)},a}),b.define("select2/data/maximumInputLength",[],function(){function a(a,b,c){this.maximumInputLength=c.get("maximumInputLength"),a.call(this,b,c)}return a.prototype.query=function(a,b,c){return b.term=b.term||"",this.maximumInputLength>0&&b.term.length>this.maximumInputLength?void this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:b.term,params:b}}):void a.call(this,b,c)},a}),b.define("select2/data/maximumSelectionLength",[],function(){function a(a,b,c){this.maximumSelectionLength=c.get("maximumSelectionLength"),a.call(this,b,c)}return a.prototype.query=function(a,b,c){var d=this;this.current(function(e){var f=null!=e?e.length:0;return d.maximumSelectionLength>0&&f>=d.maximumSelectionLength?void d.trigger("results:message",{message:"maximumSelected",args:{maximum:d.maximumSelectionLength}}):void a.call(d,b,c)})},a}),b.define("select2/dropdown",["jquery","./utils"],function(a,b){function c(a,b){this.$element=a,this.options=b,c.__super__.constructor.call(this)}return b.Extend(c,b.Observable),c.prototype.render=function(){var b=a('<span class="select2-dropdown"><span class="select2-results"></span></span>');return b.attr("dir",this.options.get("dir")),this.$dropdown=b,b},c.prototype.position=function(){},c.prototype.destroy=function(){this.$dropdown.remove()},c}),b.define("select2/dropdown/search",["jquery","../utils"],function(a){function b(){}return b.prototype.render=function(b){var c=b.call(this),d=a('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" role="textbox" /></span>');return this.$searchContainer=d,this.$search=d.find("input"),c.prepend(d),c},b.prototype.bind=function(b,c,d){var e=this;b.call(this,c,d),this.$search.on("keydown",function(a){e.trigger("keypress",a),e._keyUpPrevented=a.isDefaultPrevented()}),this.$search.on("input",function(){a(this).off("keyup")}),this.$search.on("keyup input",function(a){e.handleSearch(a)}),c.on("open",function(){e.$search.attr("tabindex",0),e.$search.focus(),window.setTimeout(function(){e.$search.focus()},0)}),c.on("close",function(){e.$search.attr("tabindex",-1),e.$search.val("")}),c.on("results:all",function(a){if(null==a.query.term||""===a.query.term){var b=e.showSearch(a);b?e.$searchContainer.removeClass("select2-search--hide"):e.$searchContainer.addClass("select2-search--hide")}})},b.prototype.handleSearch=function(){if(!this._keyUpPrevented){var a=this.$search.val();this.trigger("query",{term:a})}this._keyUpPrevented=!1},b.prototype.showSearch=function(){return!0},b}),b.define("select2/dropdown/hidePlaceholder",[],function(){function a(a,b,c,d){this.placeholder=this.normalizePlaceholder(c.get("placeholder")),a.call(this,b,c,d)}return a.prototype.append=function(a,b){b.results=this.removePlaceholder(b.results),a.call(this,b)},a.prototype.normalizePlaceholder=function(a,b){return"string"==typeof b&&(b={id:"",text:b}),b},a.prototype.removePlaceholder=function(a,b){for(var c=b.slice(0),d=b.length-1;d>=0;d--){var e=b[d];this.placeholder.id===e.id&&c.splice(d,1)}return c},a}),b.define("select2/dropdown/infiniteScroll",["jquery"],function(a){function b(a,b,c,d){this.lastParams={},a.call(this,b,c,d),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return b.prototype.append=function(a,b){this.$loadingMore.remove(),this.loading=!1,a.call(this,b),this.showLoadingMore(b)&&this.$results.append(this.$loadingMore)},b.prototype.bind=function(b,c,d){var e=this;b.call(this,c,d),c.on("query",function(a){e.lastParams=a,e.loading=!0}),c.on("query:append",function(a){e.lastParams=a,e.loading=!0}),this.$results.on("scroll",function(){var b=a.contains(document.documentElement,e.$loadingMore[0]);if(!e.loading&&b){var c=e.$results.offset().top+e.$results.outerHeight(!1),d=e.$loadingMore.offset().top+e.$loadingMore.outerHeight(!1);c+50>=d&&e.loadMore()}})},b.prototype.loadMore=function(){this.loading=!0;var b=a.extend({},{page:1},this.lastParams);b.page++,this.trigger("query:append",b)},b.prototype.showLoadingMore=function(a,b){return b.pagination&&b.pagination.more},b.prototype.createLoadingMore=function(){var b=a('<li class="option load-more" role="treeitem"></li>'),c=this.options.get("translations").get("loadingMore");return b.html(c(this.lastParams)),b},b}),b.define("select2/dropdown/attachBody",["jquery","../utils"],function(a,b){function c(a,b,c){this.$dropdownParent=c.get("dropdownParent")||document.body,a.call(this,b,c)}return c.prototype.bind=function(a,b,c){var d=this,e=!1;a.call(this,b,c),b.on("open",function(){d._showDropdown(),d._attachPositioningHandler(b),e||(e=!0,b.on("results:all",function(){d._positionDropdown(),d._resizeDropdown()}),b.on("results:append",function(){d._positionDropdown(),d._resizeDropdown()}))}),b.on("close",function(){d._hideDropdown(),d._detachPositioningHandler(b)}),this.$dropdownContainer.on("mousedown",function(a){a.stopPropagation()})},c.prototype.position=function(a,b,c){b.attr("class",c.attr("class")),b.removeClass("select2"),b.addClass("select2-container--open"),b.css({position:"absolute",top:-999999}),this.$container=c},c.prototype.render=function(b){var c=a("<span></span>"),d=b.call(this);return c.append(d),this.$dropdownContainer=c,c},c.prototype._hideDropdown=function(){this.$dropdownContainer.detach()},c.prototype._attachPositioningHandler=function(c){var d=this,e="scroll.select2."+c.id,f="resize.select2."+c.id,g="orientationchange.select2."+c.id,h=this.$container.parents().filter(b.hasScroll);h.each(function(){a(this).data("select2-scroll-position",{x:a(this).scrollLeft(),y:a(this).scrollTop()})}),h.on(e,function(){var b=a(this).data("select2-scroll-position");a(this).scrollTop(b.y)}),a(window).on(e+" "+f+" "+g,function(){d._positionDropdown(),d._resizeDropdown()})},c.prototype._detachPositioningHandler=function(c){var d="scroll.select2."+c.id,e="resize.select2."+c.id,f="orientationchange.select2."+c.id,g=this.$container.parents().filter(b.hasScroll);g.off(d),a(window).off(d+" "+e+" "+f)},c.prototype._positionDropdown=function(){var b=a(window),c=this.$dropdown.hasClass("select2-dropdown--above"),d=this.$dropdown.hasClass("select2-dropdown--below"),e=null,f=(this.$container.position(),this.$container.offset());f.bottom=f.top+this.$container.outerHeight(!1);var g={height:this.$container.outerHeight(!1)};g.top=f.top,g.bottom=f.top+g.height;var h={height:this.$dropdown.outerHeight(!1)},i={top:b.scrollTop(),bottom:b.scrollTop()+b.height()},j=i.top<f.top-h.height,k=i.bottom>f.bottom+h.height,l={left:f.left,top:g.bottom};c||d||(e="below"),k||!j||c?!j&&k&&c&&(e="below"):e="above",("above"==e||c&&"below"!==e)&&(l.top=g.top-h.height),null!=e&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+e),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+e)),this.$dropdownContainer.css(l)},c.prototype._resizeDropdown=function(){this.$dropdownContainer.width();var a={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(a.minWidth=a.width,a.width="auto"),this.$dropdown.css(a)},c.prototype._showDropdown=function(){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},c}),b.define("select2/dropdown/minimumResultsForSearch",[],function(){function a(b){for(var c=0,d=0;d<b.length;d++){var e=b[d];e.children?c+=a(e.children):c++}return c}function b(a,b,c,d){this.minimumResultsForSearch=c.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),a.call(this,b,c,d)}return b.prototype.showSearch=function(b,c){return a(c.data.results)<this.minimumResultsForSearch?!1:b.call(this,c)},b}),b.define("select2/dropdown/selectOnClose",[],function(){function a(){}return a.prototype.bind=function(a,b,c){var d=this;a.call(this,b,c),b.on("close",function(){d._handleSelectOnClose()})},a.prototype._handleSelectOnClose=function(){var a=this.getHighlightedResults();a.length<1||this.trigger("select",{data:a.data("data")})},a}),b.define("select2/dropdown/closeOnSelect",[],function(){function a(){}return a.prototype.bind=function(a,b,c){var d=this;a.call(this,b,c),b.on("select",function(a){d._selectTriggered(a)}),b.on("unselect",function(a){d._selectTriggered(a)})},a.prototype._selectTriggered=function(a,b){var c=b.originalEvent;c&&c.ctrlKey||this.trigger("close")},a}),b.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(a){var b=a.input.length-a.maximum,c="Please delete "+b+" character";return 1!=b&&(c+="s"),c},inputTooShort:function(a){var b=a.minimum-a.input.length,c="Please enter "+b+" or more characters";return c},loadingMore:function(){return"Loading more results…"},maximumSelected:function(a){var b="You can only select "+a.maximum+" item";return 1!=a.maximum&&(b+="s"),b},noResults:function(){return"No results found"},searching:function(){return"Searching…"}}}),b.define("select2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./i18n/en"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C){function D(){this.reset()}D.prototype.apply=function(l){if(l=a.extend({},this.defaults,l),null==l.dataAdapter){if(l.dataAdapter=null!=l.ajax?o:null!=l.data?n:m,l.minimumInputLength>0&&(l.dataAdapter=j.Decorate(l.dataAdapter,r)),l.maximumInputLength>0&&(l.dataAdapter=j.Decorate(l.dataAdapter,s)),l.maximumSelectionLength>0&&(l.dataAdapter=j.Decorate(l.dataAdapter,t)),l.tags&&(l.dataAdapter=j.Decorate(l.dataAdapter,p)),(null!=l.tokenSeparators||null!=l.tokenizer)&&(l.dataAdapter=j.Decorate(l.dataAdapter,q)),null!=l.query){var C=b(l.amdBase+"compat/query");l.dataAdapter=j.Decorate(l.dataAdapter,C)}if(null!=l.initSelection){var D=b(l.amdBase+"compat/initSelection");l.dataAdapter=j.Decorate(l.dataAdapter,D)}}if(null==l.resultsAdapter&&(l.resultsAdapter=c,null!=l.ajax&&(l.resultsAdapter=j.Decorate(l.resultsAdapter,x)),null!=l.placeholder&&(l.resultsAdapter=j.Decorate(l.resultsAdapter,w)),l.selectOnClose&&(l.resultsAdapter=j.Decorate(l.resultsAdapter,A))),null==l.dropdownAdapter){if(l.multiple)l.dropdownAdapter=u;else{var E=j.Decorate(u,v);l.dropdownAdapter=E}if(0!==l.minimumResultsForSearch&&(l.dropdownAdapter=j.Decorate(l.dropdownAdapter,z)),l.closeOnSelect&&(l.dropdownAdapter=j.Decorate(l.dropdownAdapter,B)),null!=l.dropdownCssClass||null!=l.dropdownCss||null!=l.adaptDropdownCssClass){var F=b(l.amdBase+"compat/dropdownCss");l.dropdownAdapter=j.Decorate(l.dropdownAdapter,F)}l.dropdownAdapter=j.Decorate(l.dropdownAdapter,y)}if(null==l.selectionAdapter){if(l.selectionAdapter=l.multiple?e:d,null!=l.placeholder&&(l.selectionAdapter=j.Decorate(l.selectionAdapter,f)),l.allowClear&&(l.selectionAdapter=j.Decorate(l.selectionAdapter,g)),l.multiple&&(l.selectionAdapter=j.Decorate(l.selectionAdapter,h)),null!=l.containerCssClass||null!=l.containerCss||null!=l.adaptContainerCssClass){var G=b(l.amdBase+"compat/containerCss");l.selectionAdapter=j.Decorate(l.selectionAdapter,G)}l.selectionAdapter=j.Decorate(l.selectionAdapter,i)}if("string"==typeof l.language)if(l.language.indexOf("-")>0){var H=l.language.split("-"),I=H[0];l.language=[l.language,I]}else l.language=[l.language];if(a.isArray(l.language)){var J=new k;l.language.push("en");for(var K=l.language,L=0;L<K.length;L++){var M=K[L],N={};try{N=k.loadPath(M)}catch(O){try{M=this.defaults.amdLanguageBase+M,N=k.loadPath(M)}catch(P){l.debug&&window.console&&console.warn&&console.warn('Select2: The language file for "'+M+'" could not be automatically loaded. A fallback will be used instead.');continue}}J.extend(N)}l.translations=J}else{var Q=k.loadPath(this.defaults.amdLanguageBase+"en"),R=new k(l.language);R.extend(Q),l.translations=R}return l},D.prototype.reset=function(){function b(a){function b(a){return l[a]||a}return a.replace(/[^\u0000-\u007E]/g,b)}function c(d,e){if(""===a.trim(d.term))return e;if(e.children&&e.children.length>0){for(var f=a.extend(!0,{},e),g=e.children.length-1;g>=0;g--){var h=e.children[g],i=c(d,h);null==i&&f.children.splice(g,1)}return f.children.length>0?f:c(d,f)}var j=b(e.text).toUpperCase(),k=b(d.term).toUpperCase();return j.indexOf(k)>-1?e:null}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:j.escapeMarkup,language:C,matcher:c,minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,sorter:function(a){return a},templateResult:function(a){return a.text},templateSelection:function(a){return a.text},theme:"default",width:"resolve"}},D.prototype.set=function(b,c){var d=a.camelCase(b),e={};e[d]=c;var f=j._convertData(e);a.extend(this.defaults,f)};var E=new D;return E}),b.define("select2/options",["require","jquery","./defaults","./utils"],function(a,b,c,d){function e(b,e){if(this.options=b,null!=e&&this.fromElement(e),this.options=c.apply(this.options),e&&e.is("input")){var f=a(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=d.Decorate(this.options.dataAdapter,f)}}return e.prototype.fromElement=function(a){var c=["select2"];null==this.options.multiple&&(this.options.multiple=a.prop("multiple")),null==this.options.disabled&&(this.options.disabled=a.prop("disabled")),null==this.options.language&&(a.prop("lang")?this.options.language=a.prop("lang").toLowerCase():a.closest("[lang]").prop("lang")&&(this.options.language=a.closest("[lang]").prop("lang"))),null==this.options.dir&&(this.options.dir=a.prop("dir")?a.prop("dir"):a.closest("[dir]").prop("dir")?a.closest("[dir]").prop("dir"):"ltr"),a.prop("disabled",this.options.disabled),a.prop("multiple",this.options.multiple),a.data("select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),a.data("data",a.data("select2Tags")),a.data("tags",!0)),a.data("ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),a.attr("ajax--url",a.data("ajaxUrl")),a.data("ajax--url",a.data("ajaxUrl")));var e={};e=b.fn.jquery&&"1."==b.fn.jquery.substr(0,2)&&a[0].dataset?b.extend(!0,{},a[0].dataset,a.data()):a.data();var f=b.extend(!0,{},e);f=d._convertData(f);for(var g in f)b.inArray(g,c)>-1||(b.isPlainObject(this.options[g])?b.extend(this.options[g],f[g]):this.options[g]=f[g]);return this},e.prototype.get=function(a){return this.options[a]},e.prototype.set=function(a,b){this.options[a]=b},e}),b.define("select2/core",["jquery","./options","./utils","./keys"],function(a,b,c,d){var e=function(a,c){null!=a.data("select2")&&a.data("select2").destroy(),this.$element=a,this.id=this._generateId(a),c=c||{},this.options=new b(c,a),e.__super__.constructor.call(this);var d=a.attr("tabindex")||0;a.data("old-tabindex",d),a.attr("tabindex","-1");var f=this.options.get("dataAdapter");this.dataAdapter=new f(a,this.options);var g=this.render();this._placeContainer(g);var h=this.options.get("selectionAdapter");this.selection=new h(a,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,g);var i=this.options.get("dropdownAdapter");this.dropdown=new i(a,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,g);var j=this.options.get("resultsAdapter");this.results=new j(a,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var k=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(a){k.trigger("selection:update",{data:a})}),a.addClass("select2-hidden-accessible"),a.attr("aria-hidden","true"),this._syncAttributes(),a.data("select2",this)};return c.Extend(e,c.Observable),e.prototype._generateId=function(a){var b="";return b=null!=a.attr("id")?a.attr("id"):null!=a.attr("name")?a.attr("name")+"-"+c.generateChars(2):c.generateChars(4),b="select2-"+b},e.prototype._placeContainer=function(a){a.insertAfter(this.$element);var b=this._resolveWidth(this.$element,this.options.get("width"));null!=b&&a.css("width",b)},e.prototype._resolveWidth=function(a,b){var c=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==b){var d=this._resolveWidth(a,"style");return null!=d?d:this._resolveWidth(a,"element")}if("element"==b){var e=a.outerWidth(!1);return 0>=e?"auto":e+"px"}if("style"==b){var f=a.attr("style");if("string"!=typeof f)return null;for(var g=f.split(";"),h=0,i=g.length;i>h;h+=1){var j=g[h].replace(/\s/g,""),k=j.match(c);if(null!==k&&k.length>=1)return k[1]}return null}return b},e.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},e.prototype._registerDomEvents=function(){var b=this;this.$element.on("change.select2",function(){b.dataAdapter.current(function(a){b.trigger("selection:update",{data:a})})}),this._sync=c.bind(this._syncAttributes,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._sync);var d=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=d?(this._observer=new d(function(c){a.each(c,b._sync)}),this._observer.observe(this.$element[0],{attributes:!0,subtree:!1})):this.$element[0].addEventListener&&this.$element[0].addEventListener("DOMAttrModified",b._sync,!1)},e.prototype._registerDataEvents=function(){var a=this;this.dataAdapter.on("*",function(b,c){a.trigger(b,c)})},e.prototype._registerSelectionEvents=function(){var b=this,c=["toggle"];this.selection.on("toggle",function(){b.toggleDropdown()}),this.selection.on("*",function(d,e){-1===a.inArray(d,c)&&b.trigger(d,e)})},e.prototype._registerDropdownEvents=function(){var a=this;this.dropdown.on("*",function(b,c){a.trigger(b,c)})},e.prototype._registerResultsEvents=function(){var a=this;this.results.on("*",function(b,c){a.trigger(b,c)})},e.prototype._registerEvents=function(){var a=this;this.on("open",function(){a.$container.addClass("select2-container--open")}),this.on("close",function(){a.$container.removeClass("select2-container--open")}),this.on("enable",function(){a.$container.removeClass("select2-container--disabled")}),this.on("disable",function(){a.$container.addClass("select2-container--disabled")}),this.on("focus",function(){a.$container.addClass("select2-container--focus")}),this.on("blur",function(){a.$container.removeClass("select2-container--focus")}),this.on("query",function(b){a.isOpen()||a.trigger("open"),this.dataAdapter.query(b,function(c){a.trigger("results:all",{data:c,query:b})})}),this.on("query:append",function(b){this.dataAdapter.query(b,function(c){a.trigger("results:append",{data:c,query:b})})}),this.on("keypress",function(b){var c=b.which;a.isOpen()?c===d.ENTER?(a.trigger("results:select"),b.preventDefault()):c===d.SPACE&&b.ctrlKey?(a.trigger("results:toggle"),b.preventDefault()):c===d.UP?(a.trigger("results:previous"),b.preventDefault()):c===d.DOWN?(a.trigger("results:next"),b.preventDefault()):(c===d.ESC||c===d.TAB)&&(a.close(),b.preventDefault()):(c===d.ENTER||c===d.SPACE||(c===d.DOWN||c===d.UP)&&b.altKey)&&(a.open(),b.preventDefault())})},e.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.options.get("disabled")?(this.isOpen()&&this.close(),this.trigger("disable")):this.trigger("enable")},e.prototype.trigger=function(a,b){var c=e.__super__.trigger,d={open:"opening",close:"closing",select:"selecting",unselect:"unselecting"};if(a in d){var f=d[a],g={prevented:!1,name:a,args:b};if(c.call(this,f,g),g.prevented)return void(b.prevented=!0)}c.call(this,a,b)},e.prototype.toggleDropdown=function(){this.options.get("disabled")||(this.isOpen()?this.close():this.open())},e.prototype.open=function(){this.isOpen()||(this.trigger("query",{}),this.trigger("open"))},e.prototype.close=function(){this.isOpen()&&this.trigger("close")},e.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},e.prototype.enable=function(a){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),(null==a||0===a.length)&&(a=[!0]);var b=!a[0];this.$element.prop("disabled",b)},e.prototype.data=function(){this.options.get("debug")&&arguments.length>0&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var a=[];return this.dataAdapter.current(function(b){a=b}),a},e.prototype.val=function(b){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==b||0===b.length)return this.$element.val();var c=b[0];a.isArray(c)&&(c=a.map(c,function(a){return a.toString()})),this.$element.val(c).trigger("change")},e.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._sync),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&this.$element[0].removeEventListener("DOMAttrModified",this._sync,!1),this._sync=null,this.$element.off(".select2"),this.$element.attr("tabindex",this.$element.data("old-tabindex")),this.$element.removeClass("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},e.prototype.render=function(){var b=a('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return b.attr("dir",this.options.get("dir")),this.$container=b,this.$container.addClass("select2-container--"+this.options.get("theme")),b.data("element",this.$element),b},e}),b.define("select2/compat/utils",["jquery"],function(a){function b(b,c,d){var e,f,g=[];e=a.trim(b.attr("class")),e&&(e=""+e,a(e.split(/\s+/)).each(function(){0===this.indexOf("select2-")&&g.push(this)})),e=a.trim(c.attr("class")),e&&(e=""+e,a(e.split(/\s+/)).each(function(){0!==this.indexOf("select2-")&&(f=d(this),null!=f&&g.push(f))})),b.attr("class",g.join(" "))}return{syncCssClasses:b}}),b.define("select2/compat/containerCss",["jquery","./utils"],function(a,b){function c(){return null}function d(){}return d.prototype.render=function(d){var e=d.call(this),f=this.options.get("containerCssClass")||"";a.isFunction(f)&&(f=f(this.$element));var g=this.options.get("adaptContainerCssClass");if(g=g||c,-1!==f.indexOf(":all:")){f=f.replace(":all","");var h=g;g=function(a){var b=h(a);return null!=b?b+" "+a:a}}var i=this.options.get("containerCss")||{};return a.isFunction(i)&&(i=i(this.$element)),b.syncCssClasses(e,this.$element,g),e.css(i),e.addClass(f),e},d}),b.define("select2/compat/dropdownCss",["jquery","./utils"],function(a,b){function c(){return null}function d(){}return d.prototype.render=function(d){var e=d.call(this),f=this.options.get("dropdownCssClass")||"";a.isFunction(f)&&(f=f(this.$element));var g=this.options.get("adaptDropdownCssClass");if(g=g||c,-1!==f.indexOf(":all:")){f=f.replace(":all","");var h=g;g=function(a){var b=h(a);return null!=b?b+" "+a:a}}var i=this.options.get("dropdownCss")||{};return a.isFunction(i)&&(i=i(this.$element)),b.syncCssClasses(e,this.$element,g),e.css(i),e.addClass(f),e},d}),b.define("select2/compat/initSelection",["jquery"],function(a){function b(a,b,c){c.get("debug")&&window.console&&console.warn&&console.warn("Select2: The `initSelection` option has been deprecated in favor of a custom data adapter that overrides the `current` method. This method is now called multiple times instead of a single time when the instance is initialized. Support will be removed for the `initSelection` option in future versions of Select2"),this.initSelection=c.get("initSelection"),this._isInitialized=!1,a.call(this,b,c)}return b.prototype.current=function(b,c){var d=this;return this._isInitialized?void b.call(this,c):void this.initSelection.call(null,this.$element,function(b){d._isInitialized=!0,a.isArray(b)||(b=[b]),c(b)})},b}),b.define("select2/compat/inputData",["jquery"],function(a){function b(a,b,c){this._currentData=[],this._valueSeparator=c.get("valueSeparator")||",","hidden"===b.prop("type")&&c.get("debug")&&console&&console.warn&&console.warn("Select2: Using a hidden input with Select2 is no longer supported and may stop working in the future. It is recommended to use a `<select>` element instead."),a.call(this,b,c)}return b.prototype.current=function(b,c){function d(b,c){var e=[];return b.selected||-1!==a.inArray(b.id,c)?(b.selected=!0,e.push(b)):b.selected=!1,b.children&&e.push.apply(e,d(b.children,c)),e}for(var e=[],f=0;f<this._currentData.length;f++){var g=this._currentData[f];e.push.apply(e,d(g,this.$element.val().split(this._valueSeparator)))}c(e)},b.prototype.select=function(b,c){if(this.options.get("multiple")){var d=this.$element.val();d+=this._valueSeparator+c.id,this.$element.val(d),this.$element.trigger("change")}else this.current(function(b){a.map(b,function(a){a.selected=!1})}),this.$element.val(c.id),this.$element.trigger("change")},b.prototype.unselect=function(a,b){var c=this;b.selected=!1,this.current(function(a){for(var d=[],e=0;e<a.length;e++){var f=a[e];
3   -b.id!=f.id&&d.push(f.id)}c.$element.val(d.join(c._valueSeparator)),c.$element.trigger("change")})},b.prototype.query=function(a,b,c){for(var d=[],e=0;e<this._currentData.length;e++){var f=this._currentData[e],g=this.matches(b,f);null!==g&&d.push(g)}c({results:d})},b.prototype.addOptions=function(b,c){var d=a.map(c,function(b){return a.data(b[0],"data")});this._currentData.push.apply(this._currentData,d)},b}),b.define("select2/compat/matcher",["jquery"],function(a){function b(b){function c(c,d){var e=a.extend(!0,{},d);if(null==c.term||""===a.trim(c.term))return e;if(d.children){for(var f=d.children.length-1;f>=0;f--){var g=d.children[f],h=b(c.term,g.text,g);h||e.children.splice(f,1)}if(e.children.length>0)return e}return b(c.term,d.text,d)?e:null}return c}return b}),b.define("select2/compat/query",[],function(){function a(a,b,c){c.get("debug")&&window.console&&console.warn&&console.warn("Select2: The `query` option has been deprecated in favor of a custom data adapter that overrides the `query` method. Support will be removed for the `query` option in future versions of Select2."),a.call(this,b,c)}return a.prototype.query=function(a,b,c){b.callback=c;var d=this.options.get("query");d.call(null,b)},a}),b.define("select2/dropdown/attachContainer",[],function(){function a(a,b,c){a.call(this,b,c)}return a.prototype.position=function(a,b,c){var d=c.find(".dropdown-wrapper");d.append(b),b.addClass("select2-dropdown--below"),c.addClass("select2-container--below")},a}),b.define("select2/dropdown/stopPropagation",[],function(){function a(){}return a.prototype.bind=function(a,b,c){a.call(this,b,c);var d=["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"];this.$dropdown.on(d.join(" "),function(a){a.stopPropagation()})},a}),b.define("select2/selection/stopPropagation",[],function(){function a(){}return a.prototype.bind=function(a,b,c){a.call(this,b,c);var d=["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"];this.$selection.on(d.join(" "),function(a){a.stopPropagation()})},a}),b.define("jquery.select2",["jquery","require","./select2/core","./select2/defaults"],function(a,b,c,d){if(b("jquery.mousewheel"),null==a.fn.select2){var e=["open","close","destroy"];a.fn.select2=function(b){if(b=b||{},"object"==typeof b)return this.each(function(){{var d=a.extend({},b,!0);new c(a(this),d)}}),this;if("string"==typeof b){var d=this.data("select2");null==d&&window.console&&console.error&&console.error("The select2('"+b+"') method was called on an element that is not using Select2.");var f=Array.prototype.slice.call(arguments,1),g=d[b](f);return a.inArray(b,e)>-1?this:g}throw new Error("Invalid arguments for Select2: "+b)}}return null==a.fn.select2.defaults&&(a.fn.select2.defaults=d),c}),function(c){"function"==typeof b.define&&b.define.amd?b.define("jquery.mousewheel",["jquery"],c):"object"==typeof exports?module.exports=c:c(a)}(function(a){function b(b){var g=b||window.event,h=i.call(arguments,1),j=0,l=0,m=0,n=0,o=0,p=0;if(b=a.event.fix(g),b.type="mousewheel","detail"in g&&(m=-1*g.detail),"wheelDelta"in g&&(m=g.wheelDelta),"wheelDeltaY"in g&&(m=g.wheelDeltaY),"wheelDeltaX"in g&&(l=-1*g.wheelDeltaX),"axis"in g&&g.axis===g.HORIZONTAL_AXIS&&(l=-1*m,m=0),j=0===m?l:m,"deltaY"in g&&(m=-1*g.deltaY,j=m),"deltaX"in g&&(l=g.deltaX,0===m&&(j=-1*l)),0!==m||0!==l){if(1===g.deltaMode){var q=a.data(this,"mousewheel-line-height");j*=q,m*=q,l*=q}else if(2===g.deltaMode){var r=a.data(this,"mousewheel-page-height");j*=r,m*=r,l*=r}if(n=Math.max(Math.abs(m),Math.abs(l)),(!f||f>n)&&(f=n,d(g,n)&&(f/=40)),d(g,n)&&(j/=40,l/=40,m/=40),j=Math[j>=1?"floor":"ceil"](j/f),l=Math[l>=1?"floor":"ceil"](l/f),m=Math[m>=1?"floor":"ceil"](m/f),k.settings.normalizeOffset&&this.getBoundingClientRect){var s=this.getBoundingClientRect();o=b.clientX-s.left,p=b.clientY-s.top}return b.deltaX=l,b.deltaY=m,b.deltaFactor=f,b.offsetX=o,b.offsetY=p,b.deltaMode=0,h.unshift(b,j,l,m),e&&clearTimeout(e),e=setTimeout(c,200),(a.event.dispatch||a.event.handle).apply(this,h)}}function c(){f=null}function d(a,b){return k.settings.adjustOldDeltas&&"mousewheel"===a.type&&b%120===0}var e,f,g=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],h="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],i=Array.prototype.slice;if(a.event.fixHooks)for(var j=g.length;j;)a.event.fixHooks[g[--j]]=a.event.mouseHooks;var k=a.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var c=h.length;c;)this.addEventListener(h[--c],b,!1);else this.onmousewheel=b;a.data(this,"mousewheel-line-height",k.getLineHeight(this)),a.data(this,"mousewheel-page-height",k.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var c=h.length;c;)this.removeEventListener(h[--c],b,!1);else this.onmousewheel=null;a.removeData(this,"mousewheel-line-height"),a.removeData(this,"mousewheel-page-height")},getLineHeight:function(b){var c=a(b),d=c["offsetParent"in a.fn?"offsetParent":"parent"]();return d.length||(d=a("body")),parseInt(d.css("fontSize"),10)||parseInt(c.css("fontSize"),10)||16},getPageHeight:function(b){return a(b).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};a.fn.extend({mousewheel:function(a){return a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return this.unbind("mousewheel",a)}})}),{define:b.define,require:b.require}}(),c=b.require("jquery.select2");return a.fn.select2.amd=b,c});
4 1 \ No newline at end of file
  2 +/*! Select2 4.0.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
  3 +!function (a) {
  4 + "function" == typeof define && define.amd ? define(["jquery"], a) : a("object" == typeof exports ? require("jquery") : jQuery)
  5 +}(function (a) {
  6 + var b = function () {
  7 + if (a && a.fn && a.fn.select2 && a.fn.select2.amd) var b = a.fn.select2.amd;
  8 + var b;
  9 + return function () {
  10 + if (!b || !b.requirejs) {
  11 + b ? c = b : b = {};
  12 + var a, c, d;
  13 + !function (b) {
  14 + function e(a, b) {
  15 + return u.call(a, b)
  16 + }
  17 +
  18 + function f(a, b) {
  19 + var c, d, e, f, g, h, i, j, k, l, m, n = b && b.split("/"), o = s.map, p = o && o["*"] || {};
  20 + if (a && "." === a.charAt(0)) if (b) {
  21 + for (n = n.slice(0, n.length - 1), a = a.split("/"), g = a.length - 1, s.nodeIdCompat && w.test(a[g]) && (a[g] = a[g].replace(w, "")), a = n.concat(a), k = 0; k < a.length; k += 1) if (m = a[k], "." === m) a.splice(k, 1), k -= 1; else if (".." === m) {
  22 + if (1 === k && (".." === a[2] || ".." === a[0])) break;
  23 + k > 0 && (a.splice(k - 1, 2), k -= 2)
  24 + }
  25 + a = a.join("/")
  26 + } else 0 === a.indexOf("./") && (a = a.substring(2));
  27 + if ((n || p) && o) {
  28 + for (c = a.split("/"), k = c.length; k > 0; k -= 1) {
  29 + if (d = c.slice(0, k).join("/"), n) for (l = n.length; l > 0; l -= 1) if (e = o[n.slice(0, l).join("/")], e && (e = e[d])) {
  30 + f = e, h = k;
  31 + break
  32 + }
  33 + if (f) break;
  34 + !i && p && p[d] && (i = p[d], j = k)
  35 + }
  36 + !f && i && (f = i, h = j), f && (c.splice(0, h, f), a = c.join("/"))
  37 + }
  38 + return a
  39 + }
  40 +
  41 + function g(a, c) {
  42 + return function () {
  43 + return n.apply(b, v.call(arguments, 0).concat([a, c]))
  44 + }
  45 + }
  46 +
  47 + function h(a) {
  48 + return function (b) {
  49 + return f(b, a)
  50 + }
  51 + }
  52 +
  53 + function i(a) {
  54 + return function (b) {
  55 + q[a] = b
  56 + }
  57 + }
  58 +
  59 + function j(a) {
  60 + if (e(r, a)) {
  61 + var c = r[a];
  62 + delete r[a], t[a] = !0, m.apply(b, c)
  63 + }
  64 + if (!e(q, a) && !e(t, a)) throw new Error("No " + a);
  65 + return q[a]
  66 + }
  67 +
  68 + function k(a) {
  69 + var b, c = a ? a.indexOf("!") : -1;
  70 + return c > -1 && (b = a.substring(0, c), a = a.substring(c + 1, a.length)), [b, a]
  71 + }
  72 +
  73 + function l(a) {
  74 + return function () {
  75 + return s && s.config && s.config[a] || {}
  76 + }
  77 + }
  78 +
  79 + var m, n, o, p, q = {}, r = {}, s = {}, t = {}, u = Object.prototype.hasOwnProperty, v = [].slice,
  80 + w = /\.js$/;
  81 + o = function (a, b) {
  82 + var c, d = k(a), e = d[0];
  83 + return a = d[1], e && (e = f(e, b), c = j(e)), e ? a = c && c.normalize ? c.normalize(a, h(b)) : f(a, b) : (a = f(a, b), d = k(a), e = d[0], a = d[1], e && (c = j(e))), {
  84 + f: e ? e + "!" + a : a,
  85 + n: a,
  86 + pr: e,
  87 + p: c
  88 + }
  89 + }, p = {
  90 + require: function (a) {
  91 + return g(a)
  92 + }, exports: function (a) {
  93 + var b = q[a];
  94 + return "undefined" != typeof b ? b : q[a] = {}
  95 + }, module: function (a) {
  96 + return {id: a, uri: "", exports: q[a], config: l(a)}
  97 + }
  98 + }, m = function (a, c, d, f) {
  99 + var h, k, l, m, n, s, u = [], v = typeof d;
  100 + if (f = f || a, "undefined" === v || "function" === v) {
  101 + for (c = !c.length && d.length ? ["require", "exports", "module"] : c, n = 0; n < c.length; n += 1) if (m = o(c[n], f), k = m.f, "require" === k) u[n] = p.require(a); else if ("exports" === k) u[n] = p.exports(a), s = !0; else if ("module" === k) h = u[n] = p.module(a); else if (e(q, k) || e(r, k) || e(t, k)) u[n] = j(k); else {
  102 + if (!m.p) throw new Error(a + " missing " + k);
  103 + m.p.load(m.n, g(f, !0), i(k), {}), u[n] = q[k]
  104 + }
  105 + l = d ? d.apply(q[a], u) : void 0, a && (h && h.exports !== b && h.exports !== q[a] ? q[a] = h.exports : l === b && s || (q[a] = l))
  106 + } else a && (q[a] = d)
  107 + }, a = c = n = function (a, c, d, e, f) {
  108 + if ("string" == typeof a) return p[a] ? p[a](c) : j(o(a, c).f);
  109 + if (!a.splice) {
  110 + if (s = a, s.deps && n(s.deps, s.callback), !c) return;
  111 + c.splice ? (a = c, c = d, d = null) : a = b
  112 + }
  113 + return c = c || function () {
  114 + }, "function" == typeof d && (d = e, e = f), e ? m(b, a, c, d) : setTimeout(function () {
  115 + m(b, a, c, d)
  116 + }, 4), n
  117 + }, n.config = function (a) {
  118 + return n(a)
  119 + }, a._defined = q, d = function (a, b, c) {
  120 + b.splice || (c = b, b = []), e(q, a) || e(r, a) || (r[a] = [a, b, c])
  121 + }, d.amd = {jQuery: !0}
  122 + }(), b.requirejs = a, b.require = c, b.define = d
  123 + }
  124 + }(), b.define("almond", function () {
  125 + }), b.define("jquery", [], function () {
  126 + var b = a || $;
  127 + return null == b && console && console.error && console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."), b
  128 + }), b.define("select2/utils", ["jquery"], function (a) {
  129 + function b(a) {
  130 + var b = a.prototype, c = [];
  131 + for (var d in b) {
  132 + var e = b[d];
  133 + "function" == typeof e && "constructor" !== d && c.push(d)
  134 + }
  135 + return c
  136 + }
  137 +
  138 + var c = {};
  139 + c.Extend = function (a, b) {
  140 + function c() {
  141 + this.constructor = a
  142 + }
  143 +
  144 + var d = {}.hasOwnProperty;
  145 + for (var e in b) d.call(b, e) && (a[e] = b[e]);
  146 + return c.prototype = b.prototype, a.prototype = new c, a.__super__ = b.prototype, a
  147 + }, c.Decorate = function (a, c) {
  148 + function d() {
  149 + var b = Array.prototype.unshift, d = c.prototype.constructor.length, e = a.prototype.constructor;
  150 + d > 0 && (b.call(arguments, a.prototype.constructor), e = c.prototype.constructor), e.apply(this, arguments)
  151 + }
  152 +
  153 + function e() {
  154 + this.constructor = d
  155 + }
  156 +
  157 + var f = b(c), g = b(a);
  158 + c.displayName = a.displayName, d.prototype = new e;
  159 + for (var h = 0; h < g.length; h++) {
  160 + var i = g[h];
  161 + d.prototype[i] = a.prototype[i]
  162 + }
  163 + for (var j = (function (a) {
  164 + var b = function () {
  165 + };
  166 + a in d.prototype && (b = d.prototype[a]);
  167 + var e = c.prototype[a];
  168 + return function () {
  169 + var a = Array.prototype.unshift;
  170 + return a.call(arguments, b), e.apply(this, arguments)
  171 + }
  172 + }), k = 0; k < f.length; k++) {
  173 + var l = f[k];
  174 + d.prototype[l] = j(l)
  175 + }
  176 + return d
  177 + };
  178 + var d = function () {
  179 + this.listeners = {}
  180 + };
  181 + return d.prototype.on = function (a, b) {
  182 + this.listeners = this.listeners || {}, a in this.listeners ? this.listeners[a].push(b) : this.listeners[a] = [b]
  183 + }, d.prototype.trigger = function (a) {
  184 + var b = Array.prototype.slice;
  185 + this.listeners = this.listeners || {}, a in this.listeners && this.invoke(this.listeners[a], b.call(arguments, 1)), "*" in this.listeners && this.invoke(this.listeners["*"], arguments)
  186 + }, d.prototype.invoke = function (a, b) {
  187 + for (var c = 0, d = a.length; d > c; c++) a[c].apply(this, b)
  188 + }, c.Observable = d, c.generateChars = function (a) {
  189 + for (var b = "", c = 0; a > c; c++) {
  190 + var d = Math.floor(36 * Math.random());
  191 + b += d.toString(36)
  192 + }
  193 + return b
  194 + }, c.bind = function (a, b) {
  195 + return function () {
  196 + a.apply(b, arguments)
  197 + }
  198 + }, c._convertData = function (a) {
  199 + for (var b in a) {
  200 + var c = b.split("-"), d = a;
  201 + if (1 !== c.length) {
  202 + for (var e = 0; e < c.length; e++) {
  203 + var f = c[e];
  204 + f = f.substring(0, 1).toLowerCase() + f.substring(1), f in d || (d[f] = {}), e == c.length - 1 && (d[f] = a[b]), d = d[f]
  205 + }
  206 + delete a[b]
  207 + }
  208 + }
  209 + return a
  210 + }, c.hasScroll = function (b, c) {
  211 + var d = a(c), e = c.style.overflowX, f = c.style.overflowY;
  212 + return e !== f || "hidden" !== f && "visible" !== f ? "scroll" === e || "scroll" === f ? !0 : d.innerHeight() < c.scrollHeight || d.innerWidth() < c.scrollWidth : !1
  213 + }, c.escapeMarkup = function (a) {
  214 + var b = {
  215 + "\\": "&#92;",
  216 + "&": "&amp;",
  217 + "<": "&lt;",
  218 + ">": "&gt;",
  219 + '"': "&quot;",
  220 + "'": "&#39;",
  221 + "/": "&#47;"
  222 + };
  223 + return "string" != typeof a ? a : String(a).replace(/[&<>"'\/\\]/g, function (a) {
  224 + return b[a]
  225 + })
  226 + }, c.appendMany = function (b, c) {
  227 + if ("1.7" === a.fn.jquery.substr(0, 3)) {
  228 + var d = a();
  229 + a.map(c, function (a) {
  230 + d = d.add(a)
  231 + }), c = d
  232 + }
  233 + b.append(c)
  234 + }, c
  235 + }), b.define("select2/results", ["jquery", "./utils"], function (a, b) {
  236 + function c(a, b, d) {
  237 + this.$element = a, this.data = d, this.options = b, c.__super__.constructor.call(this)
  238 + }
  239 +
  240 + return b.Extend(c, b.Observable), c.prototype.render = function () {
  241 + var b = a('<ul class="select2-results__options" role="tree"></ul>');
  242 + return this.options.get("multiple") && b.attr("aria-multiselectable", "true"), this.$results = b, b
  243 + }, c.prototype.clear = function () {
  244 + this.$results.empty()
  245 + }, c.prototype.displayMessage = function (b) {
  246 + var c = this.options.get("escapeMarkup");
  247 + this.clear(), this.hideLoading();
  248 + var d = a('<li role="treeitem" class="select2-results__option"></li>'),
  249 + e = this.options.get("translations").get(b.message);
  250 + d.append(c(e(b.args))), this.$results.append(d)
  251 + }, c.prototype.append = function (a) {
  252 + this.hideLoading();
  253 + var b = [];
  254 + if (null == a.results || 0 === a.results.length) return void (0 === this.$results.children().length && this.trigger("results:message", {message: "noResults"}));
  255 + a.results = this.sort(a.results);
  256 + for (var c = 0; c < a.results.length; c++) {
  257 + var d = a.results[c], e = this.option(d);
  258 + b.push(e)
  259 + }
  260 + this.$results.append(b)
  261 + }, c.prototype.position = function (a, b) {
  262 + var c = b.find(".select2-results");
  263 + c.append(a)
  264 + }, c.prototype.sort = function (a) {
  265 + var b = this.options.get("sorter");
  266 + return b(a)
  267 + }, c.prototype.setClasses = function () {
  268 + var b = this;
  269 + this.data.current(function (c) {
  270 + var d = a.map(c, function (a) {
  271 + return a.id.toString()
  272 + }), e = b.$results.find(".select2-results__option[aria-selected]");
  273 + e.each(function () {
  274 + var b = a(this), c = a.data(this, "data"), e = "" + c.id;
  275 + null != c.element && c.element.selected || null == c.element && a.inArray(e, d) > -1 ? b.attr("aria-selected", "true") : b.attr("aria-selected", "false")
  276 + });
  277 + var f = e.filter("[aria-selected=true]");
  278 + f.length > 0 ? f.first().trigger("mouseenter") : e.first().trigger("mouseenter")
  279 + })
  280 + }, c.prototype.showLoading = function (a) {
  281 + this.hideLoading();
  282 + var b = this.options.get("translations").get("searching"), c = {disabled: !0, loading: !0, text: b(a)},
  283 + d = this.option(c);
  284 + d.className += " loading-results", this.$results.prepend(d)
  285 + }, c.prototype.hideLoading = function () {
  286 + this.$results.find(".loading-results").remove()
  287 + }, c.prototype.option = function (b) {
  288 + var c = document.createElement("li");
  289 + c.className = "select2-results__option";
  290 + var d = {role: "treeitem", "aria-selected": "false"};
  291 + b.disabled && (delete d["aria-selected"], d["aria-disabled"] = "true"), null == b.id && delete d["aria-selected"], null != b._resultId && (c.id = b._resultId), b.title && (c.title = b.title), b.children && (d.role = "group", d["aria-label"] = b.text, delete d["aria-selected"]);
  292 + for (var e in d) {
  293 + var f = d[e];
  294 + c.setAttribute(e, f)
  295 + }
  296 + if (b.children) {
  297 + var g = a(c), h = document.createElement("strong");
  298 + h.className = "select2-results__group";
  299 + {
  300 + a(h)
  301 + }
  302 + this.template(b, h);
  303 + for (var i = [], j = 0; j < b.children.length; j++) {
  304 + var k = b.children[j], l = this.option(k);
  305 + i.push(l)
  306 + }
  307 + var m = a("<ul></ul>", {"class": "select2-results__options select2-results__options--nested"});
  308 + m.append(i), g.append(h), g.append(m)
  309 + } else this.template(b, c);
  310 + return a.data(c, "data", b), c
  311 + }, c.prototype.bind = function (b) {
  312 + var c = this, d = b.id + "-results";
  313 + this.$results.attr("id", d), b.on("results:all", function (a) {
  314 + c.clear(), c.append(a.data), b.isOpen() && c.setClasses()
  315 + }), b.on("results:append", function (a) {
  316 + c.append(a.data), b.isOpen() && c.setClasses()
  317 + }), b.on("query", function (a) {
  318 + c.showLoading(a)
  319 + }), b.on("select", function () {
  320 + b.isOpen() && c.setClasses()
  321 + }), b.on("unselect", function () {
  322 + b.isOpen() && c.setClasses()
  323 + }), b.on("open", function () {
  324 + c.$results.attr("aria-expanded", "true"), c.$results.attr("aria-hidden", "false"), c.setClasses(), c.ensureHighlightVisible()
  325 + }), b.on("close", function () {
  326 + c.$results.attr("aria-expanded", "false"), c.$results.attr("aria-hidden", "true"), c.$results.removeAttr("aria-activedescendant")
  327 + }), b.on("results:toggle", function () {
  328 + var a = c.getHighlightedResults();
  329 + 0 !== a.length && a.trigger("mouseup")
  330 + }), b.on("results:select", function () {
  331 + var a = c.getHighlightedResults();
  332 + if (0 !== a.length) {
  333 + var b = a.data("data");
  334 + "true" == a.attr("aria-selected") ? c.trigger("close") : c.trigger("select", {data: b})
  335 + }
  336 + }), b.on("results:previous", function () {
  337 + var a = c.getHighlightedResults(), b = c.$results.find("[aria-selected]"), d = b.index(a);
  338 + if (0 !== d) {
  339 + var e = d - 1;
  340 + 0 === a.length && (e = 0);
  341 + var f = b.eq(e);
  342 + f.trigger("mouseenter");
  343 + var g = c.$results.offset().top, h = f.offset().top, i = c.$results.scrollTop() + (h - g);
  344 + 0 === e ? c.$results.scrollTop(0) : 0 > h - g && c.$results.scrollTop(i)
  345 + }
  346 + }), b.on("results:next", function () {
  347 + var a = c.getHighlightedResults(), b = c.$results.find("[aria-selected]"), d = b.index(a),
  348 + e = d + 1;
  349 + if (!(e >= b.length)) {
  350 + var f = b.eq(e);
  351 + f.trigger("mouseenter");
  352 + var g = c.$results.offset().top + c.$results.outerHeight(!1),
  353 + h = f.offset().top + f.outerHeight(!1), i = c.$results.scrollTop() + h - g;
  354 + 0 === e ? c.$results.scrollTop(0) : h > g && c.$results.scrollTop(i)
  355 + }
  356 + }), b.on("results:focus", function (a) {
  357 + a.element.addClass("select2-results__option--highlighted")
  358 + }), b.on("results:message", function (a) {
  359 + c.displayMessage(a)
  360 + }), a.fn.mousewheel && this.$results.on("mousewheel", function (a) {
  361 + var b = c.$results.scrollTop(),
  362 + d = c.$results.get(0).scrollHeight - c.$results.scrollTop() + a.deltaY,
  363 + e = a.deltaY > 0 && b - a.deltaY <= 0, f = a.deltaY < 0 && d <= c.$results.height();
  364 + e ? (c.$results.scrollTop(0), a.preventDefault(), a.stopPropagation()) : f && (c.$results.scrollTop(c.$results.get(0).scrollHeight - c.$results.height()), a.preventDefault(), a.stopPropagation())
  365 + }), this.$results.on("mouseup", ".select2-results__option[aria-selected]", function (b) {
  366 + var d = a(this), e = d.data("data");
  367 + return "true" === d.attr("aria-selected") ? void (c.options.get("multiple") ? c.trigger("unselect", {
  368 + originalEvent: b,
  369 + data: e
  370 + }) : c.trigger("close")) : void c.trigger("select", {originalEvent: b, data: e})
  371 + }), this.$results.on("mouseenter", ".select2-results__option[aria-selected]", function () {
  372 + var b = a(this).data("data");
  373 + c.getHighlightedResults().removeClass("select2-results__option--highlighted"), c.trigger("results:focus", {
  374 + data: b,
  375 + element: a(this)
  376 + })
  377 + })
  378 + }, c.prototype.getHighlightedResults = function () {
  379 + var a = this.$results.find(".select2-results__option--highlighted");
  380 + return a
  381 + }, c.prototype.destroy = function () {
  382 + this.$results.remove()
  383 + }, c.prototype.ensureHighlightVisible = function () {
  384 + var a = this.getHighlightedResults();
  385 + if (0 !== a.length) {
  386 + var b = this.$results.find("[aria-selected]"), c = b.index(a), d = this.$results.offset().top,
  387 + e = a.offset().top, f = this.$results.scrollTop() + (e - d), g = e - d;
  388 + f -= 2 * a.outerHeight(!1), 2 >= c ? this.$results.scrollTop(0) : (g > this.$results.outerHeight() || 0 > g) && this.$results.scrollTop(f)
  389 + }
  390 + }, c.prototype.template = function (b, c) {
  391 + var d = this.options.get("templateResult"), e = this.options.get("escapeMarkup"), f = d(b);
  392 + null == f ? c.style.display = "none" : "string" == typeof f ? c.innerHTML = e(f) : a(c).append(f)
  393 + }, c
  394 + }), b.define("select2/keys", [], function () {
  395 + var a = {
  396 + BACKSPACE: 8,
  397 + TAB: 9,
  398 + ENTER: 13,
  399 + SHIFT: 16,
  400 + CTRL: 17,
  401 + ALT: 18,
  402 + ESC: 27,
  403 + SPACE: 32,
  404 + PAGE_UP: 33,
  405 + PAGE_DOWN: 34,
  406 + END: 35,
  407 + HOME: 36,
  408 + LEFT: 37,
  409 + UP: 38,
  410 + RIGHT: 39,
  411 + DOWN: 40,
  412 + DELETE: 46
  413 + };
  414 + return a
  415 + }), b.define("select2/selection/base", ["jquery", "../utils", "../keys"], function (a, b, c) {
  416 + function d(a, b) {
  417 + this.$element = a, this.options = b, d.__super__.constructor.call(this)
  418 + }
  419 +
  420 + return b.Extend(d, b.Observable), d.prototype.render = function () {
  421 + var b = a('<span class="select2-selection" role="combobox" aria-autocomplete="list" aria-haspopup="true" aria-expanded="false"></span>');
  422 + return this._tabindex = 0, null != this.$element.data("old-tabindex") ? this._tabindex = this.$element.data("old-tabindex") : null != this.$element.attr("tabindex") && (this._tabindex = this.$element.attr("tabindex")), b.attr("title", this.$element.attr("title")), b.attr("tabindex", this._tabindex), this.$selection = b, b
  423 + }, d.prototype.bind = function (a) {
  424 + var b = this, d = (a.id + "-container", a.id + "-results");
  425 + this.container = a, this.$selection.on("focus", function (a) {
  426 + b.trigger("focus", a)
  427 + }), this.$selection.on("blur", function (a) {
  428 + b.trigger("blur", a)
  429 + }), this.$selection.on("keydown", function (a) {
  430 + b.trigger("keypress", a), a.which === c.SPACE && a.preventDefault()
  431 + }), a.on("results:focus", function (a) {
  432 + b.$selection.attr("aria-activedescendant", a.data._resultId)
  433 + }), a.on("selection:update", function (a) {
  434 + b.update(a.data)
  435 + }), a.on("open", function () {
  436 + b.$selection.attr("aria-expanded", "true"), b.$selection.attr("aria-owns", d), b._attachCloseHandler(a)
  437 + }), a.on("close", function () {
  438 + b.$selection.attr("aria-expanded", "false"), b.$selection.removeAttr("aria-activedescendant"), b.$selection.removeAttr("aria-owns"), b.$selection.focus(), b._detachCloseHandler(a)
  439 + }), a.on("enable", function () {
  440 + b.$selection.attr("tabindex", b._tabindex)
  441 + }), a.on("disable", function () {
  442 + b.$selection.attr("tabindex", "-1")
  443 + })
  444 + }, d.prototype._attachCloseHandler = function (b) {
  445 + a(document.body).on("mousedown.select2." + b.id, function (b) {
  446 + var c = a(b.target), d = c.closest(".select2"), e = a(".select2.select2-container--open");
  447 + e.each(function () {
  448 + var b = a(this);
  449 + if (this != d[0]) {
  450 + var c = b.data("element");
  451 + c.select2("close")
  452 + }
  453 + })
  454 + })
  455 + }, d.prototype._detachCloseHandler = function (b) {
  456 + a(document.body).off("mousedown.select2." + b.id)
  457 + }, d.prototype.position = function (a, b) {
  458 + var c = b.find(".selection");
  459 + c.append(a)
  460 + }, d.prototype.destroy = function () {
  461 + this._detachCloseHandler(this.container)
  462 + }, d.prototype.update = function () {
  463 + throw new Error("The `update` method must be defined in child classes.")
  464 + }, d
  465 + }), b.define("select2/selection/single", ["jquery", "./base", "../utils", "../keys"], function (a, b, c) {
  466 + function d() {
  467 + d.__super__.constructor.apply(this, arguments)
  468 + }
  469 +
  470 + return c.Extend(d, b), d.prototype.render = function () {
  471 + var a = d.__super__.render.call(this);
  472 + return a.addClass("select2-selection--single"), a.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'), a
  473 + }, d.prototype.bind = function (a) {
  474 + var b = this;
  475 + d.__super__.bind.apply(this, arguments);
  476 + var c = a.id + "-container";
  477 + this.$selection.find(".select2-selection__rendered").attr("id", c), this.$selection.attr("aria-labelledby", c), this.$selection.on("mousedown", function (a) {
  478 + 1 === a.which && b.trigger("toggle", {originalEvent: a})
  479 + }), this.$selection.on("focus", function () {
  480 + }), this.$selection.on("blur", function () {
  481 + }), a.on("selection:update", function (a) {
  482 + b.update(a.data)
  483 + })
  484 + }, d.prototype.clear = function () {
  485 + this.$selection.find(".select2-selection__rendered").empty()
  486 + }, d.prototype.display = function (a) {
  487 + var b = this.options.get("templateSelection"), c = this.options.get("escapeMarkup");
  488 + return c(b(a))
  489 + }, d.prototype.selectionContainer = function () {
  490 + return a("<span></span>")
  491 + }, d.prototype.update = function (a) {
  492 + if (0 === a.length) return void this.clear();
  493 + var b = a[0], c = this.display(b), d = this.$selection.find(".select2-selection__rendered");
  494 + d.empty().append(c), d.prop("title", b.title || b.text)
  495 + }, d
  496 + }), b.define("select2/selection/multiple", ["jquery", "./base", "../utils"], function (a, b, c) {
  497 + function d() {
  498 + d.__super__.constructor.apply(this, arguments)
  499 + }
  500 +
  501 + return c.Extend(d, b), d.prototype.render = function () {
  502 + var a = d.__super__.render.call(this);
  503 + return a.addClass("select2-selection--multiple"), a.html('<ul class="select2-selection__rendered"></ul>'), a
  504 + }, d.prototype.bind = function () {
  505 + var b = this;
  506 + d.__super__.bind.apply(this, arguments), this.$selection.on("click", function (a) {
  507 + b.trigger("toggle", {originalEvent: a})
  508 + }), this.$selection.on("click", ".select2-selection__choice__remove", function (c) {
  509 + var d = a(this), e = d.parent(), f = e.data("data");
  510 + b.trigger("unselect", {originalEvent: c, data: f})
  511 + })
  512 + }, d.prototype.clear = function () {
  513 + this.$selection.find(".select2-selection__rendered").empty()
  514 + }, d.prototype.display = function (a) {
  515 + var b = this.options.get("templateSelection"), c = this.options.get("escapeMarkup");
  516 + return c(b(a))
  517 + }, d.prototype.selectionContainer = function () {
  518 + var b = a('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation">&times;</span></li>');
  519 + return b
  520 + }, d.prototype.update = function (a) {
  521 + if (this.clear(), 0 !== a.length) {
  522 + for (var b = [], d = 0; d < a.length; d++) {
  523 + var e = a[d], f = this.display(e), g = this.selectionContainer();
  524 + g.append(f), g.prop("title", e.title || e.text), g.data("data", e), b.push(g)
  525 + }
  526 + var h = this.$selection.find(".select2-selection__rendered");
  527 + c.appendMany(h, b)
  528 + }
  529 + }, d
  530 + }), b.define("select2/selection/placeholder", ["../utils"], function () {
  531 + function a(a, b, c) {
  532 + this.placeholder = this.normalizePlaceholder(c.get("placeholder")), a.call(this, b, c)
  533 + }
  534 +
  535 + return a.prototype.normalizePlaceholder = function (a, b) {
  536 + return "string" == typeof b && (b = {id: "", text: b}), b
  537 + }, a.prototype.createPlaceholder = function (a, b) {
  538 + var c = this.selectionContainer();
  539 + return c.html(this.display(b)), c.addClass("select2-selection__placeholder").removeClass("select2-selection__choice"), c
  540 + }, a.prototype.update = function (a, b) {
  541 + var c = 1 == b.length && b[0].id != this.placeholder.id, d = b.length > 1;
  542 + if (d || c) return a.call(this, b);
  543 + this.clear();
  544 + var e = this.createPlaceholder(this.placeholder);
  545 + this.$selection.find(".select2-selection__rendered").append(e)
  546 + }, a
  547 + }), b.define("select2/selection/allowClear", ["jquery", "../keys"], function (a, b) {
  548 + function c() {
  549 + }
  550 +
  551 + return c.prototype.bind = function (a, b, c) {
  552 + var d = this;
  553 + a.call(this, b, c), null == this.placeholder && this.options.get("debug") && window.console && console.error && console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."), this.$selection.on("mousedown", ".select2-selection__clear", function (a) {
  554 + d._handleClear(a)
  555 + }), b.on("keypress", function (a) {
  556 + d._handleKeyboardClear(a, b)
  557 + })
  558 + }, c.prototype._handleClear = function (a, b) {
  559 + if (!this.options.get("disabled")) {
  560 + var c = this.$selection.find(".select2-selection__clear");
  561 + if (0 !== c.length) {
  562 + b.stopPropagation();
  563 + for (var d = c.data("data"), e = 0; e < d.length; e++) {
  564 + var f = {data: d[e]};
  565 + if (this.trigger("unselect", f), f.prevented) return
  566 + }
  567 + this.$element.val(this.placeholder.id).trigger("change"), this.trigger("toggle")
  568 + }
  569 + }
  570 + }, c.prototype._handleKeyboardClear = function (a, c, d) {
  571 + d.isOpen() || (c.which == b.DELETE || c.which == b.BACKSPACE) && this._handleClear(c)
  572 + }, c.prototype.update = function (b, c) {
  573 + if (b.call(this, c), !(this.$selection.find(".select2-selection__placeholder").length > 0 || 0 === c.length)) {
  574 + var d = a('<span class="select2-selection__clear">&times;</span>');
  575 + d.data("data", c), this.$selection.find(".select2-selection__rendered").prepend(d)
  576 + }
  577 + }, c
  578 + }), b.define("select2/selection/search", ["jquery", "../utils", "../keys"], function (a, b, c) {
  579 + function d(a, b, c) {
  580 + a.call(this, b, c)
  581 + }
  582 +
  583 + return d.prototype.render = function (b) {
  584 + var c = a('<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" role="textbox" /></li>');
  585 + this.$searchContainer = c, this.$search = c.find("input");
  586 + var d = b.call(this);
  587 + return d
  588 + }, d.prototype.bind = function (a, b, d) {
  589 + var e = this;
  590 + a.call(this, b, d), b.on("open", function () {
  591 + e.$search.attr("tabindex", 0), e.$search.focus()
  592 + }), b.on("close", function () {
  593 + e.$search.attr("tabindex", -1), e.$search.val(""), e.$search.focus()
  594 + }), b.on("enable", function () {
  595 + e.$search.prop("disabled", !1)
  596 + }), b.on("disable", function () {
  597 + e.$search.prop("disabled", !0)
  598 + }), this.$selection.on("focusin", ".select2-search--inline", function (a) {
  599 + e.trigger("focus", a)
  600 + }), this.$selection.on("focusout", ".select2-search--inline", function (a) {
  601 + e.trigger("blur", a)
  602 + }), this.$selection.on("keydown", ".select2-search--inline", function (a) {
  603 + a.stopPropagation(), e.trigger("keypress", a), e._keyUpPrevented = a.isDefaultPrevented();
  604 + var b = a.which;
  605 + if (b === c.BACKSPACE && "" === e.$search.val()) {
  606 + var d = e.$searchContainer.prev(".select2-selection__choice");
  607 + if (d.length > 0) {
  608 + var f = d.data("data");
  609 + e.searchRemoveChoice(f), a.preventDefault()
  610 + }
  611 + }
  612 + }), this.$selection.on("input", ".select2-search--inline", function () {
  613 + e.$selection.off("keyup.search")
  614 + }), this.$selection.on("keyup.search input", ".select2-search--inline", function (a) {
  615 + e.handleSearch(a)
  616 + })
  617 + }, d.prototype.createPlaceholder = function (a, b) {
  618 + this.$search.attr("placeholder", b.text)
  619 + }, d.prototype.update = function (a, b) {
  620 + this.$search.attr("placeholder", ""), a.call(this, b), this.$selection.find(".select2-selection__rendered").append(this.$searchContainer), this.resizeSearch()
  621 + }, d.prototype.handleSearch = function () {
  622 + if (this.resizeSearch(), !this._keyUpPrevented) {
  623 + var a = this.$search.val();
  624 + this.trigger("query", {term: a})
  625 + }
  626 + this._keyUpPrevented = !1
  627 + }, d.prototype.searchRemoveChoice = function (a, b) {
  628 + this.trigger("unselect", {data: b}), this.trigger("open"), this.$search.val(b.text + " ")
  629 + }, d.prototype.resizeSearch = function () {
  630 + this.$search.css("width", "25px");
  631 + var a = "";
  632 + if ("" !== this.$search.attr("placeholder")) a = this.$selection.find(".select2-selection__rendered").innerWidth(); else {
  633 + var b = this.$search.val().length + 1;
  634 + a = .75 * b + "em"
  635 + }
  636 + this.$search.css("width", a)
  637 + }, d
  638 + }), b.define("select2/selection/eventRelay", ["jquery"], function (a) {
  639 + function b() {
  640 + }
  641 +
  642 + return b.prototype.bind = function (b, c, d) {
  643 + var e = this,
  644 + f = ["open", "opening", "close", "closing", "select", "selecting", "unselect", "unselecting"],
  645 + g = ["opening", "closing", "selecting", "unselecting"];
  646 + b.call(this, c, d), c.on("*", function (b, c) {
  647 + if (-1 !== a.inArray(b, f)) {
  648 + c = c || {};
  649 + var d = a.Event("select2:" + b, {params: c});
  650 + e.$element.trigger(d), -1 !== a.inArray(b, g) && (c.prevented = d.isDefaultPrevented())
  651 + }
  652 + })
  653 + }, b
  654 + }), b.define("select2/translation", ["jquery", "require"], function (a, b) {
  655 + function c(a) {
  656 + this.dict = a || {}
  657 + }
  658 +
  659 + return c.prototype.all = function () {
  660 + return this.dict
  661 + }, c.prototype.get = function (a) {
  662 + return this.dict[a]
  663 + }, c.prototype.extend = function (b) {
  664 + this.dict = a.extend({}, b.all(), this.dict)
  665 + }, c._cache = {}, c.loadPath = function (a) {
  666 + if (!(a in c._cache)) {
  667 + var d = b(a);
  668 + c._cache[a] = d
  669 + }
  670 + return new c(c._cache[a])
  671 + }, c
  672 + }), b.define("select2/diacritics", [], function () {
  673 + var a = {
  674 + "Ⓐ": "A",
  675 + "A": "A",
  676 + "À": "A",
  677 + "Á": "A",
  678 + "Â": "A",
  679 + "Ầ": "A",
  680 + "Ấ": "A",
  681 + "Ẫ": "A",
  682 + "Ẩ": "A",
  683 + "Ã": "A",
  684 + "Ā": "A",
  685 + "Ă": "A",
  686 + "Ằ": "A",
  687 + "Ắ": "A",
  688 + "Ẵ": "A",
  689 + "Ẳ": "A",
  690 + "Ȧ": "A",
  691 + "Ǡ": "A",
  692 + "Ä": "A",
  693 + "Ǟ": "A",
  694 + "Ả": "A",
  695 + "Å": "A",
  696 + "Ǻ": "A",
  697 + "Ǎ": "A",
  698 + "Ȁ": "A",
  699 + "Ȃ": "A",
  700 + "Ạ": "A",
  701 + "Ậ": "A",
  702 + "Ặ": "A",
  703 + "Ḁ": "A",
  704 + "Ą": "A",
  705 + "Ⱥ": "A",
  706 + "Ɐ": "A",
  707 + "Ꜳ": "AA",
  708 + "Æ": "AE",
  709 + "Ǽ": "AE",
  710 + "Ǣ": "AE",
  711 + "Ꜵ": "AO",
  712 + "Ꜷ": "AU",
  713 + "Ꜹ": "AV",
  714 + "Ꜻ": "AV",
  715 + "Ꜽ": "AY",
  716 + "Ⓑ": "B",
  717 + "B": "B",
  718 + "Ḃ": "B",
  719 + "Ḅ": "B",
  720 + "Ḇ": "B",
  721 + "Ƀ": "B",
  722 + "Ƃ": "B",
  723 + "Ɓ": "B",
  724 + "Ⓒ": "C",
  725 + "C": "C",
  726 + "Ć": "C",
  727 + "Ĉ": "C",
  728 + "Ċ": "C",
  729 + "Č": "C",
  730 + "Ç": "C",
  731 + "Ḉ": "C",
  732 + "Ƈ": "C",
  733 + "Ȼ": "C",
  734 + "Ꜿ": "C",
  735 + "Ⓓ": "D",
  736 + "D": "D",
  737 + "Ḋ": "D",
  738 + "Ď": "D",
  739 + "Ḍ": "D",
  740 + "Ḑ": "D",
  741 + "Ḓ": "D",
  742 + "Ḏ": "D",
  743 + "Đ": "D",
  744 + "Ƌ": "D",
  745 + "Ɗ": "D",
  746 + "Ɖ": "D",
  747 + "Ꝺ": "D",
  748 + "DZ": "DZ",
  749 + "DŽ": "DZ",
  750 + "Dz": "Dz",
  751 + "Dž": "Dz",
  752 + "Ⓔ": "E",
  753 + "E": "E",
  754 + "È": "E",
  755 + "É": "E",
  756 + "Ê": "E",
  757 + "Ề": "E",
  758 + "Ế": "E",
  759 + "Ễ": "E",
  760 + "Ể": "E",
  761 + "Ẽ": "E",
  762 + "Ē": "E",
  763 + "Ḕ": "E",
  764 + "Ḗ": "E",
  765 + "Ĕ": "E",
  766 + "Ė": "E",
  767 + "Ë": "E",
  768 + "Ẻ": "E",
  769 + "Ě": "E",
  770 + "Ȅ": "E",
  771 + "Ȇ": "E",
  772 + "Ẹ": "E",
  773 + "Ệ": "E",
  774 + "Ȩ": "E",
  775 + "Ḝ": "E",
  776 + "Ę": "E",
  777 + "Ḙ": "E",
  778 + "Ḛ": "E",
  779 + "Ɛ": "E",
  780 + "Ǝ": "E",
  781 + "Ⓕ": "F",
  782 + "F": "F",
  783 + "Ḟ": "F",
  784 + "Ƒ": "F",
  785 + "Ꝼ": "F",
  786 + "Ⓖ": "G",
  787 + "G": "G",
  788 + "Ǵ": "G",
  789 + "Ĝ": "G",
  790 + "Ḡ": "G",
  791 + "Ğ": "G",
  792 + "Ġ": "G",
  793 + "Ǧ": "G",
  794 + "Ģ": "G",
  795 + "Ǥ": "G",
  796 + "Ɠ": "G",
  797 + "Ꞡ": "G",
  798 + "Ᵹ": "G",
  799 + "Ꝿ": "G",
  800 + "Ⓗ": "H",
  801 + "H": "H",
  802 + "Ĥ": "H",
  803 + "Ḣ": "H",
  804 + "Ḧ": "H",
  805 + "Ȟ": "H",
  806 + "Ḥ": "H",
  807 + "Ḩ": "H",
  808 + "Ḫ": "H",
  809 + "Ħ": "H",
  810 + "Ⱨ": "H",
  811 + "Ⱶ": "H",
  812 + "Ɥ": "H",
  813 + "Ⓘ": "I",
  814 + "I": "I",
  815 + "Ì": "I",
  816 + "Í": "I",
  817 + "Î": "I",
  818 + "Ĩ": "I",
  819 + "Ī": "I",
  820 + "Ĭ": "I",
  821 + "İ": "I",
  822 + "Ï": "I",
  823 + "Ḯ": "I",
  824 + "Ỉ": "I",
  825 + "Ǐ": "I",
  826 + "Ȉ": "I",
  827 + "Ȋ": "I",
  828 + "Ị": "I",
  829 + "Į": "I",
  830 + "Ḭ": "I",
  831 + "Ɨ": "I",
  832 + "Ⓙ": "J",
  833 + "J": "J",
  834 + "Ĵ": "J",
  835 + "Ɉ": "J",
  836 + "Ⓚ": "K",
  837 + "K": "K",
  838 + "Ḱ": "K",
  839 + "Ǩ": "K",
  840 + "Ḳ": "K",
  841 + "Ķ": "K",
  842 + "Ḵ": "K",
  843 + "Ƙ": "K",
  844 + "Ⱪ": "K",
  845 + "Ꝁ": "K",
  846 + "Ꝃ": "K",
  847 + "Ꝅ": "K",
  848 + "Ꞣ": "K",
  849 + "Ⓛ": "L",
  850 + "L": "L",
  851 + "Ŀ": "L",
  852 + "Ĺ": "L",
  853 + "Ľ": "L",
  854 + "Ḷ": "L",
  855 + "Ḹ": "L",
  856 + "Ļ": "L",
  857 + "Ḽ": "L",
  858 + "Ḻ": "L",
  859 + "Ł": "L",
  860 + "Ƚ": "L",
  861 + "Ɫ": "L",
  862 + "Ⱡ": "L",
  863 + "Ꝉ": "L",
  864 + "Ꝇ": "L",
  865 + "Ꞁ": "L",
  866 + "LJ": "LJ",
  867 + "Lj": "Lj",
  868 + "Ⓜ": "M",
  869 + "M": "M",
  870 + "Ḿ": "M",
  871 + "Ṁ": "M",
  872 + "Ṃ": "M",
  873 + "Ɱ": "M",
  874 + "Ɯ": "M",
  875 + "Ⓝ": "N",
  876 + "N": "N",
  877 + "Ǹ": "N",
  878 + "Ń": "N",
  879 + "Ñ": "N",
  880 + "Ṅ": "N",
  881 + "Ň": "N",
  882 + "Ṇ": "N",
  883 + "Ņ": "N",
  884 + "Ṋ": "N",
  885 + "Ṉ": "N",
  886 + "Ƞ": "N",
  887 + "Ɲ": "N",
  888 + "Ꞑ": "N",
  889 + "Ꞥ": "N",
  890 + "NJ": "NJ",
  891 + "Nj": "Nj",
  892 + "Ⓞ": "O",
  893 + "O": "O",
  894 + "Ò": "O",
  895 + "Ó": "O",
  896 + "Ô": "O",
  897 + "Ồ": "O",
  898 + "Ố": "O",
  899 + "Ỗ": "O",
  900 + "Ổ": "O",
  901 + "Õ": "O",
  902 + "Ṍ": "O",
  903 + "Ȭ": "O",
  904 + "Ṏ": "O",
  905 + "Ō": "O",
  906 + "Ṑ": "O",
  907 + "Ṓ": "O",
  908 + "Ŏ": "O",
  909 + "Ȯ": "O",
  910 + "Ȱ": "O",
  911 + "Ö": "O",
  912 + "Ȫ": "O",
  913 + "Ỏ": "O",
  914 + "Ő": "O",
  915 + "Ǒ": "O",
  916 + "Ȍ": "O",
  917 + "Ȏ": "O",
  918 + "Ơ": "O",
  919 + "Ờ": "O",
  920 + "Ớ": "O",
  921 + "Ỡ": "O",
  922 + "Ở": "O",
  923 + "Ợ": "O",
  924 + "Ọ": "O",
  925 + "Ộ": "O",
  926 + "Ǫ": "O",
  927 + "Ǭ": "O",
  928 + "Ø": "O",
  929 + "Ǿ": "O",
  930 + "Ɔ": "O",
  931 + "Ɵ": "O",
  932 + "Ꝋ": "O",
  933 + "Ꝍ": "O",
  934 + "Ƣ": "OI",
  935 + "Ꝏ": "OO",
  936 + "Ȣ": "OU",
  937 + "Ⓟ": "P",
  938 + "P": "P",
  939 + "Ṕ": "P",
  940 + "Ṗ": "P",
  941 + "Ƥ": "P",
  942 + "Ᵽ": "P",
  943 + "Ꝑ": "P",
  944 + "Ꝓ": "P",
  945 + "Ꝕ": "P",
  946 + "Ⓠ": "Q",
  947 + "Q": "Q",
  948 + "Ꝗ": "Q",
  949 + "Ꝙ": "Q",
  950 + "Ɋ": "Q",
  951 + "Ⓡ": "R",
  952 + "R": "R",
  953 + "Ŕ": "R",
  954 + "Ṙ": "R",
  955 + "Ř": "R",
  956 + "Ȑ": "R",
  957 + "Ȓ": "R",
  958 + "Ṛ": "R",
  959 + "Ṝ": "R",
  960 + "Ŗ": "R",
  961 + "Ṟ": "R",
  962 + "Ɍ": "R",
  963 + "Ɽ": "R",
  964 + "Ꝛ": "R",
  965 + "Ꞧ": "R",
  966 + "Ꞃ": "R",
  967 + "Ⓢ": "S",
  968 + "S": "S",
  969 + "ẞ": "S",
  970 + "Ś": "S",
  971 + "Ṥ": "S",
  972 + "Ŝ": "S",
  973 + "Ṡ": "S",
  974 + "Š": "S",
  975 + "Ṧ": "S",
  976 + "Ṣ": "S",
  977 + "Ṩ": "S",
  978 + "Ș": "S",
  979 + "Ş": "S",
  980 + "Ȿ": "S",
  981 + "Ꞩ": "S",
  982 + "Ꞅ": "S",
  983 + "Ⓣ": "T",
  984 + "T": "T",
  985 + "Ṫ": "T",
  986 + "Ť": "T",
  987 + "Ṭ": "T",
  988 + "Ț": "T",
  989 + "Ţ": "T",
  990 + "Ṱ": "T",
  991 + "Ṯ": "T",
  992 + "Ŧ": "T",
  993 + "Ƭ": "T",
  994 + "Ʈ": "T",
  995 + "Ⱦ": "T",
  996 + "Ꞇ": "T",
  997 + "Ꜩ": "TZ",
  998 + "Ⓤ": "U",
  999 + "U": "U",
  1000 + "Ù": "U",
  1001 + "Ú": "U",
  1002 + "Û": "U",
  1003 + "Ũ": "U",
  1004 + "Ṹ": "U",
  1005 + "Ū": "U",
  1006 + "Ṻ": "U",
  1007 + "Ŭ": "U",
  1008 + "Ü": "U",
  1009 + "Ǜ": "U",
  1010 + "Ǘ": "U",
  1011 + "Ǖ": "U",
  1012 + "Ǚ": "U",
  1013 + "Ủ": "U",
  1014 + "Ů": "U",
  1015 + "Ű": "U",
  1016 + "Ǔ": "U",
  1017 + "Ȕ": "U",
  1018 + "Ȗ": "U",
  1019 + "Ư": "U",
  1020 + "Ừ": "U",
  1021 + "Ứ": "U",
  1022 + "Ữ": "U",
  1023 + "Ử": "U",
  1024 + "Ự": "U",
  1025 + "Ụ": "U",
  1026 + "Ṳ": "U",
  1027 + "Ų": "U",
  1028 + "Ṷ": "U",
  1029 + "Ṵ": "U",
  1030 + "Ʉ": "U",
  1031 + "Ⓥ": "V",
  1032 + "V": "V",
  1033 + "Ṽ": "V",
  1034 + "Ṿ": "V",
  1035 + "Ʋ": "V",
  1036 + "Ꝟ": "V",
  1037 + "Ʌ": "V",
  1038 + "Ꝡ": "VY",
  1039 + "Ⓦ": "W",
  1040 + "W": "W",
  1041 + "Ẁ": "W",
  1042 + "Ẃ": "W",
  1043 + "Ŵ": "W",
  1044 + "Ẇ": "W",
  1045 + "Ẅ": "W",
  1046 + "Ẉ": "W",
  1047 + "Ⱳ": "W",
  1048 + "Ⓧ": "X",
  1049 + "X": "X",
  1050 + "Ẋ": "X",
  1051 + "Ẍ": "X",
  1052 + "Ⓨ": "Y",
  1053 + "Y": "Y",
  1054 + "Ỳ": "Y",
  1055 + "Ý": "Y",
  1056 + "Ŷ": "Y",
  1057 + "Ỹ": "Y",
  1058 + "Ȳ": "Y",
  1059 + "Ẏ": "Y",
  1060 + "Ÿ": "Y",
  1061 + "Ỷ": "Y",
  1062 + "Ỵ": "Y",
  1063 + "Ƴ": "Y",
  1064 + "Ɏ": "Y",
  1065 + "Ỿ": "Y",
  1066 + "Ⓩ": "Z",
  1067 + "Z": "Z",
  1068 + "Ź": "Z",
  1069 + "Ẑ": "Z",
  1070 + "Ż": "Z",
  1071 + "Ž": "Z",
  1072 + "Ẓ": "Z",
  1073 + "Ẕ": "Z",
  1074 + "Ƶ": "Z",
  1075 + "Ȥ": "Z",
  1076 + "Ɀ": "Z",
  1077 + "Ⱬ": "Z",
  1078 + "Ꝣ": "Z",
  1079 + "ⓐ": "a",
  1080 + "a": "a",
  1081 + "ẚ": "a",
  1082 + "à": "a",
  1083 + "á": "a",
  1084 + "â": "a",
  1085 + "ầ": "a",
  1086 + "ấ": "a",
  1087 + "ẫ": "a",
  1088 + "ẩ": "a",
  1089 + "ã": "a",
  1090 + "ā": "a",
  1091 + "ă": "a",
  1092 + "ằ": "a",
  1093 + "ắ": "a",
  1094 + "ẵ": "a",
  1095 + "ẳ": "a",
  1096 + "ȧ": "a",
  1097 + "ǡ": "a",
  1098 + "ä": "a",
  1099 + "ǟ": "a",
  1100 + "ả": "a",
  1101 + "å": "a",
  1102 + "ǻ": "a",
  1103 + "ǎ": "a",
  1104 + "ȁ": "a",
  1105 + "ȃ": "a",
  1106 + "ạ": "a",
  1107 + "ậ": "a",
  1108 + "ặ": "a",
  1109 + "ḁ": "a",
  1110 + "ą": "a",
  1111 + "ⱥ": "a",
  1112 + "ɐ": "a",
  1113 + "ꜳ": "aa",
  1114 + "æ": "ae",
  1115 + "ǽ": "ae",
  1116 + "ǣ": "ae",
  1117 + "ꜵ": "ao",
  1118 + "ꜷ": "au",
  1119 + "ꜹ": "av",
  1120 + "ꜻ": "av",
  1121 + "ꜽ": "ay",
  1122 + "ⓑ": "b",
  1123 + "b": "b",
  1124 + "ḃ": "b",
  1125 + "ḅ": "b",
  1126 + "ḇ": "b",
  1127 + "ƀ": "b",
  1128 + "ƃ": "b",
  1129 + "ɓ": "b",
  1130 + "ⓒ": "c",
  1131 + "c": "c",
  1132 + "ć": "c",
  1133 + "ĉ": "c",
  1134 + "ċ": "c",
  1135 + "č": "c",
  1136 + "ç": "c",
  1137 + "ḉ": "c",
  1138 + "ƈ": "c",
  1139 + "ȼ": "c",
  1140 + "ꜿ": "c",
  1141 + "ↄ": "c",
  1142 + "ⓓ": "d",
  1143 + "d": "d",
  1144 + "ḋ": "d",
  1145 + "ď": "d",
  1146 + "ḍ": "d",
  1147 + "ḑ": "d",
  1148 + "ḓ": "d",
  1149 + "ḏ": "d",
  1150 + "đ": "d",
  1151 + "ƌ": "d",
  1152 + "ɖ": "d",
  1153 + "ɗ": "d",
  1154 + "ꝺ": "d",
  1155 + "dz": "dz",
  1156 + "dž": "dz",
  1157 + "ⓔ": "e",
  1158 + "e": "e",
  1159 + "è": "e",
  1160 + "é": "e",
  1161 + "ê": "e",
  1162 + "ề": "e",
  1163 + "ế": "e",
  1164 + "ễ": "e",
  1165 + "ể": "e",
  1166 + "ẽ": "e",
  1167 + "ē": "e",
  1168 + "ḕ": "e",
  1169 + "ḗ": "e",
  1170 + "ĕ": "e",
  1171 + "ė": "e",
  1172 + "ë": "e",
  1173 + "ẻ": "e",
  1174 + "ě": "e",
  1175 + "ȅ": "e",
  1176 + "ȇ": "e",
  1177 + "ẹ": "e",
  1178 + "ệ": "e",
  1179 + "ȩ": "e",
  1180 + "ḝ": "e",
  1181 + "ę": "e",
  1182 + "ḙ": "e",
  1183 + "ḛ": "e",
  1184 + "ɇ": "e",
  1185 + "ɛ": "e",
  1186 + "ǝ": "e",
  1187 + "ⓕ": "f",
  1188 + "f": "f",
  1189 + "ḟ": "f",
  1190 + "ƒ": "f",
  1191 + "ꝼ": "f",
  1192 + "ⓖ": "g",
  1193 + "g": "g",
  1194 + "ǵ": "g",
  1195 + "ĝ": "g",
  1196 + "ḡ": "g",
  1197 + "ğ": "g",
  1198 + "ġ": "g",
  1199 + "ǧ": "g",
  1200 + "ģ": "g",
  1201 + "ǥ": "g",
  1202 + "ɠ": "g",
  1203 + "ꞡ": "g",
  1204 + "ᵹ": "g",
  1205 + "ꝿ": "g",
  1206 + "ⓗ": "h",
  1207 + "h": "h",
  1208 + "ĥ": "h",
  1209 + "ḣ": "h",
  1210 + "ḧ": "h",
  1211 + "ȟ": "h",
  1212 + "ḥ": "h",
  1213 + "ḩ": "h",
  1214 + "ḫ": "h",
  1215 + "ẖ": "h",
  1216 + "ħ": "h",
  1217 + "ⱨ": "h",
  1218 + "ⱶ": "h",
  1219 + "ɥ": "h",
  1220 + "ƕ": "hv",
  1221 + "ⓘ": "i",
  1222 + "i": "i",
  1223 + "ì": "i",
  1224 + "í": "i",
  1225 + "î": "i",
  1226 + "ĩ": "i",
  1227 + "ī": "i",
  1228 + "ĭ": "i",
  1229 + "ï": "i",
  1230 + "ḯ": "i",
  1231 + "ỉ": "i",
  1232 + "ǐ": "i",
  1233 + "ȉ": "i",
  1234 + "ȋ": "i",
  1235 + "ị": "i",
  1236 + "į": "i",
  1237 + "ḭ": "i",
  1238 + "ɨ": "i",
  1239 + "ı": "i",
  1240 + "ⓙ": "j",
  1241 + "j": "j",
  1242 + "ĵ": "j",
  1243 + "ǰ": "j",
  1244 + "ɉ": "j",
  1245 + "ⓚ": "k",
  1246 + "k": "k",
  1247 + "ḱ": "k",
  1248 + "ǩ": "k",
  1249 + "ḳ": "k",
  1250 + "ķ": "k",
  1251 + "ḵ": "k",
  1252 + "ƙ": "k",
  1253 + "ⱪ": "k",
  1254 + "ꝁ": "k",
  1255 + "ꝃ": "k",
  1256 + "ꝅ": "k",
  1257 + "ꞣ": "k",
  1258 + "ⓛ": "l",
  1259 + "l": "l",
  1260 + "ŀ": "l",
  1261 + "ĺ": "l",
  1262 + "ľ": "l",
  1263 + "ḷ": "l",
  1264 + "ḹ": "l",
  1265 + "ļ": "l",
  1266 + "ḽ": "l",
  1267 + "ḻ": "l",
  1268 + "ſ": "l",
  1269 + "ł": "l",
  1270 + "ƚ": "l",
  1271 + "ɫ": "l",
  1272 + "ⱡ": "l",
  1273 + "ꝉ": "l",
  1274 + "ꞁ": "l",
  1275 + "ꝇ": "l",
  1276 + "lj": "lj",
  1277 + "ⓜ": "m",
  1278 + "m": "m",
  1279 + "ḿ": "m",
  1280 + "ṁ": "m",
  1281 + "ṃ": "m",
  1282 + "ɱ": "m",
  1283 + "ɯ": "m",
  1284 + "ⓝ": "n",
  1285 + "n": "n",
  1286 + "ǹ": "n",
  1287 + "ń": "n",
  1288 + "ñ": "n",
  1289 + "ṅ": "n",
  1290 + "ň": "n",
  1291 + "ṇ": "n",
  1292 + "ņ": "n",
  1293 + "ṋ": "n",
  1294 + "ṉ": "n",
  1295 + "ƞ": "n",
  1296 + "ɲ": "n",
  1297 + "ʼn": "n",
  1298 + "ꞑ": "n",
  1299 + "ꞥ": "n",
  1300 + "nj": "nj",
  1301 + "ⓞ": "o",
  1302 + "o": "o",
  1303 + "ò": "o",
  1304 + "ó": "o",
  1305 + "ô": "o",
  1306 + "ồ": "o",
  1307 + "ố": "o",
  1308 + "ỗ": "o",
  1309 + "ổ": "o",
  1310 + "õ": "o",
  1311 + "ṍ": "o",
  1312 + "ȭ": "o",
  1313 + "ṏ": "o",
  1314 + "ō": "o",
  1315 + "ṑ": "o",
  1316 + "ṓ": "o",
  1317 + "ŏ": "o",
  1318 + "ȯ": "o",
  1319 + "ȱ": "o",
  1320 + "ö": "o",
  1321 + "ȫ": "o",
  1322 + "ỏ": "o",
  1323 + "ő": "o",
  1324 + "ǒ": "o",
  1325 + "ȍ": "o",
  1326 + "ȏ": "o",
  1327 + "ơ": "o",
  1328 + "ờ": "o",
  1329 + "ớ": "o",
  1330 + "ỡ": "o",
  1331 + "ở": "o",
  1332 + "ợ": "o",
  1333 + "ọ": "o",
  1334 + "ộ": "o",
  1335 + "ǫ": "o",
  1336 + "ǭ": "o",
  1337 + "ø": "o",
  1338 + "ǿ": "o",
  1339 + "ɔ": "o",
  1340 + "ꝋ": "o",
  1341 + "ꝍ": "o",
  1342 + "ɵ": "o",
  1343 + "ƣ": "oi",
  1344 + "ȣ": "ou",
  1345 + "ꝏ": "oo",
  1346 + "ⓟ": "p",
  1347 + "p": "p",
  1348 + "ṕ": "p",
  1349 + "ṗ": "p",
  1350 + "ƥ": "p",
  1351 + "ᵽ": "p",
  1352 + "ꝑ": "p",
  1353 + "ꝓ": "p",
  1354 + "ꝕ": "p",
  1355 + "ⓠ": "q",
  1356 + "q": "q",
  1357 + "ɋ": "q",
  1358 + "ꝗ": "q",
  1359 + "ꝙ": "q",
  1360 + "ⓡ": "r",
  1361 + "r": "r",
  1362 + "ŕ": "r",
  1363 + "ṙ": "r",
  1364 + "ř": "r",
  1365 + "ȑ": "r",
  1366 + "ȓ": "r",
  1367 + "ṛ": "r",
  1368 + "ṝ": "r",
  1369 + "ŗ": "r",
  1370 + "ṟ": "r",
  1371 + "ɍ": "r",
  1372 + "ɽ": "r",
  1373 + "ꝛ": "r",
  1374 + "ꞧ": "r",
  1375 + "ꞃ": "r",
  1376 + "ⓢ": "s",
  1377 + "s": "s",
  1378 + "ß": "s",
  1379 + "ś": "s",
  1380 + "ṥ": "s",
  1381 + "ŝ": "s",
  1382 + "ṡ": "s",
  1383 + "š": "s",
  1384 + "ṧ": "s",
  1385 + "ṣ": "s",
  1386 + "ṩ": "s",
  1387 + "ș": "s",
  1388 + "ş": "s",
  1389 + "ȿ": "s",
  1390 + "ꞩ": "s",
  1391 + "ꞅ": "s",
  1392 + "ẛ": "s",
  1393 + "ⓣ": "t",
  1394 + "t": "t",
  1395 + "ṫ": "t",
  1396 + "ẗ": "t",
  1397 + "ť": "t",
  1398 + "ṭ": "t",
  1399 + "ț": "t",
  1400 + "ţ": "t",
  1401 + "ṱ": "t",
  1402 + "ṯ": "t",
  1403 + "ŧ": "t",
  1404 + "ƭ": "t",
  1405 + "ʈ": "t",
  1406 + "ⱦ": "t",
  1407 + "ꞇ": "t",
  1408 + "ꜩ": "tz",
  1409 + "ⓤ": "u",
  1410 + "u": "u",
  1411 + "ù": "u",
  1412 + "ú": "u",
  1413 + "û": "u",
  1414 + "ũ": "u",
  1415 + "ṹ": "u",
  1416 + "ū": "u",
  1417 + "ṻ": "u",
  1418 + "ŭ": "u",
  1419 + "ü": "u",
  1420 + "ǜ": "u",
  1421 + "ǘ": "u",
  1422 + "ǖ": "u",
  1423 + "ǚ": "u",
  1424 + "ủ": "u",
  1425 + "ů": "u",
  1426 + "ű": "u",
  1427 + "ǔ": "u",
  1428 + "ȕ": "u",
  1429 + "ȗ": "u",
  1430 + "ư": "u",
  1431 + "ừ": "u",
  1432 + "ứ": "u",
  1433 + "ữ": "u",
  1434 + "ử": "u",
  1435 + "ự": "u",
  1436 + "ụ": "u",
  1437 + "ṳ": "u",
  1438 + "ų": "u",
  1439 + "ṷ": "u",
  1440 + "ṵ": "u",
  1441 + "ʉ": "u",
  1442 + "ⓥ": "v",
  1443 + "v": "v",
  1444 + "ṽ": "v",
  1445 + "ṿ": "v",
  1446 + "ʋ": "v",
  1447 + "ꝟ": "v",
  1448 + "ʌ": "v",
  1449 + "ꝡ": "vy",
  1450 + "ⓦ": "w",
  1451 + "w": "w",
  1452 + "ẁ": "w",
  1453 + "ẃ": "w",
  1454 + "ŵ": "w",
  1455 + "ẇ": "w",
  1456 + "ẅ": "w",
  1457 + "ẘ": "w",
  1458 + "ẉ": "w",
  1459 + "ⱳ": "w",
  1460 + "ⓧ": "x",
  1461 + "x": "x",
  1462 + "ẋ": "x",
  1463 + "ẍ": "x",
  1464 + "ⓨ": "y",
  1465 + "y": "y",
  1466 + "ỳ": "y",
  1467 + "ý": "y",
  1468 + "ŷ": "y",
  1469 + "ỹ": "y",
  1470 + "ȳ": "y",
  1471 + "ẏ": "y",
  1472 + "ÿ": "y",
  1473 + "ỷ": "y",
  1474 + "ẙ": "y",
  1475 + "ỵ": "y",
  1476 + "ƴ": "y",
  1477 + "ɏ": "y",
  1478 + "ỿ": "y",
  1479 + "ⓩ": "z",
  1480 + "z": "z",
  1481 + "ź": "z",
  1482 + "ẑ": "z",
  1483 + "ż": "z",
  1484 + "ž": "z",
  1485 + "ẓ": "z",
  1486 + "ẕ": "z",
  1487 + "ƶ": "z",
  1488 + "ȥ": "z",
  1489 + "ɀ": "z",
  1490 + "ⱬ": "z",
  1491 + "ꝣ": "z",
  1492 + "Ά": "Α",
  1493 + "Έ": "Ε",
  1494 + "Ή": "Η",
  1495 + "Ί": "Ι",
  1496 + "Ϊ": "Ι",
  1497 + "Ό": "Ο",
  1498 + "Ύ": "Υ",
  1499 + "Ϋ": "Υ",
  1500 + "Ώ": "Ω",
  1501 + "ά": "α",
  1502 + "έ": "ε",
  1503 + "ή": "η",
  1504 + "ί": "ι",
  1505 + "ϊ": "ι",
  1506 + "ΐ": "ι",
  1507 + "ό": "ο",
  1508 + "ύ": "υ",
  1509 + "ϋ": "υ",
  1510 + "ΰ": "υ",
  1511 + "ω": "ω",
  1512 + "ς": "σ"
  1513 + };
  1514 + return a
  1515 + }), b.define("select2/data/base", ["../utils"], function (a) {
  1516 + function b() {
  1517 + b.__super__.constructor.call(this)
  1518 + }
  1519 +
  1520 + return a.Extend(b, a.Observable), b.prototype.current = function () {
  1521 + throw new Error("The `current` method must be defined in child classes.")
  1522 + }, b.prototype.query = function () {
  1523 + throw new Error("The `query` method must be defined in child classes.")
  1524 + }, b.prototype.bind = function () {
  1525 + }, b.prototype.destroy = function () {
  1526 + }, b.prototype.generateResultId = function (b, c) {
  1527 + var d = b.id + "-result-";
  1528 + return d += a.generateChars(4), d += null != c.id ? "-" + c.id.toString() : "-" + a.generateChars(4)
  1529 + }, b
  1530 + }), b.define("select2/data/select", ["./base", "../utils", "jquery"], function (a, b, c) {
  1531 + function d(a, b) {
  1532 + this.$element = a, this.options = b, d.__super__.constructor.call(this)
  1533 + }
  1534 +
  1535 + return b.Extend(d, a), d.prototype.current = function (a) {
  1536 + var b = [], d = this;
  1537 + this.$element.find(":selected").each(function () {
  1538 + var a = c(this), e = d.item(a);
  1539 + b.push(e)
  1540 + }), a(b)
  1541 + }, d.prototype.select = function (a) {
  1542 + var b = this;
  1543 + if (a.selected = !0, c(a.element).is("option")) return a.element.selected = !0, void this.$element.trigger("change");
  1544 + if (this.$element.prop("multiple")) this.current(function (d) {
  1545 + var e = [];
  1546 + a = [a], a.push.apply(a, d);
  1547 + for (var f = 0; f < a.length; f++) {
  1548 + var g = a[f].id;
  1549 + -1 === c.inArray(g, e) && e.push(g)
  1550 + }
  1551 + b.$element.val(e), b.$element.trigger("change")
  1552 + }); else {
  1553 + var d = a.id;
  1554 + this.$element.val(d), this.$element.trigger("change")
  1555 + }
  1556 + }, d.prototype.unselect = function (a) {
  1557 + var b = this;
  1558 + if (this.$element.prop("multiple")) return a.selected = !1, c(a.element).is("option") ? (a.element.selected = !1, void this.$element.trigger("change")) : void this.current(function (d) {
  1559 + for (var e = [], f = 0; f < d.length; f++) {
  1560 + var g = d[f].id;
  1561 + g !== a.id && -1 === c.inArray(g, e) && e.push(g)
  1562 + }
  1563 + b.$element.val(e), b.$element.trigger("change")
  1564 + })
  1565 + }, d.prototype.bind = function (a) {
  1566 + var b = this;
  1567 + this.container = a, a.on("select", function (a) {
  1568 + b.select(a.data)
  1569 + }), a.on("unselect", function (a) {
  1570 + b.unselect(a.data)
  1571 + })
  1572 + }, d.prototype.destroy = function () {
  1573 + this.$element.find("*").each(function () {
  1574 + c.removeData(this, "data")
  1575 + })
  1576 + }, d.prototype.query = function (a, b) {
  1577 + var d = [], e = this, f = this.$element.children();
  1578 + f.each(function () {
  1579 + var b = c(this);
  1580 + if (b.is("option") || b.is("optgroup")) {
  1581 + var f = e.item(b), g = e.matches(a, f);
  1582 + null !== g && d.push(g)
  1583 + }
  1584 + }), b({results: d})
  1585 + }, d.prototype.addOptions = function (a) {
  1586 + b.appendMany(this.$element, a)
  1587 + }, d.prototype.option = function (a) {
  1588 + var b;
  1589 + a.children ? (b = document.createElement("optgroup"), b.label = a.text) : (b = document.createElement("option"), void 0 !== b.textContent ? b.textContent = a.text : b.innerText = a.text), a.id && (b.value = a.id), a.disabled && (b.disabled = !0), a.selected && (b.selected = !0), a.title && (b.title = a.title);
  1590 + var d = c(b), e = this._normalizeItem(a);
  1591 + return e.element = b, c.data(b, "data", e), d
  1592 + }, d.prototype.item = function (a) {
  1593 + var b = {};
  1594 + if (b = c.data(a[0], "data"), null != b) return b;
  1595 + if (a.is("option")) b = {
  1596 + id: a.val(),
  1597 + text: a.text(),
  1598 + disabled: a.prop("disabled"),
  1599 + selected: a.prop("selected"),
  1600 + title: a.prop("title")
  1601 + }; else if (a.is("optgroup")) {
  1602 + b = {text: a.prop("label"), children: [], title: a.prop("title")};
  1603 + for (var d = a.children("option"), e = [], f = 0; f < d.length; f++) {
  1604 + var g = c(d[f]), h = this.item(g);
  1605 + e.push(h)
  1606 + }
  1607 + b.children = e
  1608 + }
  1609 + return b = this._normalizeItem(b), b.element = a[0], c.data(a[0], "data", b), b
  1610 + }, d.prototype._normalizeItem = function (a) {
  1611 + c.isPlainObject(a) || (a = {id: a, text: a}), a = c.extend({}, {text: ""}, a);
  1612 + var b = {selected: !1, disabled: !1};
  1613 + return null != a.id && (a.id = a.id.toString()), null != a.text && (a.text = a.text.toString()), null == a._resultId && a.id && null != this.container && (a._resultId = this.generateResultId(this.container, a)), c.extend({}, b, a)
  1614 + }, d.prototype.matches = function (a, b) {
  1615 + var c = this.options.get("matcher");
  1616 + return c(a, b)
  1617 + }, d
  1618 + }), b.define("select2/data/array", ["./select", "../utils", "jquery"], function (a, b, c) {
  1619 + function d(a, b) {
  1620 + var c = b.get("data") || [];
  1621 + d.__super__.constructor.call(this, a, b), this.addOptions(this.convertToOptions(c))
  1622 + }
  1623 +
  1624 + return b.Extend(d, a), d.prototype.select = function (a) {
  1625 + var b = this.$element.find("option").filter(function (b, c) {
  1626 + return c.value == a.id.toString()
  1627 + });
  1628 + 0 === b.length && (b = this.option(a), this.addOptions(b)), d.__super__.select.call(this, a)
  1629 + }, d.prototype.convertToOptions = function (a) {
  1630 + function d(a) {
  1631 + return function () {
  1632 + return c(this).val() == a.id
  1633 + }
  1634 + }
  1635 +
  1636 + for (var e = this, f = this.$element.find("option"), g = f.map(function () {
  1637 + return e.item(c(this)).id
  1638 + }).get(), h = [], i = 0; i < a.length; i++) {
  1639 + var j = this._normalizeItem(a[i]);
  1640 + if (c.inArray(j.id, g) >= 0) {
  1641 + var k = f.filter(d(j)), l = this.item(k), m = (c.extend(!0, {}, l, j), this.option(l));
  1642 + k.replaceWith(m)
  1643 + } else {
  1644 + var n = this.option(j);
  1645 + if (j.children) {
  1646 + var o = this.convertToOptions(j.children);
  1647 + b.appendMany(n, o)
  1648 + }
  1649 + h.push(n)
  1650 + }
  1651 + }
  1652 + return h
  1653 + }, d
  1654 + }), b.define("select2/data/ajax", ["./array", "../utils", "jquery"], function (a, b, c) {
  1655 + function d(b, c) {
  1656 + this.ajaxOptions = this._applyDefaults(c.get("ajax")), null != this.ajaxOptions.processResults && (this.processResults = this.ajaxOptions.processResults), a.__super__.constructor.call(this, b, c)
  1657 + }
  1658 +
  1659 + return b.Extend(d, a), d.prototype._applyDefaults = function (a) {
  1660 + var b = {
  1661 + data: function (a) {
  1662 + return {q: a.term}
  1663 + }, transport: function (a, b, d) {
  1664 + var e = c.ajax(a);
  1665 + return e.then(b), e.fail(d), e
  1666 + }
  1667 + };
  1668 + return c.extend({}, b, a, !0)
  1669 + }, d.prototype.processResults = function (a) {
  1670 + return a
  1671 + }, d.prototype.query = function (a, b) {
  1672 + function d() {
  1673 + var d = f.transport(f, function (d) {
  1674 + var f = e.processResults(d, a);
  1675 + e.options.get("debug") && window.console && console.error && (f && f.results && c.isArray(f.results) || console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")), b(f)
  1676 + }, function () {
  1677 + });
  1678 + e._request = d
  1679 + }
  1680 +
  1681 + var e = this;
  1682 + null != this._request && (c.isFunction(this._request.abort) && this._request.abort(), this._request = null);
  1683 + var f = c.extend({type: "GET"}, this.ajaxOptions);
  1684 + "function" == typeof f.url && (f.url = f.url(a)), "function" == typeof f.data && (f.data = f.data(a)), this.ajaxOptions.delay && "" !== a.term ? (this._queryTimeout && window.clearTimeout(this._queryTimeout), this._queryTimeout = window.setTimeout(d, this.ajaxOptions.delay)) : d()
  1685 + }, d
  1686 + }), b.define("select2/data/tags", ["jquery"], function (a) {
  1687 + function b(b, c, d) {
  1688 + var e = d.get("tags"), f = d.get("createTag");
  1689 + if (void 0 !== f && (this.createTag = f), b.call(this, c, d), a.isArray(e)) for (var g = 0; g < e.length; g++) {
  1690 + var h = e[g], i = this._normalizeItem(h), j = this.option(i);
  1691 + this.$element.append(j)
  1692 + }
  1693 + }
  1694 +
  1695 + return b.prototype.query = function (a, b, c) {
  1696 + function d(a, f) {
  1697 + for (var g = a.results, h = 0; h < g.length; h++) {
  1698 + var i = g[h], j = null != i.children && !d({results: i.children}, !0), k = i.text === b.term;
  1699 + if (k || j) return f ? !1 : (a.data = g, void c(a))
  1700 + }
  1701 + if (f) return !0;
  1702 + var l = e.createTag(b);
  1703 + if (null != l) {
  1704 + var m = e.option(l);
  1705 + m.attr("data-select2-tag", !0), e.addOptions([m]), e.insertTag(g, l)
  1706 + }
  1707 + a.results = g, c(a)
  1708 + }
  1709 +
  1710 + var e = this;
  1711 + return this._removeOldTags(), null == b.term || null != b.page ? void a.call(this, b, c) : void a.call(this, b, d)
  1712 + }, b.prototype.createTag = function (b, c) {
  1713 + var d = a.trim(c.term);
  1714 + return "" === d ? null : {id: d, text: d}
  1715 + }, b.prototype.insertTag = function (a, b, c) {
  1716 + b.unshift(c)
  1717 + }, b.prototype._removeOldTags = function () {
  1718 + var b = (this._lastTag, this.$element.find("option[data-select2-tag]"));
  1719 + b.each(function () {
  1720 + this.selected || a(this).remove()
  1721 + })
  1722 + }, b
  1723 + }), b.define("select2/data/tokenizer", ["jquery"], function (a) {
  1724 + function b(a, b, c) {
  1725 + var d = c.get("tokenizer");
  1726 + void 0 !== d && (this.tokenizer = d), a.call(this, b, c)
  1727 + }
  1728 +
  1729 + return b.prototype.bind = function (a, b, c) {
  1730 + a.call(this, b, c), this.$search = b.dropdown.$search || b.selection.$search || c.find(".select2-search__field")
  1731 + }, b.prototype.query = function (a, b, c) {
  1732 + function d(a) {
  1733 + e.select(a)
  1734 + }
  1735 +
  1736 + var e = this;
  1737 + b.term = b.term || "";
  1738 + var f = this.tokenizer(b, this.options, d);
  1739 + f.term !== b.term && (this.$search.length && (this.$search.val(f.term), this.$search.focus()), b.term = f.term), a.call(this, b, c)
  1740 + }, b.prototype.tokenizer = function (b, c, d, e) {
  1741 + for (var f = d.get("tokenSeparators") || [], g = c.term, h = 0, i = this.createTag || function (a) {
  1742 + return {id: a.term, text: a.term}
  1743 + }; h < g.length;) {
  1744 + var j = g[h];
  1745 + if (-1 !== a.inArray(j, f)) {
  1746 + var k = g.substr(0, h), l = a.extend({}, c, {term: k}), m = i(l);
  1747 + e(m), g = g.substr(h + 1) || "", h = 0
  1748 + } else h++
  1749 + }
  1750 + return {term: g}
  1751 + }, b
  1752 + }), b.define("select2/data/minimumInputLength", [], function () {
  1753 + function a(a, b, c) {
  1754 + this.minimumInputLength = c.get("minimumInputLength"), a.call(this, b, c)
  1755 + }
  1756 +
  1757 + return a.prototype.query = function (a, b, c) {
  1758 + return b.term = b.term || "", b.term.length < this.minimumInputLength ? void this.trigger("results:message", {
  1759 + message: "inputTooShort",
  1760 + args: {minimum: this.minimumInputLength, input: b.term, params: b}
  1761 + }) : void a.call(this, b, c)
  1762 + }, a
  1763 + }), b.define("select2/data/maximumInputLength", [], function () {
  1764 + function a(a, b, c) {
  1765 + this.maximumInputLength = c.get("maximumInputLength"), a.call(this, b, c)
  1766 + }
  1767 +
  1768 + return a.prototype.query = function (a, b, c) {
  1769 + return b.term = b.term || "", this.maximumInputLength > 0 && b.term.length > this.maximumInputLength ? void this.trigger("results:message", {
  1770 + message: "inputTooLong",
  1771 + args: {maximum: this.maximumInputLength, input: b.term, params: b}
  1772 + }) : void a.call(this, b, c)
  1773 + }, a
  1774 + }), b.define("select2/data/maximumSelectionLength", [], function () {
  1775 + function a(a, b, c) {
  1776 + this.maximumSelectionLength = c.get("maximumSelectionLength"), a.call(this, b, c)
  1777 + }
  1778 +
  1779 + return a.prototype.query = function (a, b, c) {
  1780 + var d = this;
  1781 + this.current(function (e) {
  1782 + var f = null != e ? e.length : 0;
  1783 + return d.maximumSelectionLength > 0 && f >= d.maximumSelectionLength ? void d.trigger("results:message", {
  1784 + message: "maximumSelected",
  1785 + args: {maximum: d.maximumSelectionLength}
  1786 + }) : void a.call(d, b, c)
  1787 + })
  1788 + }, a
  1789 + }), b.define("select2/dropdown", ["jquery", "./utils"], function (a, b) {
  1790 + function c(a, b) {
  1791 + this.$element = a, this.options = b, c.__super__.constructor.call(this)
  1792 + }
  1793 +
  1794 + return b.Extend(c, b.Observable), c.prototype.render = function () {
  1795 + var b = a('<span class="select2-dropdown"><span class="select2-results"></span></span>');
  1796 + return b.attr("dir", this.options.get("dir")), this.$dropdown = b, b
  1797 + }, c.prototype.position = function () {
  1798 + }, c.prototype.destroy = function () {
  1799 + this.$dropdown.remove()
  1800 + }, c
  1801 + }), b.define("select2/dropdown/search", ["jquery", "../utils"], function (a) {
  1802 + function b() {
  1803 + }
  1804 +
  1805 + return b.prototype.render = function (b) {
  1806 + var c = b.call(this),
  1807 + d = a('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" role="textbox" /></span>');
  1808 + return this.$searchContainer = d, this.$search = d.find("input"), c.prepend(d), c
  1809 + }, b.prototype.bind = function (b, c, d) {
  1810 + var e = this;
  1811 + b.call(this, c, d), this.$search.on("keydown", function (a) {
  1812 + e.trigger("keypress", a), e._keyUpPrevented = a.isDefaultPrevented()
  1813 + }), this.$search.on("input", function () {
  1814 + a(this).off("keyup")
  1815 + }), this.$search.on("keyup input", function (a) {
  1816 + e.handleSearch(a)
  1817 + }), c.on("open", function () {
  1818 + e.$search.attr("tabindex", 0), e.$search.focus(), window.setTimeout(function () {
  1819 + e.$search.focus()
  1820 + }, 0)
  1821 + }), c.on("close", function () {
  1822 + e.$search.attr("tabindex", -1), e.$search.val("")
  1823 + }), c.on("results:all", function (a) {
  1824 + if (null == a.query.term || "" === a.query.term) {
  1825 + var b = e.showSearch(a);
  1826 + b ? e.$searchContainer.removeClass("select2-search--hide") : e.$searchContainer.addClass("select2-search--hide")
  1827 + }
  1828 + })
  1829 + }, b.prototype.handleSearch = function () {
  1830 + if (!this._keyUpPrevented) {
  1831 + var a = this.$search.val();
  1832 + this.trigger("query", {term: a})
  1833 + }
  1834 + this._keyUpPrevented = !1
  1835 + }, b.prototype.showSearch = function () {
  1836 + return !0
  1837 + }, b
  1838 + }), b.define("select2/dropdown/hidePlaceholder", [], function () {
  1839 + function a(a, b, c, d) {
  1840 + this.placeholder = this.normalizePlaceholder(c.get("placeholder")), a.call(this, b, c, d)
  1841 + }
  1842 +
  1843 + return a.prototype.append = function (a, b) {
  1844 + b.results = this.removePlaceholder(b.results), a.call(this, b)
  1845 + }, a.prototype.normalizePlaceholder = function (a, b) {
  1846 + return "string" == typeof b && (b = {id: "", text: b}), b
  1847 + }, a.prototype.removePlaceholder = function (a, b) {
  1848 + for (var c = b.slice(0), d = b.length - 1; d >= 0; d--) {
  1849 + var e = b[d];
  1850 + this.placeholder.id === e.id && c.splice(d, 1)
  1851 + }
  1852 + return c
  1853 + }, a
  1854 + }), b.define("select2/dropdown/infiniteScroll", ["jquery"], function (a) {
  1855 + function b(a, b, c, d) {
  1856 + this.lastParams = {}, a.call(this, b, c, d), this.$loadingMore = this.createLoadingMore(), this.loading = !1
  1857 + }
  1858 +
  1859 + return b.prototype.append = function (a, b) {
  1860 + this.$loadingMore.remove(), this.loading = !1, a.call(this, b), this.showLoadingMore(b) && this.$results.append(this.$loadingMore)
  1861 + }, b.prototype.bind = function (b, c, d) {
  1862 + var e = this;
  1863 + b.call(this, c, d), c.on("query", function (a) {
  1864 + e.lastParams = a, e.loading = !0
  1865 + }), c.on("query:append", function (a) {
  1866 + e.lastParams = a, e.loading = !0
  1867 + }), this.$results.on("scroll", function () {
  1868 + var b = a.contains(document.documentElement, e.$loadingMore[0]);
  1869 + if (!e.loading && b) {
  1870 + var c = e.$results.offset().top + e.$results.outerHeight(!1),
  1871 + d = e.$loadingMore.offset().top + e.$loadingMore.outerHeight(!1);
  1872 + c + 50 >= d && e.loadMore()
  1873 + }
  1874 + })
  1875 + }, b.prototype.loadMore = function () {
  1876 + this.loading = !0;
  1877 + var b = a.extend({}, {page: 1}, this.lastParams);
  1878 + b.page++, this.trigger("query:append", b)
  1879 + }, b.prototype.showLoadingMore = function (a, b) {
  1880 + return b.pagination && b.pagination.more
  1881 + }, b.prototype.createLoadingMore = function () {
  1882 + var b = a('<li class="option load-more" role="treeitem"></li>'),
  1883 + c = this.options.get("translations").get("loadingMore");
  1884 + return b.html(c(this.lastParams)), b
  1885 + }, b
  1886 + }), b.define("select2/dropdown/attachBody", ["jquery", "../utils"], function (a, b) {
  1887 + function c(a, b, c) {
  1888 + this.$dropdownParent = c.get("dropdownParent") || document.body, a.call(this, b, c)
  1889 + }
  1890 +
  1891 + return c.prototype.bind = function (a, b, c) {
  1892 + var d = this, e = !1;
  1893 + a.call(this, b, c), b.on("open", function () {
  1894 + d._showDropdown(), d._attachPositioningHandler(b), e || (e = !0, b.on("results:all", function () {
  1895 + d._positionDropdown(), d._resizeDropdown()
  1896 + }), b.on("results:append", function () {
  1897 + d._positionDropdown(), d._resizeDropdown()
  1898 + }))
  1899 + }), b.on("close", function () {
  1900 + d._hideDropdown(), d._detachPositioningHandler(b)
  1901 + }), this.$dropdownContainer.on("mousedown", function (a) {
  1902 + a.stopPropagation()
  1903 + })
  1904 + }, c.prototype.position = function (a, b, c) {
  1905 + b.attr("class", c.attr("class")), b.removeClass("select2"), b.addClass("select2-container--open"), b.css({
  1906 + position: "absolute",
  1907 + top: -999999
  1908 + }), this.$container = c
  1909 + }, c.prototype.render = function (b) {
  1910 + var c = a("<span></span>"), d = b.call(this);
  1911 + return c.append(d), this.$dropdownContainer = c, c
  1912 + }, c.prototype._hideDropdown = function () {
  1913 + this.$dropdownContainer.detach()
  1914 + }, c.prototype._attachPositioningHandler = function (c) {
  1915 + var d = this, e = "scroll.select2." + c.id, f = "resize.select2." + c.id,
  1916 + g = "orientationchange.select2." + c.id, h = this.$container.parents().filter(b.hasScroll);
  1917 + h.each(function () {
  1918 + a(this).data("select2-scroll-position", {x: a(this).scrollLeft(), y: a(this).scrollTop()})
  1919 + }), h.on(e, function () {
  1920 + var b = a(this).data("select2-scroll-position");
  1921 + a(this).scrollTop(b.y)
  1922 + }), a(window).on(e + " " + f + " " + g, function () {
  1923 + d._positionDropdown(), d._resizeDropdown()
  1924 + })
  1925 + }, c.prototype._detachPositioningHandler = function (c) {
  1926 + var d = "scroll.select2." + c.id, e = "resize.select2." + c.id, f = "orientationchange.select2." + c.id,
  1927 + g = this.$container.parents().filter(b.hasScroll);
  1928 + g.off(d), a(window).off(d + " " + e + " " + f)
  1929 + }, c.prototype._positionDropdown = function () {
  1930 + var b = a(window), c = this.$dropdown.hasClass("select2-dropdown--above"),
  1931 + d = this.$dropdown.hasClass("select2-dropdown--below"), e = null,
  1932 + f = (this.$container.position(), this.$container.offset());
  1933 + f.bottom = f.top + this.$container.outerHeight(!1);
  1934 + var g = {height: this.$container.outerHeight(!1)};
  1935 + g.top = f.top, g.bottom = f.top + g.height;
  1936 + var h = {height: this.$dropdown.outerHeight(!1)},
  1937 + i = {top: b.scrollTop(), bottom: b.scrollTop() + b.height()}, j = i.top < f.top - h.height,
  1938 + k = i.bottom > f.bottom + h.height, l = {left: f.left, top: g.bottom};
  1939 + c || d || (e = "below"), k || !j || c ? !j && k && c && (e = "below") : e = "above", ("above" == e || c && "below" !== e) && (l.top = g.top - h.height), null != e && (this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--" + e), this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--" + e)), this.$dropdownContainer.css(l)
  1940 + }, c.prototype._resizeDropdown = function () {
  1941 + this.$dropdownContainer.width();
  1942 + var a = {width: this.$container.outerWidth(!1) + "px"};
  1943 + this.options.get("dropdownAutoWidth") && (a.minWidth = a.width, a.width = "auto"), this.$dropdown.css(a)
  1944 + }, c.prototype._showDropdown = function () {
  1945 + this.$dropdownContainer.appendTo(this.$dropdownParent), this._positionDropdown(), this._resizeDropdown()
  1946 + }, c
  1947 + }), b.define("select2/dropdown/minimumResultsForSearch", [], function () {
  1948 + function a(b) {
  1949 + for (var c = 0, d = 0; d < b.length; d++) {
  1950 + var e = b[d];
  1951 + e.children ? c += a(e.children) : c++
  1952 + }
  1953 + return c
  1954 + }
  1955 +
  1956 + function b(a, b, c, d) {
  1957 + this.minimumResultsForSearch = c.get("minimumResultsForSearch"), this.minimumResultsForSearch < 0 && (this.minimumResultsForSearch = 1 / 0), a.call(this, b, c, d)
  1958 + }
  1959 +
  1960 + return b.prototype.showSearch = function (b, c) {
  1961 + return a(c.data.results) < this.minimumResultsForSearch ? !1 : b.call(this, c)
  1962 + }, b
  1963 + }), b.define("select2/dropdown/selectOnClose", [], function () {
  1964 + function a() {
  1965 + }
  1966 +
  1967 + return a.prototype.bind = function (a, b, c) {
  1968 + var d = this;
  1969 + a.call(this, b, c), b.on("close", function () {
  1970 + d._handleSelectOnClose()
  1971 + })
  1972 + }, a.prototype._handleSelectOnClose = function () {
  1973 + var a = this.getHighlightedResults();
  1974 + a.length < 1 || this.trigger("select", {data: a.data("data")})
  1975 + }, a
  1976 + }), b.define("select2/dropdown/closeOnSelect", [], function () {
  1977 + function a() {
  1978 + }
  1979 +
  1980 + return a.prototype.bind = function (a, b, c) {
  1981 + var d = this;
  1982 + a.call(this, b, c), b.on("select", function (a) {
  1983 + d._selectTriggered(a)
  1984 + }), b.on("unselect", function (a) {
  1985 + d._selectTriggered(a)
  1986 + })
  1987 + }, a.prototype._selectTriggered = function (a, b) {
  1988 + var c = b.originalEvent;
  1989 + c && c.ctrlKey || this.trigger("close")
  1990 + }, a
  1991 + }), b.define("select2/i18n/en", [], function () {
  1992 + return {
  1993 + errorLoading: function () {
  1994 + return "The results could not be loaded."
  1995 + }, inputTooLong: function (a) {
  1996 + var b = a.input.length - a.maximum, c = "Please delete " + b + " character";
  1997 + return 1 != b && (c += "s"), c
  1998 + }, inputTooShort: function (a) {
  1999 + var b = a.minimum - a.input.length, c = "Please enter " + b + " or more characters";
  2000 + return c
  2001 + }, loadingMore: function () {
  2002 + return "Loading more results…"
  2003 + }, maximumSelected: function (a) {
  2004 + var b = "You can only select " + a.maximum + " item";
  2005 + return 1 != a.maximum && (b += "s"), b
  2006 + }, noResults: function () {
  2007 + return "No results found"
  2008 + }, searching: function () {
  2009 + return "Searching…"
  2010 + }
  2011 + }
  2012 + }), b.define("select2/defaults", ["jquery", "require", "./results", "./selection/single", "./selection/multiple", "./selection/placeholder", "./selection/allowClear", "./selection/search", "./selection/eventRelay", "./utils", "./translation", "./diacritics", "./data/select", "./data/array", "./data/ajax", "./data/tags", "./data/tokenizer", "./data/minimumInputLength", "./data/maximumInputLength", "./data/maximumSelectionLength", "./dropdown", "./dropdown/search", "./dropdown/hidePlaceholder", "./dropdown/infiniteScroll", "./dropdown/attachBody", "./dropdown/minimumResultsForSearch", "./dropdown/selectOnClose", "./dropdown/closeOnSelect", "./i18n/en"], function (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, A, B, C) {
  2013 + function D() {
  2014 + this.reset()
  2015 + }
  2016 +
  2017 + D.prototype.apply = function (l) {
  2018 + if (l = a.extend({}, this.defaults, l), null == l.dataAdapter) {
  2019 + if (l.dataAdapter = null != l.ajax ? o : null != l.data ? n : m, l.minimumInputLength > 0 && (l.dataAdapter = j.Decorate(l.dataAdapter, r)), l.maximumInputLength > 0 && (l.dataAdapter = j.Decorate(l.dataAdapter, s)), l.maximumSelectionLength > 0 && (l.dataAdapter = j.Decorate(l.dataAdapter, t)), l.tags && (l.dataAdapter = j.Decorate(l.dataAdapter, p)), (null != l.tokenSeparators || null != l.tokenizer) && (l.dataAdapter = j.Decorate(l.dataAdapter, q)), null != l.query) {
  2020 + var C = b(l.amdBase + "compat/query");
  2021 + l.dataAdapter = j.Decorate(l.dataAdapter, C)
  2022 + }
  2023 + if (null != l.initSelection) {
  2024 + var D = b(l.amdBase + "compat/initSelection");
  2025 + l.dataAdapter = j.Decorate(l.dataAdapter, D)
  2026 + }
  2027 + }
  2028 + if (null == l.resultsAdapter && (l.resultsAdapter = c, null != l.ajax && (l.resultsAdapter = j.Decorate(l.resultsAdapter, x)), null != l.placeholder && (l.resultsAdapter = j.Decorate(l.resultsAdapter, w)), l.selectOnClose && (l.resultsAdapter = j.Decorate(l.resultsAdapter, A))), null == l.dropdownAdapter) {
  2029 + if (l.multiple) l.dropdownAdapter = u; else {
  2030 + var E = j.Decorate(u, v);
  2031 + l.dropdownAdapter = E
  2032 + }
  2033 + if (0 !== l.minimumResultsForSearch && (l.dropdownAdapter = j.Decorate(l.dropdownAdapter, z)), l.closeOnSelect && (l.dropdownAdapter = j.Decorate(l.dropdownAdapter, B)), null != l.dropdownCssClass || null != l.dropdownCss || null != l.adaptDropdownCssClass) {
  2034 + var F = b(l.amdBase + "compat/dropdownCss");
  2035 + l.dropdownAdapter = j.Decorate(l.dropdownAdapter, F)
  2036 + }
  2037 + l.dropdownAdapter = j.Decorate(l.dropdownAdapter, y)
  2038 + }
  2039 + if (null == l.selectionAdapter) {
  2040 + if (l.selectionAdapter = l.multiple ? e : d, null != l.placeholder && (l.selectionAdapter = j.Decorate(l.selectionAdapter, f)), l.allowClear && (l.selectionAdapter = j.Decorate(l.selectionAdapter, g)), l.multiple && (l.selectionAdapter = j.Decorate(l.selectionAdapter, h)), null != l.containerCssClass || null != l.containerCss || null != l.adaptContainerCssClass) {
  2041 + var G = b(l.amdBase + "compat/containerCss");
  2042 + l.selectionAdapter = j.Decorate(l.selectionAdapter, G)
  2043 + }
  2044 + l.selectionAdapter = j.Decorate(l.selectionAdapter, i)
  2045 + }
  2046 + if ("string" == typeof l.language) if (l.language.indexOf("-") > 0) {
  2047 + var H = l.language.split("-"), I = H[0];
  2048 + l.language = [l.language, I]
  2049 + } else l.language = [l.language];
  2050 + if (a.isArray(l.language)) {
  2051 + var J = new k;
  2052 + l.language.push("en");
  2053 + for (var K = l.language, L = 0; L < K.length; L++) {
  2054 + var M = K[L], N = {};
  2055 + try {
  2056 + N = k.loadPath(M)
  2057 + } catch (O) {
  2058 + try {
  2059 + M = this.defaults.amdLanguageBase + M, N = k.loadPath(M)
  2060 + } catch (P) {
  2061 + l.debug && window.console && console.warn && console.warn('Select2: The language file for "' + M + '" could not be automatically loaded. A fallback will be used instead.');
  2062 + continue
  2063 + }
  2064 + }
  2065 + J.extend(N)
  2066 + }
  2067 + l.translations = J
  2068 + } else {
  2069 + var Q = k.loadPath(this.defaults.amdLanguageBase + "en"), R = new k(l.language);
  2070 + R.extend(Q), l.translations = R
  2071 + }
  2072 + return l
  2073 + }, D.prototype.reset = function () {
  2074 + function b(a) {
  2075 + function b(a) {
  2076 + return l[a] || a
  2077 + }
  2078 +
  2079 + return a.replace(/[^\u0000-\u007E]/g, b)
  2080 + }
  2081 +
  2082 + function c(d, e) {
  2083 + if ("" === a.trim(d.term)) return e;
  2084 + if (e.children && e.children.length > 0) {
  2085 + for (var f = a.extend(!0, {}, e), g = e.children.length - 1; g >= 0; g--) {
  2086 + var h = e.children[g], i = c(d, h);
  2087 + null == i && f.children.splice(g, 1)
  2088 + }
  2089 + return f.children.length > 0 ? f : c(d, f)
  2090 + }
  2091 + var j = b(e.text).toUpperCase(), k = b(d.term).toUpperCase();
  2092 + return j.indexOf(k) > -1 ? e : null
  2093 + }
  2094 +
  2095 + this.defaults = {
  2096 + amdBase: "./",
  2097 + amdLanguageBase: "./i18n/",
  2098 + closeOnSelect: !0,
  2099 + debug: !1,
  2100 + dropdownAutoWidth: !1,
  2101 + escapeMarkup: j.escapeMarkup,
  2102 + language: C,
  2103 + matcher: c,
  2104 + minimumInputLength: 0,
  2105 + maximumInputLength: 0,
  2106 + maximumSelectionLength: 0,
  2107 + minimumResultsForSearch: 0,
  2108 + selectOnClose: !1,
  2109 + sorter: function (a) {
  2110 + return a
  2111 + },
  2112 + templateResult: function (a) {
  2113 + return a.text
  2114 + },
  2115 + templateSelection: function (a) {
  2116 + return a.text
  2117 + },
  2118 + theme: "default",
  2119 + width: "resolve"
  2120 + }
  2121 + }, D.prototype.set = function (b, c) {
  2122 + var d = a.camelCase(b), e = {};
  2123 + e[d] = c;
  2124 + var f = j._convertData(e);
  2125 + a.extend(this.defaults, f)
  2126 + };
  2127 + var E = new D;
  2128 + return E
  2129 + }), b.define("select2/options", ["require", "jquery", "./defaults", "./utils"], function (a, b, c, d) {
  2130 + function e(b, e) {
  2131 + if (this.options = b, null != e && this.fromElement(e), this.options = c.apply(this.options), e && e.is("input")) {
  2132 + var f = a(this.get("amdBase") + "compat/inputData");
  2133 + this.options.dataAdapter = d.Decorate(this.options.dataAdapter, f)
  2134 + }
  2135 + }
  2136 +
  2137 + return e.prototype.fromElement = function (a) {
  2138 + var c = ["select2"];
  2139 + null == this.options.multiple && (this.options.multiple = a.prop("multiple")), null == this.options.disabled && (this.options.disabled = a.prop("disabled")), null == this.options.language && (a.prop("lang") ? this.options.language = a.prop("lang").toLowerCase() : a.closest("[lang]").prop("lang") && (this.options.language = a.closest("[lang]").prop("lang"))), null == this.options.dir && (this.options.dir = a.prop("dir") ? a.prop("dir") : a.closest("[dir]").prop("dir") ? a.closest("[dir]").prop("dir") : "ltr"), a.prop("disabled", this.options.disabled), a.prop("multiple", this.options.multiple), a.data("select2Tags") && (this.options.debug && window.console && console.warn && console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'), a.data("data", a.data("select2Tags")), a.data("tags", !0)), a.data("ajaxUrl") && (this.options.debug && window.console && console.warn && console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."), a.attr("ajax--url", a.data("ajaxUrl")), a.data("ajax--url", a.data("ajaxUrl")));
  2140 + var e = {};
  2141 + e = b.fn.jquery && "1." == b.fn.jquery.substr(0, 2) && a[0].dataset ? b.extend(!0, {}, a[0].dataset, a.data()) : a.data();
  2142 + var f = b.extend(!0, {}, e);
  2143 + f = d._convertData(f);
  2144 + for (var g in f) b.inArray(g, c) > -1 || (b.isPlainObject(this.options[g]) ? b.extend(this.options[g], f[g]) : this.options[g] = f[g]);
  2145 + return this
  2146 + }, e.prototype.get = function (a) {
  2147 + return this.options[a]
  2148 + }, e.prototype.set = function (a, b) {
  2149 + this.options[a] = b
  2150 + }, e
  2151 + }), b.define("select2/core", ["jquery", "./options", "./utils", "./keys"], function (a, b, c, d) {
  2152 + var e = function (a, c) {
  2153 + null != a.data("select2") && a.data("select2").destroy(), this.$element = a, this.id = this._generateId(a), c = c || {}, this.options = new b(c, a), e.__super__.constructor.call(this);
  2154 + var d = a.attr("tabindex") || 0;
  2155 + a.data("old-tabindex", d), a.attr("tabindex", "-1");
  2156 + var f = this.options.get("dataAdapter");
  2157 + this.dataAdapter = new f(a, this.options);
  2158 + var g = this.render();
  2159 + this._placeContainer(g);
  2160 + var h = this.options.get("selectionAdapter");
  2161 + this.selection = new h(a, this.options), this.$selection = this.selection.render(), this.selection.position(this.$selection, g);
  2162 + var i = this.options.get("dropdownAdapter");
  2163 + this.dropdown = new i(a, this.options), this.$dropdown = this.dropdown.render(), this.dropdown.position(this.$dropdown, g);
  2164 + var j = this.options.get("resultsAdapter");
  2165 + this.results = new j(a, this.options, this.dataAdapter), this.$results = this.results.render(), this.results.position(this.$results, this.$dropdown);
  2166 + var k = this;
  2167 + this._bindAdapters(), this._registerDomEvents(), this._registerDataEvents(), this._registerSelectionEvents(), this._registerDropdownEvents(), this._registerResultsEvents(), this._registerEvents(), this.dataAdapter.current(function (a) {
  2168 + k.trigger("selection:update", {data: a})
  2169 + }), a.addClass("select2-hidden-accessible"), a.attr("aria-hidden", "true"), this._syncAttributes(), a.data("select2", this)
  2170 + };
  2171 + return c.Extend(e, c.Observable), e.prototype._generateId = function (a) {
  2172 + var b = "";
  2173 + return b = null != a.attr("id") ? a.attr("id") : null != a.attr("name") ? a.attr("name") + "-" + c.generateChars(2) : c.generateChars(4), b = "select2-" + b
  2174 + }, e.prototype._placeContainer = function (a) {
  2175 + a.insertAfter(this.$element);
  2176 + var b = this._resolveWidth(this.$element, this.options.get("width"));
  2177 + null != b && a.css("width", b)
  2178 + }, e.prototype._resolveWidth = function (a, b) {
  2179 + var c = /^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;
  2180 + if ("resolve" == b) {
  2181 + var d = this._resolveWidth(a, "style");
  2182 + return null != d ? d : this._resolveWidth(a, "element")
  2183 + }
  2184 + if ("element" == b) {
  2185 + var e = a.outerWidth(!1);
  2186 + return 0 >= e ? "auto" : e + "px"
  2187 + }
  2188 + if ("style" == b) {
  2189 + var f = a.attr("style");
  2190 + if ("string" != typeof f) return null;
  2191 + for (var g = f.split(";"), h = 0, i = g.length; i > h; h += 1) {
  2192 + var j = g[h].replace(/\s/g, ""), k = j.match(c);
  2193 + if (null !== k && k.length >= 1) return k[1]
  2194 + }
  2195 + return null
  2196 + }
  2197 + return b
  2198 + }, e.prototype._bindAdapters = function () {
  2199 + this.dataAdapter.bind(this, this.$container), this.selection.bind(this, this.$container), this.dropdown.bind(this, this.$container), this.results.bind(this, this.$container)
  2200 + }, e.prototype._registerDomEvents = function () {
  2201 + var b = this;
  2202 + this.$element.on("change.select2", function () {
  2203 + b.dataAdapter.current(function (a) {
  2204 + b.trigger("selection:update", {data: a})
  2205 + })
  2206 + }), this._sync = c.bind(this._syncAttributes, this), this.$element[0].attachEvent && this.$element[0].attachEvent("onpropertychange", this._sync);
  2207 + var d = window.MutationObserver || window.WebKitMutationObserver || window.MozMutationObserver;
  2208 + null != d ? (this._observer = new d(function (c) {
  2209 + a.each(c, b._sync)
  2210 + }), this._observer.observe(this.$element[0], {
  2211 + attributes: !0,
  2212 + subtree: !1
  2213 + })) : this.$element[0].addEventListener && this.$element[0].addEventListener("DOMAttrModified", b._sync, !1)
  2214 + }, e.prototype._registerDataEvents = function () {
  2215 + var a = this;
  2216 + this.dataAdapter.on("*", function (b, c) {
  2217 + a.trigger(b, c)
  2218 + })
  2219 + }, e.prototype._registerSelectionEvents = function () {
  2220 + var b = this, c = ["toggle"];
  2221 + this.selection.on("toggle", function () {
  2222 + b.toggleDropdown()
  2223 + }), this.selection.on("*", function (d, e) {
  2224 + -1 === a.inArray(d, c) && b.trigger(d, e)
  2225 + })
  2226 + }, e.prototype._registerDropdownEvents = function () {
  2227 + var a = this;
  2228 + this.dropdown.on("*", function (b, c) {
  2229 + a.trigger(b, c)
  2230 + })
  2231 + }, e.prototype._registerResultsEvents = function () {
  2232 + var a = this;
  2233 + this.results.on("*", function (b, c) {
  2234 + a.trigger(b, c)
  2235 + })
  2236 + }, e.prototype._registerEvents = function () {
  2237 + var a = this;
  2238 + this.on("open", function () {
  2239 + a.$container.addClass("select2-container--open")
  2240 + }), this.on("close", function () {
  2241 + a.$container.removeClass("select2-container--open")
  2242 + }), this.on("enable", function () {
  2243 + a.$container.removeClass("select2-container--disabled")
  2244 + }), this.on("disable", function () {
  2245 + a.$container.addClass("select2-container--disabled")
  2246 + }), this.on("focus", function () {
  2247 + a.$container.addClass("select2-container--focus")
  2248 + }), this.on("blur", function () {
  2249 + a.$container.removeClass("select2-container--focus")
  2250 + }), this.on("query", function (b) {
  2251 + a.isOpen() || a.trigger("open"), this.dataAdapter.query(b, function (c) {
  2252 + a.trigger("results:all", {data: c, query: b})
  2253 + })
  2254 + }), this.on("query:append", function (b) {
  2255 + this.dataAdapter.query(b, function (c) {
  2256 + a.trigger("results:append", {data: c, query: b})
  2257 + })
  2258 + }), this.on("keypress", function (b) {
  2259 + var c = b.which;
  2260 + a.isOpen() ? c === d.ENTER ? (a.trigger("results:select"), b.preventDefault()) : c === d.SPACE && b.ctrlKey ? (a.trigger("results:toggle"), b.preventDefault()) : c === d.UP ? (a.trigger("results:previous"), b.preventDefault()) : c === d.DOWN ? (a.trigger("results:next"), b.preventDefault()) : (c === d.ESC || c === d.TAB) && (a.close(), b.preventDefault()) : (c === d.ENTER || c === d.SPACE || (c === d.DOWN || c === d.UP) && b.altKey) && (a.open(), b.preventDefault())
  2261 + })
  2262 + }, e.prototype._syncAttributes = function () {
  2263 + this.options.set("disabled", this.$element.prop("disabled")), this.options.get("disabled") ? (this.isOpen() && this.close(), this.trigger("disable")) : this.trigger("enable")
  2264 + }, e.prototype.trigger = function (a, b) {
  2265 + var c = e.__super__.trigger,
  2266 + d = {open: "opening", close: "closing", select: "selecting", unselect: "unselecting"};
  2267 + if (a in d) {
  2268 + var f = d[a], g = {prevented: !1, name: a, args: b};
  2269 + if (c.call(this, f, g), g.prevented) return void (b.prevented = !0)
  2270 + }
  2271 + c.call(this, a, b)
  2272 + }, e.prototype.toggleDropdown = function () {
  2273 + this.options.get("disabled") || (this.isOpen() ? this.close() : this.open())
  2274 + }, e.prototype.open = function () {
  2275 + this.isOpen() || (this.trigger("query", {}), this.trigger("open"))
  2276 + }, e.prototype.close = function () {
  2277 + this.isOpen() && this.trigger("close")
  2278 + }, e.prototype.isOpen = function () {
  2279 + return this.$container.hasClass("select2-container--open")
  2280 + }, e.prototype.enable = function (a) {
  2281 + this.options.get("debug") && window.console && console.warn && console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'), (null == a || 0 === a.length) && (a = [!0]);
  2282 + var b = !a[0];
  2283 + this.$element.prop("disabled", b)
  2284 + }, e.prototype.data = function () {
  2285 + this.options.get("debug") && arguments.length > 0 && window.console && console.warn && console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');
  2286 + var a = [];
  2287 + return this.dataAdapter.current(function (b) {
  2288 + a = b
  2289 + }), a
  2290 + }, e.prototype.val = function (b) {
  2291 + if (this.options.get("debug") && window.console && console.warn && console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'), null == b || 0 === b.length) return this.$element.val();
  2292 + var c = b[0];
  2293 + a.isArray(c) && (c = a.map(c, function (a) {
  2294 + return a.toString()
  2295 + })), this.$element.val(c).trigger("change")
  2296 + }, e.prototype.destroy = function () {
  2297 + this.$container.remove(), this.$element[0].detachEvent && this.$element[0].detachEvent("onpropertychange", this._sync), null != this._observer ? (this._observer.disconnect(), this._observer = null) : this.$element[0].removeEventListener && this.$element[0].removeEventListener("DOMAttrModified", this._sync, !1), this._sync = null, this.$element.off(".select2"), this.$element.attr("tabindex", this.$element.data("old-tabindex")), this.$element.removeClass("select2-hidden-accessible"), this.$element.attr("aria-hidden", "false"), this.$element.removeData("select2"), this.dataAdapter.destroy(), this.selection.destroy(), this.dropdown.destroy(), this.results.destroy(), this.dataAdapter = null, this.selection = null, this.dropdown = null, this.results = null
  2298 + }, e.prototype.render = function () {
  2299 + var b = a('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');
  2300 + return b.attr("dir", this.options.get("dir")), this.$container = b, this.$container.addClass("select2-container--" + this.options.get("theme")), b.data("element", this.$element), b
  2301 + }, e
  2302 + }), b.define("select2/compat/utils", ["jquery"], function (a) {
  2303 + function b(b, c, d) {
  2304 + var e, f, g = [];
  2305 + e = a.trim(b.attr("class")), e && (e = "" + e, a(e.split(/\s+/)).each(function () {
  2306 + 0 === this.indexOf("select2-") && g.push(this)
  2307 + })), e = a.trim(c.attr("class")), e && (e = "" + e, a(e.split(/\s+/)).each(function () {
  2308 + 0 !== this.indexOf("select2-") && (f = d(this), null != f && g.push(f))
  2309 + })), b.attr("class", g.join(" "))
  2310 + }
  2311 +
  2312 + return {syncCssClasses: b}
  2313 + }), b.define("select2/compat/containerCss", ["jquery", "./utils"], function (a, b) {
  2314 + function c() {
  2315 + return null
  2316 + }
  2317 +
  2318 + function d() {
  2319 + }
  2320 +
  2321 + return d.prototype.render = function (d) {
  2322 + var e = d.call(this), f = this.options.get("containerCssClass") || "";
  2323 + a.isFunction(f) && (f = f(this.$element));
  2324 + var g = this.options.get("adaptContainerCssClass");
  2325 + if (g = g || c, -1 !== f.indexOf(":all:")) {
  2326 + f = f.replace(":all", "");
  2327 + var h = g;
  2328 + g = function (a) {
  2329 + var b = h(a);
  2330 + return null != b ? b + " " + a : a
  2331 + }
  2332 + }
  2333 + var i = this.options.get("containerCss") || {};
  2334 + return a.isFunction(i) && (i = i(this.$element)), b.syncCssClasses(e, this.$element, g), e.css(i), e.addClass(f), e
  2335 + }, d
  2336 + }), b.define("select2/compat/dropdownCss", ["jquery", "./utils"], function (a, b) {
  2337 + function c() {
  2338 + return null
  2339 + }
  2340 +
  2341 + function d() {
  2342 + }
  2343 +
  2344 + return d.prototype.render = function (d) {
  2345 + var e = d.call(this), f = this.options.get("dropdownCssClass") || "";
  2346 + a.isFunction(f) && (f = f(this.$element));
  2347 + var g = this.options.get("adaptDropdownCssClass");
  2348 + if (g = g || c, -1 !== f.indexOf(":all:")) {
  2349 + f = f.replace(":all", "");
  2350 + var h = g;
  2351 + g = function (a) {
  2352 + var b = h(a);
  2353 + return null != b ? b + " " + a : a
  2354 + }
  2355 + }
  2356 + var i = this.options.get("dropdownCss") || {};
  2357 + return a.isFunction(i) && (i = i(this.$element)), b.syncCssClasses(e, this.$element, g), e.css(i), e.addClass(f), e
  2358 + }, d
  2359 + }), b.define("select2/compat/initSelection", ["jquery"], function (a) {
  2360 + function b(a, b, c) {
  2361 + c.get("debug") && window.console && console.warn && console.warn("Select2: The `initSelection` option has been deprecated in favor of a custom data adapter that overrides the `current` method. This method is now called multiple times instead of a single time when the instance is initialized. Support will be removed for the `initSelection` option in future versions of Select2"), this.initSelection = c.get("initSelection"), this._isInitialized = !1, a.call(this, b, c)
  2362 + }
  2363 +
  2364 + return b.prototype.current = function (b, c) {
  2365 + var d = this;
  2366 + return this._isInitialized ? void b.call(this, c) : void this.initSelection.call(null, this.$element, function (b) {
  2367 + d._isInitialized = !0, a.isArray(b) || (b = [b]), c(b)
  2368 + })
  2369 + }, b
  2370 + }), b.define("select2/compat/inputData", ["jquery"], function (a) {
  2371 + function b(a, b, c) {
  2372 + this._currentData = [], this._valueSeparator = c.get("valueSeparator") || ",", "hidden" === b.prop("type") && c.get("debug") && console && console.warn && console.warn("Select2: Using a hidden input with Select2 is no longer supported and may stop working in the future. It is recommended to use a `<select>` element instead."), a.call(this, b, c)
  2373 + }
  2374 +
  2375 + return b.prototype.current = function (b, c) {
  2376 + function d(b, c) {
  2377 + var e = [];
  2378 + return b.selected || -1 !== a.inArray(b.id, c) ? (b.selected = !0, e.push(b)) : b.selected = !1, b.children && e.push.apply(e, d(b.children, c)), e
  2379 + }
  2380 +
  2381 + for (var e = [], f = 0; f < this._currentData.length; f++) {
  2382 + var g = this._currentData[f];
  2383 + e.push.apply(e, d(g, this.$element.val().split(this._valueSeparator)))
  2384 + }
  2385 + c(e)
  2386 + }, b.prototype.select = function (b, c) {
  2387 + if (this.options.get("multiple")) {
  2388 + var d = this.$element.val();
  2389 + d += this._valueSeparator + c.id, this.$element.val(d), this.$element.trigger("change")
  2390 + } else this.current(function (b) {
  2391 + a.map(b, function (a) {
  2392 + a.selected = !1
  2393 + })
  2394 + }), this.$element.val(c.id), this.$element.trigger("change")
  2395 + }, b.prototype.unselect = function (a, b) {
  2396 + var c = this;
  2397 + b.selected = !1, this.current(function (a) {
  2398 + for (var d = [], e = 0; e < a.length; e++) {
  2399 + var f = a[e];
  2400 + b.id != f.id && d.push(f.id)
  2401 + }
  2402 + c.$element.val(d.join(c._valueSeparator)), c.$element.trigger("change")
  2403 + })
  2404 + }, b.prototype.query = function (a, b, c) {
  2405 + for (var d = [], e = 0; e < this._currentData.length; e++) {
  2406 + var f = this._currentData[e], g = this.matches(b, f);
  2407 + null !== g && d.push(g)
  2408 + }
  2409 + c({results: d})
  2410 + }, b.prototype.addOptions = function (b, c) {
  2411 + var d = a.map(c, function (b) {
  2412 + return a.data(b[0], "data")
  2413 + });
  2414 + this._currentData.push.apply(this._currentData, d)
  2415 + }, b
  2416 + }), b.define("select2/compat/matcher", ["jquery"], function (a) {
  2417 + function b(b) {
  2418 + function c(c, d) {
  2419 + var e = a.extend(!0, {}, d);
  2420 + if (null == c.term || "" === a.trim(c.term)) return e;
  2421 + if (d.children) {
  2422 + for (var f = d.children.length - 1; f >= 0; f--) {
  2423 + var g = d.children[f], h = b(c.term, g.text, g);
  2424 + h || e.children.splice(f, 1)
  2425 + }
  2426 + if (e.children.length > 0) return e
  2427 + }
  2428 + return b(c.term, d.text, d) ? e : null
  2429 + }
  2430 +
  2431 + return c
  2432 + }
  2433 +
  2434 + return b
  2435 + }), b.define("select2/compat/query", [], function () {
  2436 + function a(a, b, c) {
  2437 + c.get("debug") && window.console && console.warn && console.warn("Select2: The `query` option has been deprecated in favor of a custom data adapter that overrides the `query` method. Support will be removed for the `query` option in future versions of Select2."), a.call(this, b, c)
  2438 + }
  2439 +
  2440 + return a.prototype.query = function (a, b, c) {
  2441 + b.callback = c;
  2442 + var d = this.options.get("query");
  2443 + d.call(null, b)
  2444 + }, a
  2445 + }), b.define("select2/dropdown/attachContainer", [], function () {
  2446 + function a(a, b, c) {
  2447 + a.call(this, b, c)
  2448 + }
  2449 +
  2450 + return a.prototype.position = function (a, b, c) {
  2451 + var d = c.find(".dropdown-wrapper");
  2452 + d.append(b), b.addClass("select2-dropdown--below"), c.addClass("select2-container--below")
  2453 + }, a
  2454 + }), b.define("select2/dropdown/stopPropagation", [], function () {
  2455 + function a() {
  2456 + }
  2457 +
  2458 + return a.prototype.bind = function (a, b, c) {
  2459 + a.call(this, b, c);
  2460 + var d = ["blur", "change", "click", "dblclick", "focus", "focusin", "focusout", "input", "keydown", "keyup", "keypress", "mousedown", "mouseenter", "mouseleave", "mousemove", "mouseover", "mouseup", "search", "touchend", "touchstart"];
  2461 + this.$dropdown.on(d.join(" "), function (a) {
  2462 + a.stopPropagation()
  2463 + })
  2464 + }, a
  2465 + }), b.define("select2/selection/stopPropagation", [], function () {
  2466 + function a() {
  2467 + }
  2468 +
  2469 + return a.prototype.bind = function (a, b, c) {
  2470 + a.call(this, b, c);
  2471 + var d = ["blur", "change", "click", "dblclick", "focus", "focusin", "focusout", "input", "keydown", "keyup", "keypress", "mousedown", "mouseenter", "mouseleave", "mousemove", "mouseover", "mouseup", "search", "touchend", "touchstart"];
  2472 + this.$selection.on(d.join(" "), function (a) {
  2473 + a.stopPropagation()
  2474 + })
  2475 + }, a
  2476 + }), b.define("jquery.select2", ["jquery", "require", "./select2/core", "./select2/defaults"], function (a, b, c, d) {
  2477 + if (b("jquery.mousewheel"), null == a.fn.select2) {
  2478 + var e = ["open", "close", "destroy"];
  2479 + a.fn.select2 = function (b) {
  2480 + if (b = b || {}, "object" == typeof b) return this.each(function () {
  2481 + {
  2482 + var d = a.extend({}, b, !0);
  2483 + new c(a(this), d)
  2484 + }
  2485 + }), this;
  2486 + if ("string" == typeof b) {
  2487 + var d = this.data("select2");
  2488 + null == d && window.console && console.error && console.error("The select2('" + b + "') method was called on an element that is not using Select2.");
  2489 + var f = Array.prototype.slice.call(arguments, 1), g = d[b](f);
  2490 + return a.inArray(b, e) > -1 ? this : g
  2491 + }
  2492 + throw new Error("Invalid arguments for Select2: " + b)
  2493 + }
  2494 + }
  2495 + return null == a.fn.select2.defaults && (a.fn.select2.defaults = d), c
  2496 + }), function (c) {
  2497 + "function" == typeof b.define && b.define.amd ? b.define("jquery.mousewheel", ["jquery"], c) : "object" == typeof exports ? module.exports = c : c(a)
  2498 + }(function (a) {
  2499 + function b(b) {
  2500 + var g = b || window.event, h = i.call(arguments, 1), j = 0, l = 0, m = 0, n = 0, o = 0, p = 0;
  2501 + if (b = a.event.fix(g), b.type = "mousewheel", "detail" in g && (m = -1 * g.detail), "wheelDelta" in g && (m = g.wheelDelta), "wheelDeltaY" in g && (m = g.wheelDeltaY), "wheelDeltaX" in g && (l = -1 * g.wheelDeltaX), "axis" in g && g.axis === g.HORIZONTAL_AXIS && (l = -1 * m, m = 0), j = 0 === m ? l : m, "deltaY" in g && (m = -1 * g.deltaY, j = m), "deltaX" in g && (l = g.deltaX, 0 === m && (j = -1 * l)), 0 !== m || 0 !== l) {
  2502 + if (1 === g.deltaMode) {
  2503 + var q = a.data(this, "mousewheel-line-height");
  2504 + j *= q, m *= q, l *= q
  2505 + } else if (2 === g.deltaMode) {
  2506 + var r = a.data(this, "mousewheel-page-height");
  2507 + j *= r, m *= r, l *= r
  2508 + }
  2509 + if (n = Math.max(Math.abs(m), Math.abs(l)), (!f || f > n) && (f = n, d(g, n) && (f /= 40)), d(g, n) && (j /= 40, l /= 40, m /= 40), j = Math[j >= 1 ? "floor" : "ceil"](j / f), l = Math[l >= 1 ? "floor" : "ceil"](l / f), m = Math[m >= 1 ? "floor" : "ceil"](m / f), k.settings.normalizeOffset && this.getBoundingClientRect) {
  2510 + var s = this.getBoundingClientRect();
  2511 + o = b.clientX - s.left, p = b.clientY - s.top
  2512 + }
  2513 + return b.deltaX = l, b.deltaY = m, b.deltaFactor = f, b.offsetX = o, b.offsetY = p, b.deltaMode = 0, h.unshift(b, j, l, m), e && clearTimeout(e), e = setTimeout(c, 200), (a.event.dispatch || a.event.handle).apply(this, h)
  2514 + }
  2515 + }
  2516 +
  2517 + function c() {
  2518 + f = null
  2519 + }
  2520 +
  2521 + function d(a, b) {
  2522 + return k.settings.adjustOldDeltas && "mousewheel" === a.type && b % 120 === 0
  2523 + }
  2524 +
  2525 + var e, f, g = ["wheel", "mousewheel", "DOMMouseScroll", "MozMousePixelScroll"],
  2526 + h = "onwheel" in document || document.documentMode >= 9 ? ["wheel"] : ["mousewheel", "DomMouseScroll", "MozMousePixelScroll"],
  2527 + i = Array.prototype.slice;
  2528 + if (a.event.fixHooks) for (var j = g.length; j;) a.event.fixHooks[g[--j]] = a.event.mouseHooks;
  2529 + var k = a.event.special.mousewheel = {
  2530 + version: "3.1.12", setup: function () {
  2531 + if (this.addEventListener) for (var c = h.length; c;) this.addEventListener(h[--c], b, !1); else this.onmousewheel = b;
  2532 + a.data(this, "mousewheel-line-height", k.getLineHeight(this)), a.data(this, "mousewheel-page-height", k.getPageHeight(this))
  2533 + }, teardown: function () {
  2534 + if (this.removeEventListener) for (var c = h.length; c;) this.removeEventListener(h[--c], b, !1); else this.onmousewheel = null;
  2535 + a.removeData(this, "mousewheel-line-height"), a.removeData(this, "mousewheel-page-height")
  2536 + }, getLineHeight: function (b) {
  2537 + var c = a(b), d = c["offsetParent" in a.fn ? "offsetParent" : "parent"]();
  2538 + return d.length || (d = a("body")), parseInt(d.css("fontSize"), 10) || parseInt(c.css("fontSize"), 10) || 16
  2539 + }, getPageHeight: function (b) {
  2540 + return a(b).height()
  2541 + }, settings: {adjustOldDeltas: !0, normalizeOffset: !0}
  2542 + };
  2543 + a.fn.extend({
  2544 + mousewheel: function (a) {
  2545 + return a ? this.bind("mousewheel", a) : this.trigger("mousewheel")
  2546 + }, unmousewheel: function (a) {
  2547 + return this.unbind("mousewheel", a)
  2548 + }
  2549 + })
  2550 + }), {define: b.define, require: b.require}
  2551 + }(), c = b.require("jquery.select2");
  2552 + return a.fn.select2.amd = b, c
  2553 +});
5 2554 \ No newline at end of file
... ...
src/main/resources/templates/common/frame.html
... ... @@ -11,15 +11,15 @@
11 11 </a>
12 12 <!-- Header Navbar: style can be found in header.less -->
13 13 <script>
14   - $(document).ready(function(){
15   - $("#dropdown").click(function(){
16   - $("#dropdown-menu").toggle();
17   - });
18   - });
19   - $(document).bind("click",function(){
20   - $('#dropdown-menu').hide();
21   - });
22   - </script>
  14 + $(document).ready(function () {
  15 + $("#dropdown").click(function () {
  16 + $("#dropdown-menu").toggle();
  17 + });
  18 + });
  19 + $(document).bind("click", function () {
  20 + $('#dropdown-menu').hide();
  21 + });
  22 + </script>
23 23 <nav class="navbar navbar-static-top" role="navigation">
24 24 <!-- Sidebar toggle button-->
25 25 <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
... ... @@ -29,7 +29,8 @@
29 29 <ul class="nav navbar-nav">
30 30 <li class="dropdown messages-menu" style="margin: 0 auto">
31 31 <span class="label label-primary" style="height: 2em;
32   -line-height: 2em; margin: 0 auto;font-size: 2em" th:text="${session.sessionUser.company}+'('+${session.sessionUser.spid}+')'">
  32 +line-height: 2em; margin: 0 auto;font-size: 2em"
  33 + th:text="${session.sessionUser.company}+'('+${session.sessionUser.spid}+')'">
33 34 </span>
34 35 </li>
35 36 <!-- User Account: style can be found in dropdown.less -->
... ... @@ -40,19 +41,22 @@ line-height: 2em; margin: 0 auto;font-size: 2em&quot; th:text=&quot;${session.sessionUser.
40 41 </span>
41 42  
42 43 </a>
43   - <ul class="dropdown-menu" id="dropdown-menu" >
  44 + <ul class="dropdown-menu" id="dropdown-menu">
44 45 <li class="user-header">
45 46 <img th:src="@{${session.sessionUser.logo}}" class="img-circle" alt="User Image">
46 47 <p th:text="${session.sessionUser.email}">
47 48  
48 49 </p>
49 50 </li>
50   - <li class="user-footer" >
51   - <div class="pull-left" th:if="${session.sessionUser.spid==0 }">
52   - <a style="background:#3c8dbc" href="http://console.open.cnlive.com/open/console/user/info" target="black" class="btn btn-default btn-flat">账号管理</a>
  51 + <li class="user-footer">
  52 + <div class="pull-left" th:if="${session.sessionUser.spid==0 }">
  53 + <a style="background:#3c8dbc"
  54 + href="http://console.open.cnlive.com/open/console/user/info" target="black"
  55 + class="btn btn-default btn-flat">账号管理</a>
53 56 </div>
54 57 <div class="pull-right">
55   - <a style="background:#3c8dbc" href="/users/logout" class="btn btn-default btn-flat">注销</a>
  58 + <a style="background:#3c8dbc" href="/users/logout"
  59 + class="btn btn-default btn-flat">注销</a>
56 60 </div>
57 61 </li>
58 62 </ul>
... ... @@ -82,9 +86,9 @@ line-height: 2em; margin: 0 auto;font-size: 2em&quot; th:text=&quot;${session.sessionUser.
82 86 <li><a href="/topic/page?shenhe_status=0&receive=0" id="/topic/page"> 话题审核</a></li>
83 87 <li><a href="/channel/page?shenhe_status=0&receive=0" id="/channel/page"> 频道审核</a></li>
84 88 <li><a href="/liveApply/page?shenhe_state=0&receive=0" id="/liveApply/page">直播申请审核</a></li>
  89 + <li><a href="/activity/page?shenhe_state=0&receive=0" id="/activity/page"> 活动管理</a></li>
85 90 </ul>
86 91 </li>
87   -<!-- <li class="treeview" th:if="${session.sessionUser.spid==0 or session.sessionUser.master}"> -->
88 92 <li class="treeview" th:if="${session.sessionUser.spid==0 }">
89 93 <a href="#">
90 94 <span class="menu-item-top">系统管理</span>
... ... @@ -95,6 +99,7 @@ line-height: 2em; margin: 0 auto;font-size: 2em&quot; th:text=&quot;${session.sessionUser.
95 99 <li><a href="/email/page" id="/email/page"> 邮件消息管理</a></li>
96 100 <li><a href="/usersFree/page" id="/usersFree/page"> 网++白名单管理</a></li>
97 101 <li><a href="/notSpeak/page" id="/notSpeak/page"> 网++禁言管理</a></li>
  102 +<!-- <li><a href="/activity/page" id="/activity/page"> 活动管理</a></li>-->
98 103 </ul>
99 104 </li>
100 105 </ul>
... ...
src/main/resources/templates/page/activity.html 0 → 100644
  1 +<!DOCTYPE html>
  2 +<html lang="zh" xmlns:th="http://www.thymeleaf.org">
  3 +
  4 +<head th:replace="../templates/common/head::head"></head>
  5 +<style type="text/css">
  6 + .fixed-table-toolbar .bs-bars, .fixed-table-toolbar .columns, .fixed-table-toolbar .search {
  7 + margin-top: 0px;
  8 + }
  9 +
  10 + .table {
  11 + margin-bottom: 0;
  12 + }
  13 +
  14 +
  15 + .switch {
  16 + position: relative;
  17 + display: inline-block;
  18 + width: 60px;
  19 + height: 34px;
  20 + }
  21 +
  22 + .switch input {
  23 + display: none;
  24 + }
  25 +
  26 + .slider {
  27 + position: absolute;
  28 + cursor: pointer;
  29 + top: 0;
  30 + left: 0;
  31 + right: 0;
  32 + bottom: 0;
  33 + background-color: red;
  34 + -webkit-transition: .4s;
  35 + transition: .4s;
  36 + }
  37 +
  38 + .slider:before {
  39 + position: absolute;
  40 + content: "";
  41 + height: 26px;
  42 + width: 26px;
  43 + left: 4px;
  44 + bottom: 4px;
  45 + background-color: white;
  46 + -webkit-transition: .4s;
  47 + transition: .4s;
  48 + }
  49 +
  50 + input:checked + .slider {
  51 + background-color: #2196F3;
  52 + }
  53 +
  54 + input:focus + .slider {
  55 + box-shadow: 0 0 1px #2196F3;
  56 + }
  57 +
  58 + input:checked + .slider:before {
  59 + -webkit-transform: translateX(26px);
  60 + -ms-transform: translateX(26px);
  61 + transform: translateX(26px);
  62 + }
  63 +
  64 + /* Rounded sliders */
  65 + .slider.round {
  66 + border-radius: 34px;
  67 + }
  68 +
  69 + .slider.round:before {
  70 + border-radius: 50%;
  71 + }
  72 +
  73 +</style>
  74 +<body class="skin-blue sidebar-mini">
  75 +
  76 +<div class="wrapper">
  77 +
  78 + <div th:replace="../templates/common/frame::frame"></div>
  79 +
  80 + <div class="content-wrapper" style="min-height: 788px;">
  81 + <section class="content-header">
  82 + <h1>
  83 + 活动管理
  84 + </h1>
  85 + <ol class="breadcrumb">
  86 + <li>首页</li>
  87 + <li>系统管理</li>
  88 + <li class="active">活动管理</li>
  89 + </ol>
  90 + </section>
  91 + <section class="content">
  92 + <div class="row">
  93 + <div class="col-xs-12">
  94 + <div class="box box-info">
  95 + <div class="box-body">
  96 + <div class="btn-group margin-bottom " style="padding: 0; width: 98%; float: right;">
  97 + <div class="columns columns-right btn-group ">
  98 + <button class="btn btn-success" onclick="javascript:add(0)" type="button"
  99 + name="refresh" title="添加" id="email_addS">添加
  100 + </button>
  101 + </div>
  102 + <div class="col-md-6 pull-right" style="padding: 0; width: 5%;">
  103 + <button class="btn btn-default" type="button" name="refresh"
  104 + title="搜索" id="QueryAll">搜索
  105 + </button>
  106 + </div>
  107 + <div class="col-md-6 pull-right" style="padding: 0; width: 20%;">
  108 + <label for="mobile" class="control-label cb-toolbar"
  109 + style="font-size: 15px; top: 8px; font-weight: 100;">活动名称:</label>
  110 + <div class="col-sm-7" style="padding: 0;">
  111 + <input class="form-control" type="text" th:value="${param.activity}"
  112 + id="activity_query">
  113 + </div>
  114 + </div>
  115 + <div class="col-md-5 pull-right" style="padding: 0; width: 15%;">
  116 + <label for="sp_id" class="control-label cb-toolbar"
  117 + style="font-size: 15px; top: 8px; font-weight: 100;">是否审核:</label>
  118 + <div class="col-sm-7" style="padding: 0;">
  119 +
  120 + <select class="form-control" id="exempt_from_trial_query"
  121 + name="exempt_from_trial">
  122 + <option value="" name="-全部审免类型-" th:selected="selected">-全部审核类型-</option>
  123 + <option value="0" name="未审核">未审免</option>
  124 + <option value="1" name="已经审核">已经审免</option>
  125 + </select>
  126 + </div>
  127 + </div>
  128 + </div>
  129 +
  130 +
  131 + <div class="fixed-table-container" style="padding-bottom: 0px;">
  132 + <div class="fixed-table-body">
  133 + <table data-toggle="table" data-pagination="true" data-search="false"
  134 + data-show-refresh="true"
  135 + data-show-toggle="true" data-show-columns="true" data-toolbar="#toolbar"
  136 + class="table table-hover">
  137 + <thead>
  138 + <tr>
  139 + <th style="text-align: center; width: 5%;" data-field="sp_id" tabindex="0">
  140 + <div class="th-inner ">活动ID</div>
  141 + <div class="fht-cell"></div>
  142 + </th>
  143 + <th style="text-align: center; width: 12%;" data-field="sp_id_brief"
  144 + tabindex="0">
  145 + <div class="th-inner ">活动名称</div>
  146 + <div class="fht-cell"></div>
  147 + </th>
  148 +
  149 + <th style="text-align: center; width: 12%;" data-field="upload_time"
  150 + tabindex="0">
  151 + <div class="th-inner ">创建时间</div>
  152 + <div class="fht-cell"></div>
  153 + </th>
  154 + <th style="text-align: center; width: 12%;" data-field="updated_at"
  155 + tabindex="0">
  156 + <div class="th-inner ">更新时间</div>
  157 + <div class="fht-cell"></div>
  158 + </th>
  159 +
  160 + <th style="text-align: center; width: 12%;" data-field="upload_time"
  161 + tabindex="0">
  162 + <div class="th-inner ">免审状态</div>
  163 + <div class="fht-cell"></div>
  164 + </th>
  165 +
  166 + <th style="text-align: center; width: 10%;" data-field="action"
  167 + tabindex="0">
  168 + <div class="th-inner ">操作</div>
  169 + <div class="fht-cell"></div>
  170 + </th>
  171 + </tr>
  172 + </thead>
  173 + <tbody>
  174 + <tr th:data-index="${ShyActivityStat.index}"
  175 + th:each="ShyActivity :${ShyActivitylist.list}">
  176 + <td style="text-align: center; width: 5%;" th:text="${ShyActivity.id}">82
  177 + </td>
  178 + <td style="text-align: center; width: 12%;"
  179 + th:text="${ShyActivity.activity}">视讯中国
  180 + </td>
  181 + <td style="text-align: center; width: 12%;"
  182 + th:text="${#dates.format(ShyActivity.create_time, 'yyyy-MM-dd HH:mm:ss')}">
  183 + 2018-11-22
  184 + 23:08:48
  185 + </td>
  186 + <td style="text-align: center; width: 12%;"
  187 + th:text="${#dates.format(ShyActivity.update_time, 'yyyy-MM-dd HH:mm:ss')}">
  188 + 2016-08-03
  189 + 14:27:17
  190 + </td>
  191 +
  192 + <td style="text-align: center; width: 12%;"
  193 + th:text="${ShyActivity.exempt_from_trial} == 1 ? 已经免审 : 未免审">
  194 + 2016-08-03
  195 + 14:27:17
  196 + </td>
  197 +
  198 + <td style="text-align: center; width: 10%;">
  199 + <span>&nbsp;</span>
  200 + <a class="edit"
  201 + th:href="'javascript:edit('+${ShyActivity.id}+',\''+${ShyActivity.activity}+'\',\''+${ShyActivity.exempt_from_trial} +'\')'">
  202 + <button class="btn btn-primary btn-xs">修改</button>
  203 + </a><span> </span><span>&nbsp;</span>
  204 + <span>&nbsp;</span>
  205 + <a class="delete" th:href="'javascript:deleted('+${ShyActivity.id}+')'">
  206 + <button class="btn btn-danger btn-xs">删除</button>
  207 + </a><span> </span><span>&nbsp;</span>
  208 + </td>
  209 + </tr>
  210 + </tbody>
  211 + </table>
  212 + </div>
  213 +
  214 + <div class="fixed-table-pagination" style="display: block;">
  215 + <div class="pull-left pagination-detail">
  216 + <span class="pagination-info"
  217 + th:text="'共 '+${ShyActivitylist.total}+' 条记录,每页显示'">共 0 条记录</span>
  218 + <select class="" id="pageSize" name="pageSize"
  219 + onchange="selectPageSize()">
  220 + <option value="10" th:selected="${ShyActivitylist.pageSize==10}">10</option>
  221 + <option value="20" th:selected="${ShyActivitylist.pageSize==20}">20</option>
  222 + <option value="50" th:selected="${ShyActivitylist.pageSize==50}">50</option>
  223 + <option value="100" th:selected="${ShyActivitylist.pageSize==100}">100
  224 + </option>
  225 + </select> <span class="pagination-info">条记录</span>
  226 + </div>
  227 + <div class="pull-right pagination">
  228 + <ul class="pagination" th:if="${ShyActivitylist.pages>1}">
  229 + <li class="page-pre"><a
  230 + th:href="'javascript:fanye(1);'">‹‹</a></li>
  231 + <li class="page-pre" th:if="${!ShyActivitylist.isFirstPage}"><a
  232 + th:onclick="'javascript:fanye(\''+${ShyActivitylist.pageNum-1}+'\');'">‹</a>
  233 + </li>
  234 +
  235 + <li class="page-number" th:if="${ShyActivitylist.pageNum-3>=1}"><a
  236 + th:onclick="'javascript:fanye(\''+${ShyActivitylist.pageNum-3}+'\');'"
  237 + th:text="${ShyActivitylist.pageNum-3}">2</a></li>
  238 + <li class="page-number" th:if="${ShyActivitylist.pageNum-2>=1}"><a
  239 + th:onclick="'javascript:fanye(\''+${ShyActivitylist.pageNum-2}+'\');'"
  240 + th:text="${ShyActivitylist.pageNum-2}">2</a></li>
  241 + <li class="page-number" th:if="${ShyActivitylist.pageNum-1>=1}"><a
  242 + th:onclick="'javascript:fanye(\''+${ShyActivitylist.pageNum-1}+'\');'"
  243 + th:text="${ShyActivitylist.pageNum-1}">2</a></li>
  244 + <li class="page-number active"><a
  245 + href="javaScript:void(0);"
  246 + th:text="${ShyActivitylist.pageNum}">2</a></li>
  247 + <li class="page-number"
  248 + th:if="${ShyActivitylist.pageNum+1<=ShyActivitylist.pages}"><a
  249 + th:onclick="'javascript:fanye(\''+${ShyActivitylist.pageNum+1}+'\');'"
  250 + th:text="${ShyActivitylist.pageNum+1}">2</a></li>
  251 + <li class="page-number"
  252 + th:if="${ShyActivitylist.pageNum+2<=ShyActivitylist.pages}"><a
  253 + th:onclick="'javascript:fanye(\''+${ShyActivitylist.pageNum+2}+'\');'"
  254 + th:text="${ShyActivitylist.pageNum+2}">2</a></li>
  255 + <li class="page-number"
  256 + th:if="${ShyActivitylist.pageNum+3<=ShyActivitylist.pages}"><a
  257 + th:onclick="'javascript:fanye(\''+${ShyActivitylist.pageNum+3}+'\');'"
  258 + th:text="${ShyActivitylist.pageNum+3}">2</a></li>
  259 +
  260 + <li class="page-next" th:if="${!ShyActivitylist.isLastPage}"><a
  261 + th:onclick="'javascript:fanye(\''+${ShyActivitylist.pageNum+1}+'\');'">›</a>
  262 + </li>
  263 + <li class="page-next"><a
  264 + th:onclick="'javascript:fanye(\''+${ShyActivitylist.pages}+'\');'">››</a>
  265 + </li>
  266 + </ul>
  267 + </div>
  268 + </div>
  269 + </div>
  270 + </div>
  271 + <div class="clearfix"></div>
  272 + </div>
  273 + </div>
  274 + </div>
  275 + </section>
  276 + </div>
  277 +
  278 + <!-- 模态框(Modal)1 -->
  279 + <div class="modal fade" id="editModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
  280 + aria-hidden="true">
  281 + <div class="modal-dialog">
  282 + <div class="modal-content" style="margin-top: 30%;">
  283 + <div class="modal-header">
  284 + <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
  285 + <h4 class="modal-title" id="myModalLabel">编辑活动</h4>
  286 + </div>
  287 + <div class="modal-body">
  288 + <form action="/activity/update" method="post" id="editWrite">
  289 + <input type="text" name="redirect_url" value="" class="hide" id="redirect_url"/>
  290 + <div class="form-group hide">
  291 + <label class="control-label col-sm-3" style="font-size: 15px;">Id:</label>
  292 + <div class="col-sm-9" style="margin-top: -5px;margin-bottom: 20px;">
  293 + <input class="form-control" style="width:30%;" type="text" value="" id="id" name="id">
  294 + </div>
  295 + </div>
  296 + <div class="form-group">
  297 + <label class="control-label col-sm-3" style="font-size: 15px;">活动名称:</label>
  298 + <div class="col-sm-9" style="margin-top: -5px;margin-bottom: 20px;">
  299 + <input class="form-control" style="width:40%;" type="text" value="" id="activity"
  300 + name="activity">
  301 + </div>
  302 + </div>
  303 +
  304 + <div class="form-group">
  305 + <label class="control-label col-sm-3" style="font-size: 15px;">审核类型:</label>
  306 + <div class="col-sm-9" style="margin-top: -5px;margin-bottom: 20px;">
  307 +
  308 + <select class="" id="exempt_from_trial" name="exempt_from_trial">
  309 + <option value="" name="-选择审核类型-">-选择审核类型-</option>
  310 + <option value="0" name="未审核">未审免</option>
  311 + <option value="1" name="已经审核">已经审免</option>
  312 + </select>
  313 + </div>
  314 + </div>
  315 +
  316 + </form>
  317 + </div>
  318 + <div class="modal-footer">
  319 + <button type="button" class="btn btn-primary" onclick="submitUpate()">提交
  320 + </button>
  321 + <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
  322 + </div>
  323 + </div>
  324 + </div>
  325 + </div>
  326 +
  327 +
  328 + <!-- 模态框(Modal)2 -->
  329 + <div class="modal fade" id="editModal1" tabindex="-1" role="dialog" aria-labelledby="myModalLabel1"
  330 + aria-hidden="true">
  331 + <div class="modal-dialog">
  332 + <div class="modal-content" style="margin-top: 30%;">
  333 + <div class="modal-header">
  334 + <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
  335 + <h4 class="modal-title" id="myModalLabel1">添加活动</h4>
  336 + </div>
  337 + <div class="modal-body">
  338 + <form action="/activity/add" method="post" id="editWrite1">
  339 + <input type="text" name="redirect_url" value="" class="hide" id="redirect_url1"/>
  340 + <div class="form-group hide">
  341 + <label class="control-label col-sm-3" style="font-size: 15px;">Id:</label>
  342 + <div class="col-sm-9" style="margin-top: -5px;margin-bottom: 20px;">
  343 + <input class="form-control" style="width:30%;" type="text" value="" id="id1" name="id">
  344 + </div>
  345 + </div>
  346 + <div class="form-group">
  347 + <label class="control-label col-sm-3" style="font-size: 15px;">活动名称:</label>
  348 + <div class="col-sm-9" style="margin-top: -5px;margin-bottom: 20px;">
  349 + <input class="form-control" style="width:40%;" type="text" value="" id="activity1"
  350 + name="activity">
  351 + </div>
  352 + </div>
  353 +
  354 + <div class="form-group">
  355 + <label class="control-label col-sm-3" style="font-size: 15px;">审核类型:</label>
  356 + <div class="col-sm-9" style="margin-top: -5px;margin-bottom: 20px;">
  357 + <input class="form-control" style="width:40%;" type="text" value="0"
  358 + id="exempt_from_trial1"
  359 + name="exempt_from_trial">
  360 + </div>
  361 + </div>
  362 +
  363 + </form>
  364 + </div>
  365 + <div class="modal-footer">
  366 + <button type="button" class="btn btn-primary"
  367 + onclick="submitAdd()">提交
  368 + </button>
  369 + <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
  370 + </div>
  371 + </div>
  372 + </div>
  373 + </div>
  374 +
  375 + <script>
  376 + // 添加事件
  377 + function submitAdd() {
  378 + var activity1 = $("#activity1").val();
  379 + var exempt_from_trial1 = $("#exempt_from_trial1").val();
  380 + $.post("/activity/add?activity=" + activity1 + "&exempt_from_trial=" + exempt_from_trial1, function (data) {
  381 + if (data.errorCode == 0) {
  382 + alert(data.errorMessage);
  383 + location.href = location.href;
  384 + } else {
  385 + alert(data.errorMessage);
  386 + }
  387 + })
  388 + }
  389 +
  390 + // 修改事件
  391 + function submitUpate() {
  392 + var id = $("#id").val();
  393 + var activity = $("#activity").val();
  394 + var exempt_from_trial = $("#exempt_from_trial").val();
  395 + $.post("/activity/update?exempt_from_trial=" + exempt_from_trial + "&activity=" + activity + "&id=" + id, function (data) {
  396 + if (data.errorCode == 0) {
  397 + alert(data.errorMessage);
  398 + location.href = location.href;
  399 + } else {
  400 + alert(data.errorMessage);
  401 + }
  402 + })
  403 + }
  404 +
  405 + //打开编辑窗口
  406 + function edit(Id, activity, exempt_from_trial) {
  407 + $("#myModalLabel").text("编辑活动名称是否免审");
  408 + $("#id").val(Id);
  409 + $("#activity").val(activity);
  410 + $("#activity").attr("readonly", "true");
  411 + $("#exempt_from_trial").val(exempt_from_trial);
  412 + $("#exempt_from_trial").removeAttr("readonly");
  413 + $("#redirect_url").val(location.pathname + location.search);
  414 + $(".write_check input").prop("checked", false);
  415 + $('#editModal').modal('show');
  416 + }
  417 +
  418 + //打开添加窗口
  419 + function add(exempt_from_trial) {
  420 + $("#id1").val("");
  421 + $("#activity1").val("");
  422 + $("#activity1").removeAttr("readonly");
  423 + $("#exempt_from_trial1").val(exempt_from_trial);
  424 + $("#exempt_from_trial1").attr("readonly", "true");
  425 + $(".write_check input").prop("checked", false);
  426 + $("#redirect_url1").val(location.pathname + location.search);
  427 + $("#myModalLabel1").text("添加活动名称");
  428 + $('#editModal1').modal('show');
  429 +
  430 + }
  431 +
  432 + //删除操作
  433 + function deleted(id) {
  434 + var r = confirm("您确定删除本条内容吗?");
  435 + if (r == true) {
  436 + $.post("/activity/delete?id=" + id, function (data) {
  437 + if (data.errorCode == 0) {
  438 + alert(data.errorMessage);
  439 + location.href = location.href;
  440 + } else {
  441 + alert(data.errorMessage);
  442 + }
  443 + })
  444 + }
  445 + }
  446 +
  447 + //翻页函数
  448 + function fanye(page) {
  449 + var param = location.search;
  450 + if (param.indexOf("pageNum=") != -1) {
  451 + var se = param.replace("?", "");//去掉问号,防止问号和要去掉的参数相连
  452 + var split = se.split("&");
  453 + var h = "";
  454 + for (var i = 0; i < split.length; i++) {
  455 + var s = split[i];
  456 + if (s.indexOf("pageNum=") < 0) h = h + "&" + split[i];
  457 + }
  458 + h = h.substring(1, h.length);
  459 + window.location.href = "/activity/page?" + h + "&pageNum=" + page;
  460 + } else {
  461 + param = param.substring(1, param.length);
  462 + window.location.href = "/activity/page?" + param + "&pageNum=" + page;
  463 + }
  464 + }
  465 +
  466 + //选择每页数量触发函数
  467 + function selectPageSize() {
  468 + var pageSize = $("#pageSize").val();
  469 + var param = location.search;
  470 + if (param.indexOf("pageSize=") != -1) {
  471 + var se = param.replace("?", "");//去掉问号,防止问号和要去掉的参数相连
  472 + var split = se.split("&");
  473 + var h = "";
  474 + for (var i = 0; i < split.length; i++) {
  475 + var s = split[i];
  476 + if (s.indexOf("pageSize=") < 0 && s.indexOf("pageNum=") < 0) h = h + "&" + split[i];
  477 + }
  478 + h = h.substring(1, h.length);
  479 + window.location.href = "/activity/page?" + h + "&pageSize=" + pageSize;
  480 + } else {
  481 + var se = param.replace("?", "");//去掉问号,防止问号和要去掉的参数相连
  482 + var split = se.split("&");
  483 + var h = "";
  484 + for (var i = 0; i < split.length; i++) {
  485 + var s = split[i];
  486 + if (s.indexOf("pageNum=") < 0) h = h + "&" + split[i];
  487 + }
  488 + h = h.substring(1, h.length);
  489 + window.location.href = "/activity/page?" + h + "&pageSize=" + pageSize;
  490 + }
  491 + }
  492 +
  493 + //搜索事件
  494 + $('#QueryAll').click(function () {
  495 + var activity = $("#activity_query").val();
  496 + var exempt_from_trial = $("#exempt_from_trial_query").val();
  497 + var pageSize = $("#pageSize").val();
  498 + window.location.href = "/activity/page?activity=" + activity + "&exempt_from_trial=" + exempt_from_trial + "&pageSize=" + pageSize;
  499 + });
  500 +
  501 + //鼠标回车事件
  502 + $(document).keyup(function (event) {
  503 + if (event.keyCode == 13) {
  504 + $("#emailQuery").trigger("click");
  505 + }
  506 + });
  507 + </script>
  508 +
  509 + <footer th:replace="../templates/common/foot::foot"></footer>
  510 +
  511 +
  512 + <!-- Add the sidebar's background. This div must be placed
  513 + immediately after the control sidebar -->
  514 + <div class="control-sidebar-bg" style="position: fixed; height: auto;"></div>
  515 +
  516 +</div><!-- ./wrapper -->
  517 +
  518 +
  519 +<!-- Resolve conflict in jQuery UI tooltip with Bootstrap tooltip -->
  520 +<script type="text/javascript">
  521 + $('div.alert').not('.alert-danger').delay(3000).slideUp(300);
  522 +</script>
  523 +
  524 +<!-- AdminLTE App -->
  525 +<script src="../../static/js/app.min.js"></script>
  526 +<!-- AdminLTE for demo purposes -->
  527 +<script src="../../static/js/sidebar.js"></script>
  528 +
  529 +
  530 +</body>
  531 +</html>
0 532 \ No newline at end of file
... ...
src/main/resources/templates/page/video.html
... ... @@ -135,61 +135,21 @@
135 135 </div>
136 136 </div>
137 137  
  138 +
138 139 <div class="col-md-6" style="padding: 0;width: 25%;">
139 140 <label for="state" class="control-label cb-toolbar">分类:</label>
140 141 <div class="col-sm-10" style="padding: 0;">
141 142 <select class="form-control" id="source" name="source">
142   - <option value="">全部</option>
143   - <option value="moment">朋友圈</option>
144   - <option value="29">我们的声音上太空</option>
145   - <option value="0">上传目击者视频</option>
146   - <option value="1">童声共济视频</option>
147   - <option value="2">全民健身视频</option>
148   - <option value="3">问政监管视频</option>
149   - <option value="4">中国网老年大学视频</option>
150   - <option value="5">美食中国视频</option>
151   - <option value="6">旅游摄影大赛视频</option>
152   - <option value="18">红色故事演讲</option>
153   - <option value="19">红色诗词朗诵</option>
154   - <option value="20">红色短剧展演</option>
155   - <option value="7">全国老年大学公开课评选活动</option>
156   - <option value="8">甲申同文</option>
157   - <option value="9">中国老年大学艺术团万人同唱一首歌</option>
158   - <option value="10">孩子声音上太空视频</option>
159   - <option value="100">追问发布会</option>
160   - <option value="11">芳华归来个人</option>
161   - <option value="12">芳华归来团体</option>
162   - <option value="13">小小表演家</option>
163   - <option value="14">中国微电影</option>
164   - <option value="15">幼儿闯关</option>
165   - <option value="16">少儿闯关</option>
166   - <option value="101">电商-cms</option>
167   - <option value="17">青岛读书</option>
168   - <option value="21">视频号</option>
169   - <option value="29">中国故事上太空</option>
170   - <option value="30">绽放夕阳二期</option>
171   - <option value="31">绽放夕阳三期</option>
172   - <option value="33">万人同唱献给党-独唱</option>
173   - <option value="34">万人同唱献给党-合唱</option>
174   - <option value="35">精英少年作品展示</option>
175   - <option value="36">上太空成年</option>
176   - <option value="37">中国推介</option>
177   - <option value="38">教学成果展</option>
178   - <option value="39">绽放夕阳</option>
179   - <option value="40">家乡推介</option>
180   - <option value="41">老体协-柔力球</option>
181   - <option value="42">老体协-健身球操</option>
182   - <option value="43">老体协-太极拳</option>
183   - <option value="44">老体协-持杖健走</option>
184   - <option value="45">老体协-广场舞</option>
185   - <option value="46">老体协-健身秧歌(鼓)</option>
186   - <option value="47">老体协-综合类</option>
187   - <option value="48">少儿吟诵</option>
188   - <option value="49">少年先锋</option>
189   - <option value="50">巾帼故事汇</option>
190   - <option value="51">浣花吟唱节</option>
  143 + <option value="" >全部</option>
  144 + <option th:each="activitys : ${activityList}"
  145 + th:selected="${source}==${activitys.id}"
  146 + th:value="${activitys.id}"
  147 + th:text="${activitys.activity}">
  148 + </option>
  149 +
191 150 </select>
192   - <!--<input class="form-control" name="video_priority" type="text" id="video_priority">-->
  151 +
  152 + <!--< input class="form-control" name="video_priority" type="text" id="video_priority">-->
193 153 </div>
194 154 </div>
195 155 </div>
... ...