Y I Love Jewish is proud to partner with  these outstanding organizations

Join Our Mailing List To Stay Up To Date On YI Love Jewish Events!

Create, Learn and Engage with the Yiddishkayt Initiative.

PGRpdiBjbGFzcz0ibmVvbkZvcm0iPgogICAgPGZvcm0gbWV0aG9kPSJQT1NUIiBhY3Rpb249Imh0dHBzOi8veWlsb3ZlamV3aXNoLnoyc3lzdGVtcy5jb20vbnAvY2xpZW50cy95aWxvdmVqZXdpc2gvc3VibWl0U3Vic2NyaXB0aW9uLmpzcCI+CiAgICAgICAgD5mdW5jdGlvbiBuZW9uU3Vic2NyaXB0aW9uU3VibWl0KCkgewogICAgICAgICAgICBpZiAoZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoImctcmVjYXB0Y2hhLXJlc3BvbnNlIikgJiYgZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoImctcmVjYXB0Y2hhLXJlc3BvbnNlIikudmFsdWUgJiYgIiIgIT0gZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoImctcmVjYXB0Y2hhLXJlc3BvbnNlIikudmFsdWUpIHsKICAgICAgICAgICAgICAgIHJldHVybiB0cnVlCiAgICAgICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAgICAgICBpZiAoZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoInN1YnNjcmlwdGlvbkNhcHRjaGEiKS5zdHlsZS5kaXNwbGF5ID09ICJub25lIikgewogICAgICAgICAgICAgICAgICAgIGRvY3VtZW50LmdldEVsZW1lbnRCeUlkKCJzdWJzY3JpcHRpb25DYXB0Y2hhIikuc3R5bGUuZGlzcGxheSA9ICJibG9jayIKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIHZhciBiVG9wID0gZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoInN1YnNjcmlwdGlvblN1Ym1pdEJ1dHRvbiIpLmdldEJvdW5kaW5nQ2xpZW50UmVjdCgpLnRvcDsKICAgICAgICAgICAgICAgIHZhciBiTGVmdCA9IGR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ZHRoKSAvIDIpICsgInB4IgogICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAgICAgICAgICAgICAgIGRvY3VtZW50LmdldEVsZW1lbnRCeUlkKCJzdWJzY3JpcHRpb25DYXB0Y2hhIikuc3R5bGUubGVmdCA9ICIwcHgiCiAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgfSBlbHNlIHsKICAgICAgICAgICAgICAgICAgICBpZiAoKGJUb3AgKyBiSGVpZ2h0ICsgY0hlaWdodCArIGRlbHRhSGVpZ2h0KSA+IGRvY3VtZW50LmRvY3VtZW50RWxlbWVudC5jbGllbnRIZWlnaHQpIHsKICAgICAgICAgICAgICAgICAgICAgICAgZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoInN1YnNjcmlwdGlvbkNhcHRjaGEiKS5zdHlsZS50b3AgPSAiMHB4IjsKICAgICAgICAgICAgICAgICAgICAgICAgaWYgKChiTGVmdCAtIChjV2lkdGggLSBiV2lkdGgpIC8gMikgPiAwKSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICBkb2N1bWVudC5nZXRFbGVtZW50QnlJZCgic3Vic2NyaXB0aW9uQ2FwdGNoYSIpLnN0eWxlLmxlZnQgPSAoYkxlZnQgLSAoY1dpZHRoIC0gYldpZHRoKSAvIDIpICsgInB4IgogICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2UgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoInN1YnNjcmlwdGlvbkNhcHRjaGEiKS5zdHlsZS5sZWZ0ID0gIjBweCIKICAgICAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAgICAgICAgICAgICAgIGRvY3VtZW50LmdldEVsZW1lbnRCeUlkKCJzdWJzY3JpcHRpb25DYXB0Y2hhIikuc3R5bGUudG9wID0gKGJUb3AgKyBiSGVpZ2h0ICsgZGVsdGFIZWlnaHQpICsgInB4IjsKICAgICAgICAgICAgICAgICAgICAgICAgaWYgKChiTGVmdCAtIChjV2lkdGggLSBiV2lkdGgpIC8gMikgPiAwKSB7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICBkb2N1bWVudC5nZXRFbGVtZW50QnlJZCgic3Vic2NyaXB0aW9uQ2FwdGNoYSIpLnN0eWxlLmxlZnQgPSAoYkxlZnQgLSAoY1dpZHRoIC0gYldpZHRoKSAvIDIpICsgInB4IgogICAgICAgICAgICAgICAgICAgICAgICB9IGVsc2UgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoInN1YnNjcmlwdGlvbkNhcHRjaGEiKS5zdHlsZS5sZWZ0ID0gIjBweCIKICAgICAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICAgIHJldHVybiBmYWxzZQogICAgICAgICAgICB9CiAgICAgICAgfQoKICAgICAgICBmdW5jdGlvbiBuZW9uU3Vic2NyaXB0aW9uQ2xvc2VDYXB0Y2hhKCkgewogICAgICAgICAgICBpZiAoZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoInN1YnNjcmlwdGlvbkNhcHRjaGEiKS5zdHlsZS5kaXNwbGF5ICE9ICJub25lIikgewogICAgICAgICAgICAgICAgZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoInN1YnNjcmlwdGlvbkNhcHRjaGEiKS5zdHlsZS5kaXNwbGF5ID0gIm5vbmUiCiAgICAgICAgICAgIH0KICAgICAgICB9Ozwvc2NyaXB0PgogICAgICAgIDxpbnB1dCB0eXBlPWhpZGRlbiBuYW1lPSJzdWJzY3JpcHRpb24iIHZhbHVlPSI5Ij4KICAgICAgICA8aW5wdXQgdHlwZT1oaWRkZW4gbmFtZT0ic2tpcER1cGxpY2F0ZVJlcXVlc3RDaGVjayIgdmFsdWU9IjEiPgogICAgICAgIDxUQUJMRSBjZWxsU3BhY2luZz0yIGNlbGxQYWRkaW5nPTIgYm9yZGVyPTAgd2lkdGg9Ijk5JSI+CiAgICAgICAgICAgIDxUUj4KICAgICAgICAgICAgICAgIDxURD5OYW1lOjwvVEQ+CiAgICAgICAgICAgICAgICA8VEQ+PGlucHV0IHR5cGU9InRleHQiIG5hbWU9InN1YnNjcmliZXIubmFtZSIgbWF4bGVuZ3RoPSI1MCIgc2l6ZT0iMjUiPjwvVEQ+CiAgICAgICAgICAgIDwvVFI+CiAgICAgICAgICAgIDxUUj4KICAgICAgICAgICAgICAgIDxURD5FbWFpbDo8L1REPgogICAgICAgICAgICAgICAgPFREPjxpbnB1dCB0eXBlPSJ0ZXh0IiBuYW1lPSJzdWJzY3JpYmVyLmVtYWlsMSIgbWF4bGVuZ3RoPSI4MCIgc2l6ZT0iMjUiPjwvVEQ+CiAgICAgICAgICAgIDwvVFI+CgoKICAgICAgICAgICAgPFRSPgogICAgICAgICAgICAgICAgPFREIGNvbHNwYW49IjIiIGFsaWduPWNlbnRlcj4KICAgICAgICAgICAgICAgICAgICA8ZGl2IHN0eWxlPSJkaXNwbGF5Om5vbmU7IHBvc2l0aW9uOiBmaXhlZDsgYm9yZGVyOiAycHggc29saWQgI2NjYzsgYmFja2dyb3VuZC1jb2xvcjogI0VFRTsgcGFkZGluZzogMnB4IDJweCAycHggM3B4OyBib3JkZXItcmFkaXVzOiA1cHg7IHRleHQtYWxpZ246bGVmdDsgei1pbmRleDogOTk5OTk7IgogICAgICAgICAgICAgICAgICAgICAgICAgaWQ9InN1YnNjcmlwdGlvbkNhcHRjaGEiPgogICAgICAgICAgICAgICAgICAgICAgICA8ZGl2IHN0eWxlPSJmb250LXNpemU6MTJweDttYXJnaW4tbGVmdDozcHg7bWFyZ2luLWJvdHRvbToycHg7ZGlzcGxheTppbmxpbmUtYmxvY2s7Ij5Db25maXJtIHRoYXQKICAgICAgICAgICAgICAgICAgICAgICAgICAgIHlvdSBhcmUgbm90IGEgYm90LgogICAgICAgICAgICAgICAgICAgICAgICA8L2Rpdj4KICAgICAgICAgICAgICAgICAgICAgICAgPGRpdiBzdHlsZT0iZmxvYXQ6cmlnaHQ7IG1hcmdpbi1yaWdodDogMnB4OyBjb2xvcjogI2NjYzsgY3Vyc29yOiBwb2ludGVyOyIKICAgICAgICAgICAgICAgICAgICAgICAgICAgICBvbmNsaWNrPSJuZW9uU3Vic2NyaXB0aW9uQ2xvc2VDYXB0Y2hhKCk7IiBvbm1vdXNlb3Zlcj0idGhpcy5zdHlsZS5jb2xvcj0nI2FhYSciCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgb25tb3VzZW91dD0idGhpcy5zdHlsZS5jb2xvcj0nI2NjYyciPsOXCiAgICAgICAgICAgICAgICAgICAgICAgIDwvZGl2PgoKCiAgICAgICAgICAgICAgICAgICAgICAgIDxzY3JpcHQ+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAodHlwZW9mIHdpbmRvd09ubG9hZEZ1bmMgPT0gJ3VuZGVmaW5lZCcpIHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB3aW5kb3dPbmxvYWRGdW5jID0gd2luZG93Lm9ubG9hZDsKICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0KCiAgICAgICAgICAgICAgICAgICAgICAgICAgICB3aW5kb3cub25sb2FkID0gZnVuY3Rpb24gKCkgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmICh0eXBlb2YgZ3JlY2FwdGNoYSA9PSAndW5kZWZpbmVkJyB8fCBncmVjYXB0Y2hhLnJlbmRlciA9PSB1bmRlZmluZWQpIHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYWxlcnQoIlNvbWUgb2YgdGhlIGZpZWxkcyBvbiB0aGlzIHBhZ2UgZGlkIG5vdCBsb2FkIHByb3Blcmx5LiBSZWZyZXNoIHRoZSBwYWdlIGFuZCB0cnkgYWdhaW4uIik7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfQoKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZiAod2luZG93T25sb2FkRnVuYykgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB3aW5kb3dPbmxvYWRGdW5jKCk7CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAgICAgICA8L3NjcmlwdD4KICAgICAgICAgICAgICAgICAgICAgICAgCBzcmM9J2h0dHBzOi8vd3d3Lmdvb2dsZS5jb20vcmVjYXB0Y2hhL2FwaS5qcz9yPTEyMzE4OTk1MjcnPjwvc2NyaXB0PgogICAgICAgICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPSJnLXJlY2FwdGNoYSIgZGF0YS1zaXRla2V5PSI2TGNzYnc4VUFBQUFBSjZINXVMZWhvczBsTVhrSGwzcWlTR0RWZlRKIj48L2Rpdj4KICAgICAgICAgICAgICAgICAgICA8L2Rpdj4KICAgICAgICAgICAgICAgICAgICA8aW5wdXQgaWQ9InN1YnNjcmlwdGlvblN1Ym1pdEJ1dHRvbiIgbmFtZT0ic3VibWl0QnV0dG9uIiBvbmNsaWNrPSJyZXR1cm4gbmVvblN1YnNjcmlwdGlvblN1Ym1pdCgpOyIKICAgICAgICAgICAgICAgICAgICAgICAgICAgdHlwZT1zdWJtaXQgdmFsdWU9IlN1YnNjcmliZSIgY2xhc3M9ImJ1dHRvbiBwcmltYXJ5Ij4KICAgICAgICAgICAgICAgIDwvVEQ+CiAgICAgICAgICAgIDwvVFI+CiAgICAgICAgPC9UQUJMRT4KICAgIDwvZm9ybT4K