Wiki source code of Art & Research Services Navigator
Version 39.23 by Veronika Kocher on Thursday, 03 Sep 2026 10:09
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | Artistic and research projects involve many different tasks, decisions and responsibilities — from developing an initial idea and securing funding to organising materials, collaborating with others, publishing results and preserving them for future use. | ||
| 2 | |||
| 3 | The **Art & Research Services Navigator** helps you find the right guidance, services and resources for each stage of your project. | ||
| 4 | |||
| 5 | {{info title="How responsibilities work"}} | ||
| 6 | The navigator brings services together around the project lifecycle and the researcher's task. It is a navigation layer across university services, not a separate organisational unit. | ||
| 7 | |||
| 8 | **Support Kunst und Forschung (SKF)** supports project and funding activities — especially project development, funding and calls, proposals, and coordination of funded projects — and, where useful, connects them with the University's relevant services. | ||
| 9 | |||
| 10 | Depending on the question, these may include the **University Library / Research Data Management & Repository**, **IT**, **Legal and Data Protection**, **Finance and Personnel**, **Publications and Communication**, **Event Management**, the **International Office** and other services. | ||
| 11 | |||
| 12 | The **institute, department or other host unit** remains the artistic or academic home of the project. The navigator brings these offers together along the project stages so you can start from your need rather than from the organisational chart. | ||
| 13 | {{/info}} | ||
| 14 | |||
| 15 | |||
| 16 | |||
| 17 | {{html clean="false"}} | ||
| 18 | <section data-arsn-search-block-fix="v5" style="margin:20px 0 26px 0;padding:16px 18px;border:1px solid #e3ded6;border-radius:10px;background:#fcfbf8;box-shadow:0 1px 2px rgba(0,0,0,.035);"> | ||
| 19 | <h2 style="font-size:20px;margin:0 0 6px 0;color:#35312d;">Search the Art & Research Services Navigator</h2> | ||
| 20 | <p style="margin:0 0 12px 0;color:#6a655e;">Type a topic, synonym or common query. Matching pages are suggested immediately. Search-term links on the topic pages use the same controlled vocabulary.</p> | ||
| 21 | <form | ||
| 22 | id="arsn-search-form" | ||
| 23 | action="https://xwiki.uni-ak.ac.at/bin/view/Main/SolrSearch" | ||
| 24 | method="get" | ||
| 25 | role="search" | ||
| 26 | style="margin:0;" | ||
| 27 | > | ||
| 28 | <div style="display:flex;gap:10px;align-items:center;flex-wrap:wrap;"> | ||
| 29 | <label for="arsn-search-input" style="position:absolute;left:-10000px;"> | ||
| 30 | Search the Art & Research Services Navigator | ||
| 31 | </label> | ||
| 32 | |||
| 33 | <input | ||
| 34 | id="arsn-search-input" | ||
| 35 | name="text" | ||
| 36 | type="search" | ||
| 37 | placeholder="Try: DOI, backup, copyright, GDPR, repository..." | ||
| 38 | autocomplete="off" | ||
| 39 | aria-autocomplete="list" | ||
| 40 | aria-controls="arsn-search-results" | ||
| 41 | aria-expanded="false" | ||
| 42 | style="flex:1 1 520px;min-width:260px;padding:11px 13px;border:1px solid #bbb;border-radius:6px;font-size:16px;" | ||
| 43 | /> | ||
| 44 | |||
| 45 | <input type="hidden" name="f_type" value="DOCUMENT" /> | ||
| 46 | <input type="hidden" name="sort" value="score" /> | ||
| 47 | <input type="hidden" name="sortOrder" value="desc" /> | ||
| 48 | <input type="hidden" name="facet" value="true" /> | ||
| 49 | <input type="hidden" name="highlight" value="true" /> | ||
| 50 | <input type="hidden" name="r" value="1" /> | ||
| 51 | |||
| 52 | <button type="submit" class="btn btn-primary" style="padding:11px 22px;"> | ||
| 53 | Search | ||
| 54 | </button> | ||
| 55 | </div> | ||
| 56 | |||
| 57 | <div | ||
| 58 | id="arsn-search-results" | ||
| 59 | role="listbox" | ||
| 60 | aria-label="Suggested pages" | ||
| 61 | hidden | ||
| 62 | style="margin-top:8px;border:1px solid #d4d4d4;border-radius:7px;background:#fff;box-shadow:0 5px 18px rgba(0,0,0,.10);overflow:hidden;" | ||
| 63 | ></div> | ||
| 64 | |||
| 65 | <p | ||
| 66 | id="arsn-search-status" | ||
| 67 | style="position:absolute;left:-10000px;" | ||
| 68 | aria-live="polite" | ||
| 69 | ></p> | ||
| 70 | </form> | ||
| 71 | |||
| 72 | <script> | ||
| 73 | (function () { | ||
| 74 | "use strict"; | ||
| 75 | |||
| 76 | var encodedIndex = "W3sidGl0bGUiOiJBcnQgJiBSZXNlYXJjaCBTZXJ2aWNlcyBOYXZp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pbGl0eSIsInJldGVudGlvbiIsInByb2plY3QgZW5kIiwicHJvamVjdCBjb21wbGV0aW9uIiwiZmluYWwgaGFuZG92ZXIiLCJwcm9qZWN0IGFyY2hpdmUiLCJwcm9qZWt0YWJzY2hsdXNzIiwiw7xiZXJnYWJlIiwibMO2c2NodW5nIl19XQ=="; | ||
| 77 | var pageIndex; | ||
| 78 | |||
| 79 | try { | ||
| 80 | var binary = window.atob(encodedIndex); | ||
| 81 | var bytes = Uint8Array.from(binary, function (character) { | ||
| 82 | return character.charCodeAt(0); | ||
| 83 | }); | ||
| 84 | |||
| 85 | pageIndex = JSON.parse( | ||
| 86 | new TextDecoder("utf-8").decode(bytes) | ||
| 87 | ); | ||
| 88 | } catch (error) { | ||
| 89 | console.error("Art & Research search index could not be loaded.", error); | ||
| 90 | return; | ||
| 91 | } | ||
| 92 | |||
| 93 | var form = document.getElementById("arsn-search-form"); | ||
| 94 | var input = document.getElementById("arsn-search-input"); | ||
| 95 | var resultsBox = document.getElementById("arsn-search-results"); | ||
| 96 | var status = document.getElementById("arsn-search-status"); | ||
| 97 | var currentResults = []; | ||
| 98 | var activeIndex = -1; | ||
| 99 | |||
| 100 | function normalise(value) { | ||
| 101 | return String(value || "") | ||
| 102 | .normalize("NFD") | ||
| 103 | .replace(/[\u0300-\u036f]/g, "") | ||
| 104 | .toLowerCase() | ||
| 105 | .replace(/[^a-z0-9]+/g, " ") | ||
| 106 | .trim(); | ||
| 107 | } | ||
| 108 | |||
| 109 | function scorePage(page, query) { | ||
| 110 | var title = normalise(page.title); | ||
| 111 | var phase = normalise(page.phase); | ||
| 112 | var terms = page.terms.map(normalise); | ||
| 113 | var tokens = query.split(/\s+/).filter(Boolean); | ||
| 114 | var score = 0; | ||
| 115 | |||
| 116 | if (title === query) score += 500; | ||
| 117 | if (terms.indexOf(query) !== -1) score += 450; | ||
| 118 | |||
| 119 | if (title.indexOf(query) === 0) score += 300; | ||
| 120 | if (terms.some(function (term) { | ||
| 121 | return term.indexOf(query) === 0; | ||
| 122 | })) score += 260; | ||
| 123 | |||
| 124 | if (title.indexOf(query) !== -1) score += 180; | ||
| 125 | if (terms.some(function (term) { | ||
| 126 | return term.indexOf(query) !== -1; | ||
| 127 | })) score += 160; | ||
| 128 | |||
| 129 | if (phase.indexOf(query) !== -1) score += 40; | ||
| 130 | |||
| 131 | tokens.forEach(function (token) { | ||
| 132 | if (title.indexOf(token) !== -1) score += 35; | ||
| 133 | |||
| 134 | if (terms.some(function (term) { | ||
| 135 | return term.indexOf(token) !== -1; | ||
| 136 | })) score += 30; | ||
| 137 | }); | ||
| 138 | |||
| 139 | return score; | ||
| 140 | } | ||
| 141 | |||
| 142 | function matchingTerms(page, query) { | ||
| 143 | return page.terms | ||
| 144 | .filter(function (term) { | ||
| 145 | return normalise(term).indexOf(query) !== -1; | ||
| 146 | }) | ||
| 147 | .slice(0, 4); | ||
| 148 | } | ||
| 149 | |||
| 150 | function search(queryText) { | ||
| 151 | var query = normalise(queryText); | ||
| 152 | |||
| 153 | if (!query) return []; | ||
| 154 | |||
| 155 | return pageIndex | ||
| 156 | .map(function (page) { | ||
| 157 | return { | ||
| 158 | page: page, | ||
| 159 | score: scorePage(page, query) | ||
| 160 | }; | ||
| 161 | }) | ||
| 162 | .filter(function (entry) { | ||
| 163 | return entry.score > 0; | ||
| 164 | }) | ||
| 165 | .sort(function (a, b) { | ||
| 166 | return ( | ||
| 167 | b.score - a.score || | ||
| 168 | a.page.title.localeCompare(b.page.title) | ||
| 169 | ); | ||
| 170 | }) | ||
| 171 | .slice(0, 8) | ||
| 172 | .map(function (entry) { | ||
| 173 | return entry.page; | ||
| 174 | }); | ||
| 175 | } | ||
| 176 | |||
| 177 | function escapeHTML(value) { | ||
| 178 | return String(value) | ||
| 179 | .replace(/&/g, "&") | ||
| 180 | .replace(/</g, "<") | ||
| 181 | .replace(/>/g, ">") | ||
| 182 | .replace(/"/g, """); | ||
| 183 | } | ||
| 184 | |||
| 185 | function setActive(index) { | ||
| 186 | var links = resultsBox.querySelectorAll("[role=option]"); | ||
| 187 | |||
| 188 | if (!links.length) { | ||
| 189 | activeIndex = -1; | ||
| 190 | return; | ||
| 191 | } | ||
| 192 | |||
| 193 | activeIndex = Math.max( | ||
| 194 | 0, | ||
| 195 | Math.min(index, links.length - 1) | ||
| 196 | ); | ||
| 197 | |||
| 198 | links.forEach(function (link, itemIndex) { | ||
| 199 | var active = itemIndex === activeIndex; | ||
| 200 | |||
| 201 | link.setAttribute( | ||
| 202 | "aria-selected", | ||
| 203 | active ? "true" : "false" | ||
| 204 | ); | ||
| 205 | |||
| 206 | link.style.background = | ||
| 207 | active ? "#f3f5f6" : "#fff"; | ||
| 208 | }); | ||
| 209 | } | ||
| 210 | |||
| 211 | function render() { | ||
| 212 | var query = normalise(input.value); | ||
| 213 | currentResults = search(input.value); | ||
| 214 | activeIndex = -1; | ||
| 215 | |||
| 216 | if (!query) { | ||
| 217 | resultsBox.hidden = true; | ||
| 218 | input.setAttribute("aria-expanded", "false"); | ||
| 219 | resultsBox.innerHTML = ""; | ||
| 220 | status.textContent = ""; | ||
| 221 | return; | ||
| 222 | } | ||
| 223 | |||
| 224 | if (!currentResults.length) { | ||
| 225 | resultsBox.hidden = false; | ||
| 226 | input.setAttribute("aria-expanded", "true"); | ||
| 227 | resultsBox.innerHTML = | ||
| 228 | '<div style="padding:12px 14px;color:#666;">' + | ||
| 229 | 'No direct topic match. Press Search for XWiki full-text results.' + | ||
| 230 | '</div>'; | ||
| 231 | |||
| 232 | status.textContent = "No direct topic suggestions."; | ||
| 233 | return; | ||
| 234 | } | ||
| 235 | |||
| 236 | resultsBox.innerHTML = | ||
| 237 | currentResults.map(function (page, index) { | ||
| 238 | var terms = matchingTerms(page, query); | ||
| 239 | |||
| 240 | var detail = | ||
| 241 | page.phase && page.phase !== "Overview" | ||
| 242 | ? page.phase | ||
| 243 | : "Art & Research Services Navigator"; | ||
| 244 | |||
| 245 | if (terms.length) { | ||
| 246 | detail += " · " + terms.join(", "); | ||
| 247 | } | ||
| 248 | |||
| 249 | return ( | ||
| 250 | '<a href="' + | ||
| 251 | escapeHTML(page.url) + | ||
| 252 | '" role="option" aria-selected="false"' + | ||
| 253 | ' data-index="' + index + '"' + | ||
| 254 | ' style="display:block;padding:11px 14px;border-bottom:1px solid #eee;color:#111;text-decoration:none;">' + | ||
| 255 | '<strong style="display:block;">' + | ||
| 256 | escapeHTML(page.title) + | ||
| 257 | '</strong>' + | ||
| 258 | '<span style="display:block;margin-top:2px;color:#6a655e;font-size:13px;">' + | ||
| 259 | escapeHTML(detail) + | ||
| 260 | '</span>' + | ||
| 261 | '</a>' | ||
| 262 | ); | ||
| 263 | }).join(""); | ||
| 264 | |||
| 265 | resultsBox.hidden = false; | ||
| 266 | input.setAttribute("aria-expanded", "true"); | ||
| 267 | |||
| 268 | status.textContent = | ||
| 269 | currentResults.length + | ||
| 270 | " suggested page" + | ||
| 271 | (currentResults.length === 1 ? "" : "s") + | ||
| 272 | "."; | ||
| 273 | } | ||
| 274 | |||
| 275 | input.addEventListener("input", render); | ||
| 276 | input.addEventListener("focus", render); | ||
| 277 | |||
| 278 | input.addEventListener("keydown", function (event) { | ||
| 279 | if (resultsBox.hidden || !currentResults.length) return; | ||
| 280 | |||
| 281 | if (event.key === "ArrowDown") { | ||
| 282 | event.preventDefault(); | ||
| 283 | setActive(activeIndex + 1); | ||
| 284 | } else if (event.key === "ArrowUp") { | ||
| 285 | event.preventDefault(); | ||
| 286 | |||
| 287 | setActive( | ||
| 288 | activeIndex <= 0 | ||
| 289 | ? currentResults.length - 1 | ||
| 290 | : activeIndex - 1 | ||
| 291 | ); | ||
| 292 | } else if (event.key === "Enter" && activeIndex >= 0) { | ||
| 293 | event.preventDefault(); | ||
| 294 | window.location.href = currentResults[activeIndex].url; | ||
| 295 | } else if (event.key === "Escape") { | ||
| 296 | resultsBox.hidden = true; | ||
| 297 | input.setAttribute("aria-expanded", "false"); | ||
| 298 | } | ||
| 299 | }); | ||
| 300 | |||
| 301 | form.addEventListener("submit", function (event) { | ||
| 302 | currentResults = search(input.value); | ||
| 303 | |||
| 304 | if (currentResults.length) { | ||
| 305 | event.preventDefault(); | ||
| 306 | window.location.href = currentResults[0].url; | ||
| 307 | } | ||
| 308 | }); | ||
| 309 | |||
| 310 | document.addEventListener("click", function (event) { | ||
| 311 | if (!form.contains(event.target)) { | ||
| 312 | resultsBox.hidden = true; | ||
| 313 | input.setAttribute("aria-expanded", "false"); | ||
| 314 | } | ||
| 315 | }); | ||
| 316 | |||
| 317 | // Search-term links on nested pages use ?q=<term>. | ||
| 318 | // Load that query into the search box automatically. | ||
| 319 | try { | ||
| 320 | var params = new URLSearchParams(window.location.search); | ||
| 321 | var linkedQuery = params.get("q"); | ||
| 322 | |||
| 323 | if (linkedQuery) { | ||
| 324 | input.value = linkedQuery; | ||
| 325 | render(); | ||
| 326 | |||
| 327 | window.setTimeout(function () { | ||
| 328 | input.focus(); | ||
| 329 | |||
| 330 | if (input.scrollIntoView) { | ||
| 331 | input.scrollIntoView({ | ||
| 332 | behavior: "smooth", | ||
| 333 | block: "center" | ||
| 334 | }); | ||
| 335 | } | ||
| 336 | }, 50); | ||
| 337 | } | ||
| 338 | } catch (error) { | ||
| 339 | console.warn("Could not load linked navigator query.", error); | ||
| 340 | } | ||
| 341 | })(); | ||
| 342 | </script> | ||
| 343 | </section> | ||
| 344 | {{/html}} | ||
| 345 | |||
| 346 | (% style="margin:10px 0 16px 0;color:#6a655e;font-size:13px;" %) | ||
| 347 | ((( | ||
| 348 | Follow the project stages from left to right. Within each stage, topics are ordered by what you are most likely to need next; colour is used only as a subtle thematic cue. | ||
| 349 | ))) | ||
| 350 | |||
| 351 | {{container layoutStyle="columns"}} | ||
| 352 | |||
| 353 | ((( | ||
| 354 | (% style="border:1px solid #e3ded6;border-radius:10px;overflow:hidden;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.035);display:flex;flex-direction:column;" %) | ||
| 355 | ((( | ||
| 356 | (% style="height:170px;overflow:hidden;background:#f1eee9;position:relative;" %) | ||
| 357 | ((( | ||
| 358 | [[image:enable.png||alt="Enable — Plan & Set Up" style="width:100%;height:auto;display:block;position:absolute;top:50%;left:0;transform:translateY(-50%);"]] | ||
| 359 | ))) | ||
| 360 | |||
| 361 | (% style="padding:18px 17px 17px 17px;flex:1;" %) | ||
| 362 | ((( | ||
| 363 | (% style="font-size:19px;font-weight:700;margin-bottom:2px;" %) | ||
| 364 | [[1. Enable — Plan & Set Up>>https://xwiki.uni-ak.ac.at/bin/view/Service%20Navigator/Art%20%26%20Research%20Services%20Navigator/Enable/||style="color:#111;text-decoration:none;font-weight:700;"]] | ||
| 365 | |||
| 366 | (% style="color:#666;margin-bottom:16px;" %) | ||
| 367 | Prepare your project before the main work begins. | ||
| 368 | |||
| 369 | (% style="font-size:13px;font-weight:700;letter-spacing:.065em;color:#4f4a44;margin:17px 0 8px 0;padding:5px 8px;background:#f3efe8;border-radius:4px;" %) | ||
| 370 | START HERE | ||
| 371 | |||
| 372 | (% style="background:#fcfbf8;border:1px solid #e9e4dc;border-left:3px solid #21b6d7;border-radius:5px;padding:8px 10px;margin:4px 0;" %) | ||
| 373 | ((( | ||
| 374 | [[Get Started>>https://xwiki.uni-ak.ac.at/bin/view/Service%20Navigator/Art%20%26%20Research%20Services%20Navigator/Enable/Get%20Started/||style="color:#222;text-decoration:none;font-weight:600;"]] | ||
| 375 | ))) | ||
| 376 | |||
| 377 | (% style="background:#fcfbf8;border:1px solid #e9e4dc;border-left:3px solid #21b6d7;border-radius:5px;padding:8px 10px;margin:4px 0;" %) | ||
| 378 | ((( | ||
| 379 | [[Quick Start for Small Projects>>https://xwiki.uni-ak.ac.at/bin/view/Service%20Navigator/Art%20%26%20Research%20Services%20Navigator/Enable/Quick%20Start%20for%20Small%20Projects/||style="color:#222;text-decoration:none;font-weight:600;"]] | ||
| 380 | ))) | ||
| 381 | |||
| 382 | (% style="font-size:13px;font-weight:700;letter-spacing:.065em;color:#4f4a44;margin:22px 0 8px 0;padding:5px 8px;background:#f3efe8;border-radius:4px;" %) | ||
| 383 | PLAN & ORGANISE | ||
| 384 | |||
| 385 | (% style="background:#fcfbf8;border:1px solid #e9e4dc;border-left:3px solid #e94b13;border-radius:5px;padding:8px 10px;margin:4px 0;" %) | ||
| 386 | ((( | ||
| 387 | [[Project Planning & Organisation>>https://xwiki.uni-ak.ac.at/bin/view/Service%20Navigator/Art%20%26%20Research%20Services%20Navigator/Enable/Project%20Planning%20%26%20Organisation/||style="color:#222;text-decoration:none;font-weight:600;"]] | ||
| 388 | ))) | ||
| 389 | |||
| 390 | (% style="background:#fcfbf8;border:1px solid #e9e4dc;border-left:3px solid #e94b13;border-radius:5px;padding:8px 10px;margin:4px 0;" %) | ||
| 391 | ((( | ||
| 392 | [[Funding & Funder Requirements>>https://xwiki.uni-ak.ac.at/bin/view/Service%20Navigator/Art%20%26%20Research%20Services%20Navigator/Enable/Funding%20%26%20Funder%20Requirements/||style="color:#222;text-decoration:none;font-weight:600;"]] | ||
| 393 | ))) | ||
| 394 | |||
| 395 | (% style="background:#fcfbf8;border:1px solid #e9e4dc;border-left:3px solid #e94b13;border-radius:5px;padding:8px 10px;margin:4px 0;" %) | ||
| 396 | ((( | ||
| 397 | [[Identify Your Data & Research Outputs>>https://xwiki.uni-ak.ac.at/bin/view/Service%20Navigator/Art%20%26%20Research%20Services%20Navigator/Enable/Identify%20Your%20Data%20%26%20Research%20Outputs/||style="color:#222;text-decoration:none;font-weight:600;"]] | ||
| 398 | ))) | ||
| 399 | |||
| 400 | (% style="background:#fcfbf8;border:1px solid #e9e4dc;border-left:3px solid #e94b13;border-radius:5px;padding:8px 10px;margin:4px 0;" %) | ||
| 401 | ((( | ||
| 402 | [[Plan Your Data Management>>https://xwiki.uni-ak.ac.at/bin/view/Service%20Navigator/Art%20%26%20Research%20Services%20Navigator/Enable/Plan%20Your%20Data%20Management/||style="color:#222;text-decoration:none;font-weight:600;"]] | ||
| 403 | ))) | ||
| 404 | |||
| 405 | (% style="background:#fcfbf8;border:1px solid #e9e4dc;border-left:3px solid #e94b13;border-radius:5px;padding:8px 10px;margin:4px 0;" %) | ||
| 406 | ((( | ||
| 407 | [[File Organisation & Naming>>https://xwiki.uni-ak.ac.at/bin/view/Service%20Navigator/Art%20%26%20Research%20Services%20Navigator/Enable/File%20Organisation%20%26%20Naming/||style="color:#222;text-decoration:none;font-weight:600;"]] | ||
| 408 | ))) | ||
| 409 | |||
| 410 | (% style="font-size:13px;font-weight:700;letter-spacing:.065em;color:#4f4a44;margin:22px 0 8px 0;padding:5px 8px;background:#f3efe8;border-radius:4px;" %) | ||
| 411 | PROTECT & CLARIFY | ||
| 412 | |||
| 413 | (% style="background:#fcfbf8;border:1px solid #e9e4dc;border-left:3px solid #f0aa00;border-radius:5px;padding:8px 10px;margin:4px 0;" %) | ||
| 414 | ((( | ||
| 415 | [[Copyright, Rights & Licences>>https://xwiki.uni-ak.ac.at/bin/view/Service%20Navigator/Art%20%26%20Research%20Services%20Navigator/Enable/Copyright%2C%20Rights%20%26%20Licences/||style="color:#222;text-decoration:none;font-weight:600;"]] | ||
| 416 | ))) | ||
| 417 | |||
| 418 | (% style="background:#fcfbf8;border:1px solid #e9e4dc;border-left:3px solid #f0aa00;border-radius:5px;padding:8px 10px;margin:4px 0;" %) | ||
| 419 | ((( | ||
| 420 | [[Data Protection & Ethics>>https://xwiki.uni-ak.ac.at/bin/view/Service%20Navigator/Art%20%26%20Research%20Services%20Navigator/Enable/Data%20Protection%20%26%20Ethics/||style="color:#222;text-decoration:none;font-weight:600;"]] | ||
| 421 | ))) | ||
| 422 | |||
| 423 | (% style="font-size:13px;font-weight:700;letter-spacing:.065em;color:#4f4a44;margin:22px 0 8px 0;padding:5px 8px;background:#f3efe8;border-radius:4px;" %) | ||
| 424 | SET UP INFRASTRUCTURE | ||
| 425 | |||
| 426 | (% style="background:#fcfbf8;border:1px solid #e9e4dc;border-left:3px solid #38b76a;border-radius:5px;padding:8px 10px;margin:4px 0;" %) | ||
| 427 | ((( | ||
| 428 | [[Storage, Backup & Security>>https://xwiki.uni-ak.ac.at/bin/view/Service%20Navigator/Art%20%26%20Research%20Services%20Navigator/Enable/Storage%2C%20Backup%20%26%20Security/||style="color:#222;text-decoration:none;font-weight:600;"]] | ||
| 429 | ))) | ||
| 430 | |||
| 431 | (% style="background:#fcfbf8;border:1px solid #e9e4dc;border-left:3px solid #38b76a;border-radius:5px;padding:8px 10px;margin:4px 0;" %) | ||
| 432 | ((( | ||
| 433 | [[Infrastructure, Services & Tools>>https://xwiki.uni-ak.ac.at/bin/view/Service%20Navigator/Art%20%26%20Research%20Services%20Navigator/Enable/Infrastructure%2C%20Services%20%26%20Tools/||style="color:#222;text-decoration:none;font-weight:600;"]] | ||
| 434 | ))) | ||
| 435 | |||
| 436 | (% style="background:#fcfbf8;border:1px solid #e9e4dc;border-left:3px solid #38b76a;border-radius:5px;padding:8px 10px;margin:4px 0;" %) | ||
| 437 | ((( | ||
| 438 | [[Collaboration Setup>>https://xwiki.uni-ak.ac.at/bin/view/Service%20Navigator/Art%20%26%20Research%20Services%20Navigator/Enable/Collaboration%20Setup/||style="color:#222;text-decoration:none;font-weight:600;"]] | ||
| 439 | ))) | ||
| 440 | ))) | ||
| 441 | |||
| 442 | (% style="padding:0 16px 16px 16px;" %) | ||
| 443 | ((( | ||
| 444 | [[Explore Enable>>https://xwiki.uni-ak.ac.at/bin/view/Service%20Navigator/Art%20%26%20Research%20Services%20Navigator/Enable/||class="btn btn-primary btn-block"]] | ||
| 445 | ))) | ||
| 446 | ))) | ||
| 447 | ))) | ||
| 448 | |||
| 449 | ((( | ||
| 450 | (% style="border:1px solid #e3ded6;border-radius:10px;overflow:hidden;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.035);display:flex;flex-direction:column;" %) | ||
| 451 | ((( | ||
| 452 | (% style="height:170px;overflow:hidden;background:#f1eee9;position:relative;" %) | ||
| 453 | ((( | ||
| 454 | [[image:work.png||alt="Work & Manage — Run Your Project" style="width:100%;height:auto;display:block;position:absolute;top:50%;left:0;transform:translateY(-50%);"]] | ||
| 455 | ))) | ||
| 456 | |||
| 457 | (% style="padding:18px 17px 17px 17px;flex:1;" %) | ||
| 458 | ((( | ||
| 459 | (% style="font-size:19px;font-weight:700;margin-bottom:2px;" %) | ||
| 460 | [[2. Work & Manage — Run Your Project>>https://xwiki.uni-ak.ac.at/bin/view/Service%20Navigator/Art%20%26%20Research%20Services%20Navigator/Work%20%26%20Manage/||style="color:#111;text-decoration:none;font-weight:700;"]] | ||
| 461 | |||
| 462 | (% style="color:#666;margin-bottom:16px;" %) | ||
| 463 | Organise, document and review your project while the work is ongoing. | ||
| 464 | |||
| 465 | (% style="font-size:13px;font-weight:700;letter-spacing:.065em;color:#4f4a44;margin:17px 0 8px 0;padding:5px 8px;background:#f3efe8;border-radius:4px;" %) | ||
| 466 | ORGANISE & DOCUMENT | ||
| 467 | |||
| 468 | (% style="background:#fcfbf8;border:1px solid #e9e4dc;border-left:3px solid #e94b13;border-radius:5px;padding:8px 10px;margin:4px 0;" %) | ||
| 469 | ((( | ||
| 470 | [[Organise Files & Folders>>https://xwiki.uni-ak.ac.at/bin/view/Service%20Navigator/Art%20%26%20Research%20Services%20Navigator/Work%20%26%20Manage/Organise%20Files%20%26%20Folders/||style="color:#222;text-decoration:none;font-weight:600;"]] | ||
| 471 | ))) | ||
| 472 | |||
| 473 | (% style="background:#fcfbf8;border:1px solid #e9e4dc;border-left:3px solid #e94b13;border-radius:5px;padding:8px 10px;margin:4px 0;" %) | ||
| 474 | ((( | ||
| 475 | [[Manage Versions & Master Files>>https://xwiki.uni-ak.ac.at/bin/view/Service%20Navigator/Art%20%26%20Research%20Services%20Navigator/Work%20%26%20Manage/Manage%20Versions%20%26%20Master%20Files/||style="color:#222;text-decoration:none;font-weight:600;"]] | ||
| 476 | ))) | ||
| 477 | |||
| 478 | (% style="background:#fcfbf8;border:1px solid #e9e4dc;border-left:3px solid #e94b13;border-radius:5px;padding:8px 10px;margin:4px 0;" %) | ||
| 479 | ((( | ||
| 480 | [[Document Processes, Metadata & Provenance>>https://xwiki.uni-ak.ac.at/bin/view/Service%20Navigator/Art%20%26%20Research%20Services%20Navigator/Work%20%26%20Manage/Document%20Metadata%20%26%20Provenance/||style="color:#222;text-decoration:none;font-weight:600;"]] | ||
| 481 | ))) | ||
| 482 | |||
| 483 | (% style="font-size:13px;font-weight:700;letter-spacing:.065em;color:#4f4a44;margin:22px 0 8px 0;padding:5px 8px;background:#f3efe8;border-radius:4px;" %) | ||
| 484 | STORE & CONTROL ACCESS | ||
| 485 | |||
| 486 | (% style="background:#fcfbf8;border:1px solid #e9e4dc;border-left:3px solid #38b76a;border-radius:5px;padding:8px 10px;margin:4px 0;" %) | ||
| 487 | ((( | ||
| 488 | [[Store, Back Up & Control Access>>https://xwiki.uni-ak.ac.at/bin/view/Service%20Navigator/Art%20%26%20Research%20Services%20Navigator/Work%20%26%20Manage/Store%2C%20Back%20Up%20%26%20Control%20Access/||style="color:#222;text-decoration:none;font-weight:600;"]] | ||
| 489 | ))) | ||
| 490 | |||
| 491 | (% style="font-size:13px;font-weight:700;letter-spacing:.065em;color:#4f4a44;margin:22px 0 8px 0;padding:5px 8px;background:#f3efe8;border-radius:4px;" %) | ||
| 492 | STANDARDISE & IDENTIFY | ||
| 493 | |||
| 494 | (% style="background:#fcfbf8;border:1px solid #e9e4dc;border-left:3px solid #f0aa00;border-radius:5px;padding:8px 10px;margin:4px 0;" %) | ||
| 495 | ((( | ||
| 496 | [[Use Standards, Vocabularies & Identifiers>>https://xwiki.uni-ak.ac.at/bin/view/Service%20Navigator/Art%20%26%20Research%20Services%20Navigator/Work%20%26%20Manage/Use%20Standards%2C%20Vocabularies%20%26%20Identifiers/||style="color:#222;text-decoration:none;font-weight:600;"]] | ||
| 497 | ))) | ||
| 498 | |||
| 499 | (% style="font-size:13px;font-weight:700;letter-spacing:.065em;color:#4f4a44;margin:22px 0 8px 0;padding:5px 8px;background:#f3efe8;border-radius:4px;" %) | ||
| 500 | REVIEW & ADAPT | ||
| 501 | |||
| 502 | (% style="background:#fcfbf8;border:1px solid #e9e4dc;border-left:3px solid #21b6d7;border-radius:5px;padding:8px 10px;margin:4px 0;" %) | ||
| 503 | ((( | ||
| 504 | [[Review Your Data Management>>https://xwiki.uni-ak.ac.at/bin/view/Service%20Navigator/Art%20%26%20Research%20Services%20Navigator/Work%20%26%20Manage/Review%20Your%20Data%20Management/||style="color:#222;text-decoration:none;font-weight:600;"]] | ||
| 505 | ))) | ||
| 506 | ))) | ||
| 507 | |||
| 508 | (% style="padding:0 16px 16px 16px;" %) | ||
| 509 | ((( | ||
| 510 | [[Explore Work & Manage>>https://xwiki.uni-ak.ac.at/bin/view/Service%20Navigator/Art%20%26%20Research%20Services%20Navigator/Work%20%26%20Manage/||class="btn btn-primary btn-block"]] | ||
| 511 | ))) | ||
| 512 | ))) | ||
| 513 | ))) | ||
| 514 | |||
| 515 | ((( | ||
| 516 | (% style="border:1px solid #e3ded6;border-radius:10px;overflow:hidden;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.035);display:flex;flex-direction:column;" %) | ||
| 517 | ((( | ||
| 518 | (% style="height:170px;overflow:hidden;background:#f1eee9;position:relative;" %) | ||
| 519 | ((( | ||
| 520 | [[image:share.png||alt="Publish & Share — Make It Visible" style="width:100%;height:auto;display:block;position:absolute;top:50%;left:0;transform:translateY(-50%);"]] | ||
| 521 | ))) | ||
| 522 | |||
| 523 | (% style="padding:18px 17px 17px 17px;flex:1;" %) | ||
| 524 | ((( | ||
| 525 | (% style="font-size:19px;font-weight:700;margin-bottom:2px;" %) | ||
| 526 | [[3. Publish & Share — Make It Visible>>https://xwiki.uni-ak.ac.at/bin/view/Service%20Navigator/Art%20%26%20Research%20Services%20Navigator/Publish%20%26%20Share/||style="color:#111;text-decoration:none;font-weight:700;"]] | ||
| 527 | |||
| 528 | (% style="color:#666;margin-bottom:16px;" %) | ||
| 529 | Decide how outputs should be shared, published, made findable and preserved. | ||
| 530 | |||
| 531 | (% style="font-size:13px;font-weight:700;letter-spacing:.065em;color:#4f4a44;margin:17px 0 8px 0;padding:5px 8px;background:#f3efe8;border-radius:4px;" %) | ||
| 532 | DECIDE | ||
| 533 | |||
| 534 | (% style="background:#fcfbf8;border:1px solid #e9e4dc;border-left:3px solid #21b6d7;border-radius:5px;padding:8px 10px;margin:4px 0;" %) | ||
| 535 | ((( | ||
| 536 | [[Decide What to Share>>https://xwiki.uni-ak.ac.at/bin/view/Service%20Navigator/Art%20%26%20Research%20Services%20Navigator/Publish%20%26%20Share/Decide%20What%20to%20Share/||style="color:#222;text-decoration:none;font-weight:600;"]] | ||
| 537 | ))) | ||
| 538 | |||
| 539 | (% style="font-size:13px;font-weight:700;letter-spacing:.065em;color:#4f4a44;margin:22px 0 8px 0;padding:5px 8px;background:#f3efe8;border-radius:4px;" %) | ||
| 540 | OPEN, REUSE & MAKE FINDABLE | ||
| 541 | |||
| 542 | (% style="background:#fcfbf8;border:1px solid #e9e4dc;border-left:3px solid #f0aa00;border-radius:5px;padding:8px 10px;margin:4px 0;" %) | ||
| 543 | ((( | ||
| 544 | [[FAIR, CARE & Open Science>>https://xwiki.uni-ak.ac.at/bin/view/Service%20Navigator/Art%20%26%20Research%20Services%20Navigator/Publish%20%26%20Share/FAIR%2C%20CARE%20%26%20Open%20Science/||style="color:#222;text-decoration:none;font-weight:600;"]] | ||
| 545 | ))) | ||
| 546 | |||
| 547 | (% style="background:#fcfbf8;border:1px solid #e9e4dc;border-left:3px solid #f0aa00;border-radius:5px;padding:8px 10px;margin:4px 0;" %) | ||
| 548 | ((( | ||
| 549 | [[Manage Access, Reuse & Licensing>>https://xwiki.uni-ak.ac.at/bin/view/Service%20Navigator/Art%20%26%20Research%20Services%20Navigator/Publish%20%26%20Share/Manage%20Access%2C%20Reuse%20%26%20Licensing/||style="color:#222;text-decoration:none;font-weight:600;"]] | ||
| 550 | ))) | ||
| 551 | |||
| 552 | (% style="background:#fcfbf8;border:1px solid #e9e4dc;border-left:3px solid #f0aa00;border-radius:5px;padding:8px 10px;margin:4px 0;" %) | ||
| 553 | ((( | ||
| 554 | [[Make Outputs Findable & Citable>>https://xwiki.uni-ak.ac.at/bin/view/Service%20Navigator/Art%20%26%20Research%20Services%20Navigator/Publish%20%26%20Share/Make%20Outputs%20Findable%20%26%20Citable/||style="color:#222;text-decoration:none;font-weight:600;"]] | ||
| 555 | ))) | ||
| 556 | |||
| 557 | (% style="font-size:13px;font-weight:700;letter-spacing:.065em;color:#4f4a44;margin:22px 0 8px 0;padding:5px 8px;background:#f3efe8;border-radius:4px;" %) | ||
| 558 | PUBLISH & PRESENT | ||
| 559 | |||
| 560 | (% style="background:#fcfbf8;border:1px solid #e9e4dc;border-left:3px solid #e94b13;border-radius:5px;padding:8px 10px;margin:4px 0;" %) | ||
| 561 | ((( | ||
| 562 | [[Disseminate & Present Your Research>>https://xwiki.uni-ak.ac.at/bin/view/Service%20Navigator/Art%20%26%20Research%20Services%20Navigator/Publish%20%26%20Share/Disseminate%20%26%20Present%20Your%20Research/||style="color:#222;text-decoration:none;font-weight:600;"]] | ||
| 563 | ))) | ||
| 564 | |||
| 565 | (% style="font-size:13px;font-weight:700;letter-spacing:.065em;color:#4f4a44;margin:22px 0 8px 0;padding:5px 8px;background:#f3efe8;border-radius:4px;" %) | ||
| 566 | REPOSITORY, PRESERVE & HAND OVER | ||
| 567 | |||
| 568 | (% style="background:#fcfbf8;border:1px solid #e9e4dc;border-left:3px solid #38b76a;border-radius:5px;padding:8px 10px;margin:4px 0;" %) | ||
| 569 | ((( | ||
| 570 | [[Choose a Repository or Publication Platform>>https://xwiki.uni-ak.ac.at/bin/view/Service%20Navigator/Art%20%26%20Research%20Services%20Navigator/Publish%20%26%20Share/Choose%20a%20Repository%20or%20Publication%20Platform/||style="color:#222;text-decoration:none;font-weight:600;"]] | ||
| 571 | ))) | ||
| 572 | |||
| 573 | (% style="background:#fcfbf8;border:1px solid #e9e4dc;border-left:3px solid #38b76a;border-radius:5px;padding:8px 10px;margin:4px 0;" %) | ||
| 574 | ((( | ||
| 575 | [[Preserve Data & Artistic Outputs>>https://xwiki.uni-ak.ac.at/bin/view/Service%20Navigator/Art%20%26%20Research%20Services%20Navigator/Publish%20%26%20Share/Preserve%20Data%20%26%20Artistic%20Outputs/||style="color:#222;text-decoration:none;font-weight:600;"]] | ||
| 576 | ))) | ||
| 577 | |||
| 578 | (% style="background:#fcfbf8;border:1px solid #e9e4dc;border-left:3px solid #38b76a;border-radius:5px;padding:8px 10px;margin:4px 0;" %) | ||
| 579 | ((( | ||
| 580 | [[Close & Hand Over Your Project>>https://xwiki.uni-ak.ac.at/bin/view/Service%20Navigator/Art%20%26%20Research%20Services%20Navigator/Publish%20%26%20Share/Close%20%26%20Hand%20Over%20Your%20Project/||style="color:#222;text-decoration:none;font-weight:600;"]] | ||
| 581 | ))) | ||
| 582 | ))) | ||
| 583 | |||
| 584 | (% style="padding:0 16px 16px 16px;" %) | ||
| 585 | ((( | ||
| 586 | [[Explore Publish & Share>>https://xwiki.uni-ak.ac.at/bin/view/Service%20Navigator/Art%20%26%20Research%20Services%20Navigator/Publish%20%26%20Share/||class="btn btn-primary btn-block"]] | ||
| 587 | ))) | ||
| 588 | ))) | ||
| 589 | ))) | ||
| 590 | |||
| 591 | {{/container}} | ||
| 592 | |||
| 593 | (% style="margin-top:30px;" %) | ||
| 594 | ((( | ||
| 595 | == Practical resources == | ||
| 596 | |||
| 597 | Use practical resources when you need a concise overview, a step-by-step procedure or a ready-to-use project aid. | ||
| 598 | |||
| 599 | {{container layoutStyle="columns"}} | ||
| 600 | |||
| 601 | ((( | ||
| 602 | {{box title="Info Sheets"}} | ||
| 603 | {{html}}<span data-arsn-coming-soon="true" style="display:inline-block;margin:6px 0 8px 0;padding:4px 9px;border-radius:14px;background:#fff4ee;border:1px solid #efd9cc;color:#8a4d36;font-size:11px;font-weight:700;letter-spacing:.065em;line-height:1.2;">COMING SOON</span>{{/html}} | ||
| 604 | Short reference guides for common questions and decisions. | ||
| 605 | |||
| 606 | Resources will be linked here as the collection is developed. | ||
| 607 | {{/box}} | ||
| 608 | ))) | ||
| 609 | |||
| 610 | ((( | ||
| 611 | {{box title="Tutorials"}} | ||
| 612 | {{html}}<span data-arsn-coming-soon="true" style="display:inline-block;margin:6px 0 8px 0;padding:4px 9px;border-radius:14px;background:#fff4ee;border:1px solid #efd9cc;color:#8a4d36;font-size:11px;font-weight:700;letter-spacing:.065em;line-height:1.2;">COMING SOON</span>{{/html}} | ||
| 613 | Step-by-step guidance for specific tasks and workflows. | ||
| 614 | |||
| 615 | Tutorials will be linked here as the collection is developed. | ||
| 616 | {{/box}} | ||
| 617 | ))) | ||
| 618 | |||
| 619 | ((( | ||
| 620 | {{box title="Checklists & Templates"}} | ||
| 621 | {{html}}<span data-arsn-coming-soon="true" style="display:inline-block;margin:6px 0 8px 0;padding:4px 9px;border-radius:14px;background:#fff4ee;border:1px solid #efd9cc;color:#8a4d36;font-size:11px;font-weight:700;letter-spacing:.065em;line-height:1.2;">COMING SOON</span>{{/html}} | ||
| 622 | Ready-to-use checklists and templates for planning, managing and closing projects. | ||
| 623 | |||
| 624 | [[Start with the Quick Start checklist>>https://xwiki.uni-ak.ac.at/bin/view/Service%20Navigator/Art%20%26%20Research%20Services%20Navigator/Enable/Quick%20Start%20for%20Small%20Projects/]] | ||
| 625 | {{/box}} | ||
| 626 | ))) | ||
| 627 | |||
| 628 | {{/container}} | ||
| 629 | ))) | ||
| 630 | |||
| 631 | (% style="margin-top:30px;" %) | ||
| 632 | ((( | ||
| 633 | == Need help finding the right route? == | ||
| 634 | |||
| 635 | {{info title="Start with the right service"}} | ||
| 636 | For **project development, funding, proposals and coordination of funded art and research projects**, **Support Kunst und Forschung** is a good place to start. | ||
| 637 | |||
| 638 | For more specific questions, the topic pages point directly to the relevant university services. When several areas are involved, use the navigator to see which support is useful at the next step. | ||
| 639 | {{/info}} | ||
| 640 | ))) | ||
| 641 | |||
| 642 | \n\n | ||
| 643 | \n\n{{html clean="false"}} | ||
| 644 | <!-- SN_HORIZONTAL_BOX_HARMONIZER_START --> | ||
| 645 | |||
| 646 | <style data-sn-horizontal-box-harmonizer="7"> | ||
| 647 | /* ---------- Typography: never justify headings ---------- */ | ||
| 648 | #xwikicontent h1, | ||
| 649 | #xwikicontent h2, | ||
| 650 | #xwikicontent h3, | ||
| 651 | #xwikicontent h4, | ||
| 652 | #xwikicontent h5, | ||
| 653 | #xwikicontent h6, | ||
| 654 | #xwikicontent .box-title, | ||
| 655 | #xwikicontent [role="heading"], | ||
| 656 | #xwikicontent h1 a, | ||
| 657 | #xwikicontent h2 a, | ||
| 658 | #xwikicontent h3 a, | ||
| 659 | #xwikicontent h4 a, | ||
| 660 | #xwikicontent h5 a, | ||
| 661 | #xwikicontent h6 a, | ||
| 662 | #xwikicontent .box-title a, | ||
| 663 | #xwikicontent [role="heading"] a{ | ||
| 664 | text-align:left!important; | ||
| 665 | text-justify:auto!important; | ||
| 666 | word-spacing:normal!important; | ||
| 667 | } | ||
| 668 | |||
| 669 | /* ---------- Native XWiki semantic callouts ---------- */ | ||
| 670 | #xwikicontent .box.infomessage, | ||
| 671 | #xwikicontent .infomessage, | ||
| 672 | #xwikicontent .box.warningmessage, | ||
| 673 | #xwikicontent .warningmessage, | ||
| 674 | #xwikicontent .box.successmessage, | ||
| 675 | #xwikicontent .successmessage, | ||
| 676 | #xwikicontent .box.errormessage, | ||
| 677 | #xwikicontent .errormessage, | ||
| 678 | #xwikicontent [data-sn-callout-harmonized="1"]{ | ||
| 679 | box-sizing:border-box!important; | ||
| 680 | border-radius:8px!important; | ||
| 681 | border-top:1px solid rgba(0,0,0,.08)!important; | ||
| 682 | border-right:1px solid rgba(0,0,0,.08)!important; | ||
| 683 | border-bottom:1px solid rgba(0,0,0,.08)!important; | ||
| 684 | border-left:4px solid var(--sn-callout-accent,#21b6d7)!important; | ||
| 685 | padding:14px 16px!important; | ||
| 686 | text-align:left!important; | ||
| 687 | text-justify:auto!important; | ||
| 688 | word-spacing:normal!important; | ||
| 689 | box-shadow:none!important; | ||
| 690 | } | ||
| 691 | |||
| 692 | #xwikicontent .box.infomessage, | ||
| 693 | #xwikicontent .infomessage{ | ||
| 694 | --sn-callout-accent:#21b6d7; | ||
| 695 | background:#eaf7fb!important; | ||
| 696 | } | ||
| 697 | |||
| 698 | #xwikicontent .box.warningmessage, | ||
| 699 | #xwikicontent .warningmessage{ | ||
| 700 | --sn-callout-accent:#f0aa00; | ||
| 701 | background:#fff8e7!important; | ||
| 702 | } | ||
| 703 | |||
| 704 | #xwikicontent .box.successmessage, | ||
| 705 | #xwikicontent .successmessage{ | ||
| 706 | --sn-callout-accent:#38b76a; | ||
| 707 | background:#edf9f1!important; | ||
| 708 | } | ||
| 709 | |||
| 710 | #xwikicontent .box.errormessage, | ||
| 711 | #xwikicontent .errormessage{ | ||
| 712 | --sn-callout-accent:#e94b13; | ||
| 713 | background:#fff1ec!important; | ||
| 714 | } | ||
| 715 | |||
| 716 | #xwikicontent [data-sn-callout-harmonized="1"] > :first-child, | ||
| 717 | #xwikicontent .infomessage > :first-child, | ||
| 718 | #xwikicontent .warningmessage > :first-child, | ||
| 719 | #xwikicontent .successmessage > :first-child, | ||
| 720 | #xwikicontent .errormessage > :first-child{ | ||
| 721 | margin-top:0!important; | ||
| 722 | } | ||
| 723 | |||
| 724 | #xwikicontent [data-sn-callout-harmonized="1"] > :last-child, | ||
| 725 | #xwikicontent .infomessage > :last-child, | ||
| 726 | #xwikicontent .warningmessage > :last-child, | ||
| 727 | #xwikicontent .successmessage > :last-child, | ||
| 728 | #xwikicontent .errormessage > :last-child{ | ||
| 729 | margin-bottom:0!important; | ||
| 730 | } | ||
| 731 | |||
| 732 | #xwikicontent [data-sn-equal-height-managed], | ||
| 733 | #xwikicontent [data-sn-first-section-aligned], | ||
| 734 | #xwikicontent [data-sn-first-content-aligned]{ | ||
| 735 | box-sizing:border-box; | ||
| 736 | } | ||
| 737 | </style> | ||
| 738 | |||
| 739 | <script data-sn-horizontal-box-harmonizer="7"> | ||
| 740 | (function(){ | ||
| 741 | "use strict"; | ||
| 742 | |||
| 743 | var MOBILE_MAX=767; | ||
| 744 | var ROW_TOLERANCE=6; | ||
| 745 | var MIN_W=150; | ||
| 746 | var MIN_H=36; | ||
| 747 | var MAX_PARENT_CHILDREN=18; | ||
| 748 | var SEARCH_DEPTH=5; | ||
| 749 | var RESIZE_DEBOUNCE=220; | ||
| 750 | var MIN_WIDTH_CHANGE=2; | ||
| 751 | |||
| 752 | var root= | ||
| 753 | document.getElementById("xwikicontent")|| | ||
| 754 | document.querySelector(".xwiki-rendering-content")|| | ||
| 755 | document.querySelector("main")|| | ||
| 756 | document.body; | ||
| 757 | |||
| 758 | if(!root)return; | ||
| 759 | |||
| 760 | var heightManaged=new Set(); | ||
| 761 | var sectionManaged=new Set(); | ||
| 762 | var contentManaged=new Set(); | ||
| 763 | |||
| 764 | var originalMinHeight=new WeakMap(); | ||
| 765 | var originalMarginTop=new WeakMap(); | ||
| 766 | |||
| 767 | var resizeTimer=0; | ||
| 768 | var lastWidth=-1; | ||
| 769 | var hasApplied=false; | ||
| 770 | var applying=false; | ||
| 771 | |||
| 772 | function num(v){ | ||
| 773 | var n=parseFloat(v); | ||
| 774 | return Number.isFinite(n)?n:0; | ||
| 775 | } | ||
| 776 | |||
| 777 | function visible(el,minW,minH){ | ||
| 778 | if(!el||el.nodeType!==1)return false; | ||
| 779 | |||
| 780 | var s=getComputedStyle(el); | ||
| 781 | |||
| 782 | if( | ||
| 783 | s.display==="none"|| | ||
| 784 | s.visibility==="hidden"|| | ||
| 785 | Number(s.opacity)===0 | ||
| 786 | ){ | ||
| 787 | return false; | ||
| 788 | } | ||
| 789 | |||
| 790 | var r=el.getBoundingClientRect(); | ||
| 791 | |||
| 792 | return ( | ||
| 793 | r.width>=(minW||1)&& | ||
| 794 | r.height>=(minH||1) | ||
| 795 | ); | ||
| 796 | } | ||
| 797 | |||
| 798 | function normalizeText(text){ | ||
| 799 | return String(text||"") | ||
| 800 | .replace(/\s+/g," ") | ||
| 801 | .trim() | ||
| 802 | .toUpperCase(); | ||
| 803 | } | ||
| 804 | |||
| 805 | function excluded(el){ | ||
| 806 | return ( | ||
| 807 | !el.matches|| | ||
| 808 | el.matches( | ||
| 809 | "button,input,select,textarea,option,label,img,svg,canvas,table,thead,tbody,tfoot,tr,td,th,summary,script,style,noscript,template,.btn,.chip,[role=button]" | ||
| 810 | ) | ||
| 811 | ); | ||
| 812 | } | ||
| 813 | |||
| 814 | /* ---------- Custom coloured callouts ---------- */ | ||
| 815 | |||
| 816 | function nativeCallout(el){ | ||
| 817 | var c= | ||
| 818 | typeof el.className==="string" | ||
| 819 | ? el.className.toLowerCase() | ||
| 820 | : ""; | ||
| 821 | |||
| 822 | return ( | ||
| 823 | /(^|\s)(infomessage|warningmessage|successmessage|errormessage)(\s|$)/.test(c) | ||
| 824 | ); | ||
| 825 | } | ||
| 826 | |||
| 827 | function customCallout(el){ | ||
| 828 | if(!visible(el,220,42)||excluded(el))return false; | ||
| 829 | |||
| 830 | var r=el.getBoundingClientRect(); | ||
| 831 | |||
| 832 | if(r.height>520)return false; | ||
| 833 | |||
| 834 | var s=getComputedStyle(el); | ||
| 835 | |||
| 836 | var bg= | ||
| 837 | s.backgroundColor&& | ||
| 838 | s.backgroundColor!=="rgba(0, 0, 0, 0)"&& | ||
| 839 | s.backgroundColor!=="transparent"&& | ||
| 840 | s.backgroundColor!=="rgb(255, 255, 255)"; | ||
| 841 | |||
| 842 | var left= | ||
| 843 | num(s.borderLeftWidth); | ||
| 844 | |||
| 845 | return ( | ||
| 846 | bg&& | ||
| 847 | left>=2 | ||
| 848 | ); | ||
| 849 | } | ||
| 850 | |||
| 851 | function harmoniseCustomCallouts(){ | ||
| 852 | Array.from( | ||
| 853 | root.querySelectorAll( | ||
| 854 | "div,aside,section" | ||
| 855 | ) | ||
| 856 | ).forEach(function(el){ | ||
| 857 | if(nativeCallout(el))return; | ||
| 858 | if(!customCallout(el))return; | ||
| 859 | |||
| 860 | var s=getComputedStyle(el); | ||
| 861 | |||
| 862 | el.setAttribute( | ||
| 863 | "data-sn-callout-harmonized", | ||
| 864 | "1" | ||
| 865 | ); | ||
| 866 | |||
| 867 | if( | ||
| 868 | s.borderLeftColor | ||
| 869 | ){ | ||
| 870 | el.style.setProperty( | ||
| 871 | "--sn-callout-accent", | ||
| 872 | s.borderLeftColor | ||
| 873 | ); | ||
| 874 | } | ||
| 875 | }); | ||
| 876 | } | ||
| 877 | |||
| 878 | /* ---------- Restore only values V7 itself changed ---------- */ | ||
| 879 | |||
| 880 | function saveOriginal(el,map,property){ | ||
| 881 | if(map.has(el))return; | ||
| 882 | |||
| 883 | map.set(el,{ | ||
| 884 | value: | ||
| 885 | el.style.getPropertyValue( | ||
| 886 | property | ||
| 887 | ), | ||
| 888 | priority: | ||
| 889 | el.style.getPropertyPriority( | ||
| 890 | property | ||
| 891 | ) | ||
| 892 | }); | ||
| 893 | } | ||
| 894 | |||
| 895 | function restoreOriginal(el,map,property){ | ||
| 896 | var original=map.get(el); | ||
| 897 | |||
| 898 | if(original&&original.value){ | ||
| 899 | el.style.setProperty( | ||
| 900 | property, | ||
| 901 | original.value, | ||
| 902 | original.priority||"" | ||
| 903 | ); | ||
| 904 | }else{ | ||
| 905 | el.style.removeProperty( | ||
| 906 | property | ||
| 907 | ); | ||
| 908 | } | ||
| 909 | } | ||
| 910 | |||
| 911 | function resetRuntime(){ | ||
| 912 | heightManaged.forEach(function(el){ | ||
| 913 | restoreOriginal( | ||
| 914 | el, | ||
| 915 | originalMinHeight, | ||
| 916 | "min-height" | ||
| 917 | ); | ||
| 918 | |||
| 919 | el.removeAttribute( | ||
| 920 | "data-sn-equal-height-managed" | ||
| 921 | ); | ||
| 922 | }); | ||
| 923 | |||
| 924 | sectionManaged.forEach(function(el){ | ||
| 925 | restoreOriginal( | ||
| 926 | el, | ||
| 927 | originalMarginTop, | ||
| 928 | "margin-top" | ||
| 929 | ); | ||
| 930 | |||
| 931 | el.removeAttribute( | ||
| 932 | "data-sn-first-section-aligned" | ||
| 933 | ); | ||
| 934 | }); | ||
| 935 | |||
| 936 | contentManaged.forEach(function(el){ | ||
| 937 | restoreOriginal( | ||
| 938 | el, | ||
| 939 | originalMarginTop, | ||
| 940 | "margin-top" | ||
| 941 | ); | ||
| 942 | |||
| 943 | el.removeAttribute( | ||
| 944 | "data-sn-first-content-aligned" | ||
| 945 | ); | ||
| 946 | }); | ||
| 947 | |||
| 948 | heightManaged.clear(); | ||
| 949 | sectionManaged.clear(); | ||
| 950 | contentManaged.clear(); | ||
| 951 | } | ||
| 952 | |||
| 953 | /* ---------- Card detection ---------- */ | ||
| 954 | |||
| 955 | function namedLikeBox(el){ | ||
| 956 | var c= | ||
| 957 | typeof el.className==="string" | ||
| 958 | ? el.className | ||
| 959 | : ""; | ||
| 960 | |||
| 961 | return /(^|[\s_-])(box|card|tile|panel|role|check|service|source|call|area|detail|resource|topic|warn|info)([\s_-]|$)/i.test(c); | ||
| 962 | } | ||
| 963 | |||
| 964 | function boxLike(el){ | ||
| 965 | if( | ||
| 966 | !visible(el,MIN_W,MIN_H)|| | ||
| 967 | excluded(el) | ||
| 968 | ){ | ||
| 969 | return false; | ||
| 970 | } | ||
| 971 | |||
| 972 | var s=getComputedStyle(el); | ||
| 973 | var r=el.getBoundingClientRect(); | ||
| 974 | |||
| 975 | var border= | ||
| 976 | num(s.borderTopWidth)+ | ||
| 977 | num(s.borderRightWidth)+ | ||
| 978 | num(s.borderBottomWidth)+ | ||
| 979 | num(s.borderLeftWidth); | ||
| 980 | |||
| 981 | var radius=Math.max( | ||
| 982 | num(s.borderTopLeftRadius), | ||
| 983 | num(s.borderTopRightRadius), | ||
| 984 | num(s.borderBottomLeftRadius), | ||
| 985 | num(s.borderBottomRightRadius) | ||
| 986 | ); | ||
| 987 | |||
| 988 | var bg= | ||
| 989 | s.backgroundColor&& | ||
| 990 | s.backgroundColor!=="rgba(0, 0, 0, 0)"&& | ||
| 991 | s.backgroundColor!=="transparent"; | ||
| 992 | |||
| 993 | var shadow= | ||
| 994 | s.boxShadow&& | ||
| 995 | s.boxShadow!=="none"; | ||
| 996 | |||
| 997 | return ( | ||
| 998 | namedLikeBox(el)|| | ||
| 999 | border>=1|| | ||
| 1000 | (bg&&radius>=3)|| | ||
| 1001 | (shadow&&r.width>=180) | ||
| 1002 | ); | ||
| 1003 | } | ||
| 1004 | |||
| 1005 | function pickTarget(child){ | ||
| 1006 | if(!visible(child,MIN_W,MIN_H))return null; | ||
| 1007 | |||
| 1008 | if(boxLike(child))return child; | ||
| 1009 | |||
| 1010 | var cr=child.getBoundingClientRect(); | ||
| 1011 | var q=[]; | ||
| 1012 | |||
| 1013 | Array.from(child.children||[]).forEach(function(el){ | ||
| 1014 | q.push({el:el,depth:1}); | ||
| 1015 | }); | ||
| 1016 | |||
| 1017 | var best=null; | ||
| 1018 | var bestScore=-Infinity; | ||
| 1019 | |||
| 1020 | while(q.length){ | ||
| 1021 | var item=q.shift(); | ||
| 1022 | var el=item.el; | ||
| 1023 | |||
| 1024 | if(!visible(el,MIN_W,MIN_H))continue; | ||
| 1025 | |||
| 1026 | var r=el.getBoundingClientRect(); | ||
| 1027 | |||
| 1028 | if( | ||
| 1029 | r.width>=cr.width*.68&& | ||
| 1030 | boxLike(el) | ||
| 1031 | ){ | ||
| 1032 | var widthFit= | ||
| 1033 | 1-Math.min( | ||
| 1034 | 1, | ||
| 1035 | Math.abs(cr.width-r.width)/ | ||
| 1036 | Math.max(1,cr.width) | ||
| 1037 | ); | ||
| 1038 | |||
| 1039 | var topFit= | ||
| 1040 | 1-Math.min( | ||
| 1041 | 1, | ||
| 1042 | Math.abs(cr.top-r.top)/100 | ||
| 1043 | ); | ||
| 1044 | |||
| 1045 | var score= | ||
| 1046 | widthFit*6+ | ||
| 1047 | topFit*3+ | ||
| 1048 | Math.min(r.height,900)/450+ | ||
| 1049 | Math.min(r.width*r.height,900000)/900000; | ||
| 1050 | |||
| 1051 | if(score>bestScore){ | ||
| 1052 | best=el; | ||
| 1053 | bestScore=score; | ||
| 1054 | } | ||
| 1055 | } | ||
| 1056 | |||
| 1057 | if(item.depth<SEARCH_DEPTH){ | ||
| 1058 | Array.from(el.children||[]).forEach(function(next){ | ||
| 1059 | q.push({ | ||
| 1060 | el:next, | ||
| 1061 | depth:item.depth+1 | ||
| 1062 | }); | ||
| 1063 | }); | ||
| 1064 | } | ||
| 1065 | } | ||
| 1066 | |||
| 1067 | return best; | ||
| 1068 | } | ||
| 1069 | |||
| 1070 | function groupRows(entries){ | ||
| 1071 | var groups=[]; | ||
| 1072 | |||
| 1073 | entries | ||
| 1074 | .slice() | ||
| 1075 | .sort(function(a,b){ | ||
| 1076 | return ( | ||
| 1077 | a.rect.top-b.rect.top|| | ||
| 1078 | a.rect.left-b.rect.left | ||
| 1079 | ); | ||
| 1080 | }) | ||
| 1081 | .forEach(function(entry){ | ||
| 1082 | var group=null; | ||
| 1083 | |||
| 1084 | for(var i=0;i<groups.length;i++){ | ||
| 1085 | if( | ||
| 1086 | Math.abs( | ||
| 1087 | groups[i].top- | ||
| 1088 | entry.rect.top | ||
| 1089 | )<=ROW_TOLERANCE | ||
| 1090 | ){ | ||
| 1091 | group=groups[i]; | ||
| 1092 | break; | ||
| 1093 | } | ||
| 1094 | } | ||
| 1095 | |||
| 1096 | if(!group){ | ||
| 1097 | group={ | ||
| 1098 | top:entry.rect.top, | ||
| 1099 | entries:[] | ||
| 1100 | }; | ||
| 1101 | groups.push(group); | ||
| 1102 | } | ||
| 1103 | |||
| 1104 | group.entries.push(entry); | ||
| 1105 | }); | ||
| 1106 | |||
| 1107 | return groups; | ||
| 1108 | } | ||
| 1109 | |||
| 1110 | function validRow(group){ | ||
| 1111 | if(group.entries.length<2)return false; | ||
| 1112 | |||
| 1113 | var lefts= | ||
| 1114 | group.entries | ||
| 1115 | .map(function(e){return e.rect.left;}) | ||
| 1116 | .sort(function(a,b){return a-b;}); | ||
| 1117 | |||
| 1118 | if( | ||
| 1119 | lefts[lefts.length-1]- | ||
| 1120 | lefts[0]< | ||
| 1121 | 80 | ||
| 1122 | ){ | ||
| 1123 | return false; | ||
| 1124 | } | ||
| 1125 | |||
| 1126 | var widths= | ||
| 1127 | group.entries | ||
| 1128 | .map(function(e){return e.rect.width;}) | ||
| 1129 | .filter(function(w){return w>0;}); | ||
| 1130 | |||
| 1131 | if(widths.length<2)return false; | ||
| 1132 | |||
| 1133 | var minW= | ||
| 1134 | Math.min.apply(Math,widths); | ||
| 1135 | |||
| 1136 | var maxW= | ||
| 1137 | Math.max.apply(Math,widths); | ||
| 1138 | |||
| 1139 | return ( | ||
| 1140 | maxW/ | ||
| 1141 | Math.max(1,minW)<= | ||
| 1142 | 1.9 | ||
| 1143 | ); | ||
| 1144 | } | ||
| 1145 | |||
| 1146 | /* ---------- Known ARSN first section bars ---------- */ | ||
| 1147 | |||
| 1148 | function knownBar(el){ | ||
| 1149 | var text= | ||
| 1150 | normalizeText( | ||
| 1151 | el.textContent | ||
| 1152 | ); | ||
| 1153 | |||
| 1154 | return ( | ||
| 1155 | text==="HIER STARTEN"|| | ||
| 1156 | text==="ORGANISIEREN & DOKUMENTIEREN"|| | ||
| 1157 | text==="ENTSCHEIDEN"|| | ||
| 1158 | text==="START HERE"|| | ||
| 1159 | text==="GET STARTED"|| | ||
| 1160 | text==="ORGANISE & DOCUMENT"|| | ||
| 1161 | text==="ORGANIZE & DOCUMENT"|| | ||
| 1162 | text==="DECIDE" | ||
| 1163 | ); | ||
| 1164 | } | ||
| 1165 | |||
| 1166 | function findKnownBar(card){ | ||
| 1167 | var cardRect= | ||
| 1168 | card.getBoundingClientRect(); | ||
| 1169 | |||
| 1170 | var rows= | ||
| 1171 | Array.from( | ||
| 1172 | card.querySelectorAll( | ||
| 1173 | "div,p,span,strong,h3,h4,h5,h6" | ||
| 1174 | ) | ||
| 1175 | ) | ||
| 1176 | .filter(function(el){ | ||
| 1177 | if(!visible(el,20,6))return false; | ||
| 1178 | if(!knownBar(el))return false; | ||
| 1179 | |||
| 1180 | var r=el.getBoundingClientRect(); | ||
| 1181 | |||
| 1182 | var rel= | ||
| 1183 | r.top- | ||
| 1184 | cardRect.top; | ||
| 1185 | |||
| 1186 | return ( | ||
| 1187 | rel>=35&& | ||
| 1188 | rel<= | ||
| 1189 | cardRect.height*.75 | ||
| 1190 | ); | ||
| 1191 | }) | ||
| 1192 | .sort(function(a,b){ | ||
| 1193 | return ( | ||
| 1194 | a.getBoundingClientRect().top- | ||
| 1195 | b.getBoundingClientRect().top | ||
| 1196 | ); | ||
| 1197 | }); | ||
| 1198 | |||
| 1199 | return rows[0]||null; | ||
| 1200 | } | ||
| 1201 | |||
| 1202 | function alignKnownBars(cards){ | ||
| 1203 | var rows= | ||
| 1204 | cards.map(function(card){ | ||
| 1205 | var bar= | ||
| 1206 | findKnownBar(card); | ||
| 1207 | |||
| 1208 | if(!bar)return null; | ||
| 1209 | |||
| 1210 | var cr= | ||
| 1211 | card.getBoundingClientRect(); | ||
| 1212 | |||
| 1213 | var br= | ||
| 1214 | bar.getBoundingClientRect(); | ||
| 1215 | |||
| 1216 | return { | ||
| 1217 | bar:bar, | ||
| 1218 | relativeTop: | ||
| 1219 | br.top- | ||
| 1220 | cr.top | ||
| 1221 | }; | ||
| 1222 | }); | ||
| 1223 | |||
| 1224 | if( | ||
| 1225 | rows.some(function(row){ | ||
| 1226 | return !row; | ||
| 1227 | }) | ||
| 1228 | ){ | ||
| 1229 | return false; | ||
| 1230 | } | ||
| 1231 | |||
| 1232 | var target= | ||
| 1233 | Math.max.apply( | ||
| 1234 | Math, | ||
| 1235 | rows.map(function(row){ | ||
| 1236 | return row.relativeTop; | ||
| 1237 | }) | ||
| 1238 | ); | ||
| 1239 | |||
| 1240 | rows.forEach(function(row){ | ||
| 1241 | var delta= | ||
| 1242 | target- | ||
| 1243 | row.relativeTop; | ||
| 1244 | |||
| 1245 | if(delta<=1)return; | ||
| 1246 | |||
| 1247 | saveOriginal( | ||
| 1248 | row.bar, | ||
| 1249 | originalMarginTop, | ||
| 1250 | "margin-top" | ||
| 1251 | ); | ||
| 1252 | |||
| 1253 | var current= | ||
| 1254 | num( | ||
| 1255 | getComputedStyle( | ||
| 1256 | row.bar | ||
| 1257 | ).marginTop | ||
| 1258 | ); | ||
| 1259 | |||
| 1260 | row.bar.style.setProperty( | ||
| 1261 | "margin-top", | ||
| 1262 | ( | ||
| 1263 | current+ | ||
| 1264 | delta | ||
| 1265 | )+"px" | ||
| 1266 | ); | ||
| 1267 | |||
| 1268 | row.bar.setAttribute( | ||
| 1269 | "data-sn-first-section-aligned", | ||
| 1270 | "7" | ||
| 1271 | ); | ||
| 1272 | |||
| 1273 | sectionManaged.add( | ||
| 1274 | row.bar | ||
| 1275 | ); | ||
| 1276 | }); | ||
| 1277 | |||
| 1278 | return true; | ||
| 1279 | } | ||
| 1280 | |||
| 1281 | /* ---------- Generic first content after heading ---------- */ | ||
| 1282 | |||
| 1283 | function heading(card){ | ||
| 1284 | var cr= | ||
| 1285 | card.getBoundingClientRect(); | ||
| 1286 | |||
| 1287 | var rows= | ||
| 1288 | Array.from( | ||
| 1289 | card.querySelectorAll( | ||
| 1290 | "h1,h2,h3,h4,h5,h6,.box-title,[role=heading]" | ||
| 1291 | ) | ||
| 1292 | ) | ||
| 1293 | .filter(function(el){ | ||
| 1294 | if(!visible(el,20,8))return false; | ||
| 1295 | |||
| 1296 | var r=el.getBoundingClientRect(); | ||
| 1297 | |||
| 1298 | var rel= | ||
| 1299 | r.top- | ||
| 1300 | cr.top; | ||
| 1301 | |||
| 1302 | return ( | ||
| 1303 | rel>=0&& | ||
| 1304 | rel<= | ||
| 1305 | Math.min( | ||
| 1306 | 160, | ||
| 1307 | cr.height*.45 | ||
| 1308 | ) | ||
| 1309 | ); | ||
| 1310 | }) | ||
| 1311 | .sort(function(a,b){ | ||
| 1312 | return ( | ||
| 1313 | a.getBoundingClientRect().top- | ||
| 1314 | b.getBoundingClientRect().top | ||
| 1315 | ); | ||
| 1316 | }); | ||
| 1317 | |||
| 1318 | return rows[0]||null; | ||
| 1319 | } | ||
| 1320 | |||
| 1321 | function firstContent(card,h){ | ||
| 1322 | if(!h)return null; | ||
| 1323 | |||
| 1324 | var cr= | ||
| 1325 | card.getBoundingClientRect(); | ||
| 1326 | |||
| 1327 | var hr= | ||
| 1328 | h.getBoundingClientRect(); | ||
| 1329 | |||
| 1330 | var rows= | ||
| 1331 | Array.from( | ||
| 1332 | card.querySelectorAll( | ||
| 1333 | "p,div,ul,ol,dl,blockquote" | ||
| 1334 | ) | ||
| 1335 | ) | ||
| 1336 | .filter(function(el){ | ||
| 1337 | if( | ||
| 1338 | el===h|| | ||
| 1339 | h.contains(el)|| | ||
| 1340 | el.contains(h) | ||
| 1341 | ){ | ||
| 1342 | return false; | ||
| 1343 | } | ||
| 1344 | |||
| 1345 | if(!visible(el,30,8))return false; | ||
| 1346 | |||
| 1347 | var text= | ||
| 1348 | String(el.textContent||"") | ||
| 1349 | .replace(/\s+/g," ") | ||
| 1350 | .trim(); | ||
| 1351 | |||
| 1352 | if(text.length<3)return false; | ||
| 1353 | |||
| 1354 | var r=el.getBoundingClientRect(); | ||
| 1355 | |||
| 1356 | if( | ||
| 1357 | r.top< | ||
| 1358 | hr.bottom-1 | ||
| 1359 | ){ | ||
| 1360 | return false; | ||
| 1361 | } | ||
| 1362 | |||
| 1363 | if( | ||
| 1364 | r.top-cr.top> | ||
| 1365 | Math.min( | ||
| 1366 | 280, | ||
| 1367 | cr.height*.65 | ||
| 1368 | ) | ||
| 1369 | ){ | ||
| 1370 | return false; | ||
| 1371 | } | ||
| 1372 | |||
| 1373 | if( | ||
| 1374 | r.height> | ||
| 1375 | cr.height*.58 | ||
| 1376 | ){ | ||
| 1377 | return false; | ||
| 1378 | } | ||
| 1379 | |||
| 1380 | return true; | ||
| 1381 | }) | ||
| 1382 | .sort(function(a,b){ | ||
| 1383 | var ar= | ||
| 1384 | a.getBoundingClientRect(); | ||
| 1385 | |||
| 1386 | var br= | ||
| 1387 | b.getBoundingClientRect(); | ||
| 1388 | |||
| 1389 | return ( | ||
| 1390 | ar.top-br.top|| | ||
| 1391 | ar.height-br.height | ||
| 1392 | ); | ||
| 1393 | }); | ||
| 1394 | |||
| 1395 | return rows[0]||null; | ||
| 1396 | } | ||
| 1397 | |||
| 1398 | function alignGeneric(cards){ | ||
| 1399 | var rows= | ||
| 1400 | cards.map(function(card){ | ||
| 1401 | var h= | ||
| 1402 | heading(card); | ||
| 1403 | |||
| 1404 | var c= | ||
| 1405 | firstContent( | ||
| 1406 | card, | ||
| 1407 | h | ||
| 1408 | ); | ||
| 1409 | |||
| 1410 | if(!h||!c)return null; | ||
| 1411 | |||
| 1412 | var cr= | ||
| 1413 | card.getBoundingClientRect(); | ||
| 1414 | |||
| 1415 | var rr= | ||
| 1416 | c.getBoundingClientRect(); | ||
| 1417 | |||
| 1418 | return { | ||
| 1419 | content:c, | ||
| 1420 | relativeTop: | ||
| 1421 | rr.top-cr.top | ||
| 1422 | }; | ||
| 1423 | }); | ||
| 1424 | |||
| 1425 | if( | ||
| 1426 | rows.some(function(row){ | ||
| 1427 | return !row; | ||
| 1428 | }) | ||
| 1429 | ){ | ||
| 1430 | return false; | ||
| 1431 | } | ||
| 1432 | |||
| 1433 | var target= | ||
| 1434 | Math.max.apply( | ||
| 1435 | Math, | ||
| 1436 | rows.map(function(row){ | ||
| 1437 | return row.relativeTop; | ||
| 1438 | }) | ||
| 1439 | ); | ||
| 1440 | |||
| 1441 | rows.forEach(function(row){ | ||
| 1442 | var delta= | ||
| 1443 | target- | ||
| 1444 | row.relativeTop; | ||
| 1445 | |||
| 1446 | if(delta<=1)return; | ||
| 1447 | |||
| 1448 | saveOriginal( | ||
| 1449 | row.content, | ||
| 1450 | originalMarginTop, | ||
| 1451 | "margin-top" | ||
| 1452 | ); | ||
| 1453 | |||
| 1454 | var current= | ||
| 1455 | num( | ||
| 1456 | getComputedStyle( | ||
| 1457 | row.content | ||
| 1458 | ).marginTop | ||
| 1459 | ); | ||
| 1460 | |||
| 1461 | row.content.style.setProperty( | ||
| 1462 | "margin-top", | ||
| 1463 | ( | ||
| 1464 | current+ | ||
| 1465 | delta | ||
| 1466 | )+"px" | ||
| 1467 | ); | ||
| 1468 | |||
| 1469 | row.content.setAttribute( | ||
| 1470 | "data-sn-first-content-aligned", | ||
| 1471 | "7" | ||
| 1472 | ); | ||
| 1473 | |||
| 1474 | contentManaged.add( | ||
| 1475 | row.content | ||
| 1476 | ); | ||
| 1477 | }); | ||
| 1478 | |||
| 1479 | return true; | ||
| 1480 | } | ||
| 1481 | |||
| 1482 | function applyRow(group){ | ||
| 1483 | if(!validRow(group))return false; | ||
| 1484 | |||
| 1485 | var cards=[]; | ||
| 1486 | var seen=new Set(); | ||
| 1487 | |||
| 1488 | group.entries.forEach(function(entry){ | ||
| 1489 | if(!seen.has(entry.target)){ | ||
| 1490 | seen.add(entry.target); | ||
| 1491 | cards.push(entry.target); | ||
| 1492 | } | ||
| 1493 | }); | ||
| 1494 | |||
| 1495 | if(cards.length<2)return false; | ||
| 1496 | |||
| 1497 | if( | ||
| 1498 | !alignKnownBars(cards) | ||
| 1499 | ){ | ||
| 1500 | alignGeneric(cards); | ||
| 1501 | } | ||
| 1502 | |||
| 1503 | var maxHeight=0; | ||
| 1504 | |||
| 1505 | cards.forEach(function(card){ | ||
| 1506 | maxHeight= | ||
| 1507 | Math.max( | ||
| 1508 | maxHeight, | ||
| 1509 | card.getBoundingClientRect().height | ||
| 1510 | ); | ||
| 1511 | }); | ||
| 1512 | |||
| 1513 | maxHeight= | ||
| 1514 | Math.ceil( | ||
| 1515 | maxHeight | ||
| 1516 | ); | ||
| 1517 | |||
| 1518 | if(maxHeight<MIN_H)return false; | ||
| 1519 | |||
| 1520 | cards.forEach(function(card){ | ||
| 1521 | saveOriginal( | ||
| 1522 | card, | ||
| 1523 | originalMinHeight, | ||
| 1524 | "min-height" | ||
| 1525 | ); | ||
| 1526 | |||
| 1527 | card.style.setProperty( | ||
| 1528 | "min-height", | ||
| 1529 | maxHeight+"px" | ||
| 1530 | ); | ||
| 1531 | |||
| 1532 | card.setAttribute( | ||
| 1533 | "data-sn-equal-height-managed", | ||
| 1534 | "7" | ||
| 1535 | ); | ||
| 1536 | |||
| 1537 | heightManaged.add(card); | ||
| 1538 | }); | ||
| 1539 | |||
| 1540 | return true; | ||
| 1541 | } | ||
| 1542 | |||
| 1543 | function calculate(force){ | ||
| 1544 | if(applying)return; | ||
| 1545 | |||
| 1546 | var width= | ||
| 1547 | Math.round( | ||
| 1548 | window.innerWidth | ||
| 1549 | ); | ||
| 1550 | |||
| 1551 | var meaningful= | ||
| 1552 | lastWidth<0|| | ||
| 1553 | Math.abs( | ||
| 1554 | width- | ||
| 1555 | lastWidth | ||
| 1556 | )>= | ||
| 1557 | MIN_WIDTH_CHANGE; | ||
| 1558 | |||
| 1559 | if( | ||
| 1560 | hasApplied&& | ||
| 1561 | !force&& | ||
| 1562 | !meaningful | ||
| 1563 | ){ | ||
| 1564 | return; | ||
| 1565 | } | ||
| 1566 | |||
| 1567 | applying=true; | ||
| 1568 | |||
| 1569 | try{ | ||
| 1570 | harmoniseCustomCallouts(); | ||
| 1571 | |||
| 1572 | if(width<=MOBILE_MAX){ | ||
| 1573 | if(hasApplied){ | ||
| 1574 | resetRuntime(); | ||
| 1575 | } | ||
| 1576 | |||
| 1577 | hasApplied=false; | ||
| 1578 | lastWidth=width; | ||
| 1579 | return; | ||
| 1580 | } | ||
| 1581 | |||
| 1582 | if(hasApplied){ | ||
| 1583 | resetRuntime(); | ||
| 1584 | } | ||
| 1585 | |||
| 1586 | var parents= | ||
| 1587 | Array.from( | ||
| 1588 | root.querySelectorAll("*") | ||
| 1589 | ) | ||
| 1590 | .filter(function(parent){ | ||
| 1591 | return ( | ||
| 1592 | visible( | ||
| 1593 | parent, | ||
| 1594 | MIN_W, | ||
| 1595 | MIN_H | ||
| 1596 | )&& | ||
| 1597 | parent.children&& | ||
| 1598 | parent.children.length>=2&& | ||
| 1599 | parent.children.length<= | ||
| 1600 | MAX_PARENT_CHILDREN | ||
| 1601 | ); | ||
| 1602 | }); | ||
| 1603 | |||
| 1604 | var touched= | ||
| 1605 | new Set(); | ||
| 1606 | |||
| 1607 | parents.forEach(function(parent){ | ||
| 1608 | var entries=[]; | ||
| 1609 | |||
| 1610 | Array.from( | ||
| 1611 | parent.children | ||
| 1612 | ).forEach(function(child){ | ||
| 1613 | if( | ||
| 1614 | !visible( | ||
| 1615 | child, | ||
| 1616 | MIN_W, | ||
| 1617 | MIN_H | ||
| 1618 | ) | ||
| 1619 | ){ | ||
| 1620 | return; | ||
| 1621 | } | ||
| 1622 | |||
| 1623 | var target= | ||
| 1624 | pickTarget(child); | ||
| 1625 | |||
| 1626 | if(!target)return; | ||
| 1627 | |||
| 1628 | entries.push({ | ||
| 1629 | target:target, | ||
| 1630 | rect: | ||
| 1631 | target.getBoundingClientRect() | ||
| 1632 | }); | ||
| 1633 | }); | ||
| 1634 | |||
| 1635 | groupRows( | ||
| 1636 | entries | ||
| 1637 | ).forEach(function(group){ | ||
| 1638 | if(!validRow(group))return; | ||
| 1639 | |||
| 1640 | var targets= | ||
| 1641 | group.entries.map(function(entry){ | ||
| 1642 | return entry.target; | ||
| 1643 | }); | ||
| 1644 | |||
| 1645 | if( | ||
| 1646 | !targets.some(function(el){ | ||
| 1647 | return !touched.has(el); | ||
| 1648 | }) | ||
| 1649 | ){ | ||
| 1650 | return; | ||
| 1651 | } | ||
| 1652 | |||
| 1653 | if(applyRow(group)){ | ||
| 1654 | targets.forEach(function(el){ | ||
| 1655 | touched.add(el); | ||
| 1656 | }); | ||
| 1657 | } | ||
| 1658 | }); | ||
| 1659 | }); | ||
| 1660 | |||
| 1661 | lastWidth=width; | ||
| 1662 | hasApplied=true; | ||
| 1663 | }finally{ | ||
| 1664 | applying=false; | ||
| 1665 | } | ||
| 1666 | } | ||
| 1667 | |||
| 1668 | function resize(){ | ||
| 1669 | if(resizeTimer){ | ||
| 1670 | clearTimeout( | ||
| 1671 | resizeTimer | ||
| 1672 | ); | ||
| 1673 | } | ||
| 1674 | |||
| 1675 | resizeTimer= | ||
| 1676 | setTimeout( | ||
| 1677 | function(){ | ||
| 1678 | resizeTimer=0; | ||
| 1679 | calculate(false); | ||
| 1680 | }, | ||
| 1681 | RESIZE_DEBOUNCE | ||
| 1682 | ); | ||
| 1683 | } | ||
| 1684 | |||
| 1685 | function waitImages(){ | ||
| 1686 | var images= | ||
| 1687 | Array.from( | ||
| 1688 | root.querySelectorAll("img") | ||
| 1689 | ); | ||
| 1690 | |||
| 1691 | return Promise.all( | ||
| 1692 | images.map(function(img){ | ||
| 1693 | if(img.complete){ | ||
| 1694 | return Promise.resolve(); | ||
| 1695 | } | ||
| 1696 | |||
| 1697 | return new Promise(function(resolve){ | ||
| 1698 | var done=function(){ | ||
| 1699 | resolve(); | ||
| 1700 | }; | ||
| 1701 | |||
| 1702 | img.addEventListener( | ||
| 1703 | "load", | ||
| 1704 | done, | ||
| 1705 | {once:true} | ||
| 1706 | ); | ||
| 1707 | |||
| 1708 | img.addEventListener( | ||
| 1709 | "error", | ||
| 1710 | done, | ||
| 1711 | {once:true} | ||
| 1712 | ); | ||
| 1713 | }); | ||
| 1714 | }) | ||
| 1715 | ); | ||
| 1716 | } | ||
| 1717 | |||
| 1718 | async function initial(){ | ||
| 1719 | if( | ||
| 1720 | document.readyState!== | ||
| 1721 | "complete" | ||
| 1722 | ){ | ||
| 1723 | await new Promise(function(resolve){ | ||
| 1724 | addEventListener( | ||
| 1725 | "load", | ||
| 1726 | resolve, | ||
| 1727 | {once:true} | ||
| 1728 | ); | ||
| 1729 | }); | ||
| 1730 | } | ||
| 1731 | |||
| 1732 | if( | ||
| 1733 | document.fonts&& | ||
| 1734 | document.fonts.ready | ||
| 1735 | ){ | ||
| 1736 | try{ | ||
| 1737 | await document.fonts.ready; | ||
| 1738 | }catch(error){} | ||
| 1739 | } | ||
| 1740 | |||
| 1741 | await waitImages(); | ||
| 1742 | |||
| 1743 | // Exactly one initial layout calculation. | ||
| 1744 | calculate(true); | ||
| 1745 | } | ||
| 1746 | |||
| 1747 | addEventListener( | ||
| 1748 | "resize", | ||
| 1749 | resize, | ||
| 1750 | {passive:true} | ||
| 1751 | ); | ||
| 1752 | |||
| 1753 | initial(); | ||
| 1754 | })(); | ||
| 1755 | </script> | ||
| 1756 | |||
| 1757 | <!-- SN_HORIZONTAL_BOX_HARMONIZER_END --> | ||
| 1758 | {{/html}}\n |