Advertisement
Guest User

Untitled

a guest
Apr 6th, 2017
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 159.01 KB | None | 0 0
  1. ---
  2. version: |
  3. ---
  4. version:
  5. version: 46
  6. entity_model: "<?xml version=\"1.0\" encoding=\"UTF-8\"?><configuration persistent-version=\"\
  7. 206\">\r\n <entity-model>\r\n <entity-definition identifier=\"@hash\"\
  8. \ name=\"ClaimUser\" store-name=\"ClaimUser sr-wbmi-ldapcd-users\">\r\n \
  9. \ <alias chain=\"\" name=\"natural_associations\"/>\r\n <association-definition\
  10. \ name=\"assoc_user_ldap\" to=\"user\">\r\n <link from-field=\"USER_ID\"\
  11. \ to-field=\"title\"/>\r\n </association-definition>\r\n <field\
  12. \ external-name=\"Role\" name=\"Role\"/>\r\n <field external-name=\"\
  13. USER_ID\" name=\"USER_ID\"/>\r\n <field external-name=\"UserID\" name=\"\
  14. UserID\"/>\r\n <field external-name=\"cn\" name=\"cn\"/>\r\n \
  15. \ <field external-name=\"title\" name=\"title\"/>\r\n </entity-definition>\r\
  16. \n <entity-definition identifier=\"@hash\" name=\"claims\" store-name=\"\
  17. claims sr-wbmi-documents-subset-v3\">\r\n <alias chain=\"\" name=\"natural_associations\"\
  18. />\r\n <field external-name=\"doccontent\" name=\"doccontent\"/>\r\n\
  19. \ <field external-name=\"docname\" name=\"title\"/>\r\n </entity-definition>\r\
  20. \n <entity-definition identifier=\"@hash\" name=\"federated-entity\" store-name=\"\
  21. federated-entity federated-entity\">\r\n <alias chain=\"\" name=\"natural_associations\"\
  22. />\r\n </entity-definition>\r\n <entity-definition identifier=\"@hash\"\
  23. \ name=\"log\" store-name=\"log logs\">\r\n <alias chain=\"\" name=\"\
  24. natural_associations\"/>\r\n </entity-definition>\r\n <entity-definition\
  25. \ identifier=\"@hash\" name=\"saved-search\" store-name=\"saved-search saved-search\"\
  26. >\r\n <alias chain=\"\" name=\"natural_associations\"/>\r\n </entity-definition>\r\
  27. \n <entity-definition identifier=\"@hash\" name=\"space\" store-name=\"space\
  28. \ space\">\r\n <alias chain=\"\" name=\"natural_associations\"/>\r\n\
  29. \ </entity-definition>\r\n <entity-definition identifier=\"@hash\"\
  30. \ name=\"user\" store-name=\"user user\">\r\n <alias chain=\"\" name=\"\
  31. natural_associations\"/>\r\n <association-definition name=\"ldap_user\"\
  32. \ to=\"ClaimUser\">\r\n <link from-field=\"title\" to-field=\"USER_ID\"\
  33. />\r\n </association-definition>\r\n <field external-name=\"\
  34. title\" name=\"title\"/>\r\n </entity-definition>\r\n </entity-model>\r\
  35. \n <data-stores>\r\n <collection-store collection-name=\"ontolection-english-spelling-variations\"\
  36. \ name=\"3f2d42dd-efb6-4041-ad29-8afafea602de\">\r\n <data-source-reference\
  37. \ id=\"77c71fcc-dc73-4d01-8791-9477e738cb88\"/>\r\n </collection-store>\r\
  38. \n <collection-store collection-name=\"sr-wbmi-ldapcd-users\" name=\"ClaimUser\
  39. \ sr-wbmi-ldapcd-users\">\r\n <data-source-reference id=\"77c71fcc-dc73-4d01-8791-9477e738cb88\"\
  40. />\r\n </collection-store>\r\n <collection-store collection-name=\"\
  41. activity-feed\" name=\"activity-feed\">\r\n <data-source-reference id=\"\
  42. 77c71fcc-dc73-4d01-8791-9477e738cb88\"/>\r\n </collection-store>\r\n \
  43. \ <collection-store collection-name=\"sr-wbmi-documents-subset-v3\" name=\"claims\
  44. \ sr-wbmi-documents-subset-v3\">\r\n <data-source-reference id=\"77c71fcc-dc73-4d01-8791-9477e738cb88\"\
  45. />\r\n </collection-store>\r\n <collection-store collection-name=\"\
  46. federated-entity\" name=\"federated-entity federated-entity\">\r\n <data-source-reference\
  47. \ id=\"77c71fcc-dc73-4d01-8791-9477e738cb88\"/>\r\n </collection-store>\r\
  48. \n <collection-store collection-name=\"logs\" name=\"log logs\">\r\n \
  49. \ <data-source-reference id=\"77c71fcc-dc73-4d01-8791-9477e738cb88\"/>\r\n\
  50. \ </collection-store>\r\n <collection-store collection-name=\"saved-search\"\
  51. \ name=\"saved-search saved-search\">\r\n <data-source-reference id=\"\
  52. 77c71fcc-dc73-4d01-8791-9477e738cb88\"/>\r\n </collection-store>\r\n \
  53. \ <collection-store collection-name=\"space\" name=\"space space\">\r\n \
  54. \ <data-source-reference id=\"77c71fcc-dc73-4d01-8791-9477e738cb88\"/>\r\n\
  55. \ </collection-store>\r\n <collection-store collection-name=\"user\"\
  56. \ name=\"user user\">\r\n <data-source-reference id=\"77c71fcc-dc73-4d01-8791-9477e738cb88\"\
  57. />\r\n </collection-store>\r\n </data-stores>\r\n <data-sources>\r\n\
  58. \ <data-explorer-engine-instance encrypted-password=\"fNJK10ZCRRS3aT3fnQ8YNhKn9Md57/Z/kOAlS3XXXIA=\"\
  59. \ encrypted-username=\"P5dapNW3Pcs3hj/OLC5dfoW8c0GbtpqlfMtBU/hIy78=\" id=\"77c71fcc-dc73-4d01-8791-9477e738cb88\"\
  60. \ url=\"http://wbmi-engine-exp.swissre.com/search/cgi-bin/velocity.exe\">\r\n \
  61. \ <serves store-name=\"3f2d42dd-efb6-4041-ad29-8afafea602de\"/>\r\n \
  62. \ <serves store-name=\"ClaimUser sr-wbmi-ldapcd-users\"/>\r\n \
  63. \ <serves store-name=\"activity-feed\"/>\r\n <serves store-name=\"claims\
  64. \ sr-wbmi-documents-subset-v3\"/>\r\n <serves store-name=\"federated-entity\
  65. \ federated-entity\"/>\r\n <serves store-name=\"log logs\"/>\r\n \
  66. \ <serves store-name=\"saved-search saved-search\"/>\r\n <serves\
  67. \ store-name=\"space space\"/>\r\n <serves store-name=\"user user\"/>\r\
  68. \n </data-explorer-engine-instance>\r\n </data-sources>\r\n</configuration>"
  69. spotlights: "--- {}\n"
  70. widgets: |
  71. ---
  72. 01-current-user:
  73. display_name: ERB User functions
  74. based_on: erb
  75. entity_type: experiments
  76. ajax: false
  77. page_type: index
  78. view: "<!-- The logged-in user-->\r\nCurrent User Entity : \r\n<%= current_user%>\r\
  79. \n<br/>\r\n<!-- return the logged-in user entity -->\r\nWhat sort of entity: \r\
  80. \n<%= current_user.entity%>\r\n<br/>\r\n\r\n<!-- return the id of the logged-in\
  81. \ user entity -->\r\ncurrent_user.id=\r\n<%= current_user.id%>\r\n<br/>\r\n\r\n\
  82. <!--Returns the user name of this user -->\r\n<%=current_user.username%>\r\n<br/>\r\
  83. \n\r\n<!-- return the id of the logged-in user entity -->\r\nUsername (in reverse):\r\
  84. \n<%= current_user.username.reverse%> \r\n<br/>\r\n\r\nAre there any properties?\
  85. \ \r\n<%= current_user.properties.keys%>\r\n<br/>\r\n<!--\r\nSet the value of\
  86. \ a key : \r\n-->\r\n<br/>\r\n\r\n<%= current_user.type%>\r\n<br/>\r\n\r\n<%=\
  87. \ current_user.spaces%>\r\n<br/>\r\n\r\n\r\n\r\n\r\n<!--\r\nspaces\r\n\r\n\r\n\
  88. Returns a collection of spaces that this user last modified.\r\n\r\nSyntax\r\n\
  89. array spaces(int count)\r\n\r\n\r\n\r\ntype\r\n\r\n\r\nReturns the type of the\
  90. \ entity that represents this user.\r\n\r\nSyntax\r\nstring type\r\n\r\n\r\n\r\
  91. \nentity\r\n\r\n\r\nReturns the entity that represents this user. Use this method\
  92. \ to chain the methods that are available from the entity object.\r\n\r\nSyntax\r\
  93. \nentity entity\r\n\r\n\r\n\r\nadmin?\r\n\r\n\r\nReturns whether or not this user\
  94. \ is an administrator.\r\n\r\nSyntax\r\nBoolean admin?\r\n-->"
  95. 02-search:
  96. display_name: ERB search functions
  97. based_on: erb
  98. entity_type: experiments
  99. ajax: false
  100. page_type: index
  101. view: "<%= subject%>\r\n"
  102. ACL-debugging:
  103. based_on: erb
  104. entity_type: searches
  105. ajax: false
  106. display_conditions: 'false'
  107. page_type: show
  108. view: "<% #username = current_user.entity.field_value(\"title\").text_value \r\n\
  109. user_entity = \"ClaimUser\" #\"User-ACL-test\"\r\nusername = entity_types(\"user\"\
  110. ).where(field(\"DOCUMENT_KEY_HASH\").contains(current_user.username)).first.title.to_s\r\
  111. \n%>\r\nCurrent user: <%= username %><br \\><br \\>\r\n<%\r\npermission = false\r\
  112. \nentity_types(user_entity).where(field(\"USER_ID\").is(username)).requesting(200).each\
  113. \ do |ldapUser|\r\n#ldap_user=current_user.entity.ldap_user.requesting(200)\r\n\
  114. \ #ldap_user.each do |ldapUser|\r\n permission = true\r\n%>\r\n<%= raw \"\
  115. permission: \" + ldapUser.field_value('ROLE_NAME').text_value + \"<br />\" %>\r\
  116. \n<% end\r\n if !permission %>\r\n<%= \"No access found!\" %>\r\n<% end %>"
  117. Date_of_loss_slider:
  118. based_on: erb
  119. entity_type: searches
  120. ajax: false
  121. display_conditions: '!subject.search_results.refinements.get_facet("dol_year_refinement").nil?
  122. and subject.search_results.refinements.get_facet("dol_year_refinement").facet_values.size
  123. > 0'
  124. page_type: show
  125. view: "<div id=\"year_range_widget\"></div>\r\n\r\n<input type=\"text\" id=\"year_range_label\"\
  126. \ readonly style=\"font-family: 'SwissReSansLight', Helvetica, Arial, Sans-Serif;\
  127. \ border:0; color: #627d77; font-size: 1.15em;\"/>\r\n\r\n<div id=\"year_range_slider\"\
  128. ></div>\r\n\r\n<script>\r\n\r\n <%\r\n\r\n $date_facet_id = \"dol_year_refinement\"\
  129. \r\n $date_xpath = \"dol-year\"\r\n \r\n $year_low = 0\r\n $year_high = 0\r\
  130. \n\r\n Struct.new('Documents', :year, :count)\r\n\r\n \r\n\r\n def getDocuments(facet_values)\r\
  131. \n\r\n documents = Array.new\r\n\r\n unless facet_values.nil?\r\n facet_values.each\
  132. \ do |facet|\r\n documents << Struct::Documents.new(facet.label.to_i, facet.ndocs.to_i)\r\
  133. \n if $year_low == 0 or $year_low > facet.label.to_i\r\n $year_low\
  134. \ = facet.label.to_i\r\n end\r\n if $year_high == 0 or $year_high\
  135. \ < facet.label.to_i\r\n $year_high = facet.label.to_i\r\n end\r\
  136. \n end\r\n end\r\n\r\n documents.sort { |a, b| a.year <=> b.year}\r\
  137. \n end\r\n\r\n \r\n date_values = getDocuments(subject.search_results.refinements.get_facet($date_facet_id).facet_values)\r\
  138. \n \r\n %>\r\n\r\n \r\n\r\n var range = defineYearRange(); \r\n\r\n var documentsYearXpath\
  139. \ = \"<%= $date_xpath %>\";\r\n\r\n \r\n\r\n function getMetaData(values, range)\
  140. \ {\r\n\r\n var years = [];\r\n\r\n var count = [];\r\n\r\n if (values\
  141. \ && values.length > 0) {\r\n\r\n var filteredValues = values.filter(function\
  142. \ (val) {\r\n\r\n return val.year >= range.low && val.year <= range.high;\r\
  143. \n\r\n });\r\n\r\n years = filteredValues.map(function (val) {\r\n\r\
  144. \n return val.year;\r\n\r\n });\r\n\r\n count = filteredValues.map(function\
  145. \ (val) {\r\n\r\n return val.count;\r\n\r\n })\r\n\r\n }\r\n\r\n\
  146. \ \r\n\r\n return {years: years, count: count};\r\n\r\n }\r\n\r\n \r\n\r\n\
  147. \ function defineYearRange() {\r\n\r\n var low = <%= $year_low %>;\r\n\r\
  148. \n var high = <%= $year_high %>;\r\n\r\n return {low: low, high: high}\r\
  149. \n\r\n }\r\n\r\n \r\n\r\n function initYearRangeChart(rangeWidget, years, dateCount)\
  150. \ {\r\n\r\n $(rangeWidget).highcharts({\r\n\r\n chart: {\r\n\r\n \
  151. \ type: 'bar',\r\n\r\n height: 500\r\n\r\n },\r\n\r\n title:\
  152. \ {\r\n\r\n text: ''\r\n\r\n },\r\n\r\n xAxis: {\r\n\r\n \
  153. \ categories: years\r\n\r\n },\r\n\r\n yAxis: {\r\n\r\n min:\
  154. \ 0,\r\n\r\n title: {\r\n\r\n text: ''\r\n\r\n }\r\n\r\n\
  155. \ },\r\n\r\n credits: {\r\n\r\n enabled: false\r\n\r\n },\r\
  156. \n\r\n tooltip: {\r\n\r\n headerFormat: '<span style=\"font-size:10px\"\
  157. >{point.key}</span><table>',\r\n\r\n pointFormat: '<tr><td style=\"color:{series.color};padding:0\"\
  158. >{series.name}: </td>' +\r\n\r\n '<td style=\"padding:0\"><b>{point.y}</b></td></tr>',\r\
  159. \n\r\n footerFormat: '</table>',\r\n\r\n shared: true,\r\n\r\n \
  160. \ useHTML: true\r\n\r\n },\r\n\r\n plotOptions: {\r\n\r\n \
  161. \ column: {\r\n\r\n pointPadding: 0.2,\r\n\r\n borderWidth:\
  162. \ 0\r\n\r\n },\r\n\r\n events: {\r\n\r\n click: function\
  163. \ (event, i) {\r\n\r\n window.alert(event.point.name);\r\n\r\n \
  164. \ }\r\n\r\n }\r\n\r\n },\r\n\r\n series: [\r\n\r\n \
  165. \ {\r\n\r\n name: 'CL Documents',\r\n\r\n data: dateCount\r\
  166. \n\r\n }\r\n\r\n ]\r\n\r\n });\r\n\r\n }\r\n\r\n \r\n\r\n function\
  167. \ initYearRangeSlider(sliderWidget, labelWidget, years, facetId, year_xpath) {\r\
  168. \n\r\n $(sliderWidget).slider({\r\n\r\n range: true,\r\n\r\n min:\
  169. \ 1941,\r\n\r\n max: 2017,\r\n\r\n values: [years[0], years[years.length\
  170. \ - 1]],\r\n\r\n slide: function (event, ui) {\r\n\r\n $(labelWidget).val(ui.values[0]\
  171. \ + \" - \" + ui.values[1]);\r\n\r\n },\r\n\r\n stop: function (event,\
  172. \ ui) {\r\n\r\n \r\n\r\n var query = '<%= raw subject.query %>';\r\n\r\n\
  173. \ var refinements_token = JSON.parse('<%= subject.search_results.selected_refinements.to_json\
  174. \ %>');\r\n\r\n if (refinements_token.s) {\r\n\r\n var i = refinements_token.s.length;\r\
  175. \n\r\n while (i--) {\r\n\r\n if (refinements_token.s[i].id\
  176. \ === facetId) {\r\n\r\n refinements_token.s.splice(i, 1);\r\n\r\n\
  177. \ }\r\n\r\n }\r\n\r\n }\r\n\r\n \r\n\r\n refinements_token\
  178. \ = JSON.stringify(refinements_token);\r\n\r\n var selected_tokens = '%7B%22s%22%3A%5B%7B%22id%22%3A%22'\
  179. \ + facetId + '%22%2C%22xPath%22%3A%22%24' + year_xpath + '%22%2C%22logic%22%3A%22AND%22%2C%22s%22%3A%5B%7B%22l%22%3A%22'\
  180. \ + ui.values[0] + '%22%2C%22h%22%3A%22' + (ui.values[1] + 1) + '%22%7D%5D%7D%5D%7D';\r\
  181. \n\r\n \r\n\r\n window.location = '/search?button=search&page=0&q=' + encodeURIComponent(query)\
  182. \ + '&refinements_token=' + encodeURIComponent(refinements_token) + '&selected_tokens%5B%5D='\
  183. \ + selected_tokens;\r\n\r\n }\r\n\r\n });\r\n\r\n }\r\n\r\n \r\n\r\n\
  184. \ var dateMeta = getMetaData(<%=date_values.to_json.html_safe%>, range);\r\n\r\
  185. \n \r\n\r\n $(function () {\r\n\r\n initYearRangeChart('#year_range_widget',\
  186. \ dateMeta.years, dateMeta.count);\r\n\r\n initYearRangeSlider('#year_range_slider',\
  187. \ '#year_range_label', dateMeta.years, \"<%=$date_facet_id%>\", documentsYearXpath);\r\
  188. \n\r\n $(\"#year_range_label\").val($(\"#year_range_slider\").slider(\"values\"\
  189. , 0) + \" - \" + $(\"#year_range_slider\").slider(\"values\", 1));\r\n\r\n \r\n\
  190. \r\n });\r\n\r\n</script> \r\n"
  191. Help:
  192. based_on: erb
  193. entity_type: header
  194. ajax: false
  195. page_type: show
  196. view: "<script>\r\n urlRoot = (window.location.origin.indexOf('wbmi-exp')==-1)?'':'/AppBuilder';\r\
  197. \n document.write('<a href=\"http://ourspace.swissre.com/groups/dna\" target=\"\
  198. _blank\" title=\"Help\"><img style=\"max-width: 24px; max-height: 24px;\" title=\"\
  199. Help\" src=\"'+urlRoot+'/custom/img/help.png\" /></a>')\r\n</script>"
  200. Tabular_widget:
  201. based_on: erb
  202. entity_type: searches
  203. ajax: false
  204. page_type: show
  205. view: "<style>\r\n \r\n \r\n.grid {\r\n height: 75vh;\r\n}\r\n\r\n.grid-canvas\
  206. \ {\r\n position: relative;\r\n width: 100%;\r\n height: 100%;\r\n overflow:\
  207. \ hidden;\r\n}\r\n\r\n.header-wrapper {\r\n position: absolute;\r\n top:\
  208. \ 0;\r\n width: auto;\r\n background-color: #627D77;\r\n z-index: 1;\r\
  209. \n}\r\n\r\n.row-wrapper {\r\n position: absolute;\r\n top: 0;\r\n height:\
  210. \ 100%;\r\n width: 100%;\r\n\r\n overflow: auto;\r\n padding-top: 18px;\r\
  211. \n background-color: white;\r\n}\r\n\r\n.header tbody tr th, .rows tbody tr\
  212. \ td {\r\n width: 150px;\r\n min-width: 150px;\r\n max-width: 150px;\r\n overflow:\
  213. \ hidden;\r\n text-overflow: ellipsis;\r\n white-space: nowrap;\r\n \r\n}\r\n\
  214. \ \r\n #header{\r\n background-color: #627D77;\r\n}\r\n #rows{\r\n }\r\
  215. \n \r\n /* The Modal (background) */\r\n.modal {\r\n display: none; /*\
  216. \ Hidden by default */\r\n position: fixed; /* Stay in place */\r\n z-index:\
  217. \ 10; /* Sit on top */\r\n left: 0;\r\n top: 0;\r\n width: 100%; /* Full\
  218. \ width */\r\n height: 100%; /* Full height */\r\n overflow: visible; \r\
  219. \n background-color: rgb(0,0,0); /* Fallback color */\r\n background-color:\
  220. \ rgba(0,0,0,0.4); /* Black w/ opacity */\r\n}\r\n\r\n/* Modal Content/Box */\r\
  221. \n.modal-content {\r\n background-color: #fefefe;\r\n margin: 8% auto; /*\
  222. \ 15% from the top and centered */\r\n padding: 5px;\r\n border: 1px solid\
  223. \ #888;\r\n width: 99%; /* Could be more or less, depending on screen size\
  224. \ */\r\n\r\n}\r\n\r\n/* The Close Button */\r\n.close {\r\n color: #aaa;\r\n\
  225. \ float: right;\r\n font-size: 28px;\r\n font-weight: bold;\r\n}\r\n\r\
  226. \n.close:hover,\r\n.close:focus {\r\n color: black;\r\n text-decoration:\
  227. \ none;\r\n cursor: pointer;\r\n}\r\n </style>\r\n\r\n<script>\r\n document.getElementById('Tabular_widget_header').style.display\
  228. \ = 'none';\r\n</script>\r\n\r\n<!-- The Modal -->\r\n<div id=\"myModal\" class=\"\
  229. modal\">\r\n <!-- Modal content -->\r\n <div class=\"modal-content\">\r\n \
  230. \ <span class=\"close\">&times;</span>\r\n \r\n <div class=grid>\r\n <div\
  231. \ class=grid-canvas>\r\n \r\n<div class=\"header-wrapper\">\r\n<table class=header\
  232. \ id=\"headertable\">\r\n<tbody> \r\n <tr id=\"header\"\
  233. \ style=\"font-size: 75%;\">\r\n <th>Claim Name</th> \r\n <th>URL</th>\
  234. \ \r\n <th>Cedant</th> \r\n <th>Line of Business</th> \r\n <th>Loss\
  235. \ Location</th> \r\n <th>SR Reinsurer</th> \r\n <th>Broker</th> \r\n\
  236. \ <th>UWY</th> \r\n <th>Claim Source System</th> \r\n <th>Claim\
  237. \ ID</th> \r\n <th>GLE</th> \r\n <th>Business ID</th> \r\n <th>Doc\
  238. \ Date</th> \r\n <th>Doc Type</th> \r\n <th>Doc Name</th> \r\n \
  239. \ <th>Doc ID</th> \r\n <th>Crew Process ID</th> \r\n <th>Process Association</th>\
  240. \ \r\n <th>Cedant Home Country</th>\r\n </tr>\r\n</tbody>\r\n</table>\r\
  241. \n</div>\r\n \r\n<div class=\"row-wrapper\">\r\n<table class=rows id=\"datatable\"\
  242. >\r\n<tbody>\t \r\n <% params[:page] = 0\r\n params[:per_page] = 100\r\n\
  243. \ params[:query_debugging] = nil\r\n SearchResults.new(params[:q], controller.parent_controller,\
  244. \ params).each do |result| %>\r\n <tr>\r\n <td style=\"text-align: left;\
  245. \ border: 1px solid #dddddd;\">\r\n <%= result['clmname'].first ? result['clmname'].first\
  246. \ : \"---\" %>\r\n </td>\r\n <td style=\"text-align: center; border: 1px\
  247. \ solid #dddddd;\">\r\n <a href=\"claims/<%= result.id %>\" target=\"_blank\"\
  248. >link</a>\r\n </td>\r\n <td style=\"text-align: left; border: 1px solid\
  249. \ #dddddd;\">\r\n <%= result['cedant'].first ? result['cedant'].first : \"\
  250. ---\" %>\r\n </td>\r\n <td style=\"text-align: center; border: 1px solid\
  251. \ #dddddd;\">\r\n <%= result['lob'].first ? result['lob'].first : \"---\"\
  252. \ %>\r\n </td>\r\n <td style=\"text-align: center; border: 1px solid #dddddd;\"\
  253. >\r\n <%= result['location'].first ? result['location'].first : \"---\" %>\r\
  254. \n </td>\r\n <td style=\"text-align: center; border: 1px solid #dddddd;\"\
  255. >\r\n <%= result['reinsurer'].first ? result['reinsurer'].first : \"---\"\
  256. \ %>\r\n </td>\r\n <td style=\"text-align: center; border: 1px solid #dddddd;\"\
  257. >\r\n <%= result['broker'].first ? result['broker'].first : \"---\" %>\r\n\
  258. \ </td>\r\n <td style=\"text-align: center; border: 1px solid #dddddd;\"\
  259. >\r\n <%= result['uwy'].first ? result['uwy'].first : \"---\" %>\r\n </td>\r\
  260. \n <td style=\"text-align: center; border: 1px solid #dddddd;\">\r\n <%=\
  261. \ result['clmsrcsys'].first ? result['clmsrcsys'].first : \"---\" %>\r\n </td>\r\
  262. \n <td style=\"text-align: center; border: 1px solid #dddddd;\">\r\n <%=\
  263. \ result['clmid'].first ? result['clmid'].first : \"---\" %>\r\n </td>\r\n\
  264. \ <td style=\"text-align: center; border: 1px solid #dddddd;\">\r\n <%=\
  265. \ result['gle'].first ? result['gle'].first : \"---\" %>\r\n </td>\r\n <td\
  266. \ style=\"text-align: center; border: 1px solid #dddddd;\">\r\n <%= result['busid'].first\
  267. \ ? result['busid'].first : \"---\" %>\r\n </td>\r\n <td style=\"text-align:\
  268. \ center; border: 1px solid #dddddd;\">\r\n <%= result['docdate'].first ?\
  269. \ Time.at(result['docdate'].first.to_i).to_datetime.strftime(\"%Y-%m-%d\"): \"\
  270. ---\" %>\r\n </td>\r\n <td style=\"text-align: center; border: 1px solid\
  271. \ #dddddd;\">\r\n <%= result['doctype'].first ? result['doctype'].first :\
  272. \ \"---\" %>\r\n </td>\r\n <td style=\"text-align: center; border: 1px solid\
  273. \ #dddddd;\">\r\n <%= result['docname'].first ? result['docname'].first :\
  274. \ \"---\" %>\r\n </td>\r\n <td style=\"text-align: center; border: 1px solid\
  275. \ #dddddd;\">\r\n <%= result['srdocid'].first ? result['srdocid'].first :\
  276. \ \"---\" %>\r\n </td>\r\n <td style=\"text-align: center; border: 1px solid\
  277. \ #dddddd;\">\r\n <%= result['pid'].first ? result['pid'].first : \"---\"\
  278. \ %>\r\n </td>\r\n <td style=\"text-align: center; border: 1px solid #dddddd;\"\
  279. >\r\n <%= result['processassoc'].first ? result['processassoc'].first : \"\
  280. ---\" %>\r\n </td>\r\n <td style=\"text-align: center; border: 1px solid\
  281. \ #dddddd;\">\r\n <%= result['chc'].first ? result['chc'].first : \"---\"\
  282. \ %>\r\n </td>\r\n </tr>\r\n <% end %>\r\n </tbody>\r\n </table>\r\
  283. \n </div>\r\n </div>\r\n </div>\r\n \r\n \r\n</div>\r\n</div>\r\n \
  284. \ <script>\r\n $headerDiv = $('.header-wrapper');\r\n $rowDiv = $('.row-wrapper');\r\
  285. \n $rowDiv.scroll(function(e) {\r\n $headerDiv.css({\r\n left: -$rowDiv[0].scrollLeft\
  286. \ + 'px'\r\n });\r\n});\r\n \r\n // Get the modal\r\nvar modal = document.getElementById('myModal');\r\
  287. \n\r\n// Get the button that opens the modal\r\nvar btn = document.getElementById(\"\
  288. myBtn\");\r\n\r\n// Get the <span> element that closes the modal\r\nvar span =\
  289. \ document.getElementsByClassName(\"close\")[0];\r\n\r\n\r\n// When the user clicks\
  290. \ on <span> (x), close the modal\r\nspan.onclick = function() {\r\n modal.style.display\
  291. \ = \"none\";\r\n $('body').css('overflow','scroll');\r\n}\r\n\r\n// When the\
  292. \ user clicks anywhere outside of the modal, close it\r\nwindow.onclick = function(event)\
  293. \ {\r\n if (event.target == modal) {\r\n modal.style.display = \"none\"\
  294. ;\r\n $('body').css('overflow','scroll');\r\n }\r\n}\r\n\r\nfunction addRowHandlers()\
  295. \ {\r\n var rows = document.getElementById(\"datatable\").rows;\r\n\r\n \
  296. \ for (i = 0; i < rows.length; i++) {\r\n rows[i].onclick = function(){\
  297. \ return function(){\r\n if(this.cells[0].style.textOverflow==\"ellipsis\"\
  298. ){\r\n for(j=0; j<19; j++){ \r\n this.cells[j].style.textOverflow=\"\
  299. clip\";\r\n this.cells[j].style.whiteSpace=\"normal\";\r\n \
  300. \ this.cells[j].style.cursor=\"auto\";\r\n }\r\n }else{\r\
  301. \n for(j=0; j<19; j++){ \r\n this.cells[j].style.textOverflow=\"\
  302. ellipsis\";\r\n this.cells[j].style.whiteSpace=\"nowrap\"; \r\n \
  303. \ this.cells[j].style.cursor=\"pointer\"; \r\n }\r\n \
  304. \ }\r\n };}(rows[i]);\r\n }\r\n}\r\nwindow.onload = addRowHandlers();\r\
  305. \n\r\n </script>"
  306. advancedSearchHeader:
  307. based_on: erb
  308. entity_type: header
  309. ajax: false
  310. page_type: show
  311. view: "<style media=\"screen\" type=\"text/css\">\r\n#top_advanced_search_button\
  312. \ {\r\n position:relative;\r\n float:right;\r\n height: 25px;\r\n}\r\n\
  313. </style>\r\n\r\n<text onclick=\"switchAdvancedWidget();\" onmouseover=\"\" style=\"\
  314. cursor: pointer;\" id=\"top_advanced_search_button\">Advanced search </text>"
  315. advancedSearchWidget:
  316. display_name: Advanced Search
  317. based_on: erb
  318. entity_type: searches
  319. ajax: false
  320. page_type: show
  321. view: "<% def getSortedFacetValues2(facet_name)\r\nfacetValues = []\r\n if !subject.search_results.refinements.get_facet(facet_name).nil?\r\
  322. \n subject.search_results.refinements.get_facet(facet_name).facet_values.each\
  323. \ do |facet| \r\n facetValues.push(facet.value)\r\n end\r\n end\r\n\
  324. \ return facetValues.sort\r\nend\r\n%>\r\n\r\n<script>\r\n document.getElementsByClassName('advancedSearchWidget')[0].style.display\
  325. \ = 'none';\r\n</script>\r\n\r\n\r\n\r\n<style>\r\n.input_container {\r\n width:\
  326. \ 45%;\r\n display: inline-block;\r\n}\r\n\r\n.input_container > p {\r\n padding:\
  327. \ 0;\r\n margin: 0;\r\n}\r\n</style>\r\n\r\n<div id=\"middle_advancedSearchForm\"\
  328. \ >\r\n \r\n \r\n \r\n<aa style=\"cursor: pointer;\" onclick=\"toggle()\">Search\
  329. \ in all fields:</aa>\r\n <br><input type=\"text\" id=\"middle_user_query\"><br>\r\
  330. \n \r\n \r\n <div style=\"width: 100%; height: 10px; border-bottom: 1px solid\
  331. \ gray; text-align: center\">\r\n <span style=\"font-size: 16px; background-color:\
  332. \ #ffffff; padding: 0 40px;\">\r\n CREW attributes\r\n </span>\r\n\
  333. \ </div>\r\n<br>\r\n \r\nClaim Name:<br>\r\n <input type=\"text\" id=\"middle_claim_name\"\
  334. \ list=\"as_claim_name_list\"><br>\r\n <datalist id=\"as_claim_name_list\">\r\
  335. \n <% getSortedFacetValues2(\"filter_by_clmname\").each do |facet| %>\r\n \
  336. \ <option value=\"&quot;<%= facet %>&quot;\">&quot;<%= facet%>&quot;</option>\r\
  337. \n <% end %>\r\n </datalist>\r\n \r\n \r\n\r\n <div class=\"input_container\"\
  338. >\r\n<p>Cedant name:</p>\r\n <input type=\"text\" id=\"middle_cedant_name\"\
  339. \ style='width:95%' list=\"as_cedant_name_list\"/>\r\n </div>\r\n <datalist\
  340. \ id=\"as_cedant_name_list\">\r\n <% getSortedFacetValues2(\"filter_by_cedant\"\
  341. ).each do |facet| %>\r\n <option value=\"&quot;<%= facet.rpartition(',')[0];\
  342. \ %>&quot;\">&quot;<%=facet.rpartition(',')[0];%>&quot;</option>\r\n <% end\
  343. \ %>\r\n </datalist>\r\n <div class=\"input_container\">\r\n<p>Cedant ID:</p>\r\
  344. \n <input type=\"text\" id=\"middle_cedant_id\" style='width:50%'/>\r\n </div>\r\
  345. \n <br>\r\n \r\n <div class=\"input_container\">\r\nLine of Business:<br>\r\n\
  346. \ <select multiple name=\"top5\" id=\"middle_line_of_business\" size=\"10\"\
  347. >\r\n <option value=\"\" selected=\"selected\" disabled=\"disabled\" onclick=\"\
  348. clearSelected(this)\">Please select a name</option>\r\n <option onclick=\"\
  349. clearSelected(this)\" value=\"\">-- none --</option> \r\n <% getSortedFacetValues2(\"\
  350. filter_by_lob\").each do |facet| %>\r\n <option onclick=\"deselectFirst(this)\"\
  351. \ value=\"<%= facet %>\"><%= facet%></option>\r\n <% end %>\r\n </select>\r\
  352. \n </div>\r\n \r\n <div class=\"input_container\"> \r\nLoss location:<br>\r\
  353. \n <select multiple id=\"middle_loss_location\" size=\"10\">\r\n <option\
  354. \ onclick=\"clearSelected(this)\" value=\"\" disabled=\"disabled\" selected=\"\
  355. selected\">Please select a location</option> \r\n <option onclick=\"\
  356. clearSelected(this)\" value=\"\">-- none --</option> \r\n <% getSortedFacetValues2(\"\
  357. filter_by_location\").each do |facet| %>\r\n <option onclick=\"deselectFirst(this)\"\
  358. \ value=\"<%= facet %>\"><%= facet%></option>\r\n <% end %>\r\n </select>\r\
  359. \n </div>\r\n<br><br>\r\n \r\n \r\n \r\n <div class=\"input_container\">\r\
  360. \n<p>SR Reinsurer name:</p>\r\n <input type=\"text\" id=\"middle_reinsurer_name\"\
  361. \ style='width:95%' list=\"as_reinsurer_name_list\"/>\r\n</div>\r\n <datalist\
  362. \ id=\"as_reinsurer_name_list\">\r\n <% getSortedFacetValues2(\"filter_by_reinsurer\"\
  363. ).each do |facet| %>\r\n <option value=\"&quot;<%= facet.rpartition(',')[0];\
  364. \ %>&quot;\">&quot;<%=facet.rpartition(',')[0];%>&quot;</option>\r\n <% end\
  365. \ %>\r\n </datalist>\r\n <div class=\"input_container\">\r\n<p>SR Reinsurer\
  366. \ ID:</p>\r\n <input type=\"text\" id=\"middle_reinsurer_id\" style='width:50%'/>\r\
  367. \n </div>\r\n <br>\r\n\r\n\r\n \r\n <div class=\"input_container\">\r\n<p>Broker:</p>\r\
  368. \n <input type=\"text\" id=\"middle_broker_name\" style='width:95%' list=\"\
  369. as_broker_name_list\"/>\r\n </div>\r\n <datalist id=\"as_broker_name_list\"\
  370. >\r\n <% getSortedFacetValues2(\"filter_by_broker\").each do |facet| %>\r\n\
  371. \ <option value=\"&quot;<%= facet %>&quot;\">&quot;<%= facet %>&quot;</option>\r\
  372. \n <% end %>\r\n </datalist>\r\n <div class=\"input_container\">\r\n<p>Broker\
  373. \ ID:</p>\r\n <input type=\"text\" id=\"middle_broker_id\" style='width:50%'\
  374. \ />\r\n </div>\r\n <br>\r\n\r\n \r\n \r\n <div class=\"input_container\"\
  375. >\r\nUnderwriting Year:<br>\r\n <input type=\"number\" name=\"quantity\" min=\"\
  376. 1900\" id=\"middle_year\">\r\n </div>\r\n<br><br>\r\n \r\n <pp id=\"dateOfLoss\"\
  377. > \r\n <div class=\"input_container\"> \r\nDate of Loss range start:<br> (YYYY-MM-DD)\
  378. \ \r\n <input type=\"text\" class=\"date\" id=\"middle_dolStart\" onchange=\"\
  379. checkStartEndDate()\"/> \r\n </div> \r\n <div class=\"input_container\">\r\n\
  380. Date of Loss range end:<br> (YYYY-MM-DD)\r\n <input type=\"text\" class=\"\
  381. date\" id=\"middle_dolEnd\" onchange=\"checkStartEndDate()\"/>\r\n </div> \r\
  382. \n</pp>\r\n<br><br>\r\n \r\n \r\n <div class=\"input_container\">\r\n<p>Claim\
  383. \ Source System:</p>\r\n <input type=\"text\" id=\"middle_clmsrcsys\" style='width:50%'\
  384. \ list=\"as_clmsrcsys_list\"/>\r\n </div>\r\n <datalist id=\"as_clmsrcsys_list\"\
  385. >\r\n <% getSortedFacetValues2(\"filter_by_clmsrcsys\").each do |facet| %>\r\
  386. \n <option value=\"&quot;<%= facet %>&quot;\">&quot;<%= facet%>&quot;</option>\r\
  387. \n <% end %>\r\n </datalist>\r\n <div class=\"input_container\">\r\n<p>Claim\
  388. \ ID:</p>\r\n <input type=\"text\" id=\"middle_clmid\" style='width:50%'/>\r\
  389. \n </div>\r\n <br> \r\n \r\n \r\n \r\n <div class=\"input_container\">\r\
  390. \n<p>Business ID:</p>\r\n <input type=\"text\" id=\"middle_business_id\" style='width:50%'/>\r\
  391. \n </div>\r\n <div class=\"input_container\">\r\n<p>Crew Process ID:</p>\r\n\
  392. \ <input type=\"text\" id=\"middle_pid_id\" style='width:50%'/>\r\n </div>\r\
  393. \n <br> \r\n \r\n \r\n \r\n <div class=\"input_container\">\r\n<p>GLE name:</p>\r\
  394. \n <input type=\"text\" id=\"middle_gle_name\" style='width:95%'/>\r\n </div>\r\
  395. \n <div class=\"input_container\">\r\n<p>GLE ID:</p>\r\n <input type=\"text\"\
  396. \ id=\"middle_gle_id\" style='width:50%'/>\r\n </div>\r\n <br>\r\n \r\n \r\
  397. \n \r\n <div class=\"input_container\">\r\n<p>Document name:</p>\r\n <input\
  398. \ type=\"text\" id=\"middle_doc_name\" style='width:95%'/>\r\n </div>\r\n <div\
  399. \ class=\"input_container\">\r\n<p>Document ID:</p>\r\n <input type=\"text\"\
  400. \ id=\"middle_srdoc_id\" style='width:50%'/>\r\n </div>\r\n <br>\r\n \r\n \
  401. \ \r\n \r\n <pp id=\"basicExample\"> \r\n <div class=\"input_container\">\
  402. \ \r\nDocument Date range start:<br> (YYYY-MM-DD) \r\n <input type=\"text\"\
  403. \ class=\"date\" id=\"middle_startDate\" onchange=\"checkStartEndDate()\"/> \r\
  404. \n </div> \r\n <div class=\"input_container\">\r\nDocument Date range end:<br>\
  405. \ (YYYY-MM-DD)\r\n <input type=\"text\" class=\"date\" id=\"middle_endDate\"\
  406. \ onchange=\"checkStartEndDate()\"/>\r\n </div> \r\n</pp>\r\n<br><br>\r\n \r\
  407. \n \r\n <div class=\"input_container\">\r\nDocument type:<br>\r\n <select multiple\
  408. \ id=\"middle_doctype\" size=\"10\">\r\n <option onclick=\"clearSelected(this)\"\
  409. \ value=\"\" disabled=\"disabled\" selected=\"selected\">Please select a document\
  410. \ type</option> \r\n <option onclick=\"clearSelected(this)\" value=\"\">--\
  411. \ none --</option> \r\n <% getSortedFacetValues2(\"filter_by_doctype\").each\
  412. \ do |facet| %>\r\n <option onclick=\"deselectFirst(this)\" value=\"<%= facet\
  413. \ %>\"><%= facet%></option>\r\n <% end %>\r\n </select>\r\n</div>\r\n \r\n\
  414. \ <div class=\"input_container\">\r\nProcess association:<br>\r\n <select multiple\
  415. \ id=\"middle_processassoc\" size=\"10\">\r\n <option onclick=\"clearSelected(this)\"\
  416. \ value=\"\" disabled=\"disabled\" selected=\"selected\">Please select a process\
  417. \ association</option> \r\n <option onclick=\"clearSelected(this)\" value=\"\
  418. \">-- none --</option> \r\n <% getSortedFacetValues2(\"filter_by_processassoc\"\
  419. ).each do |facet| %>\r\n <option onclick=\"deselectFirst(this)\" value=\"<%=\
  420. \ facet %>\"><%= facet%> </option>\r\n <% end %>\r\n</select>\r\n </div>\r\
  421. \n<br><br>\r\n \r\n \r\n \r\nCedant home country:<br>\r\n <select multiple\
  422. \ id=\"middle_chc\" size=\"10\">\r\n <option onclick=\"clearSelected(this)\"\
  423. \ value=\"\" disabled=\"disabled\" selected=\"selected\">Please select a cedant\
  424. \ home country</option>\r\n <option onclick=\"clearSelected(this)\" value=\"\"\
  425. >-- none --</option> \r\n <% getSortedFacetValues2(\"filter_by_chc\").each\
  426. \ do |facet| %>\r\n <option onclick=\"deselectFirst(this)\" value=\"<%= facet\
  427. \ %>\"><%= facet%> </option>\r\n <% end %>\r\n</select>\r\n<br><br>\r\n\
  428. \ \r\n \r\n\r\n<span class=\"button-preview\" type=\"submit\" onclick=\"queryAdvancedSearch('middle');\
  429. \ return false;\">Search</span>\r\n \r\n <span class=\"button-preview\" type=\"\
  430. submit\" onclick=\"clearAdvancedSearchFields('middle'); return false;\">Clear\
  431. \ fields</span>\r\n</div>\r\n\r\n<script>\r\n//check if end date is not earlier,\
  432. \ than end date\r\nfunction checkStartEndDate(){\r\nvar prefix=\"middle\";\r\n\
  433. var docdate_start=document.getElementById(prefix+\"_\"+\"startDate\").value;\r\
  434. \nvar docdate_end=document.getElementById(prefix+\"_\"+\"endDate\").value;\r\n\
  435. var dol_start=document.getElementById(prefix+\"_\"+\"dolStart\").value;\r\nvar\
  436. \ dol_end=document.getElementById(prefix+\"_\"+\"dolEnd\").value;\r\n if(new\
  437. \ Date(docdate_start)>new Date(docdate_end)){\r\n alert(\"Incorrect Document\
  438. \ date interval\");\r\n }\r\n if(new Date(dol_start)>new Date(dol_end)){\r\n\
  439. \ alert(\"Incorrect Date of Loss interval\");\r\n }\r\n}\r\n \r\n $('#basicExample\
  440. \ .date').datepicker({\r\n 'format': 'yyyy-mm-dd',\r\n 'autoclose':\
  441. \ true\r\n });\r\n $('#dateOfLoss .date').datepicker({\r\n 'format':\
  442. \ 'yyyy-mm-dd',\r\n 'autoclose': true\r\n });\r\n\r\n // initialize\
  443. \ datepair\r\n var basicExampleEl = document.getElementById('basicExample');\r\
  444. \n var datepair = new Datepair(basicExampleEl);\r\n var basicExampleEl2\
  445. \ = document.getElementById('dateOfLoss');\r\n var datepair2 = new Datepair(basicExampleEl2);\r\
  446. \n\r\n</script>\r\n\r\n"
  447. amc_test_container:
  448. display_name: AMC Container Widget
  449. based_on: flip
  450. entity_type: amc_test1
  451. ajax: false
  452. page_type: index
  453. widgets:
  454. - amc_useful_links
  455. - amc_widget_custom_1
  456. amc_test_entityChart:
  457. display_name: AMC Entity Chart Widget
  458. based_on: entity_chart
  459. entity_type: amc_test1
  460. ajax: false
  461. page_type: index
  462. series:
  463. - facet_id: book_sales
  464. faceting: subject.UnderwritingYear.faceted_by(field("year").with_facet_id(facet_id).without_pruning).faceting
  465. amc_widget_custom_1:
  466. display_name: AMC Custom1 Widget
  467. based_on: erb
  468. entity_type: amc_test1
  469. ajax: false
  470. page_type: index
  471. view: "<!-- build the request: we want 5 authors, sorted by word count -->\r\n<%\
  472. \ claims = entity_types(\"Claims1\").requesting(5) %>\r\n<ol>\r\n <!-- resolve\
  473. \ the request with .each, and make each author from the response available\r\n\
  474. \ inside the loop as the variable \"author\" -->\r\n <% claims.each do\
  475. \ |claim| %>\r\n <!-- this will happen once for each author -->\r\n <li>\r\
  476. \n <!-- print the author's \"name\" and \"word_count\" fields -->\r\n \
  477. \ <!-- I expect each author to have only one name and one word_count value,\
  478. \ but field\r\n values always come back as lists, so I grab the first\
  479. \ value from the list. If I didn't\r\n use .first, I would see square\
  480. \ brackets around the value, which represents an array. -->\r\n <%= claim[\"\
  481. Broker\"].first %>: <%= claim[\"Cedant\"].first %>\r\n </li>\r\n <% end %>\r\
  482. \n</ol>"
  483. assoc_user_ldap_list:
  484. based_on: entity_list
  485. entity_type: ClaimUser
  486. page_type: show
  487. entities: subject.assoc_user_ldap
  488. automatically-disappearing-disclaimer:
  489. based_on: erb
  490. entity_type: searches
  491. ajax: false
  492. page_type: show
  493. view: "<p class=\"disclaimer\">\r\nWelcome to Business Management Pathfinder. This\
  494. \ tool must be used in accordance with the Swiss Re Code of Conduct, Group Data\
  495. \ Protection Policy, and your general access rights to personally identifiable\
  496. \ data in all Swiss Re systems. Do not share the results of your searches with\
  497. \ employees who do not have at least equal access rights. Please note that use\
  498. \ of BM Pathfinder is logged and monitored for inappropriate data access.\r\n\
  499. </p>"
  500. claims_activity_feed:
  501. based_on: activity_feed
  502. entity_type: claims
  503. ajax: true
  504. page_type: show
  505. claims_custom_detail:
  506. display_name: Document Content
  507. based_on: erb
  508. entity_type: claims
  509. ajax: false
  510. page_type: show
  511. view: "<% if subject.first.nil? %>\r\nThis document does not exist. Please check\
  512. \ how you got here and consider filing a bug report.\r\n<% else %>\r\n<% \r\n\
  513. #Initialize variables\r\nldap_user=\"\"\r\naccess=false\r\ncountry=\"\"\r\ncontent=\"\
  514. \"\r\nmaxNumCharsToDisplay=10000\r\n\r\n#Get the DP Access Role assigned to the\
  515. \ document\r\ndpAccessRole=subject.first.field_value('dataprotcaccssrole').to_s\r\
  516. \n\r\n#Hardcode dpAccessRole for Unit Test\r\ndpAccessRole=\"WBX_User\" \r\n#\"\
  517. WTI_LH_WatsonTreatyIntelligence\"\r\n#Does this access role exist in the ldap\
  518. \ for the logged-in user\r\nldap_user=current_user.entity.ldap_user.requesting(200)\r\
  519. \nif ldap_user != nil then\r\n if dpAccessRole!= nil && dpAccessRole.length>0\
  520. \ then\r\n ldap_user.each do |ldapUser| \r\n #access=ldapUser.field_value('ROLE_NAME').to_s.eql?dpAccessRole\r\
  521. \n access=ldapUser.field_value('ROLE_NAME').text_value.eql?dpAccessRole\r\
  522. \n if access then\r\n break\r\n end\r\n end\r\n else\r\n\
  523. \ access=false\r\n end\r\nend\r\n\r\n#Get the document content\r\ncontent\
  524. \ = raw subject.field_value('doccontent')\r\n\r\nif content.nil? then\r\n content=\"\
  525. Document has no content\"\r\nelse\r\n #convert vivisimo object to text\r\n if\
  526. \ content.length>maxNumCharsToDisplay then\r\n #Select specified # of characters\r\
  527. \n\t content=content[0, maxNumCharsToDisplay]+\"...\"\r\n end\r\n # Call\
  528. \ html_safe after truncating the string to avoid invalid html escaped characters\r\
  529. \n content=content.html_safe\r\n content=sanitize(content)\r\n #content.gsub!\
  530. \ \"\\\\n\", \"<br/>\"\r\nend\r\n%>\r\n<% if access then %>\r\n<!-- Create a Custom\
  531. \ Preview Control -->\r\n<%\r\npreview_link=\"https://web-exp.swissre.com/\"+\r\
  532. \n \"webapp/wti/document/WBMI/pdf/VCHR_B01/#{subject.field_value('docid')}\"\
  533. \ #09104c5482f537f3\"\r\n%>\r\n<!-- Disable preview button temporarily\r\n\
  534. <p class=\"button-preview-para\">\r\n<span class=\"button-preview\" id=\"<%=subject.first.id%>\"\
  535. \ > \r\n <%= link_to \"Preview\", \"#{preview_link}\" %>\r\n</span>\r\n</p>-->\r\
  536. \n<p id=\"content_1\" class=\"document-content\">\r\n</p>\r\n\r\n<script>\r\n\
  537. \ var content = \"<%=content%>\";\r\n \r\n //Hardcoded for test - do not deploy\r\
  538. \n //content=(content!=\"\")?content:\"abc\\ndef\";\r\n \r\n \r\n content=content.replace(/\\\
  539. n/g, \"<br />\");\r\n //alert(content);\r\ndocument.getElementById('content_1').innerHTML=content;\r\
  540. \n</script>\r\n<% else %>\r\n<p class=\"warn-message\">\r\n<%= \"You do not have\
  541. \ the permission to view this document, the required access role is #{dpAccessRole}.\"\
  542. \ %>\r\n</p>\r\n<% end \r\nend %>"
  543. claims_information:
  544. display_name: Claim Information
  545. based_on: entity_information
  546. entity_type: claims
  547. ajax: false
  548. page_type: show
  549. title: subject.title
  550. follow: false
  551. info_groups:
  552. - label: 'Merged Document:'
  553. eval: subject.field_value("mergeddoc")
  554. fields:
  555. - clmname
  556. - cedant
  557. - lob
  558. - location
  559. - reinsurer
  560. - broker
  561. - clmsrcsys
  562. - uwy
  563. - clmid
  564. - gle
  565. - busid
  566. - docdate
  567. - doctype
  568. - docname
  569. - srdocid
  570. - pid
  571. - processassoc
  572. - chc
  573. claims_table:
  574. based_on: table
  575. entity_type: claims
  576. page_type: index
  577. query_for_eval: entity_type('claims')
  578. results_per_page: 10
  579. auto_hide_columns: true
  580. column_definitions:
  581. - title: Name
  582. content: entity_link_to entity.title, entity, :title => entity.title
  583. enable_filtering: true
  584. where_fields:
  585. - title
  586. claimuser_activity_feed:
  587. based_on: activity_feed
  588. entity_type: ClaimUser
  589. ajax: true
  590. page_type: show
  591. claimuser_information:
  592. based_on: entity_information
  593. entity_type: ClaimUser
  594. page_type: show
  595. title: subject.title
  596. follow: true
  597. claimuser_table:
  598. based_on: table
  599. entity_type: ClaimUser
  600. page_type: index
  601. query_for_eval: entity_type('ClaimUser')
  602. results_per_page: 10
  603. auto_hide_columns: true
  604. column_definitions:
  605. - title: Name
  606. content: entity_link_to entity.title, entity, :title => entity.title
  607. enable_filtering: true
  608. where_fields:
  609. - title
  610. date_of_loss_chart:
  611. display_name: Filter by Date of Loss
  612. based_on: erb
  613. entity_type: searches
  614. ajax: true
  615. page_type: show
  616. view: "<div id=\"treat_year_sorted\"></div> \r\n \r\n \r\n<% \r\n \r\n \r\n\
  617. year_facets = subject.search_results.refinements.get_facet(\"refine_by_dateofloss\"\
  618. ).facet_values \r\n \r\nyears = {} \r\nyear_facets.each { |facet| years[facet.label]\
  619. \ = facet.ndocs } \r\n \r\nordered_years = years.keys.sort { |a, b| a.to_i <=>\
  620. \ b.to_i } \r\n \r\nordered_counts = [] \r\nordered_years.each { |year| ordered_counts\
  621. \ << years[year].to_i } \r\n \r\n%> \r\n \r\n<script> \r\nvar treat_year_facet_id\
  622. \ = \"refine_by_dateofloss\"; \r\nvar treat_year_xpath = \"DateofLoss\"; \r\n\
  623. \ \r\n$(function () { \r\n $('#treat_year_sorted').highcharts({ \r\n chart:\
  624. \ { \r\n type: 'bar', \r\n height: 500 \r\n }, \r\n title:{\
  625. \ \r\n text:'' \r\n }, \r\n xAxis: { \r\n categories: <%= ordered_years.to_s.html_safe\
  626. \ %> \r\n }, \r\n yAxis: { \r\n min: 0, \r\n title: { \r\n \
  627. \ text: '' \r\n } \r\n }, \r\n credits: { \r\n enabled: false\
  628. \ \r\n }, \r\n \r\n tooltip: { \r\n headerFormat: '<span style=\"\
  629. font-size:10px\">{point.key}</span><table>', \r\n pointFormat: '<tr><td style=\"\
  630. color:{series.color};padding:0\">{series.name}: </td>' + \r\n '<td\
  631. \ style=\"padding:0\"><b>{point.y}</b></td></tr>', \r\n footerFormat:\
  632. \ '</table>', \r\n shared: true, \r\n useHTML: true,\r\n enabled:\
  633. \ false\r\n },\r\n plotOptions: { \r\n column: { \r\n pointPadding:\
  634. \ 0.2, \r\n borderWidth: 0 \r\n }, \r\n events:{ \r\n \
  635. \ click: function (event, i) { \r\n window.alert(event.point.name);\
  636. \ \r\n } \r\n } \r\n }, \r\n series: [{ \r\n name:\
  637. \ 'Date of Loss', \r\n point: { \r\n \
  638. \ events: { \r\n \
  639. \ click: function(e) { \r\n value\
  640. \ = e.point.category; \r\n query = \"<%=subject.query%>\"+\"\"; \r\n\
  641. \ refinements_token = '<%=subject.search_results.selected_refinements%>'.replaceAll(\"\
  642. &quot;\",\"\\\"\"); \r\n selected_tokens = '%7B\"s\"%3A%5B%7B\"id\"%3A\"\
  643. '+treat_year_facet_id+'\"%2C\"xPath\"%3A\"%24'+treat_year_xpath+'\"%2C\"separator\"\
  644. %3A\"%2F\"%2C\"logic\"%3A\"OR\"%2C\"s\"%3A%5B%7B\"n\"%3A\"'+value+'\"%2C\"k\"\
  645. %3A\"'+value+'\"%7D%5D%7D%5D%7D'; \r\n \r\n newURL = '/AppBuilder/search?button=Search&expand_all=false&id=&page=0&q='+query+'&refinements_token='+encodeURIComponent(refinements_token)+'&selected_tokens%5B%5D='+selected_tokens;\
  646. \ \r\n \r\n window.location = newURL; \r\n \
  647. \ e.preventDefault();\
  648. \ \r\n \
  649. \ } \r\n } \r\n\
  650. \ }, \r\n data: <%= ordered_counts.to_s.html_safe\
  651. \ %> \r\n }] \r\n }); \r\n}); \r\n</script> \r\n"
  652. dol_year_refinement:
  653. based_on: refinement
  654. entity_type: searches
  655. ajax: true
  656. display_conditions: 'false'
  657. page_type: show
  658. facet_by: field("dol-year")
  659. toggle: true
  660. visualization_style: list
  661. experimental-modal-message:
  662. display_name: Experiment - Modal Message
  663. based_on: erb
  664. entity_type: experiment-modal-message
  665. ajax: false
  666. page_type: index
  667. view: "<!-- The Modal -->\r\n<div id=\"myModal\" class=\"modal\" width=\"100px\"\
  668. \ height=\"100px\">\r\n\r\n <!-- Modal content -->\r\n <div class=\"modal-content\"\
  669. >\r\n <!--<span class=\"close\">x</span>-->\r\n <p>Welcome to Business Management\
  670. \ Pathfinder. This tool must be used in accordance with the Swiss Re Code of Conduct,\
  671. \ Group Data Protection Policy, and your general access rights to personally identifiable\
  672. \ data in all Swiss Re systems. Do not share the results of your searches with\
  673. \ employees who do not have at least equal access rights. Please note that use\
  674. \ of Watson BM is logged and monitored for inappropriate data access.</p>\r\n\
  675. \ </div>\r\n\r\n</div>\r\n<script>\r\n// Get the modal\r\nvar modal = document.getElementById('myModal');\r\
  676. \n\r\n// Get the <span> element that closes the modal\r\nvar span = document.getElementsByClassName(\"\
  677. close\")[0];\r\n\r\n// When the user clicks on the button, open the modal \r\n\
  678. \ modal.style.display = \"block\";\r\n// When the user clicks on <span> (x),\
  679. \ close the modal\r\n/*\r\n span.onclick = function() {\r\n modal.style.display\
  680. \ = \"none\";\r\n}\r\n*/\r\n\r\n// When the user clicks anywhere outside of the\
  681. \ modal, close it\r\nwindow.onclick = function(event) {\r\n if (event.target\
  682. \ == modal) {\r\n modal.style.display = \"none\";\r\n }\r\n}\r\n\r\n\
  683. setInterval(function(){\r\n modal.style.display = \"none\";\r\n },10000)\r\
  684. \n\r\n</script>"
  685. filter_by_broker:
  686. display_name: Filter by Broker
  687. based_on: refinement
  688. entity_type: searches
  689. ajax: true
  690. help: "<table class=\"filter_by_helpbox\" id=\"filter_by_helpbox_broker\">\r\n<tr><td>Search\
  691. \ Key</td><td><b>broker</b>:&lt;Broker ID or (part of) name&gt;</td></tr>\r\n\
  692. <tr><td>Example 1</td><td><b>broker:2631723</b></td></tr>\r\n<tr><td>Example 2</td><td><b>broker:Aon</b></td></tr>\r\
  693. \n<tr><td>Example 3</td><td><b>broker:\"Guy Carpenter\"</b></td></tr>\r\n</table>"
  694. page_type: show
  695. facet_by: field("broker").with_or_logic
  696. toggle: true
  697. visualization_style: list
  698. refinements_per_level: 5
  699. show_all_refinements_per_level: 500
  700. filter_by_brokername:
  701. display_name: Filter by Brokername
  702. based_on: refinement
  703. entity_type: searches
  704. ajax: true
  705. display_conditions: 'false'
  706. help: "<table class=\"filter_by_helpbox\" id=\"filter_by_helpbox_broker\">\r\n<tr><td>Search\
  707. \ Key</td><td><b>broker</b>:&lt;Broker ID or (part of) name&gt;</td></tr>\r\n\
  708. <tr><td>Example 1</td><td><b>broker:2631723</b></td></tr>\r\n<tr><td>Example 2</td><td><b>broker:Aon</b></td></tr>\r\
  709. \n<tr><td>Example 3</td><td><b>broker:\"Guy Carpenter\"</b></td></tr>\r\n</table>"
  710. page_type: show
  711. facet_by: field("brokername").with_or_logic
  712. toggle: true
  713. visualization_style: list
  714. refinements_per_level: 5
  715. show_all_refinements_per_level: 500
  716. filter_by_busid:
  717. display_name: Filter by Business ID
  718. based_on: refinement
  719. entity_type: searches
  720. ajax: true
  721. help: "<table class=\"filter_by_helpbox\" id=\"filter_by_helpbox_busid\">\r\n<tr><td>Search\
  722. \ Key</td><td><b>busid</b>:&lt;(Part of) business ID&gt;</td></tr>\r\n<tr><td>Example\
  723. \ 1</td><td><b>busid:6402427</b></td></tr> \r\n<tr><td>Example 2</td><td><b>busid:\"\
  724. 6111457, 6111563, 6111564\"</b></td></tr>\r\n</table>"
  725. page_type: show
  726. facet_by: field("busid").with_or_logic
  727. toggle: true
  728. visualization_style: list
  729. refinements_per_level: 5
  730. show_all_refinements_per_level: 500
  731. filter_by_cedant:
  732. display_name: Filter by Cedant
  733. based_on: refinement
  734. entity_type: searches
  735. ajax: true
  736. help: "<table class=\"filter_by_helpbox\" id=\"filter_by_helpbox_cedant\">\r\n<tr><td>Search\
  737. \ Key</td><td><b>cedant</b>:&lt;Cedant ID or (part of) name&gt;</td></tr>\r\n\
  738. <tr><td>Example 1</td><td><b>cedant:Zurich</b></td></tr>\r\n<tr><td>Example 2</td><td><b>cedant:\"\
  739. Hartford Accident\"</b></td></tr>\r\n</table>"
  740. page_type: show
  741. facet_by: field("cedant").with_or_logic
  742. toggle: true
  743. visualization_style: list
  744. refinements_per_level: 5
  745. show_all_refinements_per_level: 500
  746. filter_by_chc:
  747. display_name: Filter by Cedant Home Country
  748. based_on: refinement
  749. entity_type: searches
  750. ajax: true
  751. help: "<table class=\"filter_by_helpbox\" id=\"filter_by_helpbox_chc\">\r\n<tr><td>Search\
  752. \ Key</td><td><b>chc</b>:&lt;(Part of) cedant home country&gt;</td></tr>\r\n<tr><td>Example</td><td><b>chc:States</b></td></tr>\r\
  753. \n</table>"
  754. page_type: show
  755. facet_by: field("chc").with_or_logic
  756. toggle: true
  757. visualization_style: list
  758. refinements_per_level: 5
  759. show_all_refinements_per_level: 500
  760. filter_by_clmid:
  761. display_name: Filter by Claim ID
  762. based_on: refinement
  763. entity_type: searches
  764. ajax: true
  765. help: "<table class=\"filter_by_helpbox\" id=\"filter_by_helpbox_clmid\">\r\n<tr><td>Search\
  766. \ Key</td><td><b>clmid</b>:&lt;Claim ID&gt;</td></tr>\r\n<tr><td>Example</td><td><b>clmid:IC01286915</b></td></tr>\r\
  767. \n</table> "
  768. page_type: show
  769. facet_by: field("clmid").with_or_logic
  770. toggle: true
  771. visualization_style: list
  772. refinements_per_level: 5
  773. show_all_refinements_per_level: 500
  774. filter_by_clmname:
  775. display_name: Filter by Claim Name
  776. based_on: refinement
  777. entity_type: searches
  778. ajax: true
  779. help: "<table class=\"filter_by_helpbox\" id=\"filter_by_helpbox_clmname\">\r\n\
  780. <tr><td>Search Key</td><td><b>clmname</b>:&lt;(Part of) claim name&gt;</td></tr>\r\
  781. \n<tr><td>Example 1</td><td><b>clmname:Transocean</b></td></tr>\r\n<tr><td>Example\
  782. \ 2</td><td><b>clmname:\"Hurricane Sandy\"</b></td></tr>\r\n</table>"
  783. page_type: show
  784. facet_by: field("clmname").with_or_logic.with_maximum_facet_values_of(500)
  785. toggle: true
  786. visualization_style: list
  787. refinements_per_level: 5
  788. show_all_refinements_per_level: 500
  789. filter_by_clmsrcsys:
  790. display_name: Filter by Claim Source System
  791. based_on: refinement
  792. entity_type: searches
  793. ajax: true
  794. help: "<table class=\"filter_by_helpbox\" id=\"filter_by_helpbox_clmsrcsys\">\r\n\
  795. <tr><td>Search Key</td><td><b>clmsrcsys</b>:&lt;Claim Source System&gt;</td></tr>\r\
  796. \n<tr><td>Example</td><td><b>clmsrcsys:SICSNT</b></td></tr>\r\n</table>"
  797. page_type: show
  798. facet_by: field("clmsrcsys").with_or_logic
  799. toggle: true
  800. visualization_style: list
  801. refinements_per_level: 5
  802. filter_by_docdate:
  803. display_name: Filter by Document Date
  804. based_on: refinement
  805. entity_type: searches
  806. ajax: true
  807. help: "<table class=\"filter_by_helpbox\" id=\"filter_by_helpbox_docdate\">\r\n\
  808. <tr><td>Search Key</td><td><b>docdate</b>:&lt;Document date as yyyy-mm-dd&gt;</td></tr>\r\
  809. \n<tr><td>Example</td><td><b>docdate:1999-11-28</b></td></tr>\r\n</table>"
  810. page_type: show
  811. facet_by: "#xpath('viv:format-date($docdate, \"%Y-%m-%d\")').with_or_logic\r\nfield(\"\
  812. docdate-humanreadable\").with_or_logic"
  813. toggle: true
  814. visualization_style: list
  815. refinements_per_level: 5
  816. show_all_refinements_per_level: 500
  817. filter_by_doctype:
  818. display_name: Filter by Document Type
  819. based_on: refinement
  820. entity_type: searches
  821. ajax: true
  822. help: "<table class=\"filter_by_helpbox\" id=\"filter_by_helpbox_doctype\">\r\n\
  823. <tr><td>Search Key</td><td><b>doctype</b>:&lt;(Part of) document type&gt;</td></tr>\r\
  824. \n<tr><td>Example</td><td><b>doctype:Billing</b></td></tr>\r\n<tr><td>Example</td><td><b>doctype:\"\
  825. First Claim Advice\"</b></td></tr>\r\n</table>"
  826. page_type: show
  827. facet_by: field("doctype").with_or_logic
  828. toggle: true
  829. visualization_style: list
  830. refinements_per_level: 5
  831. show_all_refinements_per_level: 500
  832. filter_by_dol:
  833. display_name: Filter by Date of Loss
  834. based_on: refinement
  835. entity_type: searches
  836. ajax: true
  837. help: "<table class=\"filter_by_helpbox\" id=\"filter_by_helpbox_dol\">\r\n<tr><td>Search\
  838. \ Key</td><td><b>dol</b>:&lt;Date of loss as yyyy-mm-dd&gt;</td></tr>\r\n<tr><td>Example</td><td><b>dol:1999-11-28</b></td></tr>\r\
  839. \n</table>"
  840. page_type: show
  841. facet_by: "#xpath('viv:format-date($dol, \"%Y-%m-%d\")').with_or_logic\r\nfield(\"\
  842. dol-humanreadable\").with_or_logic"
  843. toggle: true
  844. visualization_style: list
  845. refinements_per_level: 5
  846. show_all_refinements_per_level: 500
  847. filter_by_gle:
  848. display_name: Filter by GLE
  849. based_on: refinement
  850. entity_type: searches
  851. ajax: true
  852. help: "<table class=\"filter_by_helpbox\" id=\"filter_by_helpbox_gle\">\r\n<tr><td>Search\
  853. \ Key</td><td><b>gle</b>:&lt;GLE ID or (part of) name&gt;</td></tr>\r\n<tr><td>Example\
  854. \ 1</td><td><b>gle:120884</b></td></tr>\r\n<tr><td>Example 2</td><td><b>gle:Asbestos</b></td></tr>\r\
  855. \n<tr><td>Example 3</td><td><b>gle:\"Pollution in the USA\"</b></td></tr>\r\n\
  856. </table>"
  857. page_type: show
  858. facet_by: field("gle").with_or_logic
  859. toggle: true
  860. visualization_style: list
  861. refinements_per_level: 5
  862. show_all_refinements_per_level: 500
  863. filter_by_lob:
  864. display_name: Filter by Line Of Business
  865. based_on: refinement
  866. entity_type: searches
  867. ajax: true
  868. help: "<table class=\"filter_by_helpbox\" id=\"filter_by_helpbox_lob\">\r\n<tr><td>Search\
  869. \ Key</td><td><b>lob</b>:&lt;(Part of) line of business&gt;</td></tr>\r\n<tr><td>Example\
  870. \ 1</td><td><b>lob:Accident</b></td></tr>\r\n<tr><td>Example 2</td><td><b>lob:\"\
  871. Non-Life Accident\"</b></td></tr>\r\n</table>"
  872. page_type: show
  873. facet_by: field("lob").with_or_logic
  874. toggle: true
  875. visualization_style: list
  876. refinements_per_level: 5
  877. filter_by_location:
  878. display_name: Filter by Loss Location
  879. based_on: refinement
  880. entity_type: searches
  881. ajax: true
  882. help: "<table class=\"filter_by_helpbox\" id=\"filter_by_helpbox_location\">\r\n\
  883. <tr><td>Search Key</td><td><b>location</b>:&lt;(Part of) loss location&gt;</td></tr>\r\
  884. \n<tr><td>Example 1</td><td><b>location:York</b></td></tr>\r\n<tr><td>Example\
  885. \ 2</td><td><b>location:\"South Carolina\"</b></td></tr>\r\n</table>"
  886. page_type: show
  887. facet_by: field("location").with_or_logic
  888. toggle: true
  889. visualization_style: list
  890. refinements_per_level: 5
  891. show_all_refinements_per_level: 500
  892. filter_by_mergeddoc:
  893. display_name: Filter by Merged Document
  894. based_on: refinement
  895. entity_type: searches
  896. ajax: true
  897. help: "<table class=\"filter_by_helpbox\" id=\"filter_by_helpbox_mergeddoc\">\r\n\
  898. <tr><td>Search Key</td><td><b>mergeddoc</b>:&lt;Merged or Non-Merged&gt;</td></tr>\r\
  899. \n<tr><td>Example</td><td><b>mergeddoc:Non-Merged</b></td></tr>\r\n</table>"
  900. page_type: show
  901. facet_by: field("mergeddoc").with_or_logic
  902. toggle: true
  903. visualization_style: list
  904. refinements_per_level: 5
  905. filter_by_processassoc:
  906. display_name: Filter by Process Association
  907. based_on: refinement
  908. entity_type: searches
  909. ajax: true
  910. help: "<table class=\"filter_by_helpbox\" id=\"filter_by_helpbox_processassoc\"\
  911. >\r\n<tr><td>Search Key</td><td><b>processassoc</b>:&lt;Process Association&gt;</td></tr>\r\
  912. \n<tr><td>Example</td><td><b>processassoc:Business</b></td></tr>\r\n</table>"
  913. page_type: show
  914. facet_by: field("processassoc").with_or_logic
  915. toggle: true
  916. visualization_style: list
  917. refinements_per_level: 5
  918. filter_by_reinsurer:
  919. display_name: Filter by SR Reinsurer
  920. based_on: refinement
  921. entity_type: searches
  922. ajax: true
  923. help: "<table class=\"filter_by_helpbox\" id=\"filter_by_helpbox_reinsurer\">\r\n\
  924. <tr><td>Search Key</td><td><b>reinsurer</b>:&lt;SR reinsurer ID or (part of) name&gt;</td></tr>\r\
  925. \n<tr><td>Example 1</td><td><b>reinsurer:92003</b></td></tr>\r\n<tr><td>Example\
  926. \ 2</td><td><b>reinsurer:Westport</b></td></tr>\r\n<tr><td>Example 3</td><td><b>reinsurer:\"\
  927. The Mercantile\"</b></td></tr>\r\n</table>"
  928. page_type: show
  929. facet_by: field("reinsurer").with_or_logic
  930. toggle: true
  931. visualization_style: list
  932. refinements_per_level: 5
  933. show_all_refinements_per_level: 500
  934. filter_by_uwy:
  935. display_name: Filter by Underwriting Year
  936. based_on: refinement
  937. entity_type: searches
  938. ajax: true
  939. help: "<table class=\"filter_by_helpbox\" id=\"filter_by_helpbox_uwy\">\r\n<tr><td>Search\
  940. \ Key</td><td><b>uwy</b>:&lt;Year as yyyy&gt;</td></tr>\r\n<tr><td>Example</td><td><b>uwy:2011</b></td></tr>\r\
  941. \n</table>"
  942. page_type: show
  943. facet_by: field("uwy").with_or_logic
  944. toggle: true
  945. visualization_style: list
  946. refinements_per_level: 5
  947. show_all_refinements_per_level: 500
  948. footer_navigation:
  949. based_on: navigation
  950. page_type: show
  951. entity_type: footer
  952. enabled_pages:
  953. - display_name: Home
  954. page_id: home
  955. functionality_module_export:
  956. display_name: Export widget
  957. based_on: erb
  958. entity_type: searches
  959. ajax: false
  960. page_type: show
  961. view: "<style>\r\n .widget.functionality_module_export {\r\n display: none;\r\
  962. \n }\r\n</style>\r\n \r\n<script>\r\n \r\n function get_row_value(value) {\r\
  963. \n if (value === undefined || value === null) {\r\n return ''\r\n }\r\
  964. \n return value;\r\n }\r\n \r\n function get_token_row(token) {\r\n var\
  965. \ token_arr = [\r\n get_row_value(token.id),\r\n get_row_value(token.xPath.substring(1)),\r\
  966. \n get_row_value(token.separator),\r\n get_row_value(token.logic)\r\n\
  967. \ ];\r\n if (token.s && token.s.length > 0) {\r\n for (var i = 0; i\
  968. \ < token.s.length; i++) {\r\n token_arr.push(JSON.stringify(token.s[i]))\r\
  969. \n }\r\n }\r\n return token_arr\r\n }\r\n \r\n function export_results(data)\
  970. \ {\r\n console.log(\"export_results\")\r\n var filename = data.filename;\r\
  971. \n var ep = new ExcelPlus();\r\n \r\n ep.createFile(Object.keys(data.rows));\r\
  972. \n for (var i in data.rows) {\r\n ep.selectSheet(i);\r\n var sheetHeaders\
  973. \ = data.headers[i];\r\n ep.write({\"content\": [sheetHeaders]});\r\n \
  974. \ for (var j = 0; j < data.rows[i].length; j++) {\r\n ep.writeNextRow(get_row_value(data.rows[i][j]));\r\
  975. \n //ep.writeNextRow(data.rows[i][j]);\r\n }\r\n }\r\n \r\n \
  976. \ var query = '<%=subject.query%>';\r\n var userid=$('#current-username').text();\r\
  977. \n var date=new Date().toLocaleString();\r\n var refinements_token = JSON.parse('<%=\
  978. \ subject.search_results.selected_refinements.to_json %>');\r\n \r\n ep.createSheet('meta');\r\
  979. \n ep.writeRow(1, ['URL', window.location.href]);\r\n ep.writeNextRow(['Search\
  980. \ Expression', query]);\r\n ep.writeNextRow(['Exported By (UserID)',userid]);\r\
  981. \n ep.writeNextRow(['Exported Date',date]);\r\n if (refinements_token &&\
  982. \ refinements_token.s && refinements_token.s.length > 0) {\r\n \r\n ep.writeRow(4,\
  983. \ ['Refinement ID', 'Field', 'Separator', 'Operator', 'Values']);\r\n var\
  984. \ tokens = refinements_token.s;\r\n tokens.forEach(function (token) {\r\n\
  985. \ var tokenRow = get_token_row(token);\r\n console.log(tokenRow);\r\
  986. \n ep.writeNextRow(tokenRow);\r\n });\r\n }\r\n \r\n ep.saveAs(filename\
  987. \ + '.' + data.type);\r\n }\r\n\r\n function downloadFile(fileName, data) {\r\
  988. \n var blob = new Blob([data], {type: 'text/csv;charset=utf-8;'});\r\n if\
  989. \ (navigator.msSaveBlob) { // IE 10+\r\n navigator.msSaveBlob(blob, fileName);\r\
  990. \n } else {\r\n var link = document.createElement(\"a\");\r\n if\
  991. \ (link.download !== undefined) { // feature detection\r\n // Browsers\
  992. \ that support HTML5 download attribute\r\n var url = URL.createObjectURL(blob);\r\
  993. \n link.setAttribute(\"href\", url);\r\n link.setAttribute(\"download\"\
  994. , fileName);\r\n link.style.visibility = 'hidden';\r\n document.body.appendChild(link);\r\
  995. \n link.click();\r\n document.body.removeChild(link);\r\n }\r\
  996. \n }\r\n }\r\n</script>"
  997. header_links:
  998. based_on: header_links
  999. page_type: show
  1000. entity_type: header
  1001. help:
  1002. based_on: image
  1003. entity_type: header
  1004. ajax: true
  1005. page_type: show
  1006. image: |
  1007. iVBORw0KGgoAAAANSUhEUgAAAGUAAABkCAYAAACfIP5qAAAABGdBTUEAALGO
  1008. fPtRkwAAACBjSFJNAACHDwAAjA8AAP1SAACBQAAAfXkAAOmLAAA85QAAGcxz
  1009. PIV3AAAKOWlDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAEjHnZZ3VFTXFofP
  1010. vXd6oc0wAlKG3rvAANJ7k15FYZgZYCgDDjM0sSGiAhFFRJoiSFDEgNFQJFZE
  1011. sRAUVLAHJAgoMRhFVCxvRtaLrqy89/Ly++Osb+2z97n77L3PWhcAkqcvl5cG
  1012. SwGQyhPwgzyc6RGRUXTsAIABHmCAKQBMVka6X7B7CBDJy82FniFyAl8EAfB6
  1013. WLwCcNPQM4BOB/+fpFnpfIHomAARm7M5GSwRF4g4JUuQLrbPipgalyxmGCVm
  1014. vihBEcuJOWGRDT77LLKjmNmpPLaIxTmns1PZYu4V8bZMIUfEiK+ICzO5nCwR
  1015. 3xKxRoowlSviN+LYVA4zAwAUSWwXcFiJIjYRMYkfEuQi4uUA4EgJX3HcVyzg
  1016. ZAvEl3JJS8/hcxMSBXQdli7d1NqaQffkZKVwBALDACYrmcln013SUtOZvBwA
  1017. Fu/8WTLi2tJFRbY0tba0NDQzMv2qUP91829K3NtFehn4uWcQrf+L7a/80hoA
  1018. YMyJarPziy2uCoDOLQDI3fti0zgAgKSobx3Xv7oPTTwviQJBuo2xcVZWlhGX
  1019. wzISF/QP/U+Hv6GvvmckPu6P8tBdOfFMYYqALq4bKy0lTcinZ6QzWRy64Z+H
  1020. +B8H/nUeBkGceA6fwxNFhImmjMtLELWbx+YKuGk8Opf3n5r4D8P+pMW5FonS
  1021. +BFQY4yA1HUqQH7tBygKESDR+8Vd/6NvvvgwIH554SqTi3P/7zf9Z8Gl4iWD
  1022. m/A5ziUohM4S8jMX98TPEqABAUgCKpAHykAd6ABDYAasgC1wBG7AG/iDEBAJ
  1023. VgMWSASpgA+yQB7YBApBMdgJ9oBqUAcaQTNoBcdBJzgFzoNL4Bq4AW6D+2AU
  1024. TIBnYBa8BgsQBGEhMkSB5CEVSBPSh8wgBmQPuUG+UBAUCcVCCRAPEkJ50Gao
  1025. GCqDqqF6qBn6HjoJnYeuQIPQXWgMmoZ+h97BCEyCqbASrAUbwwzYCfaBQ+BV
  1026. cAK8Bs6FC+AdcCXcAB+FO+Dz8DX4NjwKP4PnEIAQERqiihgiDMQF8UeikHiE
  1027. j6xHipAKpAFpRbqRPuQmMorMIG9RGBQFRUcZomxRnqhQFAu1BrUeVYKqRh1G
  1028. daB6UTdRY6hZ1Ec0Ga2I1kfboL3QEegEdBa6EF2BbkK3oy+ib6Mn0K8xGAwN
  1029. o42xwnhiIjFJmLWYEsw+TBvmHGYQM46Zw2Kx8lh9rB3WH8vECrCF2CrsUexZ
  1030. 7BB2AvsGR8Sp4Mxw7rgoHA+Xj6vAHcGdwQ3hJnELeCm8Jt4G749n43PwpfhG
  1031. fDf+On4Cv0CQJmgT7AghhCTCJkIloZVwkfCA8JJIJKoRrYmBRC5xI7GSeIx4
  1032. mThGfEuSIemRXEjRJCFpB+kQ6RzpLuklmUzWIjuSo8gC8g5yM/kC+RH5jQRF
  1033. wkjCS4ItsUGiRqJDYkjiuSReUlPSSXK1ZK5kheQJyeuSM1J4KS0pFymm1Hqp
  1034. GqmTUiNSc9IUaVNpf+lU6RLpI9JXpKdksDJaMm4ybJkCmYMyF2TGKQhFneJC
  1035. YVE2UxopFykTVAxVm+pFTaIWU7+jDlBnZWVkl8mGyWbL1sielh2lITQtmhct
  1036. hVZKO04bpr1borTEaQlnyfYlrUuGlszLLZVzlOPIFcm1yd2WeydPl3eTT5bf
  1037. Jd8p/1ABpaCnEKiQpbBf4aLCzFLqUtulrKVFS48vvacIK+opBimuVTyo2K84
  1038. p6Ss5KGUrlSldEFpRpmm7KicpFyufEZ5WoWiYq/CVSlXOavylC5Ld6Kn0Cvp
  1039. vfRZVUVVT1Whar3qgOqCmrZaqFq+WpvaQ3WCOkM9Xr1cvUd9VkNFw08jT6NF
  1040. 454mXpOhmai5V7NPc15LWytca6tWp9aUtpy2l3audov2Ax2yjoPOGp0GnVu6
  1041. GF2GbrLuPt0berCehV6iXo3edX1Y31Kfq79Pf9AAbWBtwDNoMBgxJBk6GWYa
  1042. thiOGdGMfI3yjTqNnhtrGEcZ7zLuM/5oYmGSYtJoct9UxtTbNN+02/R3Mz0z
  1043. llmN2S1zsrm7+QbzLvMXy/SXcZbtX3bHgmLhZ7HVosfig6WVJd+y1XLaSsMq
  1044. 1qrWaoRBZQQwShiXrdHWztYbrE9Zv7WxtBHYHLf5zdbQNtn2iO3Ucu3lnOWN
  1045. y8ft1OyYdvV2o/Z0+1j7A/ajDqoOTIcGh8eO6o5sxybHSSddpySno07PnU2c
  1046. +c7tzvMuNi7rXM65Iq4erkWuA24ybqFu1W6P3NXcE9xb3Gc9LDzWepzzRHv6
  1047. eO7yHPFS8mJ5NXvNelt5r/Pu9SH5BPtU+zz21fPl+3b7wX7efrv9HqzQXMFb
  1048. 0ekP/L38d/s/DNAOWBPwYyAmMCCwJvBJkGlQXlBfMCU4JvhI8OsQ55DSkPuh
  1049. OqHC0J4wybDosOaw+XDX8LLw0QjjiHUR1yIVIrmRXVHYqLCopqi5lW4r96yc
  1050. iLaILoweXqW9KnvVldUKq1NWn46RjGHGnIhFx4bHHol9z/RnNjDn4rziauNm
  1051. WS6svaxnbEd2OXuaY8cp40zG28WXxU8l2CXsTphOdEisSJzhunCruS+SPJPq
  1052. kuaT/ZMPJX9KCU9pS8Wlxqae5Mnwknm9acpp2WmD6frphemja2zW7Fkzy/fh
  1053. N2VAGasyugRU0c9Uv1BHuEU4lmmfWZP5Jiss60S2dDYvuz9HL2d7zmSue+63
  1054. a1FrWWt78lTzNuWNrXNaV78eWh+3vmeD+oaCDRMbPTYe3kTYlLzpp3yT/LL8
  1055. V5vDN3cXKBVsLBjf4rGlpVCikF84stV2a9021DbutoHt5turtn8sYhddLTYp
  1056. rih+X8IqufqN6TeV33zaEb9joNSydP9OzE7ezuFdDrsOl0mX5ZaN7/bb3VFO
  1057. Ly8qf7UnZs+VimUVdXsJe4V7Ryt9K7uqNKp2Vr2vTqy+XeNc01arWLu9dn4f
  1058. e9/Qfsf9rXVKdcV17w5wD9yp96jvaNBqqDiIOZh58EljWGPft4xvm5sUmoqb
  1059. PhziHRo9HHS4t9mqufmI4pHSFrhF2DJ9NProje9cv+tqNWytb6O1FR8Dx4TH
  1060. nn4f+/3wcZ/jPScYJ1p/0Pyhtp3SXtQBdeR0zHYmdo52RXYNnvQ+2dNt293+
  1061. o9GPh06pnqo5LXu69AzhTMGZT2dzz86dSz83cz7h/HhPTM/9CxEXbvUG9g5c
  1062. 9Ll4+ZL7pQt9Tn1nL9tdPnXF5srJq4yrndcsr3X0W/S3/2TxU/uA5UDHdavr
  1063. XTesb3QPLh88M+QwdP6m681Lt7xuXbu94vbgcOjwnZHokdE77DtTd1PuvriX
  1064. eW/h/sYH6AdFD6UeVjxSfNTws+7PbaOWo6fHXMf6Hwc/vj/OGn/2S8Yv7ycK
  1065. npCfVEyqTDZPmU2dmnafvvF05dOJZ+nPFmYKf5X+tfa5zvMffnP8rX82Ynbi
  1066. Bf/Fp99LXsq/PPRq2aueuYC5R69TXy/MF72Rf3P4LeNt37vwd5MLWe+x7ys/
  1067. 6H7o/ujz8cGn1E+f/gUDmPP8usTo0wAAAAlwSFlzAAAOxAAADsQBlSsOGwAA
  1068. BT1JREFUeF7tnM1KHEEQgEufYs3qEuILBBMiIgQieJBgIOAlEOJBFPHi1RyS
  1069. g15y9ZKDIkQI5BLYQwgeAnsI8bAxmCcwiD+sb5Fsb3pkHadn+6e6unpmPhC7
  1070. QXSqvq3q+Wln6G8XqGAFaykzK4tyhENrZ1+OeMNKCraEQXCVFFwKtQgVnAQF
  1071. kcJFhIrQgkilcJeRJpQcEimxyUhDLcerlNhlpKGS40VK0WSk8S0HXQq2EKwE
  1072. cD2uLFClYARO1SI4HyuaFJcgqUSocBWEffzOUmKWkYZLLE5SbIPgJiNN6Lis
  1073. pdgcOHcZaULFaCXF9GBjk5GGOt5h+V2bsgkRmMZgU2H9GEkpo5AESjHaUsos
  1074. JIFKjNaaYvLLiygjC585MV5T8iiLEIHPWAdK0f1ElElIgm7Mpm0st32xFXL1
  1075. BZbffoYTOVUxu7YPr+/LiUew8xSNlPODN7DYPJMzc3wKMqkEnVwppXARcri3
  1076. CG/acuJMA5Y3t+BFTU4RwcxXphQWQjRblA3jz9/B7tyInOGBlTfrsy/vFfLV
  1077. jxDBSXMDZvaO5QwPrJzckqJj27cQgA6cXcqhL9rbsHzQkRM8dHIzKMeo1ylU
  1078. iPYjgld9bU3KHxzASfM9fLqSE0bcWFN4VMl/bi3wk+vQWpqQEz20ztgsfq8O
  1079. LrlkWymNO43/A5E0UQEWiRub24LW5gKMy3km7Sa7ajGSQlUlgl5CLWXcoDYP
  1080. u2tTcpLFGbR+h1lbVFxL0T2di5L7q7nrzMnRLziXY0pUOdeuFMoq8cH005w2
  1081. dnHZrRd8bHMW5dmXFbWHMDMqx7foSgm0rmRVS09KoVvXNSPQqMvhLc7g1JMU
  1082. m2rRqpTYW1fC9Rkdc8rTvrqMjShLhRXD5WhdvEk7GFgpRWldgvOO7xtq2Zjm
  1083. sFTtS00D7np4xmJLiaR04MeR6mqkDo1KSgg6cHohh2kmH8G0HHKgNFLOD5rw
  1084. TY7TzD7Av0vsQkmkHMNH1S380QV4SbDjxYQSSOnAp81tdZU8m4cxOeZCsaWI
  1085. zRcrG7CrXEvWSfaFmVJMKT0ZizCTuxtmCrY8PHFUYXKtMvRk+ZVyM56A88Wj
  1086. /Z6wrpCdVfIzrry7J/15jrdSutXwwUZI7/EyLyFpIpZyabgvTFQHwuNlAgp+
  1087. 9iW2qSZbj+irw5YCSpEV0fvys2/YNwWvlDippDCkeFJG692VJG4GSqmeTLpj
  1088. msNhzheHZSHtIN72Vavn7xGOGC0pVQujpSelamH+sPlAF+/sq15n93wkj6yC
  1089. 0JbCroUp9gZzerRrmzOj/+Sq2pwZOlKcKkXArloYYytEULw1pQDckKLTnqpq
  1090. GYxLlQiqSmGI9WtAOCz6mc/oPf0Lti4YubOulNBtTLlpor3t5RUfOmDlJFOK
  1091. bhWEE3MM3/M2TbR/wqEcUqGbC53cOq8pQcRcXcIfOSwiSikc1oxYwKwSQW6l
  1092. 8G9j4cEWInBuXwmkYmp1uCeHmRA9EvYV80ApJobpxEzA47zXRxHcKTaJ1XQp
  1093. 0KoUjmKmlxTv9SK4TvEpRKB8sWcWpgm3OSDOUMVvtKaY/hGqqqGA8gNpvNCX
  1094. UQx1hzBqX/3YJNv1YKkJFaO1FIFtFXCXEzouJykC2wAE3ORwicVZisAlGEFo
  1095. OdyOH0VKgmtwAipBnI8VVYoAI9h+sALnelxZoEsRYCcgjyQ5If6mL7xISaBM
  1096. FAW+ZSR4lZIQuxwqGQkkUhJik0MtI4FUSgJ3OaFkJASR0g8XQaFF9BNcSj/U
  1097. gjiJ6IeVlDTYkrhKSMNaSllB2zhRgUclhSGVFIZUUhhSSWEHwD+IN6BThZ1f
  1098. GgAAAABJRU5ErkJggg==
  1099. link_to: Help
  1100. helpPageInvoker:
  1101. based_on: erb
  1102. entity_type: Help
  1103. ajax: false
  1104. page_type: index
  1105. view: "<p id=\"help\">\r\n \r\n</p> \r\n<script>\r\n /*\r\n urlRoot = (window.location.origin.indexOf('wbmi-exp')==-1)?'':'/AppBuilder';\r\
  1106. \n imageSource=urlRoot+\"/custom/img/help.png\";\r\n hrefString=\"<a href=\\\
  1107. \"http://ourspace.swissre.com/groups/bm-pathfinder\\\"\"+\r\n \"target=\\\"\
  1108. _blank\\\"\"+\r\n \"title=\\\"Help\\\">\"+\r\n \"<img style=\\\"max-width:\
  1109. \ 24px; max-height: 24px;\\\"\"+\r\n \"title=\\\"Help\\\"\"+\r\n \"src=\\\
  1110. \"\"+imageSource+\"\\\" /></a>\";\r\n document.write(hrefString);\r\ndocument.getElementById(\"\
  1111. help\").innerHTML=imageSource;\r\n*/\r\nwindow.open ('http://ourspace.swissre.com/groups/bm-pathfinder','_self',false)\r\
  1112. \n</script>"
  1113. ldap_user_list:
  1114. based_on: entity_list
  1115. entity_type: user
  1116. page_type: show
  1117. entities: subject.ldap_user
  1118. local_help:
  1119. based_on: erb
  1120. entity_type: header
  1121. ajax: false
  1122. page_type: show
  1123. view: "<script>\r\n urlRoot = (window.location.origin.indexOf('wbmi-exp')==-1)?'':'/';\r\
  1124. \n imageSource=urlRoot+\"custom/img/help.png\";\r\n hrefString=\"<a href=\\\"\
  1125. http://ourspace.swissre.com/groups/bm-pathfinder\\\"\"+\r\n \" class=\\\"helpIcon\\\
  1126. \"\"+\r\n \" target=\\\"_blank\\\"\"+\r\n \" title=\\\"Help\\\">\"+\r\n\
  1127. \ \"<img style=\\\"max-width: 30px; max-height: 30px;\\\"\"+\r\n \" title=\\\
  1128. \"Help\\\"\"+\r\n \" src=\\\"\"+imageSource+\"\\\" /></a>\";\r\n document.write(hrefString);\r\
  1129. \n</script>"
  1130. log_activity_feed:
  1131. based_on: activity_feed
  1132. entity_type: log
  1133. ajax: true
  1134. page_type: show
  1135. log_information:
  1136. based_on: entity_information
  1137. entity_type: log
  1138. page_type: show
  1139. title: subject.title
  1140. follow: true
  1141. log_table:
  1142. based_on: table
  1143. entity_type: log
  1144. ajax: false
  1145. display_conditions: current_user.admin?
  1146. page_type: index
  1147. query_for_eval: entity_type('log')
  1148. results_per_page: 10
  1149. auto_hide_columns: true
  1150. column_definitions:
  1151. - title: Name
  1152. content: entity_link_to entity.title, entity
  1153. sorting_formula: ''
  1154. sorting_direction: asc
  1155. enable_filtering: true
  1156. where_fields:
  1157. - title
  1158. logo:
  1159. based_on: image
  1160. entity_type: header
  1161. ajax: true
  1162. page_type: show
  1163. image: |
  1164. iVBORw0KGgoAAAANSUhEUgAAASwAAAAgCAYAAACoyEW6AAAACXBIWXMAAAsT
  1165. AAALEwEAmpwYAAA4JWlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFj
  1166. a2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQi
  1167. Pz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0
  1168. az0iQWRvYmUgWE1QIENvcmUgNS42LWMxMTEgNzkuMTU4MzI1LCAyMDE1LzA5
  1169. LzEwLTAxOjEwOjIwICAgICAgICAiPgogICA8cmRmOlJERiB4bWxuczpyZGY9
  1170. Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMi
  1171. PgogICAgICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgICAg
  1172. ICAgICB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8i
  1173. CiAgICAgICAgICAgIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxl
  1174. bWVudHMvMS4xLyIKICAgICAgICAgICAgeG1sbnM6cGhvdG9zaG9wPSJodHRw
  1175. Oi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIgogICAgICAgICAgICB4
  1176. bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIK
  1177. ICAgICAgICAgICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20v
  1178. eGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgICAgICAgICAgeG1s
  1179. bnM6dGlmZj0iaHR0cDovL25zLmFkb2JlLmNvbS90aWZmLzEuMC8iCiAgICAg
  1180. ICAgICAgIHhtbG5zOmV4aWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20vZXhpZi8x
  1181. LjAvIj4KICAgICAgICAgPHhtcDpDcmVhdG9yVG9vbD5BZG9iZSBQaG90b3No
  1182. b3AgQ0MgMjAxNSAoV2luZG93cyk8L3htcDpDcmVhdG9yVG9vbD4KICAgICAg
  1183. ICAgPHhtcDpDcmVhdGVEYXRlPjIwMTctMDEtMDZUMTU6MDc6MjArMDE6MDA8
  1184. L3htcDpDcmVhdGVEYXRlPgogICAgICAgICA8eG1wOk1vZGlmeURhdGU+MjAx
  1185. Ny0wMS0wOVQxMTo1Mzo0NiswMTowMDwveG1wOk1vZGlmeURhdGU+CiAgICAg
  1186. ICAgIDx4bXA6TWV0YWRhdGFEYXRlPjIwMTctMDEtMDlUMTE6NTM6NDYrMDE6
  1187. MDA8L3htcDpNZXRhZGF0YURhdGU+CiAgICAgICAgIDxkYzpmb3JtYXQ+aW1h
  1188. Z2UvcG5nPC9kYzpmb3JtYXQ+CiAgICAgICAgIDxwaG90b3Nob3A6Q29sb3JN
  1189. b2RlPjM8L3Bob3Rvc2hvcDpDb2xvck1vZGU+CiAgICAgICAgIDx4bXBNTTpJ
  1190. bnN0YW5jZUlEPnhtcC5paWQ6ODQ0ZjhhM2MtZjJhYi0yNDQwLTg4ZWEtZDQ4
  1191. OTFjMGE5OGZlPC94bXBNTTpJbnN0YW5jZUlEPgogICAgICAgICA8eG1wTU06
  1192. RG9jdW1lbnRJRD54bXAuZGlkOjg0NGY4YTNjLWYyYWItMjQ0MC04OGVhLWQ0
  1193. ODkxYzBhOThmZTwveG1wTU06RG9jdW1lbnRJRD4KICAgICAgICAgPHhtcE1N
  1194. Ok9yaWdpbmFsRG9jdW1lbnRJRD54bXAuZGlkOjg0NGY4YTNjLWYyYWItMjQ0
  1195. MC04OGVhLWQ0ODkxYzBhOThmZTwveG1wTU06T3JpZ2luYWxEb2N1bWVudElE
  1196. PgogICAgICAgICA8eG1wTU06SGlzdG9yeT4KICAgICAgICAgICAgPHJkZjpT
  1197. ZXE+CiAgICAgICAgICAgICAgIDxyZGY6bGkgcmRmOnBhcnNlVHlwZT0iUmVz
  1198. b3VyY2UiPgogICAgICAgICAgICAgICAgICA8c3RFdnQ6YWN0aW9uPmNyZWF0
  1199. ZWQ8L3N0RXZ0OmFjdGlvbj4KICAgICAgICAgICAgICAgICAgPHN0RXZ0Omlu
  1200. c3RhbmNlSUQ+eG1wLmlpZDo4NDRmOGEzYy1mMmFiLTI0NDAtODhlYS1kNDg5
  1201. MWMwYTk4ZmU8L3N0RXZ0Omluc3RhbmNlSUQ+CiAgICAgICAgICAgICAgICAg
  1202. IDxzdEV2dDp3aGVuPjIwMTctMDEtMDZUMTU6MDc6MjArMDE6MDA8L3N0RXZ0
  1203. OndoZW4+CiAgICAgICAgICAgICAgICAgIDxzdEV2dDpzb2Z0d2FyZUFnZW50
  1204. PkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE1IChXaW5kb3dzKTwvc3RFdnQ6c29m
  1205. dHdhcmVBZ2VudD4KICAgICAgICAgICAgICAgPC9yZGY6bGk+CiAgICAgICAg
  1206. ICAgIDwvcmRmOlNlcT4KICAgICAgICAgPC94bXBNTTpIaXN0b3J5PgogICAg
  1207. ICAgICA8dGlmZjpPcmllbnRhdGlvbj4xPC90aWZmOk9yaWVudGF0aW9uPgog
  1208. ICAgICAgICA8dGlmZjpYUmVzb2x1dGlvbj43MjAwMDAvMTAwMDA8L3RpZmY6
  1209. WFJlc29sdXRpb24+CiAgICAgICAgIDx0aWZmOllSZXNvbHV0aW9uPjcyMDAw
  1210. MC8xMDAwMDwvdGlmZjpZUmVzb2x1dGlvbj4KICAgICAgICAgPHRpZmY6UmVz
  1211. b2x1dGlvblVuaXQ+MjwvdGlmZjpSZXNvbHV0aW9uVW5pdD4KICAgICAgICAg
  1212. PGV4aWY6Q29sb3JTcGFjZT42NTUzNTwvZXhpZjpDb2xvclNwYWNlPgogICAg
  1213. ICAgICA8ZXhpZjpQaXhlbFhEaW1lbnNpb24+MzAwPC9leGlmOlBpeGVsWERp
  1214. bWVuc2lvbj4KICAgICAgICAgPGV4aWY6UGl4ZWxZRGltZW5zaW9uPjMyPC9l
  1215. eGlmOlBpeGVsWURpbWVuc2lvbj4KICAgICAgPC9yZGY6RGVzY3JpcHRpb24+
  1216. CiAgIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+CiAgICAgICAgICAgICAgICAg
  1217. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1218. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAg
  1219. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1220. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1221. ICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1222. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1223. ICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1224. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1225. ICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAg
  1226. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1227. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAg
  1228. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1229. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1230. ICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1231. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1232. ICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1233. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1234. ICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAg
  1235. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1236. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAg
  1237. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1238. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1239. ICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1240. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1241. ICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1242. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1243. ICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAg
  1244. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1245. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAg
  1246. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1247. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1248. IAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1249. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1250. ICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1251. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1252. ICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAg
  1253. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1254. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAg
  1255. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1256. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1257. CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1258. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1259. ICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1260. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1261. ICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAg
  1262. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1263. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAg
  1264. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1265. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAK
  1266. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1267. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1268. ICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1269. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1270. ICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAg
  1271. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1272. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAg
  1273. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1274. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAog
  1275. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1276. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1277. ICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1278. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1279. ICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAg
  1280. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1281. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAg
  1282. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1283. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAg
  1284. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1285. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1286. ICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1287. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1288. ICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAg
  1289. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1290. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAg
  1291. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1292. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAg
  1293. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1294. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1295. ICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1296. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1297. ICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAg
  1298. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1299. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAg
  1300. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1301. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAg
  1302. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1303. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1304. ICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1305. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1306. ICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1307. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1308. ICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAg
  1309. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1310. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAg
  1311. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1312. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1313. ICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1314. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1315. ICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1316. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1317. ICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAg
  1318. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1319. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAg
  1320. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1321. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1322. ICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1323. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1324. ICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1325. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1326. ICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAg
  1327. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1328. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAg
  1329. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1330. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1331. ICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1332. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1333. ICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1334. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1335. ICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAg
  1336. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1337. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAg
  1338. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1339. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1340. ICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1341. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1342. ICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1343. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1344. ICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAg
  1345. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1346. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAg
  1347. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1348. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1349. IAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1350. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1351. ICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1352. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1353. ICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAg
  1354. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1355. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAg
  1356. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1357. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1358. CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1359. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1360. ICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1361. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1362. ICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAg
  1363. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1364. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAg
  1365. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1366. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAK
  1367. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1368. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1369. ICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1370. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1371. ICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAg
  1372. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1373. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAg
  1374. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1375. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAog
  1376. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1377. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1378. ICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1379. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1380. ICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAg
  1381. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1382. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAg
  1383. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1384. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAg
  1385. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1386. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1387. ICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1388. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1389. ICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAg
  1390. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1391. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAg
  1392. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1393. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAg
  1394. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1395. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1396. ICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1397. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1398. ICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAg
  1399. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1400. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAg
  1401. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1402. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAg
  1403. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1404. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1405. ICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1406. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1407. ICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1408. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1409. ICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAg
  1410. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1411. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAg
  1412. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1413. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1414. ICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1415. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1416. ICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1417. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1418. ICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAg
  1419. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1420. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAg
  1421. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1422. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1423. ICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1424. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1425. ICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1426. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1427. ICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAg
  1428. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1429. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAg
  1430. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1431. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1432. ICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1433. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1434. ICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1435. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1436. ICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAg
  1437. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1438. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAg
  1439. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1440. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1441. ICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1442. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1443. ICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1444. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1445. ICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAg
  1446. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1447. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAg
  1448. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1449. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1450. IAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1451. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1452. ICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1453. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1454. ICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAg
  1455. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1456. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAg
  1457. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1458. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1459. CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1460. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1461. ICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1462. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1463. ICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAg
  1464. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1465. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAg
  1466. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1467. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAK
  1468. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1469. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1470. ICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1471. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1472. ICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAg
  1473. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1474. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAg
  1475. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1476. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAog
  1477. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1478. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1479. ICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1480. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1481. ICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAg
  1482. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
  1483. ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAg
  1484. ICAgICAgICAgICAgICAgCjw/eHBhY2tldCBlbmQ9InciPz4ZSoOpAAAAIGNI
  1485. Uk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAA/rSURB
  1486. VHja7F15fBXVFf5CIIGAqBgUFVkFkV0QQcFErUIpoBItKLiiyCK4YNls1YJa
  1487. FSwK0gpoRSUqopjKJiCgIhUMUpBV9qWCyB5kkSTk9I/55pfD5c68eS9LrZnv
  1488. 95vfe3PunfvuzL333HO+cyaJExGECBEixP8DSoWPIESIEMWMJgBui+XC0jH+
  1489. YGUA7QFcBaAqgBwAAqAMgMMAlgGYB2BlODYhQoQwUANACoDJRa2w6gB4BMBd
  1490. ACr41OvGz/kARgKYE45RiBAlDq0AtAHwoiHPBXDCUv8aAM0AjCoMl3AkgHUA
  1491. +kZQVhq/ATAbwDQAl4TjFyJEicJSAB0BXGfIBcBJS/2HAGT7NRgXgHRPBjAT
  1492. wBUF7PzPANIAfBKOY4gQJQadAfQE8DslS4BDHx1Vsn50E7sURGGdRS15cSHe
  1493. wC0APgrHMUSIEoPfUo/s53kFAIl0C48od3AvgDV+Dfm5hPEAvihkZQUAHwK4
  1494. PBzDECF+ldbUNRb5bCqrBwGsAnAQwD4AO1mWAuBzi7IqD6AHgPODWFjjAPRS
  1495. 5zlsMBvByfo8+qqXAqio5LsBVI/kr1pQEcCtAK4HUJZu5nwA7wE4VkSD0I5K
  1496. ey+AqR6+d4gQIYAbAAwG8G84RPseys8GsABAU59rRwIYpM7T6EquBPC4u+68
  1497. FNZl/FGNnQCqUQlFi1lw0iA0hgH4cxRtNAeQAeAiS9l3NDu3F8EgfA/gQn5P
  1498. VmZtUaEUgOe5q+QqK1i4UWTxec4shglYC8CNAOJocWscZB92G/LGyCdZl9NK
  1499. 90NlAN35fRuAfwasb/ZJAGyEk05TFJvXJZzDawHMjeK6pgA6AagE4A1aGA25
  1500. 6S4D8GUR9DWNa3UKgF3FrLTKAniWY59O2dc4lQNfRkV0r3HtEwCeAXAedcPk
  1501. 0+aPiNiO6XI6vveoG+SYaWnvmIhUDHj9uSJySF37gYg8KyKLlOybAvTP79io
  1502. fuOcIvoNfcSLyEmJjOeKoS/dIvThhIg8YFwzVJVnBfiNUar+ygD1W0Xo014R
  1503. 6VQEz6IX258dxTW3qX4dVv36SwxtRXNsYPs3FMMciXQ8ZhmjPixLN+Q5IlLH
  1504. rz0bh1UdTijSREHe4bFZZeUMl9MP/QCcye+jAPwewB/h5HjkKAusKLixDnAy
  1505. cxsBOFRMu5RrKR6lid2Tn+mqzhAAqUXcj5+UpZRiHCPgRHvGG6Z+Fj8P0IX3
  1506. 62Mcd1l3DINYAz8rWkH3J40WXzKcNJoGMd5zKoC3LNdnRdFHF08p0rkigOk8
  1507. nwvgbQATi3j+HMP/HmZGe19aTv24hjVvVRoRMuBNLiqeA+9lii/g5Iqnu3KS
  1508. bcQrxZTDiZjA8zwALTzavIW+ayS0Ud+nG2WDWX6SnFgp9ideTW4TiawrHiZt
  1509. HO8jF8AGn35VBZCk7n2Tj2vlPutsuj5BcJyKQWMfnORdkM/7wjKGtdX5hkKY
  1510. dD9aXJcv6Sp3B9AVwArl0oKuXQ/21cstvBVOJDodwB2ILpH5qKVPGWyrO4D+
  1511. AHrHcK8TANQF8KiPyx4Ubr6imTj9OY+ipBV+CTiPFIHG2zQ4XgEwmmtNo2E0
  1512. CqspfWuvRX5tId9QfVpOWRHq5Rp+7jouIgB4iYeLJPrMZwDYDCd5VWMBgJpw
  1513. Qqrd6U+7GEPO5hCc145ySei3BrCD1lYWF9k4LlSNRQD6AFjN83oA/obTE+fc
  1514. xXwwwMSrRGvFxTylsMygxd18PlphLac1NrcA41TWQ76DnwkevGVLADdzLH6y
  1515. 1HmSCngqFVY0VryXcpvEca1tqd+WFlgenHxAzUe2BVBF3Wtv8pffkLfSGwZo
  1516. zdeHE5afbVgzqfRU3M1sAJygzYfchKrRYt/Cuewqt1Q+01Xc5Nqw/iIAP3jc
  1517. 75kku5M4l9fAeT3OD+2oTI7wORy31GnLZzZLeRr7ASyx1L2JHk42n98kAOvZ
  1518. pzJG3b/y2R6gpVXOQ8mDa6Q2+5EJYKrpI94rIps9uIF9ItJBRFJE5EoRmUT5
  1519. izxvLSK9KdssIqk8rhaRpT6cw6UxcClZIjJRRHqISHWjbpyIfKvqpqiyy412
  1520. nldlZRR3tEjJt6r6SZSt4PnPIvKeiExTdQ6xTjL76fZ3koh8puotE5FSHhzW
  1521. FtbZYyl/XbXRQsnvU/JN5A0PK9nVMfAPnXjtTEtZPXIOIiItlbwfZQ1Un/pY
  1522. rq/CsiEicgm/fxqgT01Zd6tH+SMsn6Zk7cjBmhil6iz0mJ+DWN6V5+ki8qGI
  1523. HDd4s46qrQyPts43+jhBXdOEsiXkuI4b1w603Ou95IJd5InIqyIyh+etjfpp
  1524. IrLfaDfXwkNC8W7XicgRnq/z4RXvIGd3p4hUpbwy14iJJSJSQUTKishOo2yi
  1525. aretiNzF+2wtIqeR7v09BlZEZIcHmdZZyS6kLNOo+7GPwgpKDL7s08Y7InKx
  1526. qttdlY1Q8rHGdctV2fVKfqOSZyqFDT44F/eoesO4iLbw/FFV73pV730R2Ual
  1527. mhRBYR3jhvAk+75QKaRe6ppk9VvvKXmSiGynfH0BFNYeEZmqjumcxHNEpI1x
  1528. jauwruLvu/01236OZeXVRhKNwtpiKeugNonelNUyxjVRRM5SSqWH2rASuZGI
  1529. iDTjebyFQF/IjTaR89/FhUZbOyivy/M4lj9A+UjV9/pGgCuF17RSSklvvleo
  1530. +teybmsR2a3krY3FLyLyA593oog0VAR9B+NZbuLme1JEFvA5xbLpZfqs28rc
  1531. EDQG+LVnCvqqh2xip7HAhlN+n5I1p2yF0e4cn063j+LmO3J3O2Jp5zh3KVB7
  1532. Hzaih6VVpPF9ETmqLAGIyBuqnfI+CquF+s25Pgr3cVVvCiceLNagn8LywnTj
  1533. mgctz9Nt+x+qrHGMCssLw/lcbQorjeereN7QqHeMytQd12gVVg43CPfYq/q1
  1534. WN1/Y453Tw8rYpEhW0J5DY+I32ZLO5MsG5i2zpMNeU/LZqoVluk1DLTUd636
  1535. /kbdqhaFFcdNRyxzLp7yDYZ8JeWjCxglNBVSCjeTN9UGrtdwtWijhHHFTMwd
  1536. jKLuDBK11eBk1Y5XxHpZAC/w+xFFzjcnx3IZ/f0jAJ5WSW0ux+VGRj/Fqe84
  1537. weDHlgL4QCXKzQXwHwB/57mL8fS7QZJxMfPFRgK4MmDk9QRzaV7nb25VfX1H
  1538. 1WtlcEdCnkbIA7hIiXGM/sWgi3vUA/AY+bJDsL9nmqgSAsFIp+Z4ygF4zqgb
  1539. DeLJw7hHIjnLkbxP99muJNf4GiNQIxhF/MSDf4u3cCkan1pkq1VgykZ+V4ji
  1540. vjZb8gndSNq5/Cyjoq+zLXmDmYasGfu2lZxQM3XU5VypA+AcdU15xTnFwnkm
  1541. 8/to3pOL/lzH93AO63cHR5DDK0/uNmI0YZsPuVcUyEXkZM9KAB4A8LBKMDxA
  1542. 4rq3ccPN1eR/1wgmNFATeLWaBJfByWR3J1t6gKhPF07+GVQqVUm2zyXhn0SC
  1543. siXDuPNV8uEfAHwF533KhABpBV252LtQUaxnWTcuVD2RwUm5Gk4S5UY4CcAL
  1544. SdzGmlh7jGSze6xX6SXlAbzpk8oylZ/3KwJ2iCLIY02Z2c7n7B4VOY6DVJqE
  1545. JnqFAZQunAuNVCQ2WkVp21igSPaC4KhPWYIa74qMjO+21FtniWaDG/1GkvPu
  1546. sVbpgUqWoMaJKPvfhMGFtur6PxmR4Ze5kXZT8h+UcizLKOKASArray6m4sIe
  1547. RM4cr0Vr5WUqk7ON8sVGjo67UL5S0cUeypLSuTBgNPAptTBn+PRFL4T34WQw
  1548. VwdwJ6N3oLXRR9V7lZHXGpQvp7wzTn2D3WtD0a80ZRu7Zw1+7lSy9lyMdXk0
  1549. 5258tSUlJCjKeMhdK+VSRgK9FuBkLuYmKi9pXoTFWVh4lhM/k/2sQSujcYxK
  1550. Jt5n4y+MdIJ4H9lJi4LPCxDVFbUmGnIc3KMRN/kkFfXV1yRE0fc7qGjeMgyG
  1551. yWreA07q1ATj2nEqurkfwFD29W1l7Z32gPejeF75cDEfkd8nXINT86nMPLGn
  1552. jdygHOVquguqFx8mAHzMzykclLqq7CP4J9sdpMWzinlHrZhekc50CL0TprHv
  1553. mbTetnNQBqt6VWII3+9T389RbqA2/zUe43P4zKLso7GEbWikFL3fTjxaKSo3
  1554. uXdYAedOUOrCff3jZrrkLmqqTc6mHE7E0Kfi+gcJ+0htxBvWNVTKhYabi3c+
  1555. 5+RKdaym5VUzxns2XeMuijLRmG6MnamYP7KkzPRgylKSXy7LfFauFmFAxEcW
  1556. FOMC1DlOrmOY4oZSyRs1VVZKLoDhxrXptIJc7FKTdjcXsc6RmhJg9zyE/OS2
  1557. MdzB85S76v5uB+bpuK7PK9zJdELiVz6Wldei/F59r87PDJr29QGMpQtwkJPw
  1558. cWVyx5r5nGDZta+Fk2Pm3p/fxrOEz74vFf4BuqjFgRzlRmm6o4+HhVIav3xk
  1559. c3NuDyf5Wv9Fz844PQftO7qCdeiq6Zy8unTxdyH/ndlYscKnbHEE936tR9ny
  1560. UzWQnY3vG0Vaw80xpjV8HmW0YYxPtGq7kZPkHgnGe3kvGeWDjXbOtLSxTZVX
  1561. CNCX4axTzuOdTDdf5i6P+yxl5NaYEaZ2RvTRlV8gIms8fm+ZiJwdQ4Tn9gDv
  1562. NM42osdPUH6/T7ToSaPsbsq/C9CnlqqdIPfwMOseEJGbmDP4rnEP8ZZ5dkhE
  1563. Zql55aYizLL8xjMsG2uJQorl/biBlpwjN/p51Gcc5nm8UzmQaQ5DReSgiPxo
  1564. SRnSz60363fl+6BuaoSt7zUL6Z3C2j5zaGbQdrx2kzdIjF5kuB8TuWPlqcjQ
  1565. AJr62sWpbfiozS2/MThK7f0QCdzWAC7gTvgTzdAM2LN7s8ld1aMFNs0on0jz
  1566. OoE7kC3jvhfy/7xMturLbPalCp/JdvIyS5Vl2AnA7eQKziNns4ku2nqP+8wj
  1567. GXkB+2P26TNGWEzOYRcDCHfS0nKzy1fRAorlz+Js5LMtbXBp7s43QwUUXCzj
  1568. NSbx+xbyo5mvGWXrec23AXnPDORHeSNhNCNWQ5H/lyAW8lk9zOeUqKzPIfye
  1569. ynnsuiNr+bsLLL+RyTLzVaEJpAOyLJZIBsdS0zEZxpia4/CFYbV2JyUyQlnR
  1570. t9FC72lY41/TmxhFXlUT9AOMvriezLmwv6EQC3bz2Z5huOHJlt/25gF8/h7W
  1571. lUVIwI+FE94MEaK4cAby/8PTpl/ZvdVlYGRNwPq14KSVHIfzelBxoT3dTk1N
  1572. VKTyXVFQheVaF+MKudPT4Lx7FCJEiJKDMrTmalvKxtDajYhIYdjxyM+ZKQzM
  1573. CpVViBAlEjnwTmM5HLSRIHkjL8AJCe8rYIdHwomchQgRomTiRw/51sJUWICT
  1574. u9QADlkXbWh8PpzEyUHheIUIUaLxmkW2DU4SdiAE+b+EJqrBSbTsCCdbuLyH
  1575. xpwLJ9t1YThOIUKEINLotVWBE/Xsh+B/0DImheWiBZyM2mbIf6ftGJzs2RVU
  1576. VEfC8QkRIkRhoSAKK0SIECGKFf8dAM3XjbFq+tbkAAAAAElFTkSuQmCC
  1577. link_to: home
  1578. navigation:
  1579. based_on: navigation
  1580. entity_type: navigation
  1581. ajax: false
  1582. page_type: show
  1583. enabled_pages:
  1584. - page_id: home
  1585. display_name: Home
  1586. - page_id: space
  1587. display_name: Workspaces
  1588. saved_search_activity_feed:
  1589. based_on: activity_feed
  1590. entity_type: saved-search
  1591. ajax: true
  1592. display_conditions: current_user.admin?
  1593. page_type: show
  1594. saved_search_information:
  1595. based_on: entity_information
  1596. entity_type: saved-search
  1597. ajax: false
  1598. display_conditions: current_user.admin?
  1599. page_type: show
  1600. title: subject.title
  1601. follow: true
  1602. saved_search_table:
  1603. based_on: table
  1604. entity_type: saved-search
  1605. ajax: false
  1606. display_conditions: current_user.admin?
  1607. page_type: index
  1608. query_for_eval: entity_type('saved-search')
  1609. results_per_page: 10
  1610. auto_hide_columns: true
  1611. column_definitions:
  1612. - title: Name
  1613. content: entity_link_to entity.title, entity, :title => entity.title
  1614. sorting_formula: ''
  1615. sorting_direction: asc
  1616. enable_filtering: true
  1617. where_fields:
  1618. - title
  1619. search_box:
  1620. based_on: search_box
  1621. entity_type: header
  1622. ajax: false
  1623. page_type: show
  1624. keep_refinements_on_new_query: true
  1625. search_refinements:
  1626. display_name: Refined By
  1627. based_on: search_refinements
  1628. entity_type: searches
  1629. ajax: false
  1630. page_type: show
  1631. search_results:
  1632. display_name: Search Results
  1633. based_on: search_results
  1634. entity_type: searches
  1635. ajax: false
  1636. page_type: show
  1637. max_title_length: 80
  1638. shared_content:
  1639. based_on: shared_content
  1640. entity_type: space
  1641. page_type: show
  1642. space_activity_feed:
  1643. based_on: activity_feed
  1644. entity_type: space
  1645. ajax: true
  1646. page_type: show
  1647. space_information:
  1648. based_on: entity_information
  1649. entity_type: space
  1650. page_type: show
  1651. title: subject.title
  1652. follow: true
  1653. space_table:
  1654. based_on: table
  1655. entity_type: space
  1656. page_type: index
  1657. query_for_eval: entity_type('space')
  1658. results_per_page: 10
  1659. auto_hide_columns: true
  1660. column_definitions:
  1661. - title: Name
  1662. content: entity_link_to entity.title, entity, :title => entity.title
  1663. - title: Created By
  1664. content: entity['created-by'].first
  1665. - title: Last Updated
  1666. content: 'I18n.l(Time.parse(entity[''last-modified''].first), format: :table)
  1667. rescue ''-'''
  1668. - title: Created On
  1669. content: 'I18n.l(Time.parse(entity[''created''].first), format: :table) rescue
  1670. ''-'''
  1671. enable_filtering: true
  1672. where_fields:
  1673. - title
  1674. - created-by
  1675. - created
  1676. - last-modified
  1677. tag_refinements:
  1678. based_on: refinement
  1679. identifier: Tag
  1680. page_type: show
  1681. entity_type: searches
  1682. user_activity_feed:
  1683. based_on: activity_feed
  1684. entity_type: user
  1685. ajax: true
  1686. page_type: show
  1687. user_information:
  1688. based_on: entity_information
  1689. entity_type: user
  1690. page_type: show
  1691. title: subject.title
  1692. follow: true
  1693. user_table:
  1694. based_on: table
  1695. entity_type: user
  1696. ajax: false
  1697. display_conditions: current_user.admin?
  1698. page_type: index
  1699. query_for_eval: entity_type('user')
  1700. results_per_page: 10
  1701. auto_hide_columns: true
  1702. column_definitions:
  1703. - title: Name
  1704. content: entity_link_to entity.title, entity, :title => entity.title
  1705. sorting_formula: ''
  1706. sorting_direction: asc
  1707. enable_filtering: true
  1708. where_fields:
  1709. - title
  1710. usernameWidget:
  1711. based_on: erb
  1712. entity_type: navigation
  1713. ajax: false
  1714. page_type: show
  1715. view: "<span id=\"navigationUsername\" style=\"margin-top: 20px;display: block;text-align:\
  1716. \ right;\">Current user: <span id=\"current-username\"><%= current_user.entity.title.to_s\
  1717. \ %></span>\r\n<br/>\r\n Version: <span id=\"current-version\">1.1</span>\r\n\
  1718. </span>"
  1719. view_disclaimer:
  1720. display_name: View Disclaimer
  1721. based_on: erb
  1722. entity_type: searches
  1723. ajax: false
  1724. page_type: show
  1725. view: <input class="button" type=button id="viewDisclaimer" onclick="displayDisclaimer()" value="View Disclaimer"></input>
  1726. pages: |
  1727. ---
  1728. ClaimUser:
  1729. index:
  1730. column_config: '12'
  1731. column0: ''
  1732. column1: ''
  1733. column2: ''
  1734. column3: ''
  1735. columns:
  1736. - size: 12
  1737. widgets: []
  1738. show:
  1739. column_config: '3,6,3'
  1740. column0: claimuser_information
  1741. column1: claimuser_activity_feed
  1742. column2: ''
  1743. column3: ''
  1744. columns:
  1745. - size: 3
  1746. widgets:
  1747. - claimuser_information
  1748. - size: 6
  1749. widgets:
  1750. - claimuser_activity_feed
  1751. - size: 3
  1752. widgets: []
  1753. Help:
  1754. index:
  1755. display_name: ''
  1756. column_config: '3,6,3'
  1757. column0: ''
  1758. column1: helpPageInvoker
  1759. column2: ''
  1760. column3: ''
  1761. columns:
  1762. - size: 3
  1763. widgets: []
  1764. - size: 6
  1765. widgets:
  1766. - helpPageInvoker
  1767. - size: 3
  1768. widgets: []
  1769. amc_test1:
  1770. index:
  1771. display_name: ''
  1772. column_config: '3,6,3'
  1773. column0: amc_test_container
  1774. column1: ''
  1775. column2: ''
  1776. column3: ''
  1777. columns:
  1778. - size: 3
  1779. widgets:
  1780. - amc_test_container
  1781. - size: 6
  1782. widgets: []
  1783. - size: 3
  1784. widgets: []
  1785. claims:
  1786. index:
  1787. column_config: '12'
  1788. column0: ''
  1789. column1: ''
  1790. column2: ''
  1791. column3: ''
  1792. columns:
  1793. - size: 12
  1794. widgets: []
  1795. show:
  1796. column_config: '3,9'
  1797. column0: claims_information
  1798. column1: claims_custom_detail
  1799. column2: ''
  1800. column3: ''
  1801. columns:
  1802. - size: 3
  1803. widgets:
  1804. - claims_information
  1805. - size: 9
  1806. widgets:
  1807. - claims_custom_detail
  1808. experiment-modal-message:
  1809. index:
  1810. display_name: ''
  1811. column_config: '3,6,3'
  1812. column0: ''
  1813. column1: experimental-modal-message
  1814. column2: ''
  1815. column3: ''
  1816. columns:
  1817. - size: 3
  1818. widgets: []
  1819. - size: 6
  1820. widgets:
  1821. - experimental-modal-message
  1822. - size: 3
  1823. widgets: []
  1824. experiments:
  1825. index:
  1826. display_name: ''
  1827. column_config: '3,6,3'
  1828. column0: 01-current-user
  1829. column1: 02-search
  1830. column2: ''
  1831. column3: ''
  1832. columns:
  1833. - size: 3
  1834. widgets:
  1835. - 01-current-user
  1836. - size: 6
  1837. widgets:
  1838. - 02-search
  1839. - size: 3
  1840. widgets: []
  1841. footer:
  1842. show:
  1843. columns:
  1844. - size: 12
  1845. widgets:
  1846. - footer_navigation
  1847. header:
  1848. show:
  1849. column_config: '3,3,6'
  1850. column0: logo
  1851. column1: local_help
  1852. column2: "search_box\r\nadvancedSearchHeader"
  1853. column3: ''
  1854. columns:
  1855. - size: 3
  1856. widgets:
  1857. - logo
  1858. - size: 3
  1859. widgets:
  1860. - local_help
  1861. - size: 6
  1862. widgets:
  1863. - search_box
  1864. - advancedSearchHeader
  1865. home:
  1866. index:
  1867. columns:
  1868. - size: 3
  1869. widgets: []
  1870. - size: 6
  1871. widgets: []
  1872. - size: 3
  1873. widgets: []
  1874. log:
  1875. index:
  1876. column_config: '12'
  1877. column0: log_table
  1878. columns:
  1879. - size: 12
  1880. widgets:
  1881. - log_table
  1882. show:
  1883. column_config: '3,6,3'
  1884. column0: log_information
  1885. column1: log_activity_feed
  1886. column2: ''
  1887. columns:
  1888. - size: 3
  1889. widgets:
  1890. - log_information
  1891. - size: 6
  1892. widgets:
  1893. - log_activity_feed
  1894. - size: 3
  1895. widgets: []
  1896. navigation:
  1897. show:
  1898. column_config: '9,3'
  1899. column0: navigation
  1900. column1: usernameWidget
  1901. column2: ''
  1902. column3: ''
  1903. columns:
  1904. - size: 9
  1905. widgets:
  1906. - navigation
  1907. - size: 3
  1908. widgets:
  1909. - usernameWidget
  1910. saved-search:
  1911. index:
  1912. column_config: '12'
  1913. column0: saved_search_table
  1914. columns:
  1915. - size: 12
  1916. widgets:
  1917. - saved_search_table
  1918. show:
  1919. column_config: '3,6,3'
  1920. column0: saved_search_information
  1921. column1: saved_search_activity_feed
  1922. column2: ''
  1923. columns:
  1924. - size: 3
  1925. widgets:
  1926. - saved_search_information
  1927. - size: 6
  1928. widgets:
  1929. - saved_search_activity_feed
  1930. - size: 3
  1931. widgets: []
  1932. searches:
  1933. show:
  1934. column_config: '3,6,3'
  1935. column0: "search_refinements\r\nfilter_by_cedant\r\nfilter_by_broker\r\nfilter_by_brokername\r\
  1936. \nfilter_by_reinsurer\r\nfilter_by_chc\r\nfilter_by_location\r\nfilter_by_lob\r\
  1937. \nfilter_by_mergeddoc\r\nfilter_by_processassoc"
  1938. column1: "advancedSearchWidget\r\nautomatically-disappearing-disclaimer\r\nsearch_results\r\
  1939. \nTabular_widget\r\nfunctionality_module_export"
  1940. column2: "Date_of_loss_slider\r\nfilter_by_dol\r\nfilter_by_clmname\r\nfilter_by_clmsrcsys\r\
  1941. \nfilter_by_clmid\r\nfilter_by_busid\r\nfilter_by_uwy\r\nfilter_by_gle\r\nfilter_by_doctype\r\
  1942. \nfilter_by_docdate\r\nACL-debugging\r\ndol_year_refinement"
  1943. column3: ''
  1944. columns:
  1945. - size: 3
  1946. widgets:
  1947. - search_refinements
  1948. - filter_by_cedant
  1949. - filter_by_broker
  1950. - filter_by_brokername
  1951. - filter_by_reinsurer
  1952. - filter_by_chc
  1953. - filter_by_location
  1954. - filter_by_lob
  1955. - filter_by_mergeddoc
  1956. - filter_by_processassoc
  1957. - size: 6
  1958. widgets:
  1959. - advancedSearchWidget
  1960. - automatically-disappearing-disclaimer
  1961. - search_results
  1962. - Tabular_widget
  1963. - functionality_module_export
  1964. - size: 3
  1965. widgets:
  1966. - Date_of_loss_slider
  1967. - filter_by_dol
  1968. - filter_by_clmname
  1969. - filter_by_clmsrcsys
  1970. - filter_by_clmid
  1971. - filter_by_busid
  1972. - filter_by_uwy
  1973. - filter_by_gle
  1974. - filter_by_doctype
  1975. - filter_by_docdate
  1976. - ACL-debugging
  1977. - dol_year_refinement
  1978. space:
  1979. index:
  1980. column_config: '12'
  1981. column0: space_table
  1982. columns:
  1983. - size: 12
  1984. widgets:
  1985. - space_table
  1986. show:
  1987. column_config: '9,3'
  1988. column0: |-
  1989. space_information
  1990. shared_content
  1991. column1: space_activity_feed
  1992. column2: ''
  1993. columns:
  1994. - size: 9
  1995. widgets:
  1996. - space_information
  1997. - shared_content
  1998. - size: 3
  1999. widgets:
  2000. - space_activity_feed
  2001. user:
  2002. index:
  2003. column_config: '12'
  2004. column0: user_table
  2005. columns:
  2006. - size: 12
  2007. widgets:
  2008. - user_table
  2009. show:
  2010. column_config: '3,6,3'
  2011. column0: user_information
  2012. column1: user_activity_feed
  2013. column2: ''
  2014. columns:
  2015. - size: 3
  2016. widgets:
  2017. - user_information
  2018. - size: 6
  2019. widgets:
  2020. - user_activity_feed
  2021. - size: 3
  2022. widgets: []
  2023. display_options: |
  2024. ---
  2025. ClaimUser:
  2026. searchable: false
  2027. monitor_activities: false
  2028. entity_uri_type: detail_page
  2029. application:
  2030. title: BM Pathfinder
  2031. search_only_app: true
  2032. spacebar_enabled: true
  2033. export_enabled: true
  2034. comments_enabled: false
  2035. hovercard_enabled: true
  2036. saved_search_monitoring_enabled: true
  2037. claims:
  2038. display_name: Claim Document
  2039. plural_display_name: Claim Documents
  2040. view: "<%=current_user %>\r\n<%=entity%>"
  2041. search_result_view: "<% \r\n#Initialize variables\r\ncontent=\"\"\r\naccess = false\r\
  2042. \nmaxNumCharsToDisplay=610\r\nboldWords = [] #store highlighted words for preview\
  2043. \ link\r\n\r\n#Get the DP Access Role assigned to the document\r\n#dpAccessRole=entity.field_value('dataprotcaccssrole').to_s\r\
  2044. \n#dpAccessRole=entity.field_values('dataprotcaccssrole').first.to_s\r\nif entity.field_values('dataprotcaccssrole').first!=nil\
  2045. \ then\r\n dpAccessRole=entity.field_values('dataprotcaccssrole').first.text_value\r\
  2046. \nelse\r\n dpAccessRole=\"NULL\"\r\nend\r\n \r\n# evaluate access rights\r\n\
  2047. ldap_user=current_user.entity.ldap_user.requesting(200)\r\nif ldap_user != nil\
  2048. \ then\r\n if dpAccessRole!= nil && dpAccessRole.length>0 then\r\n ldap_user.each\
  2049. \ do |ldapUser| \r\n access=ldapUser.field_value('ROLE_NAME').text_value.eql?dpAccessRole\r\
  2050. \n if access then\r\n break\r\n end\r\n end\r\n else\r\n\
  2051. \ access=false\r\n end\r\nend\r\n \r\n#Get the document content\r\ncontent=entity.field_value('doccontent')\r\
  2052. \nif content.nil? then\r\n content=\"\"\r\nelse\r\n # find bold words in html\
  2053. \ (<strong> attribute)\r\n content.scan(/<strong(?: .*?)?>(\\w*?)(?: [^<>]*?)<\\\
  2054. /strong>/i) do | boldWord |\r\n boldWord = boldWord[0].downcase\r\n boldWords.push(boldWord)\
  2055. \ unless boldWords.include?(boldWord)\r\n end\r\n if content.length>maxNumCharsToDisplay\
  2056. \ then\r\n #convert vivisimo object to text\r\n content=entity.field_value('doccontent').to_s\r\
  2057. \n #Select specified # of characters and sanitize HTML using Nokogiri\r\n \
  2058. \ content = Nokogiri::HTML::DocumentFragment.parse(\r\n content.truncate(maxNumCharsToDisplay,\
  2059. \ ommission: \"...\", separator: ' ')).to_html\r\n end\r\nend\r\n%>\r\n\r\n<%\
  2060. \ if access %>\r\n<div id=\"abc\"></div>\r\n<p class=\"document-content\">\r\n\
  2061. \ <%= raw content.gsub! '\\n', ' '.strip %><br />\r\n</p>\r\n<%\r\ndocid=strip_tags(entity.field_value('docid').to_s)\r\
  2062. \nboldWordsString = boldWords.map {|word| \"#{word.to_s}\" }.join('%20')\r\nhighlightString\
  2063. \ = boldWords.empty? ? \"\" : \"?highlight=\" + boldWordsString + \"%23FF7777\"\
  2064. \r\npreview_link=\"https://web-exp.swissre.com/\" + \"webapp/wti/document/WBMI/pdf/VCHR_B01/#{docid}\"\
  2065. \ + highlightString\r\n%>\r\n<!-- Create a Custom Preview Control -->\r\n<p>\r\
  2066. \n <span class=\"button-preview\" id=\"<%=entity.id%>\" > \r\n <%= link_to \"\
  2067. Preview\", \"#{preview_link}\" %>\r\n</span>\r\n</p>\r\n<% else %>\r\n<p class=\"\
  2068. warn-message\">\r\n<%= \"You do not have the permission to view this document,\
  2069. \ the required access role is #{dpAccessRole}.\" %>\r\n</p>\r\n<% end %>"
  2070. custom_fields:
  2071. clmname:
  2072. id: clmname
  2073. display: true
  2074. label_formula: '"Claim Name:"'
  2075. value_formula: '(entity.field_value(''clmname'').nil? ? '''' : entity.field_value(''clmname'').to_s)
  2076. + " \t | Date of Loss: " + (entity.field_value(''dol-humanreadable'').nil?
  2077. ? '''' : entity.field_value(''dol-humanreadable'').to_s)'
  2078. show_more: false
  2079. export: true
  2080. cedant:
  2081. id: cedant
  2082. display: true
  2083. label_formula: '"Cedant:"'
  2084. value_formula: "(entity.field_value('cedant').nil? ? '' : entity.field_value('cedant').to_s)"
  2085. show_more: false
  2086. export: true
  2087. lob:
  2088. id: lob
  2089. display: true
  2090. label_formula: '"Line of Business:"'
  2091. value_formula: "(entity.field_value('lob').nil? ? '' : entity.field_value('lob').to_s)"
  2092. show_more: false
  2093. export: true
  2094. location:
  2095. id: location
  2096. display: true
  2097. label_formula: '"Loss Location:"'
  2098. value_formula: "(entity.field_value('location').nil? ? '' : entity.field_value('location').to_s)"
  2099. show_more: true
  2100. export: true
  2101. reinsurer:
  2102. id: reinsurer
  2103. display: true
  2104. label_formula: '"SR Reinsurer:"'
  2105. value_formula: "(entity.field_value('reinsurer').nil? ? '' : entity.field_value('reinsurer').to_s)"
  2106. show_more: true
  2107. broker:
  2108. id: broker
  2109. display: true
  2110. label_formula: '"Broker:"'
  2111. value_formula: "(entity.field_value('broker').nil? ? '' : entity.field_value('broker').to_s)"
  2112. show_more: true
  2113. export: true
  2114. uwy:
  2115. id: uwy
  2116. display: true
  2117. label_formula: '"Underwriting Year:"'
  2118. value_formula: "(entity.field_value('uwy').nil? ? '' : entity.field_value('uwy').to_s)"
  2119. show_more: true
  2120. export: true
  2121. clmsrcsys:
  2122. id: clmsrcsys
  2123. display: true
  2124. label_formula: '"Claim Source System:"'
  2125. value_formula: "(entity.field_value('clmsrcsys').nil? ? '' : entity.field_value('clmsrcsys').to_s)"
  2126. show_more: true
  2127. export: true
  2128. clmid:
  2129. id: clmid
  2130. display: true
  2131. label_formula: '"Claim ID:"'
  2132. value_formula: "(entity.field_value('clmid').nil? ? '' : entity.field_value('clmid').to_s)"
  2133. show_more: true
  2134. export: true
  2135. gle:
  2136. id: gle
  2137. display: true
  2138. label_formula: '"GLE:"'
  2139. value_formula: "(entity.field_value('gle').nil? ? '' : entity.field_value('gle').to_s)"
  2140. show_more: true
  2141. export: true
  2142. busid:
  2143. id: busid
  2144. display: true
  2145. label_formula: '"Business ID:"'
  2146. value_formula: "(entity.field_value('busid').nil? ? '' : entity.field_value('busid').to_s)"
  2147. show_more: true
  2148. export: true
  2149. docdate:
  2150. id: docdate
  2151. display: true
  2152. label_formula: '"Document Date:"'
  2153. value_formula: '(entity.field_value(''docdate'').nil? ? '''' : Time.at(entity.field_value(''docdate'').to_i).to_datetime.strftime("%Y-%m-%d"))'
  2154. show_more: true
  2155. doctype:
  2156. id: doctype
  2157. display: true
  2158. label_formula: '"Document Type:"'
  2159. value_formula: "(entity.field_value('doctype').nil? ? '' : entity.field_value('doctype').to_s)"
  2160. show_more: true
  2161. export: true
  2162. docname:
  2163. id: docname
  2164. display: true
  2165. label_formula: '"Document Name:"'
  2166. value_formula: "(entity.field_value('docname').nil? ? '' : entity.field_value('docname').to_s)"
  2167. show_more: true
  2168. export: true
  2169. srdocid:
  2170. id: srdocid
  2171. display: true
  2172. label_formula: '"Document ID:"'
  2173. value_formula: "(entity.field_value('srdocid').nil? ? '' : entity.field_value('srdocid').to_s)"
  2174. show_more: true
  2175. export: true
  2176. pid:
  2177. id: pid
  2178. display: true
  2179. label_formula: '"Crew Process ID:"'
  2180. value_formula: "(entity.field_value('pid').nil? ? '' : entity.field_value('pid').to_s)"
  2181. show_more: true
  2182. export: true
  2183. processassoc:
  2184. id: processassoc
  2185. display: true
  2186. label_formula: '"Process Association:"'
  2187. value_formula: "(entity.field_value('processassoc').nil? ? '' : entity.field_value('processassoc').to_s)"
  2188. show_more: true
  2189. export: true
  2190. chc:
  2191. id: chc
  2192. display: true
  2193. label_formula: '"Cedant Home Country:"'
  2194. value_formula: "(entity.field_value('chc').nil? ? '' : entity.field_value('chc').to_s)"
  2195. show_more: true
  2196. export: true
  2197. brokerid:
  2198. export: true
  2199. brokername:
  2200. export: true
  2201. cedantid:
  2202. export: true
  2203. cedantname:
  2204. export: true
  2205. dataprotcaccssrole:
  2206. export: true
  2207. docsrcsys:
  2208. export: true
  2209. gleid:
  2210. export: true
  2211. glename:
  2212. export: true
  2213. host:
  2214. export: true
  2215. id:
  2216. export: true
  2217. reinsurerid:
  2218. export: true
  2219. reinsurername:
  2220. export: true
  2221. srcsys:
  2222. export: true
  2223. searchable: true
  2224. monitor_activities: false
  2225. entity_uri_type: detail_page
  2226. federated-entity:
  2227. searchable: false
  2228. monitor_activities: false
  2229. entity_uri_type: original_source
  2230. log:
  2231. custom_fields:
  2232. title:
  2233. autocomplete: false
  2234. saved-search:
  2235. custom_fields:
  2236. title:
  2237. autocomplete: true
  2238. searchable: false
  2239. monitor_activities: false
  2240. entity_uri_type: original_source
  2241. searches:
  2242. default_context: ctx
  2243. sorts:
  2244. Document Date:
  2245. display_name: Document Date
  2246. xpath: "$docdate"
  2247. sort_order: ascending
  2248. search_contexts:
  2249. - all
  2250. next_sort_order: ascending
  2251. highlighted: ''
  2252. :next_sort_order: ascending
  2253. :highlighted: ''
  2254. tagging_enabled: false
  2255. context_enabled: false
  2256. expansion_enabled: true
  2257. hide_expansions: false
  2258. query_expansion_stores:
  2259. - 3f2d42dd-efb6-4041-ad29-8afafea602de
  2260. space:
  2261. custom_fields:
  2262. title:
  2263. autocomplete: true
  2264. context_chains:
  2265. - - followees
  2266. - - natural_associations
  2267. searchable: false
  2268. monitor_activities: false
  2269. entity_uri_type: detail_page
  2270. user:
  2271. login_with_field: title
  2272. custom_fields:
  2273. title:
  2274. autocomplete: true
  2275. admins:
  2276. - data-explorer-admin
  2277. - S15D2N
  2278. - S27PT8
  2279. - S2E889
  2280. - S0JH8Y
  2281. - S5K4NV
  2282. - S5NMQR
  2283. - S949JW
  2284. - SRZLIK
  2285. - S2T458
  2286. - S8EQGK
  2287. - S48QAF
  2288. - S8FRPE
  2289. - S099TM
  2290. - S5C5QX
  2291. searchable: false
  2292. monitor_activities: false
  2293. automatically_enqueue_users: true
  2294. entity_uri_type: detail_page
  2295. rights: |
  2296. ---
  2297. ClaimUser sr-wbmi-ldapcd-users:
  2298. rights_type:
  2299. claims sr-wbmi-documents-subset-v3:
  2300. rights_type: custom_access_rights
  2301. custom_access_rights_code: "access = \"all\\n\" # acl \"all\" is required to view\
  2302. \ non-restricted fields\r\nuser_collection = \"ClaimUser\" #\"User-ACL-test\"\r\
  2303. \n#@username = user.title.to_s # get actual username instead of document hash\
  2304. \ in username var\r\n@username = entity_types(\"user\").where(username).first.title.to_s\r\
  2305. \nentity_types(user_collection).where(field(\"USER_ID\").is(@username)).requesting(200).each\
  2306. \ do |ldapUser|\r\n access += ldapUser.field_value('ROLE_NAME').text_value +\
  2307. \ \"\\n\"\r\nend\r\naccess"
  2308. required_fields: []
  2309. federated-entity federated-entity:
  2310. rights_type:
  2311. saved-search saved-search:
  2312. rights_type: access_rights
  2313. collection_store_rights: "@hash"
  2314. required_fields:
  2315. - title
  2316. space space:
  2317. rights_type: access_rights
  2318. collection_store_rights: "@hash"
  2319. required_fields:
  2320. - title
  2321. user user:
  2322. rights_type:
  2323. endpoints: "--- {}\n"
  2324. themes: |
  2325. ---
  2326. custom_css:
  2327. custom_css: "@font-face {\r\n font-family: 'SwissReSansLight';\r\n src: url('/custom/fonts/swissresansot-light-webfont.eot?#iefix-v1')\
  2328. \ format('embedded-opentype'), url('/custom/fonts/swissresansot-light-webfont.woff#v1')\
  2329. \ format('woff'), url('/custom/fonts/swissresansot-light-webfont.ttf#v1') format('truetype'),\
  2330. \ url('/custom/fonts/swissresansot-light-webfont.svg#swissresansot-light-webfont-v1')\
  2331. \ format('svg');\r\n\r\n src: url('/custom/fonts/swissresansot-light-webfont.eot#v1');\r\
  2332. \n src: url('/custom/fonts/swissresansot-light-webfont.svg#swissresansot-light-webfont-v1')\
  2333. \ format('svg');\r\n font-weight: 100;\r\n font-style: normal;\r\n -webkit-font-smoothing:\
  2334. \ antialiased;\r\n -moz-osx-font-smoothing: grayscale\r\n}\r\n\r\nbody {\r\n\
  2335. \ background: #FFFFFF;\r\n font-family: 'SwissReSansLight', Helvetica, Arial,\
  2336. \ Sans-Serif;\r\n}\r\n\r\n#header {\r\n background: #FFFFFF;\r\n}\r\n\r\n#navigation\
  2337. \ {\r\n background: #FFFFFF;\r\n}\r\n\r\n#navigation [data-based-on=\"navigation\"\
  2338. ] {\r\n background: #FFFFFF;\r\n}\r\n\r\n#navigation [data-based-on=\"navigation\"\
  2339. ] ul li a {\r\n color: #232323 !important;\r\n}\r\n\r\n\r\n\r\n#q {\r\n height:\
  2340. \ 42px;\r\n}\r\n\r\n#header #header_links a, #header #header_links a:hover {\r\
  2341. \n color: #627d77;\r\n}\r\n\r\n.widget header {\r\n background-color: #FFFFFF;\r\
  2342. \n color: #627d77;\r\n}\r\n\r\n.entity_table .dataTables_wrapper th {\r\n \
  2343. \ background-color: #FFFFFF;\r\n color: #627d77;\r\n}\r\n\r\n#navigation\
  2344. \ ul li.selected a {\r\n background-color: #627D77;\r\n}\r\n\r\n.widget {\r\
  2345. \n border: none;\r\n}\r\n\r\n.search_box {\r\n border: 1.5px solid #627d77\
  2346. \ !important;\r\n}\r\n\r\n#breadcrumbs a {\r\n color: #627d77;\r\n}\r\n\r\n\
  2347. .entity-link a {\r\n color: #627d77;\r\n}\r\n\r\n.entity-link .entity_title_text\
  2348. \ {\r\n width: 100%;\r\n margin-right: 0;\r\n}\r\n\r\n#hovercard .workspaces_enabled\
  2349. \ .entity_title {\r\n max-width: 100%;\r\n}\r\n\r\n.follow_form .follow, .follow_form\
  2350. \ .following:hover {\r\n color: #FFFFFF;\r\n background-color: #627d77;\r\
  2351. \n display: none;\r\n}\r\n\r\n.entity_table .paginate_button {\r\n background-color:\
  2352. \ #ACACAC;\r\n}\r\n\r\n.entity_table .dataTables_wrapper .dataTables_paginate\
  2353. \ .paginate_active {\r\n background-color: #343434;\r\n}\r\n\r\n#header #header_links\
  2354. \ ul a, #header #header_links ul a:hover {\r\n color: #627d77;\r\n}\r\n\r\n\
  2355. .search_results .result .entity-link a {\r\n color: #666;\r\n}\r\n\r\n.search_results\
  2356. \ .query_separator, .search_results .query_info {\r\n color: #777;\r\n}\r\n\
  2357. \r\n.entity-link a.preview_link {\r\n border: 1px solid #627d77;\r\n}\r\n\r\
  2358. \n.search input[type=\"text\"] {\r\n font-size: 1.5em;\r\n}\r\n\r\n#current_search_context\
  2359. \ {\r\n line-height: 42px;\r\n}\r\n\r\n#search_context_wrapper {\r\n height:\
  2360. \ 42px;\r\n}\r\n\r\n#current_admin_user:active, #current_admin_user:focus, #current_admin_user:hover,\
  2361. \ #current_user:active, #current_user:focus, #current_user:hover {\r\n\tcolor:\
  2362. \ #C9DD03;\r\n}\r\n\r\n#current_admin_user, #current_user {\r\n\tcolor: #007934;\r\
  2363. \n}\r\n\r\n[aria-hidden='false']#admin_menu ~ #current_admin_user {\r\n\tcolor:\
  2364. \ #007934;\r\n}\r\n\r\n[aria-hidden='false']#user_menu ~ #current_user {\r\n\t\
  2365. color: #007934;\r\n}\r\n\r\n.searches #export_button {\r\n\tborder: 1px solid\
  2366. \ #007934;\r\n}\r\n\r\n.searches #export_button:hover, .searches #export_button:focus\
  2367. \ {\r\n\tborder-color: #C9DD03;\r\n\tbackground-color: #C9DD03;\r\n}\r\n\r\n.button,\
  2368. \ a.button, input[type='submit'] {\r\n\tborder: 2px solid #0073e6;\r\n\tbackground-color:\
  2369. \ #66b3ff;\r\n color: #000d1a;\r\n font-size: 0.95em;\r\n font-weight:\
  2370. \ 500;\r\n margin: 0;\r\n opacity: 1;\r\n}\r\n\r\n.button:hover, .button:focus,\
  2371. \ a.button:hover, a.button:focus, input[type='submit']:hover, input[type='submit']:focus\
  2372. \ {\r\n\tborder-color: #0073e6;\r\n\tbackground-color: #1e90ff;\r\n}\r\n\r\nmedia\
  2373. \ screen .icon_comment {\r\n\tcolor: #666;\r\n}\r\n\r\n.icon_button {\r\n color:\
  2374. \ #627d77;\r\n}\r\n\r\n.search_results .icon_button:hover, .search_results .icon_button:focus,\
  2375. \ .actions .icon_button:hover, .actions .icon_button:focus {\r\n background:\
  2376. \ #627d77;\r\n}\r\n\r\n#hovercard .add_to_workspace.icon_button {\r\n color:\
  2377. \ #627d77;\r\n}\r\n\r\na, a:link, a:visited, a:active {\r\n\tcolor: #666;\r\n\
  2378. }\r\n\r\n.search_results .result .entity-link a {\r\n\tcolor: #666;\r\n font-weight:\
  2379. \ bold;\r\n}\r\n\r\n.comments_link .show_comments {\r\n\tcolor: #666;\r\n}\r\n\
  2380. \r\n.icon_search {\r\n\tcolor: #007934;\r\n}\r\n\r\n.grid_3 #logo img {\r\n max-width:\
  2381. \ 300px;\r\n}\r\n\r\n.logo.chrome_widget img {\r\n max-width: 300px;\r\n width:100%;\r\
  2382. \n}\r\n\r\n.grid_3 .logo.chrome_widget img, .grid_4 .logo.chrome_widget img {\r\
  2383. \n max-width: 300px;\r\n}\r\n\r\n.refinement li a {\r\n color: #777;\r\n}\r\n\
  2384. \r\n\r\n.refinement header, .clusters header, .search_refinements header {\r\n\
  2385. \ font-size: 1.2em;\r\n}\r\n\r\n.widget .minimize, .widget .restore {\r\n color:\
  2386. \ #666;\r\n}\r\n\r\n.widget .show_more, .widget .show_less, .widget .show_all\
  2387. \ {\r\n color: rgb(186, 186, 186);\r\n}\r\n\r\n.editable.widget_header_action_link\
  2388. \ {\r\n color: rgb(186, 186, 186) !important;\r\n}\r\n\r\n.widget_header_action_button\
  2389. \ {\r\n color: #627d77;\r\n}\r\n\r\n.search_results .result .field_values {\r\
  2390. \n color: #777;\r\n}\r\n\r\n.search_results .result .field_label {\r\n color:\
  2391. \ #777;\r\n}\r\n\r\n.navigation {\r\n background: #FFFFFF;\r\n}\r\n\r\n.navigation\
  2392. \ ul li a:hover, .navigation ul li a:focus {\r\n color: #333;\r\n border-bottom:\
  2393. \ 0.3em solid #A3C2C2;\r\n}\r\n\r\n.navigation ul li a {\r\n color: #888;\r\n\
  2394. }\r\n\r\n.follow_form .following:hover, .follow_form .following:focus, .follow_form\
  2395. \ .follow:hover, .follow_form .follow:focus {\r\n background-color: #C9DD03;\r\
  2396. \n border-color: #C9DD03;\r\n display:none;\r\n}\r\n\r\n.follow_form .following\
  2397. \ {\r\n background-color: #C9DD03;\r\n border-color: #C9DD03;\r\n display:\
  2398. \ none;\r\n}\r\n\r\n.follow_form .follow, .follow_form .following:hover {\r\n\
  2399. \ background-color: #FFF;\r\n color: #666;\r\n border: 1px solid #007934;\r\
  2400. \n display: none;\r\n}\r\n\r\n#navigation ul li.selected a {\r\n background-color:\
  2401. \ #FFF;\r\n color: #666;\r\n border-bottom: 0.3em solid #C9DD03;\r\n}\r\n\
  2402. \r\n.entity_table .paginate_button {\r\n background-color: #FFF;\r\n}\r\n\r\
  2403. \n.pagination .paginate_button:hover, .dataTables_paginate .paginate_button:hover,\
  2404. \ .pagination .paginate_button:focus, .dataTables_paginate .paginate_button:focus\
  2405. \ {\r\n background-color: #A3C2C2;\r\n border-color: #A3C2C2;\r\n color:\
  2406. \ #333;\r\n}\r\n\r\n.pagination .paginate_button, .dataTables_paginate .paginate_button\
  2407. \ {\r\n color: #666;\r\n}\r\n\r\n.chartdiv-container {\r\n width:100%;\r\
  2408. \n height:334px\r\n}\r\n\r\n.chartdiv-container svg {\r\n margin-top: 0;\r\
  2409. \n}\r\n\r\n.warn-message {\r\n color: #e60000;\r\n display: inline-block;\r\
  2410. \n font-size: 0.95em;\r\n}\r\n.document-content {\r\n display: inline-block;\r\
  2411. \n font-size: 0.95em;\r\n}\r\n\r\n/* Tristan Hoffmann, fixes WBMI-333\r\n \
  2412. \ Clearly mark current page in footer */\r\n.pagination .paginate_button.current,\
  2413. \ .dataTables_paginate .paginate_button.current {\r\n font-weight: 600;\r\n\
  2414. \ color: #F9F8F8;\r\n background-color: #000000;\r\n}\r\n\r\n\r\n/* The\
  2415. \ Modal (background) */\r\n.modal {\r\n position: fixed; /* Stay in place */\r\
  2416. \n z-index: 1; /* Sit on top */\r\n left: 0;\r\n top: 0;\r\n overflow:\
  2417. \ auto; /* Enable scroll if needed */\r\n background-color: rgb(0,0,0); /*\
  2418. \ Fallback color */\r\n background-color: rgba(0,0,0,0.4); /* Black w/ opacity\
  2419. \ */\r\n}\r\n\r\n/* Modal Content/Box \r\n.modal-content {\r\n background-color:\
  2420. \ #fefefe;\r\n margin: 15% auto; // 15% from the top and centered \r\n padding:\
  2421. \ 20px;\r\n border: 1px solid #888;\r\n width: 80%; //Could be more or less,\
  2422. \ depending on screen size\r\n}\r\n*/\r\n\r\n/* Modal Content/Box */\r\n.modal-content\
  2423. \ {\r\n margin: 15% auto; /* 15% from the top and centered */\r\n padding:\
  2424. \ 20px;\r\n border: 1px solid #888;\r\n}\r\n\r\n/* The Close Button */\r\n\
  2425. \ .close {\r\n color: #aaa;\r\n float: right;\r\n font-size: 28px;\r\n\
  2426. \ font-weight: bold;\r\n}\r\n\r\n .close:hover,\r\n .close:focus {\r\n color:\
  2427. \ black;\r\n text-decoration: none;\r\n cursor: pointer;\r\n} \r\n\r\n.button-preview\
  2428. \ {\r\n -moz-appearance: none;\r\n\tborder: 2px solid #444444;\r\n\tbackground-color:\
  2429. \ #ffffff;\r\n color: #000d1a;\r\n cursor: pointer;\r\n display: inline-block;\r\
  2430. \n font-size: 0.95em;\r\n font-weight: 500;\r\n margin: 0;\r\n opacity:\
  2431. \ 1;\r\n outline: medium none;\r\n padding: 5px;\r\n text-decoration:\
  2432. \ none;\r\n transition: all 0.2s ease 0s;\r\n white-space: nowrap;\r\n}\r\
  2433. \n\r\n.button-preview:hover,.button-preview:focus{\r\n\tborder: 2px solid #444444;\r\
  2434. \n\tbackground-color: #a3c2c2;\r\n color:ffffff;\r\n text-decoration:none\r\n\
  2435. }\r\n\r\n.debug-message {\r\n color: #666600;\r\n display: inline-block;\
  2436. \ \r\n /*display: none; */\r\n font-size: 0.85em;\r\n font-style:italic;\r\
  2437. \n}\r\n\r\n#automatically-disappearing-disclaimer_header{\r\n display:none;\r\
  2438. \n}\r\n#view_disclaimer_header{\r\n}\r\n.disclaimer {\r\n color: #627d77;\r\n\
  2439. \ font-size: 1.25em; \r\n text-align: justify;\r\n}\r\n#masthead{\r\n background:#627D77;\r\
  2440. \n}\r\n.helpIcon{\r\n\t\tfloat:right;\r\n\t\tmargin-top:15px;\r\n\t}\r\n.columns\
  2441. \ .grid_6.column{\r\n\twidth:65%;\r\n}\r\n\r\n.columns .column:nth-child(2){\r\
  2442. \n\twidth:5%;\r\n}\r\n\r\n#navigation [data-based-on='navigation'] ul li.selected\
  2443. \ a {\r\n border-bottom:0.3em solid #A3C2C2;\r\n}\r\n\r\n#navigation [data-based-on='navigation']\
  2444. \ ul li a:hover, #navigation [data-based-on='navigation'] ul li a:focus{\r\n \
  2445. \ border-bottom:0.3em solid #627D77;\r\n}\r\n\r\n.refinement li a{\r\n font-weight:normal;\r\
  2446. \n}\r\n\r\n.document-content{\r\n color:#777;\r\n}\r\n\r\n\r\n\r\n[data-based-on='search_results']\
  2447. \ .result [aria-expanded='true'].fields{\r\n margin-bottom:2%;\r\n}\r\n\r\n\r\
  2448. \n/* Faceting page: Selected, when not hovering */\r\n[data-based-on='refinement'].show_all\
  2449. \ .actions a:active, [data-based-on='refinement'].show_all .actions a.selected\
  2450. \ {\r\n background-color: #A3C2C2;\r\n border-color: #627D77;\r\n color: inherit;\r\
  2451. \n}\r\n\r\n/* Faceting page: Unselected, when not hovering */\r\n[data-based-on='refinement'].show_all\
  2452. \ .actions a{\r\n border: 2px solid #A3C2C2; \r\n color: #627D77\r\n}\r\n\r\
  2453. \n/* Faceting page: Unselected, when hovering */\r\n[data-based-on='refinement'].show_all\
  2454. \ .actions a:hover, [data-based-on='refinement'].show_all .actions a:focus{\r\n\
  2455. \ background-color: #627D77;\r\n border-color: #A3C2C2;\r\n color: white;\r\
  2456. \n}\r\n\r\n.filter_by_helpbox td {\r\n padding: 0px 20px 0px 0px;\r\n}\r\n\r\n\
  2457. .or_logic_submit {\r\n color: #000d1a;\r\n}\r\n\r\n.or_logic_submit:hover,.or_logic_submit:focus{\r\
  2458. \n\tborder: 2px solid #444444;\r\n\tbackground-color: #a3c2c2;\r\n color:ffffff;\r\
  2459. \n text-decoration:none\r\n}\r\n\r\n/* Apply button in \"search all facets\"\
  2460. \ page when not hovering */\r\n[data-based-on='refinement'].show_all .or_logic_submit\
  2461. \ {\r\n background-color: #627D77;\r\n border-color: #A3C2C2;\r\n color: white;\r\
  2462. \n}\r\n\r\n\r\n/* Apply button in \"search all facets\" page when hovering */\r\
  2463. \n[data-based-on='refinement'].show_all .or_logic_submit:hover, [data-based-on='refinement'].show_all\
  2464. \ .or_logic_submit:focus {\r\n background-color: #A3C2C2;\r\n border-color:\
  2465. \ #627D77;\r\n color: #627D77;\r\n}\r\n\r\n/* Inside workspace, \"All\" selection\
  2466. \ */\r\n.type_filters_container .type_filters .selected a, .type_filters_container\
  2467. \ .type_filters .ui-tabs-active a {\r\n border-bottom-color: #A3C2C2;\r\n}\r\n\
  2468. \r\n#search_sorts .sort_control {\r\n color: #627d77;\r\n}\r\n\r\n.search_input_wrapper\
  2469. \ {\r\n padding-right: 0px;\r\n}"
  2470. custom_head:
  2471. custom_head: "<link rel=\"stylesheet\" type=\"text/css\" href=\"assets/library/jonthornton-Datepair.js-f4d28ba/dist/bootstrap-datepicker.standalone.min.css\"\
  2472. \ />\r\n<script type=\"text/javascript\" src=\"assets/library/jonthornton-Datepair.js-f4d28ba/dist/bootstrap-datepicker.js\"\
  2473. ></script>\r\n\r\n<script type=\"text/javascript\" src=\"assets/library/jonthornton-Datepair.js-f4d28ba/dist/datepair.js\"\
  2474. ></script>\r\n<script type=\"text/javascript\" src=\"assets/library/jonthornton-Datepair.js-f4d28ba/dist/timepicker.js\"\
  2475. ></script>\r\n\r\n<script src=\"javascripts/sorttable_2.js\"></script>\r\n<link\
  2476. \ rel=\"stylesheet\" href=\"custom/css/jquery-ui.css\">\r\n\r\n<script src=\"\
  2477. javascripts/custom_export/excelplus-2.4.1.min.js\"></script>\r\n<script src=\"\
  2478. javascripts/custom_export/sheetjs.all.min.js\"></script>"
  2479. custom_js:
  2480. custom_js: "// Javascript for advanced search\r\nfunction queryAdvancedSearch(prefix)\
  2481. \ {\r\n//var userQuery=document.getElementsByName(\"q\")[0].value;\r\nvar userQuery=document.getElementById(prefix+\"\
  2482. _\"+\"user_query\").value;\r\nvar clmname_input=document.getElementById(prefix+\"\
  2483. _\"+\"claim_name\").value;\r\nvar cedant_name_input=document.getElementById(prefix+\"\
  2484. _\"+\"cedant_name\").value;\r\nvar cedant_id_input=document.getElementById(prefix+\"\
  2485. _\"+\"cedant_id\").value;\r\nvar lob_input = $('#'+prefix+'_line_of_business').val();\r\
  2486. \nvar location_input=$('#'+prefix+\"_\"+\"loss_location\").val();\r\nvar reinsurer_name_input=document.getElementById(prefix+\"\
  2487. _\"+\"reinsurer_name\").value;\r\nvar reinsurer_id_input=document.getElementById(prefix+\"\
  2488. _\"+\"reinsurer_id\").value;\r\nvar broker_name_input=document.getElementById(prefix+\"\
  2489. _\"+\"broker_name\").value;\r\nvar broker_id_input=document.getElementById(prefix+\"\
  2490. _\"+\"broker_id\").value;\r\nvar year_input=document.getElementById(prefix+\"\
  2491. _\"+\"year\").value;\r\nvar clmsrcsys_input=document.getElementById(prefix+\"\
  2492. _\"+\"clmsrcsys\").value;\r\nvar clmid_input=document.getElementById(prefix+\"\
  2493. _\"+\"clmid\").value;\r\nvar gle_name_input=document.getElementById(prefix+\"\
  2494. _\"+\"gle_name\").value;\r\nvar gle_id_input=document.getElementById(prefix+\"\
  2495. _\"+\"gle_id\").value;\r\nvar business_id_input=document.getElementById(prefix+\"\
  2496. _\"+\"business_id\").value;\r\nvar pid_id_input=document.getElementById(prefix+\"\
  2497. _\"+\"pid_id\").value;\r\nvar doc_name_input=document.getElementById(prefix+\"\
  2498. _\"+\"doc_name\").value;\r\nvar srdoc_id_input=document.getElementById(prefix+\"\
  2499. _\"+\"srdoc_id\").value;\r\nvar startDate_input= document.getElementById(prefix+\"\
  2500. _\"+\"startDate\").value;\r\nvar endDate_input= document.getElementById(prefix+\"\
  2501. _\"+\"endDate\").value;\r\nvar dolStart_input=document.getElementById(prefix+\"\
  2502. _\"+\"dolStart\").value;\r\nvar dolEnd_input=document.getElementById(prefix+\"\
  2503. _\"+\"dolEnd\").value;\r\nvar doctype_input = $('#'+prefix+'_doctype').val();\
  2504. \ \r\nvar processassoc_input = $('#'+prefix+'_processassoc').val();\r\nvar chc_input\
  2505. \ = $('#'+prefix+'_chc').val();\r\n\r\nvar query_array=[];\r\n //user query\
  2506. \ (any phrase)\r\n if(userQuery!=''){\r\n query_array.push(userQuery);\r\
  2507. \n }\r\n \r\n //Claim name\r\n if(clmname_input!=''){\r\n query_array.push(\"\
  2508. clmname:\"+clmname_input);\r\n }\r\n \r\n //Cedant name\r\n if(cedant_name_input!=''){\r\
  2509. \n query_array.push(\"cedantname:\"+cedant_name_input);\r\n }\r\n \r\
  2510. \n //Cedant id\r\n if(cedant_id_input!=''){\r\n query_array.push(\"\
  2511. cedantid:\"+cedant_id_input);\r\n }\r\n \r\n //Line of business\r\n \
  2512. \ var lob=\"\";\r\n for (var i = 0; i < lob_input.length; i++) {\r\n \
  2513. \ if(lob_input[i]!=\"\"){\r\n if(i==0){\r\n //alert(lob_input[i])\r\
  2514. \n lob=lob+ \"lob:\"+\"\\\"\"+lob_input[i]+\"\\\"\";\r\n }else{\r\n\
  2515. \ lob=lob+\" OR lob:\"+\"\\\"\"+lob_input[i]+\"\\\"\"};\r\n }\r\n\
  2516. \ }\r\n if(lob_input.length>0){\r\n if(lob_input.length>1){\r\n \
  2517. \ query_array.push(\"(\"+lob+\")\");\r\n }else{\r\n if(lob!=\"\
  2518. \")\r\n query_array.push(lob);\r\n }\r\n }\r\n \r\n //Loss\
  2519. \ location\r\n var location=\"\";\r\n for (var i = 0; i < location_input.length;\
  2520. \ i++) {\r\n if(location_input[i]!=\"\"){\r\n if(i==0){\r\n \
  2521. \ location=location+ \"location:\\\"\"+location_input[i]+\"\\\"\";\r\n \
  2522. \ }else{\r\n location=location+\" OR location:\\\"\"+location_input[i]+\"\
  2523. \\\"\"};\r\n }\r\n }\r\n if(location_input.length>0){\r\n if(location_input.length>1){\r\
  2524. \n query_array.push(\"(\"+location+\")\");\r\n }\r\n else{\r\n\
  2525. \ if(location!=\"\")\r\n query_array.push(location);\r\n \
  2526. \ }\r\n }\r\n \r\n //SR reinsurer name\r\n if(reinsurer_name_input!=''){\r\
  2527. \n query_array.push(\"reinsurername:\"+reinsurer_name_input);\r\n }\r\n\
  2528. \ \r\n //SR reinsurer id\r\n if(reinsurer_id_input!=''){\r\n query_array.push(\"\
  2529. reinsurerid:\"+reinsurer_id_input);\r\n }\r\n \r\n //broker name\r\n \
  2530. \ if(broker_name_input!=''){\r\n query_array.push(\"broker:\"+broker_name_input);\r\
  2531. \n }\r\n \r\n //broker id\r\n if(broker_id_input!=''){\r\n query_array.push(\"\
  2532. brokerid:\"+broker_id_input);\r\n }\r\n \r\n //Underwriting Year\r\
  2533. \n if(year_input!=''){\r\n query_array.push(\"uwy:\"+year_input);\r\n\
  2534. \ }\r\n \r\n //Claim Source System:\r\n if(clmsrcsys_input!=''){\r\
  2535. \n query_array.push(\"clmsrcsys:\"+clmsrcsys_input);\r\n }\r\n \r\n\
  2536. \ //Claim id:\r\n if(clmid_input!=''){\r\n query_array.push(\"clmid:\"\
  2537. +clmid_input);\r\n }\r\n \r\n //GLE name\r\n if(gle_name_input!=''){\r\
  2538. \n query_array.push(\"glename:\"+gle_name_input);\r\n }\r\n \r\n \
  2539. \ //GLE id\r\n if(gle_id_input!=''){\r\n query_array.push(\"gleid:\"\
  2540. +gle_id_input);\r\n }\r\n \r\n //Business id\r\n if(business_id_input!=''){\r\
  2541. \n query_array.push(\"busid:\"+business_id_input);\r\n }\r\n \r\n \
  2542. \ //Crew process id\r\n if(pid_id_input!=''){\r\n query_array.push(\"\
  2543. pid:\"+pid_id_input);\r\n }\r\n \r\n //Document name\r\n if(doc_name_input!=''){\r\
  2544. \n query_array.push(\"docname:\"+doc_name_input);\r\n }\r\n \r\n \
  2545. \ //Document id\r\n if(srdoc_id_input!=''){\r\n query_array.push(\"srdocid:\"\
  2546. +srdoc_id_input);\r\n }\r\n \r\n //Document Date\r\n if(endDate_input!=''){\r\
  2547. \n var myDate = new Date(endDate_input);\r\n myDate.setDate(myDate.getDate()\
  2548. \ + 1);\r\n endDate_input=myDate.toISOString().substring(0, 10); \r\n }\r\
  2549. \n if(startDate_input!=''&&endDate_input!=''){\r\n query_array.push(\"\
  2550. (docdate:>\"+startDate_input+\" AND \"+\"docdate:<\"+endDate_input+\")\");\r\n\
  2551. \ }else{\r\n if(startDate_input!=''){\r\n query_array.push(\"docdate:>\"\
  2552. +startDate_input);\r\n }\r\n if(endDate_input!=''){\r\n query_array.push(\"\
  2553. docdate:<\"+endDate_input);\r\n }\r\n }\r\n \r\n //Date of Loss\r\
  2554. \n if(dolEnd_input!=''){\r\n //increment end date to include documents\
  2555. \ of last date\r\n var dolEndIncr = new Date(dolEnd_input);\r\n dolEndIncr.setDate(dolEndIncr.getDate()\
  2556. \ + 1);\r\n dolEnd_input=dolEndIncr.toISOString().substring(0, 10);\r\n \
  2557. \ }\r\n if(dolStart_input!=''&&dolEnd_input!=''){\r\n query_array.push(\"\
  2558. (dol:>\"+dolStart_input+\" AND \"+\"dol:<\"+dolEnd_input+\")\");\r\n }else{\r\
  2559. \n if(dolStart_input!=''){\r\n query_array.push(\"dol:>\"+dolStart_input);\r\
  2560. \n }\r\n if(dolEnd_input!=''){\r\n query_array.push(\"dol:<\"\
  2561. +dolEnd_input);\r\n }\r\n }\r\n \r\n //Document type\r\n var\
  2562. \ doctype=\"\";\r\n for (var i = 0; i < doctype_input.length; i++) {\r\n \
  2563. \ if(doctype_input[i]!=\"\"){\r\n if(i==0){\r\n doctype=doctype+\
  2564. \ \"doctype:\\\"\"+doctype_input[i]+\"\\\"\";\r\n }else{\r\n doctype=doctype+\"\
  2565. \ OR doctype:\\\"\"+doctype_input[i]+\"\\\"\"};\r\n }\r\n }\r\n if(doctype_input.length>0){\r\
  2566. \n if(doctype_input.length>1){\r\n query_array.push(\"(\"+doctype+\"\
  2567. )\");\r\n }\r\n else{\r\n if(doctype!=\"\")\r\n query_array.push(doctype);\r\
  2568. \n }\r\n }\r\n \r\n //Process association\r\n var processassoc=\"\
  2569. \";\r\n for (var i = 0; i < processassoc_input.length; i++) {\r\n if(processassoc_input[i]!=\"\
  2570. \"){\r\n if(i==0){\r\n processassoc=processassoc+ \"processassoc:\\\
  2571. \"\"+processassoc_input[i]+\"\\\"\";\r\n }else{\r\n processassoc=processassoc+\"\
  2572. \ OR processassoc:\\\"\"+processassoc_input[i]+\"\\\"\"};\r\n }\r\n }\r\
  2573. \n if(processassoc_input.length>0){\r\n if(processassoc_input.length>1){\r\
  2574. \n query_array.push(\"(\"+processassoc+\")\");\r\n }\r\n else{\r\
  2575. \n if(processassoc!=\"\")\r\n query_array.push(processassoc);\r\
  2576. \n }\r\n }\r\n \r\n //Cedant home country:\r\n var chc=\"\"\
  2577. ;\r\n for (var i = 0; i < chc_input.length; i++) {\r\n if(chc_input[i]!=\"\
  2578. \"){\r\n if(i==0){\r\n chc=chc+ \"chc:\\\"\"+chc_input[i]+\"\\\
  2579. \"\";\r\n }else{\r\n chc=chc+\" OR chc:\\\"\"+chc_input[i]+\"\\\
  2580. \"\"};\r\n }\r\n }\r\n if(chc_input.length>0){\r\n if(chc_input.length>1){\r\
  2581. \n query_array.push(\"(\"+chc+\")\");\r\n }\r\n else{\r\n \
  2582. \ if(chc!=\"\")\r\n query_array.push(chc);\r\n }\r\n }\r\n\
  2583. \ \r\n //creating a final query\r\n var queryString= \"search?q=\"; \
  2584. \ \r\n\r\n for (var i = 0; i < query_array.length; i++) {\r\n \
  2585. \ if(i==0){\r\n queryString=queryString+ \"\"+query_array[i] + \" \"\
  2586. ;\r\n }else{\r\n queryString=queryString+ \"AND \"+query_array[i]\
  2587. \ + \" \"; \r\n }\r\n }\r\n \r\n //creating a final query\r\n\
  2588. \ var queryString= \"search?q=\"; \r\n\r\n for (var i = 0;\
  2589. \ i < query_array.length; i++) {\r\n if(i==0){\r\n queryString=queryString+\
  2590. \ \"\"+ encodeURIComponent(query_array[i] + \" \");\r\n }else{\r\n \
  2591. \ queryString=queryString+ encodeURIComponent (\"AND \"+query_array[i] + \" \"\
  2592. ); \r\n }\r\n }\r\n \r\n //send query to the engine\r\n \
  2593. \ //queryString = queryString.replace(/\"/g, '\\x22');\r\n //window.location.href\
  2594. \ = encodeURI(queryString);\r\n window.location.href = queryString; \r\
  2595. \n \r\n}\r\n\r\nfunction clearAdvancedSearchFields(prefix){\r\ndocument.getElementById(prefix+\"\
  2596. _\"+\"user_query\").value=\"\";\r\ndocument.getElementById(prefix+\"_\"+\"claim_name\"\
  2597. ).value=\"\";\r\ncedant_name_input=document.getElementById(prefix+\"_\"+\"cedant_name\"\
  2598. ).value=\"\";\r\ndocument.getElementById(prefix+\"_\"+\"cedant_id\").value=\"\"\
  2599. ;\r\ndocument.getElementById(prefix+\"_\"+\"reinsurer_name\").value=\"\";\r\n\
  2600. document.getElementById(prefix+\"_\"+\"reinsurer_id\").value=\"\";\r\ndocument.getElementById(prefix+\"\
  2601. _\"+\"broker_name\").value=\"\";\r\ndocument.getElementById(prefix+\"_\"+\"broker_id\"\
  2602. ).value=\"\";\r\ndocument.getElementById(prefix+\"_\"+\"year\").value=\"\";\r\n\
  2603. document.getElementById(prefix+\"_\"+\"clmsrcsys\").value=\"\";\r\ndocument.getElementById(prefix+\"\
  2604. _\"+\"clmid\").value=\"\";\r\ndocument.getElementById(prefix+\"_\"+\"gle_name\"\
  2605. ).value=\"\";\r\ndocument.getElementById(prefix+\"_\"+\"gle_id\").value=\"\";\r\
  2606. \ndocument.getElementById(prefix+\"_\"+\"business_id\").value=\"\";\r\ndocument.getElementById(prefix+\"\
  2607. _\"+\"pid_id\").value=\"\";\r\ndocument.getElementById(prefix+\"_\"+\"doc_name\"\
  2608. ).value=\"\";\r\ndocument.getElementById(prefix+\"_\"+\"srdoc_id\").value=\"\"\
  2609. ;\r\ndocument.getElementById(prefix+\"_\"+\"startDate\").value=\"\";\r\ndocument.getElementById(prefix+\"\
  2610. _\"+\"endDate\").value=\"\";\r\ndocument.getElementById(prefix+\"_\"+\"dolStart\"\
  2611. ).value=\"\";\r\ndocument.getElementById(prefix+\"_\"+\"dolEnd\").value=\"\";\r\
  2612. \ndefaultSelected(prefix+\"_line_of_business\");\r\ndefaultSelected(prefix+\"\
  2613. _\"+\"loss_location\");\r\ndefaultSelected(prefix+'_doctype'); \r\ndefaultSelected(prefix+'_processassoc');\r\
  2614. \ndefaultSelected(prefix+'_chc');\r\n}\r\n \r\nfunction printCurrentYear()\
  2615. \ {\r\n return new Date().getFullYear()+\"\";\r\n}\r\n\r\n\r\nfunction popupAdvancedMenu(){\r\
  2616. \n $(\"#advancedSearchForm\").toggle(500);\r\n}\r\n\r\nfunction toggle(){\r\n\
  2617. \ $(\"#middle_user_query\").toggle(300);\r\n}\r\n\r\n//function put in custom_javascript\
  2618. \ folder (server)\r\nfunction switchAdvancedWidget(){\r\n var link=window.location.href+\"\
  2619. \";\r\n var queryInput=document.getElementsByName(\"q\")[0].value;\r\n if(link.indexOf(\"\
  2620. swissre.com/search\")!=-1 && queryInput==\"\"){\r\n $(\".advancedSearchWidget\"\
  2621. ).toggle();\r\n $(\".automatically-disappearing-disclaimer\").toggle();\r\n\
  2622. \ $(\".search_results\").toggle();\r\n }else{\r\n var baselink = link.substring(0,\
  2623. \ link.lastIndexOf('?')-7);\r\n window.location.replace(baselink+\"/search?=adv\"\
  2624. );\r\n }\r\n}\r\n\r\n// redirect to main page from other pages and open Advanced\
  2625. \ search if clicked AS\r\n if(window.location.href.indexOf(\"swissre.com/search?=adv\"\
  2626. )!=-1){\r\n $(\".advancedSearchWidget\").toggle();\r\n $(\".automatically-disappearing-disclaimer\"\
  2627. ).toggle();\r\n $(\".search_results\").toggle();\r\n }\r\n\r\n\r\nfunction\
  2628. \ clearSelected(sender){\r\n var parent = sender.parentNode.getAttribute('id');\r\
  2629. \n var elements = document.getElementById(parent).options;\r\n for(var i =\
  2630. \ 0; i < elements.length; i++){\r\n elements[i].selected = false;\r\n \
  2631. \ }\r\n elements[1].selected = true;\r\n }\r\n\r\nfunction defaultSelected(componentId){\r\
  2632. \n var elements = document.getElementById(componentId).options;\r\n for(var\
  2633. \ i = 0; i < elements.length; i++){\r\n elements[i].selected = false;\r\n\
  2634. \ }\r\n elements[0].selected = true;\r\n }\r\n\r\n\r\nfunction deselectFirst(sender){\r\
  2635. \n var parent = sender.parentNode.getAttribute('id');\r\n var elements = document.getElementById(parent).options;\r\
  2636. \n elements[1].selected=false;\r\n}\r\n\r\n\r\n//run Advanced search query\
  2637. \ by pressing Enter on keyboard\r\nvar prefix=\"middle\";\r\nvar element=document.getElementById(prefix+\"\
  2638. _\"+\"advancedSearchForm\");\r\nif(element != null){\r\nelement.onkeyup = function(e){\r\
  2639. \n if(e.keyCode == 13){\r\n queryAdvancedSearch(prefix);\r\n }\r\n\
  2640. \ }\r\n}\r\n\r\n// end Javascript for advanced search\r\n\r\n//start JS for Tabular\
  2641. \ view\r\nfunction insertAfter(referenceNode, newNode) {\r\n if(referenceNode!=null\
  2642. \ && referenceNode.parentNode!=null && newNode!=null){\r\n referenceNode.parentNode.insertBefore(newNode,referenceNode.nextSibling);\r\
  2643. \n }\r\n}\r\n\r\nvar el = document.createElement(\"span\");\r\nel.innerHTML =\
  2644. \ \"<label for='document_view_radio_button'><input type='radio' name='radio_button'\
  2645. \ value='document_view' id='document_view_radio_button' checked='checked'>Document\
  2646. \ View</label>\";\r\nvar div = document.getElementsByClassName(\"sort_control\"\
  2647. )[1];\r\ninsertAfter(div, el);\r\n\r\n\r\nvar ell = document.createElement(\"\
  2648. span\");\r\nell.innerHTML = \"<label for='tabular_view_radio_button'><input type='radio'\
  2649. \ name='radio_button' value='tabular_view' id='tabular_view_radio_button' onclick='openTabularView()'>Tabular\
  2650. \ View</label>\";\r\nvar divv = document.getElementById(\"document_view_radio_button\"\
  2651. );\r\ninsertAfter(el, ell);\r\n\r\nfunction backToDocumentView(){\r\ndocument.getElementById(\"\
  2652. document_view_radio_button\").checked=\"checked\";\r\ndocument.getElementById(\"\
  2653. tabular_view_radio_button\").checked=false;\r\n}\r\n\r\n\r\nfunction openTabularView(){\r\
  2654. \n var modal = document.getElementById('myModal');\r\n var span = document.getElementsByClassName(\"\
  2655. close\")[0];\r\n modal.style.display = \"block\";\r\n console.log(\"modal\
  2656. \ started\");\r\n $('body').css('overflow','hidden');\r\n backToDocumentView()\r\
  2657. \n}\r\n//end JS for Tabular view\r\n//start- custom export JS (Dominik)\r\nfunction\
  2658. \ remove_radio_buttons() {\r\n var dialog = $('#export_search_results_dialog');\r\
  2659. \n if (dialog && dialog.length > 0) {\r\n var export_radio_buttons = dialog[0].children[2];\r\
  2660. \n if (export_radio_buttons) {\r\n export_radio_buttons.parentNode.removeChild(export_radio_buttons);\r\
  2661. \n }\r\n }\r\n}\r\n\r\n function intercept_export_request() {\r\n var export_dialog\
  2662. \ = document.getElementById('export_search_results_dialog')\r\n if (export_dialog)\
  2663. \ {\r\n var export_form = export_dialog.parentNode;\r\n if (export_form\
  2664. \ && export_form.getAttribute('action') === '/search/export') {\r\n if\
  2665. \ (export_form.attachEvent) {\r\n export_form.attachEvent(\"submit\"\
  2666. , processForm);\r\n } else {\r\n export_form.addEventListener(\"\
  2667. submit\", processForm);\r\n }\r\n }\r\n }\r\n } \r\n\r\n$(document).ready(function\
  2668. \ () {\r\n remove_radio_buttons();\r\n intercept_export_request();\r\n});\r\n\
  2669. \r\n// Prevent AppBuilder request from executing, prepare your own request URL\
  2670. \ and send custom AJAX request.\r\nfunction processForm(e) {\r\n console.log(\"\
  2671. processForm\")\r\n\r\n if (e.preventDefault) {\r\n e.preventDefault();\r\n\
  2672. \ }\r\n /* do what you want with the form */\r\n // You must return false to\
  2673. \ prevent the default form behavior\r\n\r\n var records = e.target.number_to_export.value;\
  2674. \ //How many records need to be exported\r\n var url = window.location.origin;\r\
  2675. \n url += window.location.pathname + '/export' + (window.location.search.indexOf('?')\
  2676. \ === 0 ? '' : '?');\r\n url += window.location.search;\r\n url += \"&filter_duplicates=false&number_to_export=\"\
  2677. \ + records + \"&format=json&commit=Export&utf8=%E2%9C%93&action=show&controller=searches\"\
  2678. ;\r\n\r\n $.ajax({\r\n url: url,\r\n success: function (response) {\r\n\
  2679. \ var results = map_result(response);\r\n var excelRawData = export_data(results);\r\
  2680. \n export_results(excelRawData);\r\n },\r\n error: function (error)\
  2681. \ {\r\n console.log(error);\r\n }\r\n });\r\n\r\n return false;\r\n\
  2682. }\r\n\r\n// Map received result to new data structure\r\n\r\nfunction value(data)\
  2683. \ {\r\n if (data && data.length > 0) {\r\n return data.join(';');\r\n } else\
  2684. \ {\r\n return '';\r\n }\r\n}\r\n\r\nfunction map_result(response) {\r\n \
  2685. \ var results = [];\r\n var link=window.location.href+\"\";\r\n var base = link.substring(0,\
  2686. \ link.lastIndexOf('swissre.com')+11)+\"/claims/\"; \r\n response.data.forEach(function\
  2687. \ (val) {\r\n var properties = val.properties;\r\n\r\n results.push({\r\n\
  2688. \ broker: value(properties.broker),\r\n brokerid: value(properties.brokerid),\r\
  2689. \n brokername: value(properties.brokername),\r\n busid: value(properties.busid),\r\
  2690. \n cedant: value(properties.cedant),\r\n cedantid: value(properties.cedantid),\r\
  2691. \n cedantname: value(properties.cedantname),\r\n chc: value(properties.chc),\r\
  2692. \n clmid: value(properties.clmid),\r\n clmname: value(properties.clmname),\r\
  2693. \n clmsrcsys: value(properties.clmsrcsys),\r\n dataprotcaccssrole: value(properties.dataprotcaccssrole),\r\
  2694. \n docdate: value(properties['docdate-humanreadable']),\r\n docname:\
  2695. \ value(properties.docname),\r\n docsrcsys: value(properties.docsrcsys),\r\
  2696. \n doctype: value(properties.doctype),\r\n dol: value(properties['dol-humanreadable']),\r\
  2697. \n gle: value(properties.gle),\r\n gleid: value(properties.gleid),\r\
  2698. \n glename: value(properties.glename),\r\n host: value(properties.host),\r\
  2699. \n lob: value(properties.lob),\r\n location: value(properties.location),\r\
  2700. \n pid: value(properties.pid),\r\n processassoc: value(properties.processassoc),\r\
  2701. \n reinsurerid: value(properties.reinsurerid),\r\n reinsurername: value(properties.reinsurername),\r\
  2702. \n srcsys: value(properties.srcsys),\r\n srdocid: value(properties.srdocid),\r\
  2703. \n uwy: value(properties.uwy),\r\n url: base+val.id\r\n });\r\n \
  2704. \ });\r\n return results;\r\n}\r\n\r\n\r\nfunction export_data(data) {\r\n var\
  2705. \ exportData = {};\r\n var exportArr = [];\r\n data.forEach(function (v) {\r\
  2706. \n exportArr.push($.map(v, function (el) {\r\n return el;\r\n }))\r\
  2707. \n });\r\n exportData['bmi_export'] = exportArr; // Put your data in to dictionary\
  2708. \ (key/value). Key is the spreadsheet name\r\n\r\n var headers = {}; // Put your\
  2709. \ column names in to dictionary (key/value). Key is the spreadsheet name\r\n \
  2710. \ headers['bmi_export'] = ['Broker', 'Broker ID', 'Broker Name', 'Business ID',\
  2711. \ 'Cedant', 'Cedant ID', 'Cedant Name', 'Cedant Home Country', 'Claim ID', 'Claim\
  2712. \ Name', 'Claim Source System', 'Data Protect Acess Role', 'Document Date', 'Document\
  2713. \ Name', 'Document Source System', 'Document Type', 'Date of Loss', 'GLE', 'GLE\
  2714. \ ID', 'GLE Name', 'Host', 'Line of Business', 'Loss Location', 'Process ID',\
  2715. \ 'Process Association', 'Reinsurer ID', 'Reinsurer Name', 'Source System', 'SR\
  2716. \ Document ID', 'Underwriting year','URL'];\r\n\r\n return {\r\n rows: exportData,\r\
  2717. \n type: 'xlsx',\r\n filename: 'bmi_export',\r\n headers: headers,\r\n\
  2718. \ header_present: true\r\n }\r\n}\r\n//end - custom export JS (Dominik)\r\n\
  2719. \r\n\r\n\r\n// \"Select all\" / \"Unselect all\" functionality for show more on\
  2720. \ refinement widgets\r\n/* disabled for now\r\n$(\".show_all\").click(function()\
  2721. \ {setTimeout(addSelectUnselectAll, 500);});\r\n\r\nfunction addSelectUnselectAll()\
  2722. \ {\r\n if ($(\"div[class='row grid_12']\").length == 0) {\r\n setTimeout(addSelectUnselectAll,\
  2723. \ 200);\r\n return;\r\n }\r\n $ (\"<div class=\\\"row grid_12\\\" id=\\\
  2724. \"select_all\\\"><text onclick=\\\"refinementSelectAll();\\\" style=\\\"cursor:\
  2725. \ pointer;\\\">Select all</text>&nbsp;|&nbsp;<text onclick=\\\"refinementUnselectAll();\\\
  2726. \" style=\\\"cursor: pointer;\\\">Unselect all</text></div>\").insertAfter(\"\
  2727. div[class='row grid_12']:eq(0)\");\r\n}\r\n\r\nfunction refinementSelectAll()\
  2728. \ {\r\n console.log(\"select all \" + $(\"div[class='expanded_refinement flex']\"\
  2729. ).children(\"input\").length);\r\n $(\"div[class='expanded_refinement flex']\"\
  2730. ).children(\"input\").prop(\"checked\", true);\r\n $(\"div[class='expanded_refinement\
  2731. \ flex']\").children(\"input\").attr(\"data-selected\", true);\r\n $(\"div[class='expanded_refinement\
  2732. \ flex']\").children(\"input\").attr(\"data-changed\", function( i, val ) {\r\n\
  2733. \ return !val;\r\n });\r\n}\r\n\r\nfunction refinementUnselectAll() {\r\n\
  2734. \ console.log(\"select all \" + $(\"div[class='expanded_refinement flex']\").children(\"\
  2735. input\").length);\r\n $(\"div[class='expanded_refinement flex']\").children(\"\
  2736. input\").prop(\"checked\", false);\r\n $(\"div[class='expanded_refinement flex']\"\
  2737. ).children(\"input\").attr(\"data-selected\", false);\r\n $(\"div[class='expanded_refinement\
  2738. \ flex']\").children(\"input\").attr(\"data-changed\", function( i, val ) {\r\n\
  2739. \ return !val;\r\n });\r\n}\r\n*/\r\n// end \"Select all\" / \"Unselect all\"\
  2740. \ functionality for show more on refinement widgets"
  2741. cluster_configs: "--- {}\n"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement