Commit 49e3ad630d48e5a612c7e859284a5412be86d3a0
Merge remote-tracking branch 'origin/dev' into dev
# Conflicts: # src/main/java/com/cnlive/shenhe/controller/VideosController.java # src/main/resources/templates/page/video.html
Showing
15 changed files
with
4315 additions
and
259 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] | ... | ... |
src/main/java/com/cnlive/shenhe/controller/ShyActivityController.java
0 → 100644
| 1 | +package com.cnlive.shenhe.controller; | |
| 2 | +// | |
| 3 | +// _ooOoo_ | |
| 4 | +// o8888888o | |
| 5 | +// 88" . "88 | |
| 6 | +// (| -_- |) | |
| 7 | +// O\ = /O | |
| 8 | +// ____/`---'\____ | |
| 9 | +// . ' \\| |// `. | |
| 10 | +// / \\||| : |||// \ | |
| 11 | +// / _||||| -:- |||||- \ | |
| 12 | +// | | \\\ - /// | | | |
| 13 | +// | \_| ''\---/'' | | | |
| 14 | +// \ .-\__ `-` ___/-. / | |
| 15 | +// ___`. .' /--.--\ `. . __ | |
| 16 | +// ."" '< `.___\_<|>_/___.' >'"". | |
| 17 | +// | | : `- \`.;`\ _ /`;.`/ - ` : | | | |
| 18 | +// \ \ `-. \_ __\ /__ _/ .-` / / | |
| 19 | +// ======`-.____`-.___\_____/___.-`____.-'====== | |
| 20 | +// `=---=' | |
| 21 | +// | |
| 22 | +// ............................................. | |
| 23 | +// 佛祖镇楼 BUG辟易 | |
| 24 | +// 佛曰: | |
| 25 | +// 写字楼里写字间,写字间里程序员; | |
| 26 | +// 程序人员写程序,又拿程序换酒钱。 | |
| 27 | +// 酒醒只在网上坐,酒醉还来网下眠; | |
| 28 | +// 酒醉酒醒日复日,网上网下年复年。 | |
| 29 | +// 但愿老死电脑间,不愿鞠躬老板前; | |
| 30 | +// 奔驰宝马贵者趣,公交自行程序员。 | |
| 31 | +// 别人笑我忒疯癫,我笑自己命太贱; | |
| 32 | +// | |
| 33 | + | |
| 34 | +import com.cnlive.shenhe.bean.ErrorEnum; | |
| 35 | +import com.cnlive.shenhe.bean.ResponseBean; | |
| 36 | +import com.cnlive.shenhe.entity.ShyActivity; | |
| 37 | +import com.cnlive.shenhe.serviceImpl.ShyActivityImpl; | |
| 38 | +import com.github.pagehelper.PageInfo; | |
| 39 | +import org.springframework.beans.factory.annotation.Autowired; | |
| 40 | +import org.springframework.stereotype.Controller; | |
| 41 | +import org.springframework.ui.Model; | |
| 42 | +import org.springframework.web.bind.annotation.*; | |
| 43 | + | |
| 44 | +import java.util.List; | |
| 45 | + | |
| 46 | +/** | |
| 47 | + * @author Administrator | |
| 48 | + * @author yanzhaowang | |
| 49 | + * @create 2022-03-08 12:37 | |
| 50 | + */ | |
| 51 | +@Controller | |
| 52 | +@RequestMapping("/page") | |
| 53 | +public class ShyActivityController { | |
| 54 | + @Autowired | |
| 55 | + private ShyActivityImpl shyActivityImpl; | |
| 56 | + | |
| 57 | + @PostMapping("/add") | |
| 58 | + @ResponseBody | |
| 59 | + public ResponseBean insterShyActivity(ShyActivity shyActivity, Model model){ | |
| 60 | + int i = shyActivityImpl.insertShyActivity(shyActivity); | |
| 61 | + if (i>0) { | |
| 62 | + return new ResponseBean(ErrorEnum.SUCCESS.getErrorCode(), "当前用户添加成功"); | |
| 63 | + } | |
| 64 | + return new ResponseBean(ErrorEnum.ERROR.getErrorCode(), "添加失败,请重试"); | |
| 65 | + } | |
| 66 | + | |
| 67 | + @DeleteMapping("/delete/{id}") | |
| 68 | + @ResponseBody | |
| 69 | + public ResponseBean deleteShyActivity(@PathVariable(value = "id") Integer id,Model model){ | |
| 70 | + int i = shyActivityImpl.deleteShyActivity(id); | |
| 71 | + if (i>0) { | |
| 72 | + return new ResponseBean(ErrorEnum.SUCCESS.getErrorCode(), "删除当前用户添加成功"); | |
| 73 | + } | |
| 74 | + return new ResponseBean(ErrorEnum.ERROR.getErrorCode(), "删除失败,请重试"); | |
| 75 | + | |
| 76 | + } | |
| 77 | + @PutMapping("/update") | |
| 78 | + @ResponseBody | |
| 79 | + public ResponseBean updateShyActivity(ShyActivity shyActivity,Model model){ | |
| 80 | + int i = shyActivityImpl.updateShyActivity(shyActivity); | |
| 81 | + if (i>0) { | |
| 82 | + return new ResponseBean(ErrorEnum.SUCCESS.getErrorCode(), "修改当前用户添加成功"); | |
| 83 | + } | |
| 84 | + return new ResponseBean(ErrorEnum.ERROR.getErrorCode(), "修改失败,请重试"); | |
| 85 | + | |
| 86 | + } | |
| 87 | + | |
| 88 | + @GetMapping("/get/{page}/{Pagesize}") | |
| 89 | + public String getShyActivity(Integer id,@PathVariable(name = "page",value = "1") Integer page,@PathVariable(name = "Pagesize",value = "10") Integer Pagesize,Model model){ | |
| 90 | + PageInfo<ShyActivity> shyActivityPageInfo = shyActivityImpl.selectByExample(page, Pagesize, id); | |
| 91 | + List<ShyActivity> list = shyActivityPageInfo.getList(); | |
| 92 | + model.addAttribute("list", list); | |
| 93 | + return "page/activity.html"; | |
| 94 | + } | |
| 95 | + | |
| 96 | +} | ... | ... |
src/main/java/com/cnlive/shenhe/controller/VideosController.java
| 1 | 1 | package com.cnlive.shenhe.controller; |
| 2 | 2 | |
| 3 | +import com.cnlive.shenhe.entity.ShyActivity; | |
| 4 | +import com.cnlive.shenhe.serviceImpl.ShyActivityImpl; | |
| 5 | +import com.cnlive.shenhe.utils.*; | |
| 6 | +import org.apache.poi.xssf.usermodel.XSSFCell; | |
| 7 | +import org.apache.poi.xssf.usermodel.XSSFRow; | |
| 8 | +import org.apache.poi.xssf.usermodel.XSSFSheet; | |
| 9 | +import org.apache.poi.xssf.usermodel.XSSFWorkbook; | |
| 3 | 10 | import com.alibaba.fastjson.JSON; |
| 4 | 11 | import com.alibaba.fastjson.JSONObject; |
| 5 | 12 | import com.cnlive.shenhe.bean.ErrorEnum; |
| ... | ... | @@ -11,12 +18,8 @@ import com.cnlive.shenhe.entity.ShyVideos; |
| 11 | 18 | import com.cnlive.shenhe.serviceImpl.SitesServiceImpl; |
| 12 | 19 | import com.cnlive.shenhe.serviceImpl.UsersServiceImpl; |
| 13 | 20 | import com.cnlive.shenhe.serviceImpl.VideosServiceImpl; |
| 14 | -import com.cnlive.shenhe.utils.*; | |
| 15 | 21 | import com.github.pagehelper.PageInfo; |
| 16 | -import org.apache.poi.xssf.usermodel.XSSFCell; | |
| 17 | -import org.apache.poi.xssf.usermodel.XSSFRow; | |
| 18 | -import org.apache.poi.xssf.usermodel.XSSFSheet; | |
| 19 | -import org.apache.poi.xssf.usermodel.XSSFWorkbook; | |
| 22 | +import org.jsoup.helper.DataUtil; | |
| 20 | 23 | import org.slf4j.Logger; |
| 21 | 24 | import org.slf4j.LoggerFactory; |
| 22 | 25 | import org.springframework.beans.factory.annotation.Autowired; |
| ... | ... | @@ -29,6 +32,7 @@ import org.springframework.web.bind.annotation.PostMapping; |
| 29 | 32 | import org.springframework.web.bind.annotation.RequestMapping; |
| 30 | 33 | import org.springframework.web.bind.annotation.ResponseBody; |
| 31 | 34 | |
| 35 | +import javax.persistence.criteria.CriteriaBuilder; | |
| 32 | 36 | import javax.servlet.ServletOutputStream; |
| 33 | 37 | import javax.servlet.http.HttpServletResponse; |
| 34 | 38 | import javax.servlet.http.HttpSession; |
| ... | ... | @@ -51,6 +55,8 @@ public class VideosController extends BaseController { |
| 51 | 55 | UsersServiceImpl usersService; |
| 52 | 56 | @Autowired |
| 53 | 57 | SitesServiceImpl sitesService; |
| 58 | + @Autowired | |
| 59 | + ShyActivityImpl shyActivityImpl; | |
| 54 | 60 | |
| 55 | 61 | @Value("${qn_domain}") |
| 56 | 62 | String qn_domain; |
| ... | ... | @@ -191,106 +197,114 @@ public class VideosController extends BaseController { |
| 191 | 197 | if (CommonUtils.isNotEmpty(videos.getCategory()) && videos.getCategory().equals(CommonConst.CATEGORY_WITNESS)) { |
| 192 | 198 | //0-目击者 1-童声共济 2-全民健身 3-目击者政府监督 4-美食中国 5-老年大学 6-旅游摄影大赛 7-老年大学公开课 8-甲申同文 9-万人同唱一首歌 10-上太空 11-芳华归来个人 12-芳华归来团体 13-小小表演家 100-追问发布会 33-万人同唱献给党-独唱 34-万人同唱献给党-合唱 |
| 193 | 199 | 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() + "(目击者)"); | |
| 200 | + | |
| 201 | + //如果source1不等于null;直接查询 | |
| 202 | + if (CommonUtils.isNotEmpty(source1)) { | |
| 203 | + List<ShyActivity> activityList = shyActivityImpl.selectAll(); | |
| 204 | + model.addAttribute("activityList", activityList); | |
| 205 | + //遍历集合拿到集合中的每一个对象 | |
| 206 | + for (ShyActivity activity : activityList) { | |
| 207 | + //从对象中获取属性值set给videos对象 | |
| 208 | + if (activity.getId().equals(Integer.valueOf(source1))) { | |
| 209 | + videos.setSpid_desc(activity.getActivity()); | |
| 210 | + } | |
| 211 | + break; | |
| 212 | + } | |
| 288 | 213 | } |
| 289 | - } else if (CommonUtils.isNotEmpty(videos.getCategory()) && videos.getCategory().equals(CommonConst.CATEGORY_MOMENT)) { | |
| 290 | - videos.setSpid_desc(shySites.getName() + "(朋友圈)"); | |
| 214 | + //videos.setSpid_desc("童声共济" + "(目击者)"); | |
| 215 | + //} else if ("2".equals(source1)) { | |
| 216 | + // videos.setSpid_desc("全民健身" + "(目击者)"); | |
| 217 | + //} else if ("3".equals(source1)) { | |
| 218 | + // videos.setSpid_desc("政府监督" + "(目击者)"); | |
| 219 | + //} else if ("4".equals(source1)) { | |
| 220 | + // videos.setSpid_desc("美食中国" + "(目击者)"); | |
| 221 | + //} else if ("5".equals(source1)) { | |
| 222 | + // videos.setSpid_desc("老年大学" + "(目击者)"); | |
| 223 | + //} else if ("6".equals(source1)) { | |
| 224 | + // videos.setSpid_desc("旅游摄影大赛" + "(目击者)"); | |
| 225 | + //} else if ("7".equals(source1)) { | |
| 226 | + // videos.setSpid_desc("老年大学公开课" + "(目击者)"); | |
| 227 | + //} else if ("8".equals(source1)) { | |
| 228 | + // videos.setSpid_desc("甲申同文" + "(目击者)"); | |
| 229 | + //} else if ("9".equals(source1)) { | |
| 230 | + // videos.setSpid_desc("万人同唱一首歌" + "(目击者)"); | |
| 231 | + //} else if ("10".equals(source1)) { | |
| 232 | + // videos.setSpid_desc("上太空" + "(目击者)"); | |
| 233 | + //} else if ("11".equals(source1)) { | |
| 234 | + // videos.setSpid_desc("芳华归来个人" + "(目击者)"); | |
| 235 | + //} else if ("12".equals(source1)) { | |
| 236 | + // videos.setSpid_desc("芳华归来团体" + "(目击者)"); | |
| 237 | + //} else if ("13".equals(source1)) { | |
| 238 | + // videos.setSpid_desc("小小表演家" + "(目击者)"); | |
| 239 | + //} else if ("100".equals(source1)) { | |
| 240 | + // videos.setSpid_desc("追问发布会" + "(目击者)"); | |
| 241 | + //} else if ("14".equals(source1)) { | |
| 242 | + // videos.setSpid_desc("中国微电影" + "(目击者)"); | |
| 243 | + //} else if ("15".equals(source1)) { | |
| 244 | + // videos.setSpid_desc("幼儿闯关" + "(目击者)"); | |
| 245 | + //} else if ("16".equals(source1)) { | |
| 246 | + // videos.setSpid_desc("少儿闯关" + "(目击者)"); | |
| 247 | + //} else if ("101".equals(source1)) { | |
| 248 | + // videos.setSpid_desc("电商-cms" + "(目击者)"); | |
| 249 | + //} else if ("17".equals(source1)) { | |
| 250 | + // videos.setSpid_desc("青岛读书" + "(目击者)"); | |
| 251 | + //} else if ("18".equals(source1)) { | |
| 252 | + // videos.setSpid_desc("红色故事演讲" + "(目击者)"); | |
| 253 | + //} else if ("19".equals(source1)) { | |
| 254 | + // videos.setSpid_desc("红色诗词朗诵" + "(目击者)"); | |
| 255 | + //} else if ("20".equals(source1)) { | |
| 256 | + // videos.setSpid_desc("红色短剧展演" + "(目击者)"); | |
| 257 | + //} else if ("21".equals(source1)) { | |
| 258 | + // videos.setSpid_desc("视频号" + "(目击者)"); | |
| 259 | + //} else if ("29".equals(source1)) { | |
| 260 | + // videos.setSpid_desc("中国故事上太空" + "(目击者)"); | |
| 261 | + //} else if ("30".equals(source1)) { | |
| 262 | + // videos.setSpid_desc("绽放夕阳二期" + "(目击者)"); | |
| 263 | + //} else if ("31".equals(source1)) { | |
| 264 | + // videos.setSpid_desc("绽放夕阳三期" + "(目击者)"); | |
| 265 | + //} else if ("33".equals(source1)) { | |
| 266 | + // videos.setSpid_desc("万人同唱献给党-独唱" + "(目击者)"); | |
| 267 | + //} else if ("34".equals(source1)) { | |
| 268 | + // videos.setSpid_desc("万人同唱献给党-合唱" + "(目击者)"); | |
| 269 | + //} else if ("29".equals(source1)) { | |
| 270 | + // videos.setSpid_desc("我们的声音上太空" + "(目击者)"); | |
| 271 | + //} else if ("35".equals(source1)) { | |
| 272 | + // videos.setSpid_desc("精英少年作品展示" + "(目击者)"); | |
| 273 | + //} else if ("36".equals(source1)) { | |
| 274 | + // videos.setSpid_desc("上太空成年" + "(目击者)"); | |
| 275 | + //} else if ("37".equals(source1)) { | |
| 276 | + // videos.setSpid_desc("中国推介" + "(目击者)"); | |
| 277 | + //} else if ("38".equals(source1)) { | |
| 278 | + // videos.setSpid_desc("教学成果展" + "(目击者)"); | |
| 279 | + //} else if ("39".equals(source1)) { | |
| 280 | + // videos.setSpid_desc("绽放夕阳" + "(目击者)"); | |
| 281 | + //} else if ("40".equals(source1)) { | |
| 282 | + // videos.setSpid_desc("家乡推介" + "(目击者)"); | |
| 283 | + //} else if ("41".equals(source1)) { | |
| 284 | + // videos.setSpid_desc("老体协-柔力球" + "(目击者)"); | |
| 285 | + //} else if ("42".equals(source1)) { | |
| 286 | + // videos.setSpid_desc("老体协-健身球操" + "(目击者)"); | |
| 287 | + //} else if ("43".equals(source1)) { | |
| 288 | + // videos.setSpid_desc("老体协-太极拳" + "(目击者)"); | |
| 289 | + //} else if ("44".equals(source1)) { | |
| 290 | + // videos.setSpid_desc("老体协-持杖健走" + "(目击者)"); | |
| 291 | + //} else if ("45".equals(source1)) { | |
| 292 | + // videos.setSpid_desc("老体协-广场舞" + "(目击者)"); | |
| 293 | + //} else if ("46".equals(source1)) { | |
| 294 | + // videos.setSpid_desc("老体协-健身秧歌(鼓)" + "(目击者)"); | |
| 295 | + //} else if ("47".equals(source1)) { | |
| 296 | + // videos.setSpid_desc("老体协-综合类" + "(目击者)"); | |
| 297 | + //} else if ("48".equals(source1)) { | |
| 298 | + // videos.setSpid_desc("少儿吟诵" + "(目击者)"); | |
| 299 | + //} else if ("49".equals(source1)) { | |
| 300 | + // videos.setSpid_desc("少年先锋" + "(目击者)"); | |
| 291 | 301 | } else { |
| 292 | - videos.setSpid_desc(shySites.getName()); | |
| 302 | + videos.setSpid_desc(shySites.getName() + "(目击者)"); | |
| 293 | 303 | } |
| 304 | + } else if (CommonUtils.isNotEmpty(videos.getCategory()) && videos.getCategory().equals(CommonConst.CATEGORY_MOMENT)) { | |
| 305 | + videos.setSpid_desc(shySites.getName() + "(朋友圈)"); | |
| 306 | + } else { | |
| 307 | + videos.setSpid_desc(shySites.getName()); | |
| 294 | 308 | } |
| 295 | 309 | } |
| 296 | 310 | } |
| ... | ... | @@ -307,6 +321,7 @@ public class VideosController extends BaseController { |
| 307 | 321 | model.addAttribute("pageSize", pageSize); |
| 308 | 322 | model.addAttribute("videoPage", videoPage); |
| 309 | 323 | model.addAttribute("sp_Id", sp_Id); |
| 324 | + | |
| 310 | 325 | return "page/video.html"; |
| 311 | 326 | } |
| 312 | 327 | |
| ... | ... | @@ -335,66 +350,78 @@ public class VideosController extends BaseController { |
| 335 | 350 | if (CommonUtils.isNotEmpty(detailsContent.getCategory()) && detailsContent.getCategory().equals(CommonConst.CATEGORY_WITNESS)) { |
| 336 | 351 | //0-目击者 1-童声共济 2-全民健身 3-目击者政府监督 4-美食中国 5-老年大学 6-旅游摄影大赛 7-老年大学公开课 8-甲申同文 9-万人同唱一首歌 10-上太空 11-芳华归来个人 12-芳华归来团体 13-小小表演家 100-追问发布会 33-万人同唱献给党-独唱 34-万人同唱献给党-合唱 |
| 337 | 352 | 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() + "(目击者)"); | |
| 353 | + | |
| 354 | + //如果source1不等于null;直接查询 | |
| 355 | + if (CommonUtils.isNotEmpty(source1)) { | |
| 356 | + List<ShyActivity> activityList = shyActivityImpl.selectAll(); | |
| 357 | + model.addAttribute("activityList", activityList); | |
| 358 | + //遍历集合拿到集合中的每一个对象 | |
| 359 | + for (ShyActivity activity : activityList) { | |
| 360 | + //从对象中获取属性值set给videos对象 | |
| 361 | + detailsContent.setSpid_desc(activity.getActivity()); | |
| 362 | + | |
| 363 | + } | |
| 392 | 364 | } |
| 393 | - } else if (CommonUtils.isNotEmpty(detailsContent.getCategory()) && detailsContent.getCategory().equals(CommonConst.CATEGORY_MOMENT)) { | |
| 394 | - detailsContent.setSpid_desc(shySites.getName() + "(朋友圈)"); | |
| 365 | + | |
| 366 | + //if ("1".equals(source1)) { | |
| 367 | + // detailsContent.setSpid_desc("童声共济" + "(目击者)"); | |
| 368 | + //} else if ("2".equals(source1)) { | |
| 369 | + // detailsContent.setSpid_desc("全民健身" + "(目击者)"); | |
| 370 | + //} else if ("3".equals(source1)) { | |
| 371 | + // detailsContent.setSpid_desc("政府监督" + "(目击者)"); | |
| 372 | + //} else if ("4".equals(source1)) { | |
| 373 | + // detailsContent.setSpid_desc("美食中国" + "(目击者)"); | |
| 374 | + //} else if ("5".equals(source1)) { | |
| 375 | + // detailsContent.setSpid_desc("老年大学" + "(目击者)"); | |
| 376 | + //} else if ("6".equals(source1)) { | |
| 377 | + // detailsContent.setSpid_desc("旅游摄影大赛" + "(目击者)"); | |
| 378 | + //} else if ("7".equals(source1)) { | |
| 379 | + // detailsContent.setSpid_desc("老年大学公开课" + "(目击者)"); | |
| 380 | + //} else if ("8".equals(source1)) { | |
| 381 | + // detailsContent.setSpid_desc("甲申同文" + "(目击者)"); | |
| 382 | + //} else if ("9".equals(source1)) { | |
| 383 | + // detailsContent.setSpid_desc("万人同唱一首歌" + "(目击者)"); | |
| 384 | + //} else if ("10".equals(source1)) { | |
| 385 | + // detailsContent.setSpid_desc("上太空" + "(目击者)"); | |
| 386 | + //} else if ("11".equals(source1)) { | |
| 387 | + // detailsContent.setSpid_desc("芳华归来个人" + "(目击者)"); | |
| 388 | + //} else if ("12".equals(source1)) { | |
| 389 | + // detailsContent.setSpid_desc("芳华归来团体" + "(目击者)"); | |
| 390 | + //} else if ("13".equals(source1)) { | |
| 391 | + // detailsContent.setSpid_desc("小小表演家" + "(目击者)"); | |
| 392 | + //} else if ("100".equals(source1)) { | |
| 393 | + // detailsContent.setSpid_desc("追问发布会" + "(目击者)"); | |
| 394 | + //} else if ("14".equals(source1)) { | |
| 395 | + // detailsContent.setSpid_desc("中国微电影" + "(目击者)"); | |
| 396 | + //} else if ("15".equals(source1)) { | |
| 397 | + // detailsContent.setSpid_desc("幼儿闯关" + "(目击者)"); | |
| 398 | + //} else if ("16".equals(source1)) { | |
| 399 | + // detailsContent.setSpid_desc("少儿闯关" + "(目击者)"); | |
| 400 | + //} else if ("101".equals(source1)) { | |
| 401 | + // detailsContent.setSpid_desc("电商-cms" + "(目击者)"); | |
| 402 | + //} else if ("17".equals(source1)) { | |
| 403 | + // detailsContent.setSpid_desc("青岛读书" + "(目击者)"); | |
| 404 | + //} else if ("18".equals(source1)) { | |
| 405 | + // detailsContent.setSpid_desc("红色故事演讲" + "(目击者)"); | |
| 406 | + //} else if ("19".equals(source1)) { | |
| 407 | + // detailsContent.setSpid_desc("红色诗词朗诵" + "(目击者)"); | |
| 408 | + //} else if ("20".equals(source1)) { | |
| 409 | + // detailsContent.setSpid_desc("红色短剧展演" + "(目击者)"); | |
| 410 | + //} else if ("21".equals(source1)) { | |
| 411 | + // detailsContent.setSpid_desc("视频号" + "(目击者)"); | |
| 412 | + //} else if ("33".equals(source1)) { | |
| 413 | + // detailsContent.setSpid_desc("万人同唱献给党-独唱" + "(目击者)"); | |
| 414 | + //} else if ("34".equals(source1)) { | |
| 415 | + // detailsContent.setSpid_desc("万人同唱献给党-合唱" + "(目击者)"); | |
| 416 | + //} else if ("29".equals(source1)) { | |
| 417 | + // detailsContent.setSpid_desc("我们的声音上太空" + "(目击者)"); | |
| 395 | 418 | } else { |
| 396 | - detailsContent.setSpid_desc(shySites.getName()); | |
| 419 | + detailsContent.setSpid_desc(shySites.getName() + "(目击者)"); | |
| 397 | 420 | } |
| 421 | + } else if (CommonUtils.isNotEmpty(detailsContent.getCategory()) && detailsContent.getCategory().equals(CommonConst.CATEGORY_MOMENT)) { | |
| 422 | + detailsContent.setSpid_desc(shySites.getName() + "(朋友圈)"); | |
| 423 | + } else { | |
| 424 | + detailsContent.setSpid_desc(shySites.getName()); | |
| 398 | 425 | } |
| 399 | 426 | model.addAttribute("images", images); |
| 400 | 427 | model.addAttribute("avsampleImgs", avsampleImgs); | ... | ... |
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 createTime; | |
| 23 | + | |
| 24 | + /** | |
| 25 | + * 修改时间 | |
| 26 | + */ | |
| 27 | + private Date updateTime; | |
| 28 | + | |
| 29 | + /** | |
| 30 | + * 获取活动表主键ID | |
| 31 | + * | |
| 32 | + * @return id - 活动表主键ID | |
| 33 | + */ | |
| 34 | + public Integer getId() { | |
| 35 | + return id; | |
| 36 | + } | |
| 37 | + | |
| 38 | + /** | |
| 39 | + * 设置活动表主键ID | |
| 40 | + * | |
| 41 | + * @param id 活动表主键ID | |
| 42 | + */ | |
| 43 | + public void setId(Integer id) { | |
| 44 | + this.id = id; | |
| 45 | + } | |
| 46 | + | |
| 47 | + /** | |
| 48 | + * 获取活动名称 | |
| 49 | + * | |
| 50 | + * @return activity - 活动名称 | |
| 51 | + */ | |
| 52 | + public String getActivity() { | |
| 53 | + return activity; | |
| 54 | + } | |
| 55 | + | |
| 56 | + /** | |
| 57 | + * 设置活动名称 | |
| 58 | + * | |
| 59 | + * @param activity 活动名称 | |
| 60 | + */ | |
| 61 | + public void setActivity(String activity) { | |
| 62 | + this.activity = activity; | |
| 63 | + } | |
| 64 | + | |
| 65 | + /** | |
| 66 | + * 获取创建时间 | |
| 67 | + * | |
| 68 | + * @return createTime - 创建时间 | |
| 69 | + */ | |
| 70 | + public Date getCreateTime() { | |
| 71 | + return createTime; | |
| 72 | + } | |
| 73 | + | |
| 74 | + /** | |
| 75 | + * 设置创建时间 | |
| 76 | + * | |
| 77 | + * @param createTime 创建时间 | |
| 78 | + */ | |
| 79 | + public void setCreateTime(Date createTime) { | |
| 80 | + this.createTime = createTime; | |
| 81 | + } | |
| 82 | + | |
| 83 | + /** | |
| 84 | + * 获取修改时间 | |
| 85 | + * | |
| 86 | + * @return updateTime - 修改时间 | |
| 87 | + */ | |
| 88 | + public Date getUpdateTime() { | |
| 89 | + return updateTime; | |
| 90 | + } | |
| 91 | + | |
| 92 | + /** | |
| 93 | + * 设置修改时间 | |
| 94 | + * | |
| 95 | + * @param updateTime 修改时间 | |
| 96 | + */ | |
| 97 | + public void setUpdateTime(Date updateTime) { | |
| 98 | + this.updateTime = updateTime; | |
| 99 | + } | |
| 100 | +} | |
| 0 | 101 | \ No newline at end of file | ... | ... |
src/main/java/com/cnlive/shenhe/mapper/ShyActivityMapper.java
0 → 100644
src/main/java/com/cnlive/shenhe/serviceImpl/ShyActivityImpl.java
0 → 100644
| 1 | +package com.cnlive.shenhe.serviceImpl; | |
| 2 | +// | |
| 3 | +// _ooOoo_ | |
| 4 | +// o8888888o | |
| 5 | +// 88" . "88 | |
| 6 | +// (| -_- |) | |
| 7 | +// O\ = /O | |
| 8 | +// ____/`---'\____ | |
| 9 | +// . ' \\| |// `. | |
| 10 | +// / \\||| : |||// \ | |
| 11 | +// / _||||| -:- |||||- \ | |
| 12 | +// | | \\\ - /// | | | |
| 13 | +// | \_| ''\---/'' | | | |
| 14 | +// \ .-\__ `-` ___/-. / | |
| 15 | +// ___`. .' /--.--\ `. . __ | |
| 16 | +// ."" '< `.___\_<|>_/___.' >'"". | |
| 17 | +// | | : `- \`.;`\ _ /`;.`/ - ` : | | | |
| 18 | +// \ \ `-. \_ __\ /__ _/ .-` / / | |
| 19 | +// ======`-.____`-.___\_____/___.-`____.-'====== | |
| 20 | +// `=---=' | |
| 21 | +// | |
| 22 | +// ............................................. | |
| 23 | +// 佛祖镇楼 BUG辟易 | |
| 24 | +// 佛曰: | |
| 25 | +// 写字楼里写字间,写字间里程序员; | |
| 26 | +// 程序人员写程序,又拿程序换酒钱。 | |
| 27 | +// 酒醒只在网上坐,酒醉还来网下眠; | |
| 28 | +// 酒醉酒醒日复日,网上网下年复年。 | |
| 29 | +// 但愿老死电脑间,不愿鞠躬老板前; | |
| 30 | +// 奔驰宝马贵者趣,公交自行程序员。 | |
| 31 | +// 别人笑我忒疯癫,我笑自己命太贱; | |
| 32 | +// | |
| 33 | + | |
| 34 | +import com.cnlive.shenhe.entity.ShyActivity; | |
| 35 | +import com.cnlive.shenhe.mapper.ShyActivityMapper; | |
| 36 | +import com.cnlive.shenhe.utils.CommonUtils; | |
| 37 | +import com.github.pagehelper.Page; | |
| 38 | +import com.github.pagehelper.PageHelper; | |
| 39 | +import com.github.pagehelper.PageInfo; | |
| 40 | +import org.springframework.beans.factory.annotation.Autowired; | |
| 41 | +import org.springframework.stereotype.Service; | |
| 42 | +import org.springframework.web.bind.annotation.RequestParam; | |
| 43 | +import tk.mybatis.mapper.entity.Example; | |
| 44 | + | |
| 45 | +import java.security.PublicKey; | |
| 46 | +import java.util.List; | |
| 47 | + | |
| 48 | +/** | |
| 49 | + * @author Administrator | |
| 50 | + * @author shkstart | |
| 51 | + * @create 2022-03-08 10:43 | |
| 52 | + */ | |
| 53 | +@Service | |
| 54 | +public class ShyActivityImpl { | |
| 55 | + | |
| 56 | + @Autowired | |
| 57 | + private ShyActivityMapper ShyActivityMapper; | |
| 58 | + | |
| 59 | + /** | |
| 60 | + * 添加活动 | |
| 61 | + * @param ShyActivity | |
| 62 | + * @return | |
| 63 | + */ | |
| 64 | + public int insertShyActivity(ShyActivity ShyActivity) { | |
| 65 | + int i = ShyActivityMapper.insertSelective(ShyActivity); | |
| 66 | + return i; | |
| 67 | + } | |
| 68 | + | |
| 69 | + /** | |
| 70 | + * 根据主键删除活动 | |
| 71 | + * @param id | |
| 72 | + * @return | |
| 73 | + */ | |
| 74 | + public int deleteShyActivity(Integer id) { | |
| 75 | + int i = ShyActivityMapper.deleteByPrimaryKey(id); | |
| 76 | + return i; | |
| 77 | + } | |
| 78 | + | |
| 79 | + /** | |
| 80 | + * 修改活动 | |
| 81 | + * @param shyActivity | |
| 82 | + * @return | |
| 83 | + */ | |
| 84 | + public int updateShyActivity(ShyActivity shyActivity) { | |
| 85 | + int i = ShyActivityMapper.updateByPrimaryKeySelective(shyActivity); | |
| 86 | + return i; | |
| 87 | + } | |
| 88 | + | |
| 89 | + /** | |
| 90 | + * 查询活动 | |
| 91 | + * @param page | |
| 92 | + * @param pageSize | |
| 93 | + * @return | |
| 94 | + */ | |
| 95 | + public PageInfo<ShyActivity> selectByExample(Integer page, Integer pageSize,Integer id) { | |
| 96 | + Example example = new Example(ShyActivity.class); | |
| 97 | + Example.Criteria criteria = example.createCriteria(); | |
| 98 | + criteria.andEqualTo(id); | |
| 99 | + PageHelper.startPage(page, pageSize, true); | |
| 100 | + List<ShyActivity> shyActivities = ShyActivityMapper.selectByExample(example); | |
| 101 | + PageInfo<ShyActivity> shyActivityPageInfo = new PageInfo<>(shyActivities); | |
| 102 | + return shyActivityPageInfo; | |
| 103 | + } | |
| 104 | + | |
| 105 | + /** | |
| 106 | + * 查询所有的数据 | |
| 107 | + */ | |
| 108 | + public List<ShyActivity> selectAll() { | |
| 109 | + List<ShyActivity> shyActivities = ShyActivityMapper.selectAll(); | |
| 110 | + return shyActivities; | |
| 111 | + } | |
| 112 | + | |
| 113 | +} | ... | ... |
src/main/resources/application.properties
| ... | ... | @@ -34,7 +34,7 @@ spring.thymeleaf.cache=false |
| 34 | 34 | |
| 35 | 35 | mybatis.mapper-locations=classpath:mapper/*.xml |
| 36 | 36 | mybatis.type-aliases-package=com.cnlive.shenhe.entity |
| 37 | -server.port=82 | |
| 37 | +server.port=88 | |
| 38 | 38 | |
| 39 | 39 | #rabbitmq\u76f8\u5173\u914d\u7f6e |
| 40 | 40 | spring.rabbitmq.host=10.254.174.131 | ... | ... |
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&characterEncoding=utf8&characterSetResults=utf8" | |
| 26 | + connectionURL="jdbc:mysql://120.92.102.31:3306/new_shy?useUnicode=true&characterEncoding=utf8&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="createTime" jdbcType="TIMESTAMP" property="createTime" /> | |
| 11 | + <result column="updateTime" jdbcType="TIMESTAMP" property="updateTime" /> | |
| 12 | + </resultMap> | |
| 13 | +</mapper> | |
| 0 | 14 | \ 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/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={"\\":"\","&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};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">×</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">×</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 | + "\\": "\", | |
| 216 | + "&": "&", | |
| 217 | + "<": "<", | |
| 218 | + ">": ">", | |
| 219 | + '"': """, | |
| 220 | + "'": "'", | |
| 221 | + "/": "/" | |
| 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">×</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">×</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
| ... | ... | @@ -95,6 +95,7 @@ line-height: 2em; margin: 0 auto;font-size: 2em" th:text="${session.sessionUser. |
| 95 | 95 | <li><a href="/email/page" id="/email/page"> 邮件消息管理</a></li> |
| 96 | 96 | <li><a href="/usersFree/page" id="/usersFree/page"> 网++白名单管理</a></li> |
| 97 | 97 | <li><a href="/notSpeak/page" id="/notSpeak/page"> 网++禁言管理</a></li> |
| 98 | + <li><a href="/page/get/" id="/page/get"> 活动管理</a></li> | |
| 98 | 99 | </ul> |
| 99 | 100 | </li> |
| 100 | 101 | </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{margin-top: 0px;} | |
| 7 | + .table{margin-bottom:0;} | |
| 8 | + | |
| 9 | + | |
| 10 | + .switch { | |
| 11 | + position: relative; | |
| 12 | + display: inline-block; | |
| 13 | + width: 60px; | |
| 14 | + height: 34px; | |
| 15 | +} | |
| 16 | + | |
| 17 | +.switch input {display:none;} | |
| 18 | + | |
| 19 | +.slider { | |
| 20 | + position: absolute; | |
| 21 | + cursor: pointer; | |
| 22 | + top: 0; | |
| 23 | + left: 0; | |
| 24 | + right: 0; | |
| 25 | + bottom: 0; | |
| 26 | + background-color: red; | |
| 27 | + -webkit-transition: .4s; | |
| 28 | + transition: .4s; | |
| 29 | +} | |
| 30 | + | |
| 31 | +.slider:before { | |
| 32 | + position: absolute; | |
| 33 | + content: ""; | |
| 34 | + height: 26px; | |
| 35 | + width: 26px; | |
| 36 | + left: 4px; | |
| 37 | + bottom: 4px; | |
| 38 | + background-color: white; | |
| 39 | + -webkit-transition: .4s; | |
| 40 | + transition: .4s; | |
| 41 | +} | |
| 42 | + | |
| 43 | +input:checked + .slider { | |
| 44 | + background-color: #2196F3; | |
| 45 | +} | |
| 46 | + | |
| 47 | +input:focus + .slider { | |
| 48 | + box-shadow: 0 0 1px #2196F3; | |
| 49 | +} | |
| 50 | + | |
| 51 | +input:checked + .slider:before { | |
| 52 | + -webkit-transform: translateX(26px); | |
| 53 | + -ms-transform: translateX(26px); | |
| 54 | + transform: translateX(26px); | |
| 55 | +} | |
| 56 | + | |
| 57 | +/* Rounded sliders */ | |
| 58 | +.slider.round { | |
| 59 | + border-radius: 34px; | |
| 60 | +} | |
| 61 | + | |
| 62 | +.slider.round:before { | |
| 63 | + border-radius: 50%; | |
| 64 | +} | |
| 65 | + | |
| 66 | +</style> | |
| 67 | +<body class="skin-blue sidebar-mini"> | |
| 68 | + | |
| 69 | +<div class="wrapper"> | |
| 70 | + | |
| 71 | + <div th:replace="../templates/common/frame::frame"></div> | |
| 72 | + | |
| 73 | + <div class="content-wrapper" style="min-height: 788px;"> | |
| 74 | + <section class="content-header"> | |
| 75 | + <h1> | |
| 76 | + 活动管理 | |
| 77 | + </h1> | |
| 78 | + <ol class="breadcrumb"> | |
| 79 | + <li>首页</li> | |
| 80 | + <li>系统管理</li> | |
| 81 | + <li class="active">活动管理</li> | |
| 82 | + </ol> | |
| 83 | + </section> | |
| 84 | + <section class="content"> | |
| 85 | + <div class="row"> | |
| 86 | + <div class="col-xs-12"> | |
| 87 | + <div class="box box-info"> | |
| 88 | + <div class="box-body"> | |
| 89 | + <div class="btn-group margin-bottom " style="padding: 0; width: 98%; float: right;"> | |
| 90 | + <div class="columns columns-right btn-group "> | |
| 91 | + <button class="btn btn-success" onclick="javascript:add()" type="button" name="refresh" title="添加" id="email_addS">添加</button> | |
| 92 | + </div> | |
| 93 | + <div class="col-md-6 pull-right" style="padding: 0; width: 5%;"> | |
| 94 | + <button class="btn btn-default" type="button" name="refresh" | |
| 95 | + title="搜索" id="emailQuery">搜索</button> | |
| 96 | + </div> | |
| 97 | + <div class="col-md-6 pull-right" style="padding: 0; width: 20%;"> | |
| 98 | + <label for="mobile" class="control-label cb-toolbar" | |
| 99 | + style="font-size: 15px; top: 8px; font-weight: 100;">邮件地址:</label> | |
| 100 | + <div class="col-sm-7" style="padding: 0;"> | |
| 101 | + <input class="form-control" type="text" th:value="${param.email}" id="email_query"> | |
| 102 | + </div> | |
| 103 | + </div> | |
| 104 | + <div class="col-md-5 pull-right" style="padding: 0; width: 15%;"> | |
| 105 | + <label for="sp_id" class="control-label cb-toolbar" | |
| 106 | + style="font-size: 15px; top: 8px; font-weight: 100;">邮件人:</label> | |
| 107 | + <div class="col-sm-7" style="padding: 0;"> | |
| 108 | + <input class="form-control" type="text" th:value="${param.remark}" id="remark_query"> | |
| 109 | + </div> | |
| 110 | + </div> | |
| 111 | + </div> | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + <div class="fixed-table-container" style="padding-bottom: 0px;"> | |
| 116 | + <div class="fixed-table-body"> | |
| 117 | + <table data-toggle="table" data-pagination="true" data-search="false" data-show-refresh="true" | |
| 118 | + data-show-toggle="true" data-show-columns="true" data-toolbar="#toolbar" class="table table-hover"> | |
| 119 | + <thead> | |
| 120 | + <tr> | |
| 121 | + <th style="text-align: center; width: 5%;" data-field="sp_id" tabindex="0"> | |
| 122 | + <div class="th-inner ">活动ID</div> | |
| 123 | + <div class="fht-cell"></div> | |
| 124 | + </th> | |
| 125 | + <th style="text-align: center; width: 12%;" data-field="sp_id_brief" tabindex="0"> | |
| 126 | + <div class="th-inner ">活动名称</div> | |
| 127 | + <div class="fht-cell"></div> | |
| 128 | + </th> | |
| 129 | +<!-- <th style="text-align: center; width: 8%;" data-field="type" tabindex="0">--> | |
| 130 | +<!-- <div class="th-inner ">邮件人</div>--> | |
| 131 | +<!-- <div class="fht-cell"></div>--> | |
| 132 | +<!-- </th>--> | |
| 133 | +<!-- <th style="text-align: center; width: 12%;" data-field="type" tabindex="0">--> | |
| 134 | +<!-- <div class="th-inner ">通知类型</div>--> | |
| 135 | +<!-- <div class="fht-cell"></div>--> | |
| 136 | +<!-- </th>--> | |
| 137 | +<!-- <th style="text-align: center; width: 6%;" data-field="type" tabindex="0">--> | |
| 138 | +<!-- <div class="th-inner ">使用状态</div>--> | |
| 139 | +<!-- <div class="fht-cell"></div>--> | |
| 140 | +<!-- </th>--> | |
| 141 | +<!-- <th style="text-align: center; width: 8%;" data-field="type" tabindex="0">--> | |
| 142 | +<!-- <div class="th-inner ">修改人</div>--> | |
| 143 | +<!-- <div class="fht-cell"></div>--> | |
| 144 | +<!-- </th>--> | |
| 145 | + <th style="text-align: center; width: 12%;" data-field="upload_time" tabindex="0"> | |
| 146 | + <div class="th-inner ">创建时间</div> | |
| 147 | + <div class="fht-cell"></div> | |
| 148 | + </th> | |
| 149 | + <th style="text-align: center; width: 12%;" data-field="updated_at" tabindex="0"> | |
| 150 | + <div class="th-inner ">更新时间</div> | |
| 151 | + <div class="fht-cell"></div> | |
| 152 | + </th> | |
| 153 | + <th style="text-align: center; width: 10%;" data-field="action" tabindex="0"> | |
| 154 | + <div class="th-inner ">操作</div> | |
| 155 | + <div class="fht-cell"></div> | |
| 156 | + </th> | |
| 157 | + </tr> | |
| 158 | + </thead> | |
| 159 | + <tbody> | |
| 160 | + <tr th:data-index="${emailStat.index}" th:each="ls:${list}"> | |
| 161 | + <td style="text-align: center; width: 5%;" th:text="${ls.id}">82</td> | |
| 162 | + <td style="text-align: center; width: 12%;" th:text="${ls.activity}">视讯中国</td> | |
| 163 | + <td style="text-align: center; width: 12%;" th:text="${#dates.format(ls.createTime, 'yyyy-MM-dd HH:mm:ss')}">2018-11-22 | |
| 164 | + 23:08:48</td> | |
| 165 | + <td style="text-align: center; width: 12%;" th:text="${#dates.format(ls.updateTime, 'yyyy-MM-dd HH:mm:ss')}">2016-08-03 | |
| 166 | + 14:27:17</td> | |
| 167 | + <td style="text-align: center; width: 10%;"> | |
| 168 | + <span> </span> | |
| 169 | + <a class="edit" th:href="'javascript:edit('+${ls.id}+',\''+${ls.activity}'"> | |
| 170 | + <button class="btn btn-primary btn-xs">修改</button> | |
| 171 | + </a><span> </span><span> </span> | |
| 172 | + <span> </span> | |
| 173 | + <a class="delete" th:href="'javascript:deleted('+${ls.id}+')'"> | |
| 174 | + <button class="btn btn-danger btn-xs">删除</button> | |
| 175 | + </a><span> </span><span> </span></td> | |
| 176 | + </tr> | |
| 177 | + | |
| 178 | + </tbody> | |
| 179 | + </table> | |
| 180 | + </div> | |
| 181 | + | |
| 182 | + <div class="fixed-table-pagination" style="display: block;"> | |
| 183 | + <div class="pull-left pagination-detail"> | |
| 184 | + <span class="pagination-info" | |
| 185 | + th:text="'共 '+${ls.total}+' 条记录,每页显示'">共 0 条记录</span> | |
| 186 | + <select class="" id="pageSize" name="pageSize" | |
| 187 | + onchange="selectPageSize()"> | |
| 188 | + <option value="10" th:selected="${pageSize==10}">10</option> | |
| 189 | + <option value="20" th:selected="${pageSize==20}">20</option> | |
| 190 | + <option value="50" th:selected="${pageSize==50}">50</option> | |
| 191 | + <option value="100" th:selected="${pageSize==100}">100</option> | |
| 192 | + </select> <span class="pagination-info">条记录</span> | |
| 193 | + </div> | |
| 194 | + <div class="pull-right pagination"> | |
| 195 | + <ul class="pagination" th:if="${emailPage.pages>1}"> | |
| 196 | + <li class="page-pre"><a | |
| 197 | + th:href="'javascript:fanye(1);'">‹‹</a></li> | |
| 198 | + <li class="page-pre" th:if="${!emailPage.isFirstPage}"><a | |
| 199 | + th:onclick="'javascript:fanye(\''+${emailPage.pageNum-1}+'\');'">‹</a> | |
| 200 | + </li> | |
| 201 | + | |
| 202 | + <li class="page-number" th:if="${emailPage.pageNum-3>=1}"><a | |
| 203 | + th:onclick="'javascript:fanye(\''+${emailPage.pageNum-3}+'\');'" | |
| 204 | + th:text="${emailPage.pageNum-3}">2</a></li> | |
| 205 | + <li class="page-number" th:if="${emailPage.pageNum-2>=1}"><a | |
| 206 | + th:onclick="'javascript:fanye(\''+${emailPage.pageNum-2}+'\');'" | |
| 207 | + th:text="${emailPage.pageNum-2}">2</a></li> | |
| 208 | + <li class="page-number" th:if="${emailPage.pageNum-1>=1}"><a | |
| 209 | + th:onclick="'javascript:fanye(\''+${emailPage.pageNum-1}+'\');'" | |
| 210 | + th:text="${emailPage.pageNum-1}">2</a></li> | |
| 211 | + <li class="page-number active"><a | |
| 212 | + href="javaScript:void(0);" th:text="${emailPage.pageNum}">2</a></li> | |
| 213 | + <li class="page-number" | |
| 214 | + th:if="${emailPage.pageNum+1<=emailPage.pages}"><a | |
| 215 | + th:onclick="'javascript:fanye(\''+${emailPage.pageNum+1}+'\');'" | |
| 216 | + th:text="${emailPage.pageNum+1}">2</a></li> | |
| 217 | + <li class="page-number" | |
| 218 | + th:if="${emailPage.pageNum+2<=emailPage.pages}"><a | |
| 219 | + th:onclick="'javascript:fanye(\''+${emailPage.pageNum+2}+'\');'" | |
| 220 | + th:text="${emailPage.pageNum+2}">2</a></li> | |
| 221 | + <li class="page-number" | |
| 222 | + th:if="${emailPage.pageNum+3<=emailPage.pages}"><a | |
| 223 | + th:onclick="'javascript:fanye(\''+${emailPage.pageNum+3}+'\');'" | |
| 224 | + th:text="${emailPage.pageNum+3}">2</a></li> | |
| 225 | + | |
| 226 | + <li class="page-next" th:if="${!emailPage.isLastPage}"><a | |
| 227 | + th:onclick="'javascript:fanye(\''+${emailPage.pageNum+1}+'\');'">›</a> | |
| 228 | + </li> | |
| 229 | + <li class="page-next"><a | |
| 230 | + th:onclick="'javascript:fanye(\''+${emailPage.pages}+'\');'">››</a> | |
| 231 | + </li> | |
| 232 | + </ul> | |
| 233 | + </div> | |
| 234 | + </div> | |
| 235 | + </div> | |
| 236 | + </div> | |
| 237 | + <div class="clearfix"></div> | |
| 238 | + </div> | |
| 239 | + </div> | |
| 240 | + </div> | |
| 241 | + </section> | |
| 242 | + </div> | |
| 243 | + | |
| 244 | +<!-- 模态框(Modal) --> | |
| 245 | +<div class="modal fade" id="editModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> | |
| 246 | + <div class="modal-dialog"> | |
| 247 | + <div class="modal-content" style="margin-top: 30%;"> | |
| 248 | + <div class="modal-header"> | |
| 249 | + <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> | |
| 250 | + <h4 class="modal-title" id="myModalLabel">编辑邮件消息</h4> | |
| 251 | + </div> | |
| 252 | + <div class="modal-body"> | |
| 253 | + <form action="/page/add" method="post" id="editWrite"> | |
| 254 | + <input type="text" name="redirect_url" value="" class="hide" id="redirect_url"/> | |
| 255 | + <div class="form-group hide"> | |
| 256 | + <label class="control-label col-sm-3" style="font-size: 15px;" >Id:</label> | |
| 257 | + <div class="col-sm-9" style="margin-top: -5px;margin-bottom: 20px;"> | |
| 258 | + <input class="form-control" style="width:30%;" type="text" value="" id="id" name="id"> | |
| 259 | + </div> | |
| 260 | + </div> | |
| 261 | + <div class="form-group"> | |
| 262 | + <label class="control-label col-sm-3" style="font-size: 15px;">活动名称:</label> | |
| 263 | + <div class="col-sm-9" style="margin-top: -5px;margin-bottom: 20px;"> | |
| 264 | + <input class="form-control" style="width:40%;" type="text" value="" id="email_edit" name="activity"> | |
| 265 | + </div> | |
| 266 | + </div> | |
| 267 | + | |
| 268 | + | |
| 269 | + </form> | |
| 270 | + </div> | |
| 271 | + <div class="modal-footer"> | |
| 272 | + <button type="button" class="btn btn-primary" onclick="javascript:$('#editWrite').submit();">提交</button> | |
| 273 | + <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button> | |
| 274 | + </div> | |
| 275 | + </div><!-- /.modal-content --> | |
| 276 | + </div><!-- /.modal-dialog --> | |
| 277 | +</div> | |
| 278 | +<!-- /.modal --> | |
| 279 | + <script> | |
| 280 | + //打开编辑窗口 | |
| 281 | + function edit(Id,email,remark,write_business){ | |
| 282 | + $("#myModalLabel").text("编辑活动名称"); | |
| 283 | + $("#id").val(Id); | |
| 284 | + $("#email_edit").val(email); | |
| 285 | + $("#email_edit").attr("readonly","true"); | |
| 286 | + $("#remark_edit").val(remark); | |
| 287 | + $("#redirect_url").val(location.pathname+location.search); | |
| 288 | + $(".write_check input").prop("checked",false); | |
| 289 | + if($.trim(write_business)!=''){ | |
| 290 | + var array = write_business.split(",") | |
| 291 | + for (var i=0;i<array.length;i++){ | |
| 292 | + $("#write_check_"+array[i]).prop("checked",true); | |
| 293 | + } | |
| 294 | + } | |
| 295 | + $('#editModal').modal('show'); | |
| 296 | + } | |
| 297 | + | |
| 298 | + //打开添加窗口 | |
| 299 | + function add(){ | |
| 300 | + $("#id").val(""); | |
| 301 | + $("#email_edit").val(""); | |
| 302 | + $("#email_edit").removeAttr("readonly"); | |
| 303 | + $("#remark_edit").val(""); | |
| 304 | + $(".write_check input").prop("checked",false); | |
| 305 | + | |
| 306 | + $("#redirect_url").val(location.pathname+location.search); | |
| 307 | + $("#myModalLabel").text("添加活动名称"); | |
| 308 | + $('#editModal').modal('show'); | |
| 309 | + } | |
| 310 | + | |
| 311 | + //删除操作 | |
| 312 | + function deleted(id){ | |
| 313 | + var r = confirm("您确定删除本条内容吗?"); | |
| 314 | + if (r == true) { | |
| 315 | + $.post("/page/deleted?id=" + id, function (data) { | |
| 316 | + if (data.errorCode == 0) { | |
| 317 | + alert(data.errorMessage); | |
| 318 | + location.href = location.href; | |
| 319 | + } else { | |
| 320 | + alert(data.errorMessage); | |
| 321 | + } | |
| 322 | + }) | |
| 323 | + } | |
| 324 | + } | |
| 325 | + | |
| 326 | + | |
| 327 | + //开关的点击事件 | |
| 328 | + $(".slider").on('click',function(e){ | |
| 329 | + var myId=$(this).prop("id"); | |
| 330 | + // var myIndex = $(".slider").index($(this)); | |
| 331 | + var checked=$("#id"+myId).prop("checked");//获取当前状态,下一个状态用!checked表示 | |
| 332 | + $.post("/email/updateState?id=" + myId+"&isEnable="+!checked, function (data) { | |
| 333 | + if (data.errorCode == 0) { | |
| 334 | + alert(data.errorMessage); | |
| 335 | + location.href = location.href; | |
| 336 | + } else { | |
| 337 | + alert(data.errorMessage); | |
| 338 | + location.href = location.href; | |
| 339 | + } | |
| 340 | + }) | |
| 341 | + }) | |
| 342 | + | |
| 343 | + //翻页函数 | |
| 344 | + function fanye(page) { | |
| 345 | + var param = location.search; | |
| 346 | + if (param.indexOf("page=") != -1) { | |
| 347 | + var se = param.replace("?", "");//去掉问号,防止问号和要去掉的参数相连 | |
| 348 | + var split = se.split("&"); | |
| 349 | + var h = ""; | |
| 350 | + for (var i = 0; i < split.length; i++) { | |
| 351 | + var s = split[i]; | |
| 352 | + if (s.indexOf("page=") < 0) h = h + "&" + split[i]; | |
| 353 | + } | |
| 354 | + h = h.substring(1, h.length); | |
| 355 | + window.location.href = "/email/page?" + h + "&page=" + page; | |
| 356 | + } else { | |
| 357 | + param = param.substring(1, param.length); | |
| 358 | + window.location.href = "/email/page?" + param + "&page=" + page; | |
| 359 | + } | |
| 360 | + } | |
| 361 | + | |
| 362 | + //选择每页数量触发函数 | |
| 363 | + function selectPageSize(){ | |
| 364 | + var pageSize=$("#pageSize").val(); | |
| 365 | + var param = location.search; | |
| 366 | + if (param.indexOf("pageSize=") != -1) { | |
| 367 | + var se = param.replace("?", "");//去掉问号,防止问号和要去掉的参数相连 | |
| 368 | + var split = se.split("&"); | |
| 369 | + var h = ""; | |
| 370 | + for (var i = 0; i < split.length; i++) { | |
| 371 | + var s = split[i]; | |
| 372 | + if (s.indexOf("pageSize=") < 0 &&s.indexOf("page=") < 0) h = h + "&" + split[i]; | |
| 373 | + } | |
| 374 | + h = h.substring(1, h.length); | |
| 375 | + window.location.href = "/email/page?" + h + "&pageSize=" + pageSize; | |
| 376 | + } else { | |
| 377 | + var se = param.replace("?", "");//去掉问号,防止问号和要去掉的参数相连 | |
| 378 | + var split = se.split("&"); | |
| 379 | + var h = ""; | |
| 380 | + for (var i = 0; i < split.length; i++) { | |
| 381 | + var s = split[i]; | |
| 382 | + if (s.indexOf("page=") < 0) h = h + "&" + split[i]; | |
| 383 | + } | |
| 384 | + h = h.substring(1, h.length); | |
| 385 | + window.location.href = "/email/page?" + h + "&pageSize=" + pageSize; | |
| 386 | + } | |
| 387 | + } | |
| 388 | + | |
| 389 | + //搜索 | |
| 390 | + $('#emailQuery').click(function () { | |
| 391 | + var email = $("#email_query").val(); | |
| 392 | + var remark = $("#remark_query").val(); | |
| 393 | + var pageSize = $("#pageSize").val(); | |
| 394 | + window.location.href = "/email/page?email=" + email + "&remark=" + remark+ "&pageSize=" + pageSize; | |
| 395 | + }); | |
| 396 | + | |
| 397 | + //鼠标回车事件 | |
| 398 | + $(document).keyup(function(event){ | |
| 399 | + if(event.keyCode ==13){ | |
| 400 | + $("#emailQuery").trigger("click"); | |
| 401 | + } | |
| 402 | + }); | |
| 403 | + </script> | |
| 404 | + | |
| 405 | + <footer th:replace="../templates/common/foot::foot" ></footer> | |
| 406 | + | |
| 407 | + | |
| 408 | + <!-- Add the sidebar's background. This div must be placed | |
| 409 | + immediately after the control sidebar --> | |
| 410 | + <div class="control-sidebar-bg" style="position: fixed; height: auto;"></div> | |
| 411 | + | |
| 412 | +</div><!-- ./wrapper --> | |
| 413 | + | |
| 414 | + | |
| 415 | +<!-- Resolve conflict in jQuery UI tooltip with Bootstrap tooltip --> | |
| 416 | +<script type="text/javascript"> | |
| 417 | + $('div.alert').not('.alert-danger').delay(3000).slideUp(300); | |
| 418 | +</script> | |
| 419 | + | |
| 420 | +<!-- AdminLTE App --> | |
| 421 | +<script src="../../static/js/app.min.js"></script> | |
| 422 | +<!-- AdminLTE for demo purposes --> | |
| 423 | +<script src="../../static/js/sidebar.js"></script> | |
| 424 | + | |
| 425 | + | |
| 426 | +</body> | |
| 427 | +</html> | |
| 0 | 428 | \ No newline at end of file | ... | ... |
src/main/resources/templates/page/video.html
| ... | ... | @@ -76,8 +76,7 @@ |
| 76 | 76 | </button> |
| 77 | 77 | </div> |
| 78 | 78 | <div class="form-horizontal form-group-sm" id="forms" style="display: none;float: left;"> |
| 79 | - <div class="btn-group margin-bottom col-md-6" | |
| 80 | - style="padding: 0;width: 15%;float: left;"> | |
| 79 | + <div class="btn-group margin-bottom col-md-6" style="padding: 0;width: 15%;float: left;"> | |
| 81 | 80 | <div class="col-md-5" style="padding: 0;width: 100%;"> |
| 82 | 81 | <label for="video_titleID" class="control-label cb-toolbar">标题:</label> |
| 83 | 82 | <div class="col-sm-9" style="padding: 0;"> |
| ... | ... | @@ -86,8 +85,7 @@ |
| 86 | 85 | </div> |
| 87 | 86 | </div> |
| 88 | 87 | |
| 89 | - <div class="btn-group margin-bottom col-md-6" | |
| 90 | - style="padding: 0;width: 10%;float: left;"> | |
| 88 | + <div class="btn-group margin-bottom col-md-6" style="padding: 0;width: 10%;float: left;"> | |
| 91 | 89 | <div class="col-md-5" style="padding: 0;width: 100%;"> |
| 92 | 90 | <label for="state" class="control-label cb-toolbar">状态:</label> |
| 93 | 91 | <div class="col-sm-8" style="padding: 0;"> |
| ... | ... | @@ -127,8 +125,7 @@ |
| 127 | 125 | </div> |
| 128 | 126 | </div> |
| 129 | 127 | |
| 130 | - <div class="col-md-6" style="padding: 0;width: 25%;" | |
| 131 | - th:if="${session.sessionUser.spid==0}"> | |
| 128 | + <div class="col-md-6" style="padding: 0;width: 25%;" th:if="${session.sessionUser.spid==0}"> | |
| 132 | 129 | <label for="sp_desc" class="control-label cb-toolbar">sp简称:</label> |
| 133 | 130 | <div class="col-sm-9" style="padding: 0;"> |
| 134 | 131 | <input class="form-control" type="text" value="" id="sp_desc"> |
| ... | ... | @@ -139,55 +136,59 @@ |
| 139 | 136 | <label for="state" class="control-label cb-toolbar">分类:</label> |
| 140 | 137 | <div class="col-sm-10" style="padding: 0;"> |
| 141 | 138 | <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> | |
| 139 | + <option value="" th:selected="selected" >全部</option> | |
| 140 | + <option th:selected="${activitys.id eq activitys.id }" | |
| 141 | + th:each="activitys : ${activityList}" | |
| 142 | + th:value="${activitys.id}" > | |
| 143 | + <th:block th:text="${activitys.activity}"></th:block> | |
| 144 | + </option> | |
| 145 | + | |
| 146 | +<!-- <option value="moment">朋友圈</option>--> | |
| 147 | +<!-- <option value="29">我们的声音上太空</option>--> | |
| 148 | +<!-- <option value="0">上传目击者视频</option>--> | |
| 149 | +<!-- <option value="1">童声共济视频</option>--> | |
| 150 | +<!-- <option value="2">全民健身视频</option>--> | |
| 151 | +<!-- <option value="3">问政监管视频</option>--> | |
| 152 | +<!-- <option value="4">中国网老年大学视频</option>--> | |
| 153 | +<!-- <option value="5">美食中国视频</option>--> | |
| 154 | +<!-- <option value="6">旅游摄影大赛视频</option>--> | |
| 155 | +<!-- <option value="18">红色故事演讲</option>--> | |
| 156 | +<!-- <option value="19">红色诗词朗诵</option>--> | |
| 157 | +<!-- <option value="20">红色短剧展演</option>--> | |
| 158 | +<!-- <option value="7">全国老年大学公开课评选活动</option>--> | |
| 159 | +<!-- <option value="8">甲申同文</option>--> | |
| 160 | +<!-- <option value="9">中国老年大学艺术团万人同唱一首歌</option>--> | |
| 161 | +<!-- <option value="10">孩子声音上太空视频</option>--> | |
| 162 | +<!-- <option value="100">追问发布会</option>--> | |
| 163 | +<!-- <option value="11">芳华归来个人</option>--> | |
| 164 | +<!-- <option value="12">芳华归来团体</option>--> | |
| 165 | +<!-- <option value="13">小小表演家</option>--> | |
| 166 | +<!-- <option value="14">中国微电影</option>--> | |
| 167 | +<!-- <option value="15">幼儿闯关</option>--> | |
| 168 | +<!-- <option value="16">少儿闯关</option>--> | |
| 169 | +<!-- <option value="101">电商-cms</option>--> | |
| 170 | +<!-- <option value="17">青岛读书</option>--> | |
| 171 | +<!-- <option value="21">视频号</option>--> | |
| 172 | +<!-- <option value="29">中国故事上太空</option>--> | |
| 173 | +<!-- <option value="30">绽放夕阳二期</option>--> | |
| 174 | +<!-- <option value="31">绽放夕阳三期</option>--> | |
| 175 | +<!-- <option value="33">万人同唱献给党-独唱</option>--> | |
| 176 | +<!-- <option value="34">万人同唱献给党-合唱</option>--> | |
| 177 | +<!-- <option value="35">精英少年作品展示</option>--> | |
| 178 | +<!-- <option value="36">上太空成年</option>--> | |
| 179 | +<!-- <option value="37">中国推介</option>--> | |
| 180 | +<!-- <option value="38">教学成果展</option>--> | |
| 181 | +<!-- <option value="39">绽放夕阳</option>--> | |
| 182 | +<!-- <option value="40">家乡推介</option>--> | |
| 183 | +<!-- <option value="41">老体协-柔力球</option>--> | |
| 184 | +<!-- <option value="42">老体协-健身球操</option>--> | |
| 185 | +<!-- <option value="43">老体协-太极拳</option>--> | |
| 186 | +<!-- <option value="44">老体协-持杖健走</option>--> | |
| 187 | +<!-- <option value="45">老体协-广场舞</option>--> | |
| 188 | +<!-- <option value="46">老体协-健身秧歌(鼓)</option>--> | |
| 189 | +<!-- <option value="47">老体协-综合类</option>--> | |
| 190 | +<!-- <option value="48">少儿吟诵</option>--> | |
| 191 | +<!-- <option value="49">少年先锋</option>--> | |
| 191 | 192 | </select> |
| 192 | 193 | <!--<input class="form-control" name="video_priority" type="text" id="video_priority">--> |
| 193 | 194 | </div> |
| ... | ... | @@ -195,24 +196,21 @@ |
| 195 | 196 | </div> |
| 196 | 197 | </div> |
| 197 | 198 | |
| 198 | - <div class="col-md-6" style="padding: 0;width: 18%;" | |
| 199 | - th:if="${session.sessionUser.spid==0}"> | |
| 199 | + <div class="col-md-6" style="padding: 0;width: 18%;" th:if="${session.sessionUser.spid==0}"> | |
| 200 | 200 | <label for="video_id" class="control-label cb-toolbar">video_id</label> |
| 201 | 201 | <div class="col-sm-9" style="padding: 0;"> |
| 202 | 202 | <input class="form-control" type="text" value="" id="video_id"> |
| 203 | 203 | </div> |
| 204 | 204 | </div> |
| 205 | 205 | |
| 206 | - <div class="col-md-6" style="padding: 0;width: 18%;" | |
| 207 | - th:if="${session.sessionUser.spid==0}"> | |
| 206 | + <div class="col-md-6" style="padding: 0;width: 18%;" th:if="${session.sessionUser.spid==0}"> | |
| 208 | 207 | <label for="video_user_id" class="control-label cb-toolbar">sid</label> |
| 209 | 208 | <div class="col-sm-9" style="padding: 0;"> |
| 210 | 209 | <input class="form-control" type="text" value="" id="video_user_id"> |
| 211 | 210 | </div> |
| 212 | 211 | </div> |
| 213 | 212 | |
| 214 | - <div class="col-md-6" style="padding: 0;width: 18%;" | |
| 215 | - th:if="${session.sessionUser.spid==0}"> | |
| 213 | + <div class="col-md-6" style="padding: 0;width: 18%;" th:if="${session.sessionUser.spid==0}"> | |
| 216 | 214 | <label for="contentId" class="control-label cb-toolbar">内容id:</label> |
| 217 | 215 | <div class="col-sm-9" style="padding: 0;"> |
| 218 | 216 | <input class="form-control" type="text" value="" id="contentId"> |
| ... | ... | @@ -220,16 +218,14 @@ |
| 220 | 218 | </div> |
| 221 | 219 | |
| 222 | 220 | |
| 223 | - <div class="col-md-6" style="padding: 0;width: 18%;" | |
| 224 | - th:if="${session.sessionUser.spid==0}"> | |
| 221 | + <div class="col-md-6" style="padding: 0;width: 18%;" th:if="${session.sessionUser.spid==0}"> | |
| 225 | 222 | <label for="sp_Id" class="control-label cb-toolbar">sp_Id</label> |
| 226 | 223 | <div class="col-sm-9" style="padding: 0;"> |
| 227 | 224 | <input class="form-control" type="text" value="" id="sp_Id"> |
| 228 | 225 | </div> |
| 229 | 226 | </div> |
| 230 | 227 | |
| 231 | - <div class="col-md-6" style="padding: 0;width: 18%;" | |
| 232 | - th:if="${session.sessionUser.spid==0}"> | |
| 228 | + <div class="col-md-6" style="padding: 0;width: 18%;" th:if="${session.sessionUser.spid==0}"> | |
| 233 | 229 | <label for="shen_auditor_id" class="control-label cb-toolbar">审核员</label> |
| 234 | 230 | <div class="col-sm-9" style="padding: 0;"> |
| 235 | 231 | <input class="form-control" type="text" value="" id="shen_auditor_id"> |
| ... | ... | @@ -309,7 +305,7 @@ |
| 309 | 305 | type="checkbox" th:value="${video.id}"></td> |
| 310 | 306 | <td style="text-align: center; width: 6%;" |
| 311 | 307 | th:text="${video.spid_desc}"></td> |
| 312 | - <td style="text-align: center; width: 20%;"> | |
| 308 | + <td style="text-align: center; width: 20%;" > | |
| 313 | 309 | <a class="detail" th:href="@{'/videos/details/?id='+${video.id}}"> |
| 314 | 310 | <span th:text="${video.video_title}">邓建国正面PK冯小刚</span> |
| 315 | 311 | </a> |
| ... | ... | @@ -329,16 +325,15 @@ |
| 329 | 325 | <!-- <span class="btn btn-sm btn-danger" th:if="${video.state==3}">自动审核失败</span> --> |
| 330 | 326 | </td> |
| 331 | 327 | <td style="text-align: center; width: 3%;"> |
| 332 | - <span th:if="${video.shenhe_type==1}">免审</span> | |
| 333 | - <span th:if="${video.shenhe_type==2}">机审</span> | |
| 334 | - <span th:if="${video.shenhe_type==3}">人工审</span> | |
| 328 | + <span th:if="${video.shenhe_type==1}">免审</span> | |
| 329 | + <span th:if="${video.shenhe_type==2}">机审</span> | |
| 330 | + <span th:if="${video.shenhe_type==3}">人工审</span> | |
| 335 | 331 | </td> |
| 336 | 332 | <td style="text-align: center; width: 10%;" |
| 337 | 333 | th:text="${#dates.format(video.video_upload_time, 'yyyy-MM-dd HH:mm:ss')}"> |
| 338 | 334 | 2018-03-07 16:56:20 |
| 339 | 335 | </td> |
| 340 | - <td style="text-align: center; width: 6%;" th:text="${video.video_user_id}"> | |
| 341 | - 视频上传人的id | |
| 336 | + <td style="text-align: center; width: 6%;" th:text="${video.video_user_id}">视频上传人的id | |
| 342 | 337 | </td> |
| 343 | 338 | <td style="text-align: center; width: 10%;" |
| 344 | 339 | th:text="${#dates.format(video.created_at, 'yyyy-MM-dd HH:mm:ss')}"> |
| ... | ... | @@ -347,10 +342,7 @@ |
| 347 | 342 | <td style="text-align: center; width: 17%;"> |
| 348 | 343 | <a class="detail" th:href="@{'/videos/details/?id='+${video.id}}"> |
| 349 | 344 | <!--th:if="${ (video.receive==true and session.sessionUser.userId==video.receive_user_id) or (video.state==1 or video.state==2) }"--> |
| 350 | - <button class="btn btn-info btn-sm" | |
| 351 | - th:style="${state1 eq '0' && receive1 eq 'false'} ? 'display: none ' : ' '"> | |
| 352 | - 查看 | |
| 353 | - </button> | |
| 345 | + <button class="btn btn-info btn-sm" th:style="${state1 eq '0' && receive1 eq 'false'} ? 'display: none ' : ' '">查看</button> | |
| 354 | 346 | </a> |
| 355 | 347 | <span th:if="${video.state==0 and video.receive==0}"> </span> |
| 356 | 348 | <a th:href="@{'javascript:applyReceive('+${video.id}+')'}" |
| ... | ... | @@ -379,7 +371,7 @@ |
| 379 | 371 | <option value="50" th:selected="${pageSize==50}">50</option> |
| 380 | 372 | <option value="100" th:selected="${pageSize==100}">100</option> |
| 381 | 373 | </select> |
| 382 | - <span class="pagination-info">条记录</span> | |
| 374 | + <span class="pagination-info" >条记录</span> | |
| 383 | 375 | </div> |
| 384 | 376 | <div class="pull-right pagination"> |
| 385 | 377 | <ul class="pagination" th:if="${videoPage.pages>1}"> |
| ... | ... | @@ -464,8 +456,8 @@ |
| 464 | 456 | } |
| 465 | 457 | |
| 466 | 458 | //选择每页数量触发函数 |
| 467 | - function selectPageSize() { | |
| 468 | - var pageSize = $("#pageSize").val(); | |
| 459 | + function selectPageSize(){ | |
| 460 | + var pageSize=$("#pageSize").val(); | |
| 469 | 461 | var param = location.search; |
| 470 | 462 | if (param.indexOf("pageSize=") != -1) { |
| 471 | 463 | var se = param.replace("?", "");//去掉问号,防止问号和要去掉的参数相连 |
| ... | ... | @@ -473,7 +465,7 @@ |
| 473 | 465 | var h = ""; |
| 474 | 466 | for (var i = 0; i < split.length; i++) { |
| 475 | 467 | var s = split[i]; |
| 476 | - if (s.indexOf("pageSize=") < 0 && s.indexOf("page=") < 0) h = h + "&" + split[i]; | |
| 468 | + if (s.indexOf("pageSize=") < 0 &&s.indexOf("page=") < 0) h = h + "&" + split[i]; | |
| 477 | 469 | } |
| 478 | 470 | h = h.substring(1, h.length); |
| 479 | 471 | window.location.href = "/videos/page?" + h + "&pageSize=" + pageSize; |
| ... | ... | @@ -496,11 +488,11 @@ |
| 496 | 488 | window.location.href = "/videos/excel" + param; |
| 497 | 489 | } |
| 498 | 490 | |
| 499 | - var video_priority = ""; | |
| 491 | + var video_priority =""; | |
| 500 | 492 | var video_title = ""; |
| 501 | - var start_date = ""; | |
| 493 | + var start_date =""; | |
| 502 | 494 | var end_date = ""; |
| 503 | - var sp_desc = ""; | |
| 495 | + var sp_desc =""; | |
| 504 | 496 | var count = ""; |
| 505 | 497 | var state = ""; |
| 506 | 498 | var sp_Id = ""; |
| ... | ... | @@ -511,15 +503,15 @@ |
| 511 | 503 | var video_id = ""; |
| 512 | 504 | |
| 513 | 505 | |
| 514 | - function updateValue() { | |
| 506 | + function updateValue(){ | |
| 515 | 507 | video_title = $("#video_titleID").val(); |
| 516 | 508 | start_date = $("#start_date").val(); |
| 517 | 509 | end_date = $("#end_date").val(); |
| 518 | 510 | state = $("#state").val(); |
| 519 | 511 | sp_Id = $("#sp_Id").val(); |
| 520 | 512 | source = $("#source").val(); |
| 521 | - var spId = [[${session.sessionUser.spid}]]; | |
| 522 | - if (spId == 0) { | |
| 513 | + var spId=[[${session.sessionUser.spid}]]; | |
| 514 | + if(spId==0){ | |
| 523 | 515 | sp_desc = $("#sp_desc").val(); |
| 524 | 516 | count = $("#pageSize").val(); |
| 525 | 517 | video_user_id = $("#video_user_id").val(); |
| ... | ... | @@ -533,35 +525,35 @@ |
| 533 | 525 | //全部 |
| 534 | 526 | function quanbu() { |
| 535 | 527 | updateValue(); |
| 536 | - window.location.href = "/videos/page?video_title=" + video_title + "&start_date=" + start_date + "&end_date=" + end_date + "&state=" + state + "&video_priority=" + video_priority + "&sp_desc=" + sp_desc + "&pageSize=" + count + "&sp_Id=" + sp_Id + "&source=" + source + "&video_user_id=" + video_user_id + "&shen_auditor_id=" + shen_auditor_id + "&contentId=" + contentId + "&video_id=" + video_id; | |
| 528 | + window.location.href = "/videos/page?video_title=" + video_title + "&start_date=" + start_date + "&end_date=" + end_date + "&state=" + state + "&video_priority=" + video_priority + "&sp_desc=" + sp_desc+"&pageSize="+count+"&sp_Id="+sp_Id+"&source="+source+"&video_user_id="+video_user_id+"&shen_auditor_id="+shen_auditor_id+"&contentId="+contentId+"&video_id="+video_id; | |
| 537 | 529 | } |
| 538 | 530 | |
| 539 | 531 | //全部待领 |
| 540 | 532 | $('#daishen').click(function () { |
| 541 | 533 | updateValue(); |
| 542 | - if ($.trim(state) == '') state = 0; | |
| 534 | + if($.trim(state) == '') state=0; | |
| 543 | 535 | var receive = 0; |
| 544 | - window.location.href = "page?video_title=" + video_title + "&start_date=" + start_date + "&end_date=" + end_date + "&state=" + state + "&receive=" + receive + "&video_priority=" + video_priority + "&sp_desc=" + sp_desc + "&pageSize=" + count + "&sp_Id=" + sp_Id + "&source=" + source + "&video_user_id=" + video_user_id + "&shen_auditor_id=" + shen_auditor_id + "&contentId=" + contentId + "&video_id=" + video_id; | |
| 536 | + window.location.href = "page?video_title=" + video_title + "&start_date=" + start_date + "&end_date=" + end_date + "&state=" + state + "&receive=" + receive + "&video_priority=" + video_priority + "&sp_desc=" + sp_desc+"&pageSize="+count+"&sp_Id="+sp_Id+"&source="+source+"&video_user_id="+video_user_id+"&shen_auditor_id="+shen_auditor_id+"&contentId="+contentId+"&video_id="+video_id; | |
| 545 | 537 | }); |
| 546 | 538 | //我的待审核 |
| 547 | 539 | $('#Mydaishen').click(function () { |
| 548 | 540 | updateValue(); |
| 549 | 541 | var receive = 1; |
| 550 | - if ($.trim(state) == '') state = 0; | |
| 551 | - window.location.href = "page?video_title=" + video_title + "&start_date=" + start_date + "&end_date=" + end_date + "&state=" + state + "&receive=" + receive + "&video_priority=" + video_priority + "&sp_desc=" + sp_desc + "&pageSize=" + count + "&sp_Id=" + sp_Id + "&source=" + source + "&video_user_id=" + video_user_id + "&shen_auditor_id=" + shen_auditor_id + "&contentId=" + contentId + "&video_id=" + video_id; | |
| 542 | + if($.trim(state) == '') state=0; | |
| 543 | + window.location.href = "page?video_title=" + video_title + "&start_date=" + start_date + "&end_date=" + end_date + "&state=" + state + "&receive=" + receive + "&video_priority=" + video_priority + "&sp_desc=" + sp_desc+"&pageSize="+count+"&sp_Id="+sp_Id+"&source="+source+"&video_user_id="+video_user_id+"&shen_auditor_id="+shen_auditor_id+"&contentId="+contentId+"&video_id="+video_id; | |
| 552 | 544 | }); |
| 553 | 545 | //我的已审核 |
| 554 | 546 | $('#yishen').click(function () { |
| 555 | 547 | updateValue(); |
| 556 | 548 | var receive = 1; |
| 557 | - if ($.trim(state) == '') state = 3;//审核状态,3代表通过和拒绝都查询 | |
| 558 | - window.location.href = "page?video_title=" + video_title + "&start_date=" + start_date + "&end_date=" + end_date + "&state=" + state + "&receive=" + receive + "&video_priority=" + video_priority + "&sp_desc=" + sp_desc + "&pageSize=" + count + "&sp_Id=" + sp_Id + "&source=" + source + "&video_user_id=" + video_user_id + "&shen_auditor_id=" + shen_auditor_id + "&contentId=" + contentId + "&video_id=" + video_id; | |
| 549 | + if($.trim(state) == '') state=3;//审核状态,3代表通过和拒绝都查询 | |
| 550 | + window.location.href = "page?video_title=" + video_title + "&start_date=" + start_date + "&end_date=" + end_date + "&state=" + state + "&receive=" + receive + "&video_priority=" + video_priority + "&sp_desc=" + sp_desc+"&pageSize="+count+"&sp_Id="+sp_Id+"&source="+source+"&video_user_id="+video_user_id+"&shen_auditor_id="+shen_auditor_id+"&contentId="+contentId+"&video_id="+video_id; | |
| 559 | 551 | }); |
| 560 | 552 | |
| 561 | 553 | |
| 562 | 554 | //查询 |
| 563 | 555 | $('#videos_query').click(function () { |
| 564 | - window.location.href = "/videos/page?video_title=" + video_title + "&start_date=" + start_date + "&end_date=" + end_date + "&state=" + state + "&video_priority=" + video_priority + "&sp_desc=" + sp_desc + "&pageSize=" + count + "&sp_Id=" + sp_Id + "&source=" + source + "&video_user_id=" + video_user_id + "&shen_auditor_id=" + shen_auditor_id + "&contentId=" + contentId + "&video_id=" + video_id; | |
| 556 | + window.location.href = "/videos/page?video_title=" + video_title + "&start_date=" + start_date + "&end_date=" + end_date + "&state=" + state + "&video_priority=" + video_priority + "&sp_desc=" + sp_desc+"&pageSize="+count+"&sp_Id="+sp_Id+"&source="+source+"&video_user_id="+video_user_id+"&shen_auditor_id="+shen_auditor_id+"&contentId="+contentId+"&video_id="+video_id; | |
| 565 | 557 | }); |
| 566 | 558 | /*全选的操作*/ |
| 567 | 559 | $('#select_all').click(function () { | ... | ... |