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cHJlID0gc3RyZWFtT3B0cy5sYXlvdXQuY2hhckF0KDApOwogICAgICAgICAgICB2YXIgaXNPdmVybGF5ID0gbGF5b3V0X3ByZSA9PT0gJ2onIHx8IHN0cmVhbU9wdHNbbGF5b3V0X3ByZSArICctb3ZlcmxheSddID09PSAneWVwJyAmJiBzdHJlYW1PcHRzLnRydWVMYXlvdXQgIT09ICdsaXN0JzsKICAgICAgICAgICAgdmFyIGltZ0luZGV4OwogICAgICAgICAgICBpZiAoaXNPdmVybGF5KSB7CiAgICAgICAgICAgICAgICBpZiAoc3RyZWFtT3B0cy50ZW1wbGF0ZVswXSAhPT0gJ2ltYWdlJykgewogICAgICAgICAgICAgICAgICAgIGZvciAodmFyIGkgPSAwLCBsZW4gPSBzdHJlYW1PcHRzLnRlbXBsYXRlLmxlbmd0aDsgaSA8IGxlbjsgaSsrKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChzdHJlYW1PcHRzLnRlbXBsYXRlW2ldID09PSAnaW1hZ2UnKSBpbWdJbmRleCA9IGk7CiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAgIHN0cmVhbU9wdHMudGVtcGxhdGUuc3BsaWNlKDAsIDAsIHN0cmVhbU9wdHMudGVtcGxhdGUuc3BsaWNlKGltZ0luZGV4LCAxKVswXSk7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICBzdHJlYW1PcHRzLmlzT3ZlcmxheSA9IHRydWU7CiAgICAgICAgICAgIH07CiAgICAgICAgICAgIGlmIChGRl9yZXNvdXJjZS5zY3JpcHREZWZlcnJlZC5zdGF0ZSgpID09PSAncGVuZGluZycgJiYgIUZGX3Jlc291cmNlLnNjcmlwdExvYWRpbmcpIHsKICAgICAgICAgICAgICAgIHNjcmlwdCA9IGRvY3VtZW50LmNyZWF0ZUVsZW1lbnQoJ3NjcmlwdCcpOwogICAgICAgICAgICAgICAgc2NyaXB0LnNyYyA9ICJodHRwczovL3d3dy51cnNhcGhhcm0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ICAgICAgICAgICAgICAgICAgICAvKiByZXNwb25zZSA9IEpTT04ucGFyc2Uob3JpZ2luYWwpOyAqLwogICAgICAgICAgICAgICAgICAgIHJlc3BvbnNlID0gb3JpZ2luYWw7IC8qIHNpbmNlIDQuMSAqLwogICAgICAgICAgICAgICAgfSBjYXRjaCAoZSkgewogICAgICAgICAgICAgICAgICAgIHdpbmRvdy5jb25zb2xlICYmIHdpbmRvdy5jb25zb2xlLmxvZygnRkxPVy1GTE9XOiBpbnZhbGlkIGRhdGEgZnJvbSBzZXJ2ZXInKTsKICAgICAgICAgICAgICAgICAgICBpZiAob3B0cy5pc0FkbWluIHx8IG9wdHMuaXNMb2cpIHsKCSAgICAgICAgICAgICAgICAgICAgJGVyckNvbnQgPSAkKCc8JyArICdkaXYgY2xhc3M9ImZmLWVycm9ycyI+PCcgKyAnZGl2IGNsYXNzPSJmZi1kaXNjbGFpbSI+SWYgeW91IHNlZSB0aGlzIG1lc3NhZ2UgdGhlbiB5b3UgaGF2ZSBhZG1pbmlzdHJhdG9yIHBlcm1pc3Npb25zIGFuZCBGbG93LUZsb3cgZ290IGludmFsaWQgZGF0YSBmcm9tIHNlcnZlci4gUGxlYXNlIHByb3ZpZGUgZXJyb3IgbWVzc2FnZSBiZWxvdyBpZiB5b3UgYXJlIGRvaW5nIHN1cHBvcnQgcmVxdWVzdC48JyArICcvZGl2PjwnICsgJ2RpdiBjbGFzcz0iZmYtZXJyLWluZm8iPjwnKycvZGl2PjwnKycvZGl2PicpOwoJICAgICAgICAgICAgICAgICAgICAkY29udC5iZWZvcmUoJGVyckNvbnQpOwogICAgICAgICAgICAgICAgICAgICAgICAkZXJyQ29udC5maW5kKCcuZmYtZXJyLWluZm8nKS5odG1sKG9yaWdpbmFsID09ICcnID8gJ0VtcHR5IHJlc3BvbnNlIGZyb20gc2VydmVyJyA6IG9yaWdpbmFsKTsKICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICAgICAgcmV0dXJuOwogICAgICAgICAgICAgICAgfQoKICAgICAgICAgICAgICAgIGlmICggISByZXNwb25zZSApIHsKICAgICAgICAgICAgICAgIAljb25zb2xlLmxvZyggJ0ZMT1ctRkxPVzogbnVsbCByZXNwb25zZSBmcm9tIHNlcnZlcicgKTsKICAgICAgICAgICAgICAgIAlyZXR1cm47CiAgICAgICAgICAgICAgICB9CgogICAgICAgICAgICAgICAgLy8gaW5qZWN0aW5nIGFkcyBmb3IgY2xvdWQgc3RyZWFtcwogICAgICAgICAgICAgICAgaWYgKCBhZHMgKSB7CgogICAgICAgICAgICAgICAgCXZhciBuZXdBcnIgPSBbXTsKCiAgICAgICAgICAgICAgICAJdmFyIHBvc3QsIGFkOwoKICAgICAgICAgICAgICAgIAlmb3IgKCB2YXIgaSA9IDAsIGxlbiA9IHJlc3BvbnNlLml0ZW1zLmxlbmd0aDsgaSA8IGxlbjsgaSsrICkgewoKCQkgICAgICAgICAgICAgICAgcG9zdCA9IHJlc3BvbnNlLml0ZW1zWyBpIF07CgogICAgICAgICAgICAgICAgCQlpZiAoIGFkc1sgaSBdICkgewoKICAgICAgICAgICAgICAgIAkJCWFkID0gYWRzWyBpIF07CiAgICAgICAgICAgICAgICAgICAgICAgICAgICBhZC5pZCA9ICdhZF9lbF8nICsgYWQuaWQ7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICBuZXdBcnIucHVzaCAoIGFkICk7CgoJCQkgICAgICAgICAgICAgICAgZGVsZXRlIGFkc1sgaSBdOwogICAgICAgICAgICAgICAgICAgICAgICB9CgogICAgICAgICAgICAgICAgICAgICAgICBuZXdBcnIucHVzaCggcG9zdCApOwogICAgICAgICAgICAgICAgICAgIH0KCiAgICAgICAgICAgICAgICAgICAgcmVzcG9uc2UuaXRlbXMgPSBuZXdBcnI7CiAgICAgICAgICAgICAgICB9CgogICAgICAgICAgICAgICAgb3B0cy5zdHJlYW1zWydzdHJlYW0nICsgc3RyZWFtT3B0cy5pZF1bJ2l0ZW1zJ10gPSByZXNwb25zZTsKICAgICAgICAgICAgICAgIGlmICghRmxvd0Zsb3dPcHRzLmRlcGVuZGVuY2llcykgRmxvd0Zsb3dPcHRzLmRlcGVuZGVuY2llcyA9IHt9OwogICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICBGbG93Rmxvdy5leHRlbnNpb25SZXNvdXJjZXNSZXF1ZXN0cyA9IEZsb3dGbG93LmV4dGVuc2lvblJlc291cmNlc1JlcXVlc3RzIHx8IFtdOwogICAgICAgICAgICAgICAgdmFyIHJlcXVlc3QsIGV4dGVuc2lvbiwgc3R5bGU7CgogICAgICAgICAgICAgICAgZm9yICggZXh0ZW5zaW9uIGluIEZsb3dGbG93T3B0cy5kZXBlbmRlbmNpZXMgKSB7CiAgICAgICAgICAgICAgICAgICAgaWYgKCBGbG93Rmxvd09wdHMuZGVwZW5kZW5jaWVzW2V4dGVuc2lvbl0gJiYgRmxvd0Zsb3dPcHRzLmRlcGVuZGVuY2llc1tleHRlbnNpb25dICE9PSAnbG9hZGVkJykgewogICAgICAgICAgICAgICAgICAgICAgICByZXF1ZXN0ID0gJC5nZXRTY3JpcHQoIG9wdHMucGx1Z2luX2Jhc2UgKyAnLScgKyBleHRlbnNpb24gKyAnL2pzL2ZmXycgKyBleHRlbnNpb24gKyAnX3B1YmxpYy5qcz92ZXI9NC42LjIyJyk7CiAgICAgICAgICAgICAgICAgICAgICAgIEZsb3dGbG93LmV4dGVuc2lvblJlc291cmNlc1JlcXVlc3RzLnB1c2gocmVxdWVzdCk7CgogICAgICAgICAgICAgICAgICAgICAgICBzdHlsZSA9IGRvY3VtZW50LmNyZWF0ZUVsZW1lbnQoJ2xpbmsnKTsKICAgICAgICAgICAgICAgICAgICAgICAgc3R5bGUudHlwZSA9ICJ0ZXh0L2NzcyI7CiAgICAgICAgICAgICAgICAgICAgICAgIHN0eWxlLnJlbCA9ICJzdHlsZXNoZWV0IjsKICAgICAgICAgICAgICAgICAgICAgICAgc3R5bGUuaWQgPSAiZmZfYWRfc3R5bGUiOwogICAgICAgICAgICAgICAgICAgICAgICBzdHlsZS5ocmVmID0gb3B0cy5wbHVnaW5fYmFzZSArICctJyArIGV4dGVuc2lvbiArICcvY3NzL2ZmXycgKyBleHRlbnNpb24gKyAnX3B1YmxpYy5jc3M/dmVyPTQuNi4yMic7CiAgICAgICAgICAgICAgICAgICAgICAgIHN0eWxlLm1lZGlhID0gInNjcmVlbiI7CiAgICAgICAgICAgICAgICAgICAgICAgIGRvY3VtZW50LmdldEVsZW1lbnRzQnlUYWdOYW1lKCJoZWFkIilbMF0uYXBwZW5kQ2hpbGQoc3R5bGUpOwoKICAgICAgICAgICAgICAgICAgICAgICAgRmxvd0Zsb3dPcHRzLmRlcGVuZGVuY2llc1tleHRlbnNpb25dID0gJ2xvYWRlZCc7CiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgfQoKICAgICAgICAgICAgICAgIHZhciByZXNvdXJjZXNMb2FkZWQgPSAkLndoZW4uYXBwbHkoJCwgRmxvd0Zsb3cuZXh0ZW5zaW9uUmVzb3VyY2VzUmVxdWVzdHMpOwoKICAgICAgICAgICAgICAgIHJlc291cmNlc0xvYWRlZC5kb25lKGZ1bmN0aW9uKCl7CiAgICAgICAgICAgICAgICAgICAgdmFyICRzdHJlYW0sIHdpZHRoOwogICAgICAgICAgICAgICAgICAgIGNvbnNvbGUubG9nKHJlc3BvbnNlKTsKCiAgICAgICAgICAgICAgICAgICAgJHN0cmVhbSA9IEZsb3dGbG93LmJ1aWxkU3RyZWFtV2l0aChyZXNwb25zZSwgc3RyZWFtT3B0cywgbW9kZXJhdGlvbiwgRmxvd0Zsb3dPcHRzLmRlcGVuZGVuY2llcyk7CgogICAgICAgICAgICAgICAgICAgIGlmIChpc0xTICYmIHJlc3BvbnNlLml0ZW1zLmxlbmd0aCA+IDAgJiYgcmVzcG9uc2UuaGFzaC5sZW5ndGggPiAwKSBzZXNzaW9uU3RvcmFnZS5zZXRJdGVtKCByZXNwb25zZS5oYXNoLCBKU09OLnN0cmluZ2lmeSggb3JpZ2luYWwgKSApOwoKICAgICAgICAgICAgICAgICAgICB2YXIgbnVtID0gc3RyZWFtT3B0cy5sYXlvdXQgPT09ICdjb21wYWN0JyB8fCAoc3RyZWFtT3B0cy5tb2JpbGVzbGlkZXIgPT09ICd5ZXAnICYmIGlzTW9iaWxlKT8gKHN0cmVhbU9wdHMubW9iaWxlc2xpZGVyID09PSAneWVwJyA/IDMgOiBzdHJlYW1PcHRzWydjYXJkcy1udW0nXSkgOiBmYWxzZTsKCiAgICAgICAgICAgICAgICAgICAgJGNvbnQuYXBwZW5kKCAkc3RyZWFtICk7CgogICAgICAgICAgICAgICAgICAgIGlmICggdHlwZW9mICRzdHJlYW0gIT09ICdzdHJpbmcnICkgewogICAgICAgICAgICAgICAgICAgICAgICBGbG93Rmxvdy5zZXR1cEdyaWQoJGNvbnQuZmluZCgnLmZmLXN0cmVhbS13cmFwcGVyJyksIG51bSwgc3RyZWFtT3B0cy5zY3JvbGx0b3AgPT09ICd5ZXAnLCBzdHJlYW1PcHRzLmdhbGxlcnkgPT09ICd5ZXAnLCBzdHJlYW1PcHRzLCAkY29udCk7CiAgICAgICAgICAgICAgICAgICAgfQoKICAgICAgICAgICAgICAgICAgICBzZXRUaW1lb3V0KGZ1bmN0aW9uKCl7CiAgICAgICAgICAgICAgICAgICAgICAgICRjb250LmZpbmQoJy5mZi1oZWFkZXInKS5yZW1vdmVDbGFzcygnZmYtbG9hZGluZycpLmVuZCgpLmZpbmQoJy5mZi1sb2FkZXInKS5hZGRDbGFzcygnZmYtc3F1ZWV6ZWQnKS5kZWxheSgzMDApLmhpZGUoKTsKICAgICAgICAgICAgICAgICAgICB9LCAwKTsKCiAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICB9KS5mYWlsKGZ1bmN0aW9uKCl7CiAgICAgICAgICAgICAgICAgICAgY29uc29sZS5sb2coJ0Zsb3ctRmxvdzogcmVzb3VyY2UgbG9hZGluZyBmYWlsZWQnKTsKICAgICAgICAg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gICAgICAgIHJldHVybiB0cnVlOwogICAgICAgICAgICAgICAgfSBjYXRjaCAoZXJyb3IpIHsKICAgICAgICAgICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH07CgogICAgICAgICAgICByZXR1cm4gZmFsc2U7CiAgICAgICAgfQogICAgfSkoKQoKPC9zY3JpcHQ+CjwhLS0gRmxvdy1GbG93IOKAlCBTb2NpYWwgc3RyZWFtcyBwbHVnaW4gZm9yIFdvcmRwcmVzcyAtLT4=

