Studio Overview

Kontakt

Mitgliederzentrale

Crunch Fit GmbH
Brunsbütteler Damm 448,
13591 Berlin

Fax:
+49 (0) 30 / 857 40 83 70

E-mail:
info@crunchfit.de

ICAgICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPSJhY2YtbWFwIj4gICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICA8L2Rpdj4KIDxzY3JpcHQgc3JjPSJodHRwczovL21hcHMuZ29vZ2xlYXBpcy5jb20vbWFwcy9hcGkvanM/dj0zLmV4cCZhbXA7c2Vuc29yPWZhbHNlJmFtcDtrZXk9QUl6YVN5QzdtenVraXp6UTVvRTB2QVhxeDlZWlNEeDJsck1HS2lvJmFtcDtjYWxsYmFjaz1yZW5kZXJfbWFwIj48L3NjcmlwdD4KIDxzY3JpcHQ+Ci8vIGxvY2F0aW9uIG1hcAogICAgLyoKICAgICAqICByZW5kZXJfbWFwCiAgICAgKgogICAgICogIFRoaXMgZnVuY3Rpb24gd2lsbCByZW5kZXIgYSBHb29nbGUgTWFwIG9udG8gdGhlIHNlbGVjdGVkIGpRdWVyeSBlbGVtZW50CiAgICAgKgogICAgICogIEB0eXBlCWZ1bmN0aW9uCiAgICAgKiAgQGRhdGUJOC8xMS8yMDEzCiAgICAgKiAgQHNpbmNlCTQuMy4wCiAgICAgKgogICAgICogIEBwYXJhbQkkZWwgKGpRdWVyeSBlbGVtZW50KQogICAgICogIEByZXR1cm4Jbi9hCiAgICAgKi8KCiAgICBmdW5jdGlvbiByZW5kZXJfbWFwKCkgewoKICAgICAgICAvLyB2YXIKICAgICAgICRlbCA9IGpRdWVyeSgnLmFjZi1tYXAnKTsKCgogICAgICAgIC8vIHZhcnMKICAgICAgICB2YXIgYXJncyA9IHsKICAgICAgICAgICAgem9vbTogMTYsCiAgICAgICAgICAgIGNlbnRlcjogbmV3IGdvb2dsZS5tYXBzLkxhdExuZygwLCAwKSwKICAgICAgICAgICAgbWFwVHlwZUlkOiBnb29nbGUubWFwcy5NYXBUeXBlSWQuUk9BRE1BUAoKICAgICAgICB9OwoKICAgICAgICAvLyBjcmVhdGUgbWFwCiAgICAgICAgdmFyIG1hcCA9IG5ldyBnb29nbGUubWFwcy5NYXAoJGVsWzBdLCBhcmdzKTsKCiAgICAgICAgLy8gYWRkIGEgbWFya2VycyByZWZlcmVuY2UKICAgICAgICBtYXAubWFya2VycyA9IFtdOwoKICAgICAgICBhZGRfbWFya2VyKG1hcCk7CiAgICAgICAgLy8gY2VudGVyIG1hcAogICAgICAgIGNlbnRlcl9tYXAobWFwKTsKCiAgICB9CgogICAgLyoKICAgICAqICBhZGRfbWFya2VyCiAgICAgKgogICAgICogIFRoaXMgZnVuY3Rpb24gd2lsbCBhZGQgYSBtYXJrZXIgdG8gdGhlIHNlbGVjdGVkIEdvb2dsZSBNYXAKICAgICAqCiAgICAgKiAgQHR5cGUJZnVuY3Rpb24KICAgICAqICBAZGF0ZQk4LzExLzIwMTMKICAgICAqICBAc2luY2UJNC4zLjAKICAgICAqCiAgICAgKiAgQHBhcmFtCSRtYXJrZXIgKGpRdWVyeSBlbGVtZW50KQogICAgICogIEBwYXJhbQltYXAgKEdvb2dsZSBNYXAgb2JqZWN0KQogICAgICogIEByZXR1cm4Jbi9hCiAgICAgKi8KCiAgICBmdW5jdGlvbiBhZGRfbWFya2VyKG1hcCkgewoKICAgICAgICAkbWFya2VyID0galF1ZXJ5KCcuYWNmLW1hcCcpOwogICAgICAgIC8vIHZhcgogICAgICAgIHZhciBsYXRsbmcgPSBuZXcgZ29vZ2xlLm1hcHMuTGF0TG5nKDUyLjUzNjYyLCAxMy4xMzEzMDk5OTk5OTk5ODUpOwoKICAgICAgICAvLyBjcmVhdGUgbWFya2VyCiAgICAgICAgdmFyIG1hcmtlciA9IG5ldyBnb29nbGUubWFwcy5NYXJrZXIoewogICAgICAgICAgICBwb3NpdGlvbjogbGF0bG5nLAogICAgICAgICAgICBtYXA6IG1hcCwKICAgICAgICAgICAgaWNvbjogJy4uLy4uL3dwLWNvbnRlbnQvdGhlbWVzL2NocnVuY2hmaXQvaW1hZ2VzL21hcmtlci1pY29uLnBuZycKICAgICAgICB9KTsKCiAgICAgICAgLy8gYWRkIHRvIGFycmF5CiAgICAgICAgbWFwLm1hcmtlcnMucHVzaChtYXJrZXIpOwoKICAgICAgICAvLyBpZiBtYXJrZXIgY29udGFpbnMgSFRNTCwgYWRkIGl0IHRvIGFuIGluZm9XaW5kb3cKICAgICAgICBpZiAoJG1hcmtlci5odG1sKCkpIHsKICAgICAgICAgICAgLy8gY3JlYXRlIGluZm8gd2luZG93CiAgICAgICAgICAgIHZhciBpbmZvd2luZG93ID0gbmV3IGdvb2dsZS5tYXBzLkluZm9XaW5kb3coewogICAgICAgICAgICAgICAgY29udGVudDogJG1hcmtlci5odG1sKCkKICAgICAgICAgICAgfSk7CgogICAgICAgICAgICAvLyBzaG93IGluZm8gd2luZG93IHdoZW4gbWFya2VyIGlzIGNsaWNrZWQKICAgICAgICAgICAgZ29vZ2xlLm1hcHMuZXZlbnQuYWRkTGlzdGVuZXIobWFya2VyLCAnY2xpY2snLCBmdW5jdGlvbiAoKSB7CgogICAgICAgICAgICAgICAgaW5mb3dpbmRvdy5vcGVuKG1hcCwgbWFya2VyKTsKCiAgICAgICAgICAgIH0pOwogICAgICAgIH0KCiAgICB9CgogICAgLyoKICAgICAqICBjZW50ZXJfbWFwCiAgICAgKgogICAgICogIFRoaXMgZnVuY3Rpb24gd2lsbCBjZW50ZXIgdGhlIG1hcCwgc2hvd2luZyBhbGwgbWFya2VycyBhdHRhY2hlZCB0byB0aGlzIG1hcAogICAgICoKICAgICAqICBAdHlwZQlmdW5jdGlvbgogICAgICogIEBkYXRlCTgvMTEvMjAxMwogICAgICogIEBzaW5jZQk0LjMuMAogICAgICoKICAgICAqICBAcGFyYW0JbWFwIChHb29nbGUgTWFwIG9iamVjdCkKICAgICAqICBAcmV0dXJuCW4vYQogICAgICovCgogICAgZnVuY3Rpb24gY2VudGVyX21hcChtYXApIHsKCiAgICAgICAgLy8gdmFycwogICAgICAgIHZhciBib3VuZHMgPSBuZXcgZ29vZ2xlLm1hcHMuTGF0TG5nQm91bmRzKCk7CgogICAgICAgIC8vIGxvb3AgdGhyb3VnaCBhbGwgbWFya2VycyBhbmQgY3JlYXRlIGJvdW5kcwogICAgICAgIGpRdWVyeS5lYWNoKG1hcC5tYXJrZXJzLCBmdW5jdGlvbiAoaSwgbWFya2VyKSB7CgogICAgICAgICAgICB2YXIgbGF0bG5nID0gbmV3IGdvb2dsZS5tYXBzLkxhdExuZyhtYXJrZXIucG9zaXRpb24ubGF0KCksIG1hcmtlci5wb3NpdGlvbi5sbmcoKSk7CgogICAgICAgICAgICBib3VuZHMuZXh0ZW5kKGxhdGxuZyk7CgogICAgICAgIH0pOwoKICAgICAgICAvLyBvbmx5IDEgbWFya2VyPwogICAgICAgIGlmIChtYXAubWFya2Vycy5sZW5ndGggPT0gMSkgewogICAgICAgICAgICAvLyBzZXQgY2VudGVyIG9mIG1hcAogICAgICAgICAgICBtYXAuc2V0Q2VudGVyKGJvdW5kcy5nZXRDZW50ZXIoKSk7CiAgICAgICAgICAgIG1hcC5zZXRab29tKDE2KTsKICAgICAgICB9CiAgICAgICAgZWxzZSB7CiAgICAgICAgICAgIC8vIGZpdCB0byBib3VuZHMKICAgICAgICAgICAgbWFwLmZpdEJvdW5kcyhib3VuZHMpOwogICAgICAgIH0KCiAgICB9CiAgICA8L3NjcmlwdD4KICAgICAgICAgICAg