Cookie-Einstellung

Bitte treffen Sie eine Auswahl. Weitere Informationen zu den Auswirkungen Ihrer Auswahl finden Sie unter Hilfe. Datenschutz | Impressum

Treffen Sie eine Auswahl um fortzufahren

Ihre Auswahl wurde gespeichert!

Hilfe

Hilfe

Um fortfahren zu können, müssen Sie eine Cookie-Auswahl treffen. Nachfolgend erhalten Sie eine Erläuterung der verschiedenen Optionen und ihrer Bedeutung.

  • Cookies u. APIs zulassen:
    Wir tracken Ihren Websitebesuch anonymisiert auf unserem Webserver (Matomo Analyse-Software). Dafür setzten wir 2 Cookies in Ihrem Browser. Es werden dabei keine Daten an Dritte übermittelt. APIs (Schnittstellen) zu unserer Facebook- und YouTube-Seite zur Einbindung von deren Inhalten auf unserer Website werden bei dieser Auswahl standardmäßig geöffnet.
  • Nur notwendige Cookies zulassen:
    Ihr Besuch wird von unserer Analyse-Software nicht getrackt. Um Ihre Cookie-Auswahl zu speichern, wird ein Cookie gesetzt. APIs (Schnittstellen) zu unserer Facebook- und YouTube-Seite zur Einbindung von deren Inhalten auf unserer Website werden bei dieser Auswahl standardmäßig geschlossen. Sie können fallweise entscheiden, ob Sie diese nachladen möchten.

Sie können Ihre Cookie-Einstellung jederzeit hier ändern: Datenschutz. Impressum

Zurück