PageSourceSearch

https://umi.ru/js/umiru/umiru.min.js?version=1790167662

js umi.ru collected 2026-09-24 08:36:53 UTC 528,892 bytes, 1 lines download raw bytes

1function setCookie(e,t,i){i=(i=i||null)?"; expires="+i:"";document.cookie=e+"="+escape(t)+"; path=/"+i}function getCookie(e){e=e.replace(/\./g,"_");for(var t=0,i=0,n=0,s=document.cookie;t<=s.length;){if(n=(i=t)+e.length,s.substring(i,n)==e)return i=n+1,(n=document.cookie.indexOf(";",i))<i&&(n=document.cookie.length),document.cookie.substring(i,n);t++}return""}var umihost_lang={data:{"az_scripts.contenttreeview.action_with_selected":"Действия с отмеченными","az_scripts.contenttreeview.delete":"Удалить","az_scripts.contenttreeview.show_in_menu":"Отображать в меню","az_scripts.contenttreeview.hide_from_menu":"Не отображать в меню","az_scripts.contenttreeview.make_active_all":"Сделать активными","az_scripts.contenttreeview.make_inactive_all":"Сделать неактивными","az_scripts.contenttreeview.uncheck_all":"Снять все отметки","az_scripts.contenttreeview.are_you_sure_you_want_to":"Вы уверены, что хотите","az_scripts.contenttreeview.move":"Переместить","az_scripts.contenttreeview.selected_pages":"отмеченные страницы","az_scripts.contenttreeview.page":"страницу","az_scripts.contenttreeview.root":"Ваш Сайт","az_scripts.contenttreeview.make_inactive":"Сделать неактивным","az_scripts.contenttreeview.make_active":"Сделать активным","az_scripts.contenttreeview.view_page":"Открыть страницу","az_scripts.contenttreeview.empty_title":"(Нет названия)","az_scripts.contenttreeview.copy_all":"Вы собираетесь скопировать страницу, у которой уже есть вложенные страницы.\nВы хотите скопировать страницу со всеми вложенными страницами?","az_scripts.contenttreeview.clone_button":"Создать копию","az_scripts.contenttreeview.clone_title":"Создать копию","az_scripts.contenttreeview.copy_button":"Создать виртуальную копию","az_scripts.contenttreeview.copy_notice":"Вы собиретесь создать виртуальную копию страницы, у которой уже есть вложенные страницы.\n\t\t\tВы хотите создать виртуальную копию со всеми вложенными страницами?","az_scripts.contenttreeview.copy_title":"Создать виртуальную копию","az_scripts.contenttreeview.virtual_copy":"(виртуальная копия)","az_scripts.contenttreeview.original":"(оригинальная страница)","az_scripts.dialog.label_yes":"Да","az_scripts.dialog.label_no":"Нет","az_scripts.global.save_label":"Сохранить","az_scripts.global.cancel_label":"Отменить","az_scripts.global.close_label":"Закрыть","az_scripts.sections.autoadv.save_changes":"Сохранить изменения","az_scripts.sections.autoadv.edit_ad":"Редактирование объявления [{title}]","az_scripts.sections.autoadv.can_not_display":"Невозможно отобразить информацию об объявлении","az_scripts.sections.autoadv.must_enter":"Необходимо ввести хотя бы одну поисковую фразу","az_scripts.sections.autoadv.must_select_city":"Необходимо выбрать хотя бы один регион или город","az_scripts.sections.autoadv.prices":"{price1} руб. ({price2} у.е.)","az_scripts.sections.autoadv.keyword":"Ключевое слово","az_scripts.sections.autoadv.enter_guarantied_shows":"вход в гарант. показы","az_scripts.sections.autoadv.price1st":"цена 1-го места","az_scripts.sections.autoadv.enter_special_placement":"вход в спецразмещение","az_scripts.sections.autoadv.1st special placement":"цена 1-го спецразмещения","az_scripts.sections.autoadv.select_all":"выделить все","az_scripts.sections.autoadv.unselected_all":"cнять выделение со всех","az_scripts.sections.autoadv.yad_data_exchange":"Обмен данными с Яндекс.Директ. Он Ð
1·Ð°Ð¹Ð¼ÐµÑ‚ некоторое время (до 5 минут)","az_scripts.sections.autoadv.phrases_fail_request_message":'\n\t\t\t\t\t<div class="text">\n\t\t\t\t\t\t<p style="font-weight:bold">Не удалось получить ответ от Яндекс.Директ</p>\n\t\t\t\t\t\t<p>Вы можете <a href="JavaScript:void(0);" id="getPriceRepeat">повторить запрос на определение стоимости клика поисковых фраз</a>.</p>\n\t\t\t\t\t\t<p>Если не удалось получить ответ повторно, попробуйте <a href="JavaScript:void(0);" id="getPriceBack">изменить набор поисковых фраз</a>.</p>\n\t\t\t\t\t</div>',"az_scripts.sections.autoadv.must_set_link":"Необходимо задать ссылку на страницу сайта","az_scripts.sections.autoadv.wrong_format_link":"Ссылка на страницу задана в неверном формате","az_scripts.sections.autoadv.query_string":"Определение поисковых запросов для http://{link}","az_scripts.sections.autoadv.must_select_least_one":"Необходимо выбрать не менее одной фразы для показа объявления","az_scripts.sections.autoadv.select_other_page":"Попробуйте указать другую страницу сайта, которая наиболее четко отражает его тематику.<br/>Или добавьте свои поисковые фразы для данной страницы.","az_scripts.sections.autoadv.must_fill_title":"Необходимо заполнить заголовок объявления","az_scripts.sections.autoadv.must_fill_text_ad":"Необходимо заполнить текст объявления","az_scripts.sections.autoadv.wait_message":'Бюджет рекламного объявления будет определен в течение нескольких минут.<br />Пожалуйста, <a href="{link}">обновите страницу позже</a>.',"az_scripts.sections.autoadv.error_budget":"Ошибка определения бюджета объявления","az_scripts.sections.autoadv.cost_of_placing_ads":"Яндекс.Директ :: Стоимость размещения объявления {title}","az_scripts.sections.autoadv.currency":"руб","az_scripts.sections.autoadv.can_not_display_info":"Невозможно отобразить информацию об объявлении","az_scripts.sections.autoadv.error_mult":"Стоимость для фразы '{phrase}' должна быть кратна {mult}\n","az_scripts.sections.autoadv.error_phrase_price":"Неверно указана стоимость для фраз:{err}","az_scripts.sections.autoadv.you_must_change":"Необходимо изменить стоимость хотя бы одной фразы","az_scripts.sections.autoadv.changes_successfully_saved":"Изменения успешно сохранены","az_scripts.sections.autoadv.preview_and_print":"Просмотреть и распечатать","az_scripts.sections.autoadv.preview_and_print_without_print":"Просмотреть и распечатать (без печати)","az_scripts.sections.autoadv.waiting_payment":"Ожидает оплаты","az_scripts.sections.autoadv.payment":"Оплатить","az_scripts.sections.autoadv.moderation_processing":"На модерации","az_scripts.sections.autoadv.cause":"причина","az_scripts.sections.autoadv.moderation_filed":"Отклонено модератором","az_scripts.sections.autoadv.go_screenings":"Идут показы","az_scripts.sections.autoadv.stop_screenings":"Остановить показы","az_scripts.sections.autoadv.shows_canceled":"Показы отменены","az_scripts.sections.autoadv.fashion_suspended":"Показы приостановлены","az_scripts.sections.autoadv.resume_screenings":"Возобновить показы","az_scripts.sections.autoadv.determine_budget":"Определить бюджет","az_scripts.sections.autoadv.stat":'Прогноз показов/кликов в месяц: {counts_show} / {counts_click}<br/>Прогнозируемый бюджет за месяц: {budget} руб.<div><a href="/adminzone/autoadv/forecast/?bannerId={banner_id}&bannerTitle={banner_title}" class="edit">подробнее</a></div>',"az_scripts.sections.autoadv.edit_link":"Редактировать","az_scripts.sections.autoadv.empty_ad":"У Вас пока нет объявлений","az_scripts.sections.appointments.no_status":"Не обработана","az_scripts.sections.appointments.saving":"Сохранение...","az_scripts.sections.appointments.saved":"Успешно сохранено","az_scripts.sections.content.hide":"Скрыть","az_scripts.sections.content.public":"Опубликовать","az_scripts.sections.content.remove":"Удалить","az_scripts.sections.content.prev":"Предыдущая","az_scripts.sections.content.next":"Следующая","az_scripts.sections.content.no_comments":"Нет комментариев.","az_scripts.sections.content.no_directories_with_comments":"На сайте нет разделов, в которых оставлены комментарии.","az_scripts.sections.content.rss_task_restarted":"Выполняется обновление файла RSS, обновите страницу или зайдите позже. Выполнено 0%.","az_scripts.sections.content.dlg_upload_sticker_image_title":"Загрузка стикера","az_scripts.sections.content.dlg_upload_sticker_image_text":"Укажите загружаемый файл","az_scripts.sections.content.dlg_upload_yes_label":"Загрузить","az_scripts.sections.content.dlg_upload_cancel_label":"Отмена","az_scripts.sections.confirmphone.error":"Ошибка","az_scripts.sections.confirmphone.unknown_error":"Возникла ошибка, обратитесь в службу поддержки.","az_scripts.sections.design.design_change":"Изменение дизайна","az_scripts.sections.design.keep_structure":"Вы хотите сохранить структуру и данные сайта при переходе на новый дизайн?","az_scripts.sections.design.save_data":"Сохранить данные","az_scripts.sections.design.remove_data":"Удалить данные","az_scripts.sections.design.cancel":"Отмена","az_scripts.sections.design.cant_keep_structure":"Вы можете сменить дизайн только с потерей всех текущих данных!","az_scripts.sections.design.remove_data_and_change":"Удалить данные и сменить дизайн","az_scripts.sections.design.dlg_design_change_title":"Дизайн изменён","az_scripts.sections.design.dlg_design_change_text":"Дизайн успешно изменён. Хотите просмотреть изменения?","az_scripts.sections.design.dlg_design_change_yes_label":"Перейти на сайт","az_scripts.sections.design.dlg_design_change_no_label":"Закрыть","az_scripts.sections.design.dlg_upload_favicon_title":"Загрузка favicon.ico","az_scripts.sections.design.dlg_upload_favicon_text":"Укажите загружаемый файл:","az_scripts.sections.design.dlg_upload_yes_label":"Загрузить","az_scripts.sections.design.dlg_upload_cancel_label":"Отмена","az_scripts.sections.design.btn_cancel":"Закрыть","az_scripts.sections.design.css_file_saved":"Файл стилей CSS сохранён.","az_scripts.sections.changetariff.design_change":"Изменение дизайна","az_scripts.sections.changetariff.tariff_change":"Изменение тарифа","az_scripts.sections.changetariff.keep_structure":"Вы хотите сохранить структуру и данные сайта при переходе на новый тариф? Обратите внимание, что при переходе на другой тариф ваши резервные копии будут удалены.","az_scripts.sections.changetariff.keep_structure_design":"Вы хотите сохранить структуру и данные сайта при переходе на новый дизайн?","az_scripts.sections.changetariff.cannot_keep_structure_to_landing":'Переход на тариф "Лендинг" возможен только без сохранения структуры и данных. Обратите внимание, что при переходе на другой тариф ваши резервные копии будут удалены.',"az_scripts.sections.changetariff.cannot_keep_structure_of_landing":'Переход c тарифa "Лендинг" возможен только без сохранения структуры и данных. Обратите внимание, что при переходе на другой тариф ваши резервные копии будут удалены.',"az_scripts.sections.changetariff.cannot_keep_structure_to_content_box_builder":'Переход на дизайн "Нейросайт" возможен только без сохранения структуры и данных. Обратите внимание, что при переходе на другой тариф ваши резервные копии будут удалены.',"az_scripts.sections.changetariff.cannot_keep_structure_of_content_box_builder":'Переход с дизайна "Нейросайт" возможен только без сохранения структуры и данных. Обратите внимание, что при переходе на другой тариф ваши резервные копии будут удалены.',"az_scripts.sections.changetariff.save_data":"Сохранить данные","az_scripts.sections.changetariff.remove_data":"Удалить данные","az_scripts.sections.changetariff.cancel":"Отмена","az_scripts.sections.changetariff.dlg_design_change_title":"Дизайн изменен","az_scripts.sections.changetariff.dlg_tariff_
1change_title":"Тариф изменен","az_scripts.sections.changetariff.dlg_design_change_text":"Дизайн успешно изменён. Хотите просмотреть изменения?","az_scripts.sections.changetariff.dlg_tariff_change_text":"Тариф успешно изменён. Хотите просмотреть изменения?","az_scripts.sections.changetariff.dlg_design_change_yes_label":"Перейти на сайт","az_scripts.sections.changetariff.dlg_design_change_no_label":"Закрыть","az_scripts.sections.domains.not_enough_money_message":"<p>Домен {domain} доступен к регистрации.</p><p>Стоимость домена: {price} рублей.</p><p>Для покупки домена пополните счёт.</p>","az_scripts.sections.domains.not_enough_money_domain_order":"Заказ домена","az_scripts.sections.domains.not_enough_money_fill_balance":"Пополнить баланс на {price} руб.","az_scripts.sections.domains.not_enough_money_fill_balance_label":"Для заказа домена пополните баланс на {price} руб.","az_scripts.sections.domains.not_enough_money_continue_search":"Продолжить поиск","az_scripts.sections.domains.domain_already_exists":'<p>Домен {domain} уже существует.</p><p>Выберите из доступных к регистрации вариантов или продолжите поиск.</p><ul class="domain_free_options">{option}</ul>',"az_scripts.sections.domains.got_options_dlg_title":"Заказ домена","az_scripts.sections.domains.got_options_dlg_yes_label":"Заказать","az_scripts.sections.domains.got_options_dlg_no_label":"Продолжить поиск","az_scripts.sections.domains.cannot_c
1orrect_domain_name":"Введите корректное название желаемого домена","az_scripts.sections.domains.cannot_correct_number":"Введите корректное число","az_scripts.sections.domains.unbind_domain_message":"Вы действительно хотите отвязать домен {domain}?","az_scripts.sections.domains.remove_domain_message":"Вы действительно хотите удалить домен {domain}?","az_scripts.sections.domains.dlg_renew_domain_title":"Продление домена","az_scripts.sections.domains.dlg_renew_domain_text":"Домен успешно продлён","az_scripts.sections.domains.dlg_renew_close_button":"Вернуться к управлению доменами","az_scripts.sections.domains.alert_contact_save_title":"Обновление контактной информации","az_scripts.sections.domains.alert_contact_save_text":"Данные сохранены.","az_scripts.sections.domains.alert_nss_save_title":"Обновление данных об NS серверах","az_scripts.sections.domains.alert_nss_save_text":"Данные сохранены.","az_scripts.sections.domains.remove_icon":"удалить","az_scripts.sections.domains.alert_mx_add_title":"Добавление MX записи","az_scripts.sections.domains.alert_mx_add_text":"Запись добавлена.","az_scripts.sections.domains.alert_resource_save_title":"Добавление ресурсной записи","az_scripts.sections.domains.alert_resource_save_text":"Запись добавлена.","az_scripts.sections.domains.alert_mx_remove_title":"Удаление MX записи","az_scripts.sections.domains.alert_mx_remove_text":"Запись удалена.","az_scripts.sections.domains.alert_resource_remove_title":"Удаление ресурсной записи","az_scripts.sections.domains.alert_resource_remove_text":"Ресурсная запись удалена.","az_scripts.sections.domains.not_defined":"не определён","az_scripts.sections.domains.field_must_be_latin":"Поле должно быть заполнено латиницей","az_scripts.sections.domains.field_is_required":"Поле обязательно для заполнения","az_scripts.sections.domains.ssl_buy_error_title":"Ошибка покупки сертификата","az_scripts.sections.domains.ssl_buy_error_text":"<br/>Сообщите о данной ошибке в службу поддержки","az_scripts.sections.domains.ssl_buy_success_title":"Заказ успешно оформлен!","az_scripts.sections.domains.ssl_buy_success_text":"После выпуска, сертификат будет отправлен на email администратора","az_scripts.sections.mail.email_created":"Ящик создан.","az_scripts.sections.mail.dlg_title_setting_saved":"Настройки сохранены","az_scripts.sections.mail.dlg_text_setting_saved":"Настройки успешно сохранены","az_scripts.sections.mail.input_not_correct":"Введите корректный адрес e-mail","az_scripts.sections.mail.input_not_correct_collection":"Введите корректный набор e-mail","az_scripts.sections.mail.confirm_mail_delete_title":"Удаление почтового ящика","az_scripts.sections.mail.confirm_mail_delete_content":"При удалении почтового ящика все письма в нём будут удалены без возможности восстановления. Продолжить?","az_scripts.sections.mail.mail_loader_content":"Производится удаление &nbsp;","az_scripts.sections.mail.ban_mailru_hint":"При указании адресов электронной почты на сервисах mail.ru, list.ru, bk.ru, inbox.ru, письма с сайта могут не доходить до адресата.","az_scripts.sections.money.msg_for_correct":"Необходимо корректно заполнить поле {field}","az_scripts.sections.money.msg_for_request":"Необходимо заполнить поле {field}","az_scripts.sections.money.msg_not_correct_format":"Поле {field} заполнено в неверном формате","az_scripts.sections.money.order_success":"Заказ успешно оформлен. Сейчас вы будете перенаправлены на страницу оплаты.","az_scripts.sections.money.chose_payment_method":"Сначала необходимо выбрать способ оплаты.","az_scripts.sections.money.cannot_set_promo_code":"Необходимо ввести промо-код","az_scripts.sections.money.preview_and_print":"Просмотреть и распечатать","az_scripts.sections.money.preview_and_print_without_print":"Просмотреть и распечатать (без печати)","az_scripts.sections.money.un_subscribe_payments_title":"Отмена подписки","az_scripts.sections.money.un_subscribe_payments_text":"Вы уверены, что хотите отменить подписку?","az_scripts.sections.paysystem.yes":"Да","az_scripts.sections.paysystem.no":"Нет","az_scripts.sections.paysystem.bonus_day_amount":"Дней в подарок: #AMOUNT#","az_scripts.sections.paysystem.bonus_domain_amount":"Бесплатный домен в подарок","az_scripts.sections.paysystem.discount_amount":"Скидка на оплату: #AMOUNT#","az_scripts.sections.paysystem.enter_code_title":"Акционный код не введён.","az_scripts.sections.seo.dlg_save_title":"Внимание!","az_scripts.sections.seo.dlg_save_yes_label":"Все равно добавить","az_scripts.sections.seo.dlg_save_no_label":"Отмена","az_scripts.sections.seo.dlg_alert_title_error":"Ошибка","az_scripts.sections.seo.dlg_alert_text":"Не удалось сохранить перенаправление. Обратитесь в службу поддержки.","az_scripts.sections.seo.dlg_delete_confirmation_title":"Подтверждение удаления","az_scripts.sections.seo.dlg_delete_confirmation_text":"Вы действительно хотите удалить перенаправление?","az_scripts.sections.seo.dlg_delete_confirmation_label_yes":"Да","az_scripts.sections.seo.dlg_delete_confirmation_label_no":"Нет","az_scripts.sections.seo.failed_remove_redirection":"Не удалось удалить перенаправление. Обратитесь в службу поддержки.","az_scripts.sections.settings.operation_success":"Операция успешно выполнена","az_scripts.sections.settings.restore_from_backup":"Все текущие данные будут заменены резервной копией. Продолжить?","az_scripts.sections.settings.before_backup":"Предыдущая резервная копия будет удалена. Продолжить?","az_scripts.sections.settings.dlg_clear_cache_title":"Очистка временных файлов","az_scripts.sections.settings.dlg_clear_cache_text":"Временные файлы успешно удалены.","az_scripts.sections.settings.dlg_site_remove_title":"Сайт удалён","az_scripts.sections.settings.dlg_site_remove_text":"Сайт удален. Вы можете восстановить его в течении 30 дней, начиная с текущего момента.","az_scripts.sections.settings.dlg_site_remove_confirm":"Сайт будет удалён. Продолжить?","az_scripts.sections.settings.dlg_site_restore_confirm":"Сайт будет восстановлен. Продолжить?","az_scripts.sections.settings.dlg_site_restored_title":"Сайт восстановлен","az_scripts.sections.settings.dlg_site_restored_text":"Сайт успешно восстановлен.","az_scripts.sections.settings.error_validate_value":"Некорректно введено значение","az_scripts.sections.settings.downgrade_request_dlg_title":'Переход на "Интернет-магазин Старт"',"az_scripts.sections.settings.downgrade_request_success":"Запрос отправлен успешно","az_scripts.sections.settings.error":"Ошибка","az_scripts.sections.settings.unknown_error":"Возникла ошибка, обратитесь в службу поддержки.","az_scripts.sections.settings.popup_captcha_switch_success_title":"Выбор CAPTCHA","az_scripts.sections.settings.popup_captcha_switch_success_text":"Выбранный тип CAPTCHA сохранён","az_scripts.sections.settings.popup_captcha_switch_failed_title":"Ошибка выбора CAPTCHA","az_scripts.sections.settings.popup_captcha_switch_failed_text":"Не удалось сохранить выбранный тип CAPTCHA","az_scripts.sections.settings.popup_captcha_keys_success_title":"Ð
1Ð°ÑÑ‚ройка ключей","az_scripts.sections.settings.popup_captcha_keys_success_text":"Ключи reCAPTCHA сохранены","az_scripts.sections.settings.popup_captcha_keys_failed_title":"Ошибка настройки ключей","az_scripts.sections.settings.popup_captcha_keys_failed_text":"Не удалось сохранить ключи reCAPTCHA","az_scripts.sections.settings.email_confirm_text":"Письмо для подтверждения e-mail было отправлено на Вашу электронную почту. Перейдите, пожалуйста, по ссылке в письме.","az_scripts.sections.settings.email_confirm_error":"Не удалось отправить письмо, повторите попытку.","az_scripts.sections.shop.dlg_upload_title":"Загрузка файла","az_scripts.sections.shop.dlg_upload_text":"Укажите загружаемый файл:","az_scripts.sections.shop.dlg_upload_label_yes":"Загрузить","az_scripts.sections.shop.dlg_upload_label_cancel":"Отмена","az_scripts.sections.shop.btn_close":"Закрыть","az_scripts.sections.shop.dlg_import_host_props_title":"Загрузка файла","az_scripts.sections.shop.dlg_import_host_props_text":"Укажите загружаемый файл:","az_scripts.sections.shop.dlg_import_host_props_label_yes":"Загрузить","az_scripts.sections.shop.dlg_import_host_props_label_cancel":"Отмена","az_scripts.sections.shop.not_active":"Неактивно","az_scripts.sections.shop.active":"Активно","az_scripts.sections.shop.dlg_edit_order_title":"Заказ изменён","az_scripts.sections.shop.dlg_edit_order_text":"Заказ успешно изменён.","az_scripts.sections.shop.print_loading":"Загрузка...","az_scripts.sections.shop.price_title":"Цена","az_scripts.sections.shop.price_currency":"руб.","az_scripts.sections.shop.popup_buy":"Добавить","az_scripts.sections.shop.dlg_remove_order_form_field_title":"Удаление поля формы заказа","az_scripts.sections.shop.dlg_remove_order_form_field_text":"<p>При удалении поля вся собранная информация будет удалена.</p><p>Вы уверены?</p>","az_scripts.sections.tarif.confirm_msg":"Вы действительно хотите поменять тариф?","az_scripts.sections.tarif.filed_change":"Не удалось сменить тариф","az_scripts.sections.confighost.create_site":"Создать такой сайт","az_scripts.sections.confighost.link_all":"Все","az_scripts.sections.confighost.btn_create_site":"Создать сайт","az_scripts.sections.confighost.btn_review":"Посмотреть","az_scripts.sections.confighost.you_site_created":"Ваш сайт создан.","az_scripts.sections.confighost.redirect_message":"<p>Сейчас вы будете перенаправлены в административную зону.</p>","az_scripts.sections.confighost.redirect_message_form":'<form class="simpleform"><h3>Ваш сайт создан.</h3><p>Сейчас вы будете перенаправлены в административную зону.</p></form>',"az_scripts.sections.faq.no_questions":"Вопросов нет.","az_scripts.sections.faq.cannot_set_questions_text":"Необходимо ввести текст вопроса","az_scripts.sections.faq.message_success_sent":"Сообщение успешно отправлено","az_scripts.sections.faq.message_cannot_sent":"При отправке сообщения произошла ошибка","az_scripts.sections.faq.message_question_added":"Наши специалисты скоро ответят на этот вопрос.","az_scripts.sections.faq.":"","az_scripts.sections.main.dlg_clear_temp_title":"Очистка временных файлов","az_scripts.sections.main.dlg_clear_temp_text":"Временные файлы успешно удалены.","az_scripts.sections.main.title":"Административная зона управления сайтом: {domain}","az_scripts.sections.main.append_to_favorite":"Нажмите {ctrl} + D для добавления в закладки.","az_scripts.sections.main.yandex_api_title":"Действие для Яндекс.Вебмастера","az_scripts.sections.main.google_api_title":"Действие для Google Search Console","az_scripts.sections.main.all_api_not_authorized":"Не удалось пройти авторизацию.","az_scripts.sections.main.all_api_error":"Не удалось выполнить.","az_scripts.sections.customforms.save_field":"Сохранить поле","az_scripts.sections.customforms.edit_field":"Редактировать поле","az_scripts.sections.customforms.delete_field":"Удалить поле","az_scripts.sections.customforms.save_text":"Сохранить","az_scripts.sections.customforms.edit_text":"Редактировать","az_scripts.sections.customforms.delete_text":"Удалить","az_scripts.sections.customforms.save_changes":"Сохранить изменения","az_scripts.sections.customforms.field_integer":"Число","az_scripts.sections.customforms.field_string":"Строка","az_scripts.sections.customforms.field_checkbox":"Кнопка-флажок","az_scripts.sections.customforms.field_wysiwyg":"HTML-текст","az_scripts.sections.customforms.field_date":"Дата","az_scripts.sections.customforms.field_float":"Число с точкой","az_scripts.sections.customforms.field_email":"Email","az_scripts.sections.customforms.field_phone":"Телефон","az_scripts.sections.exchange.download_file_export_link":'<a href="{URL}">Скачать файл экспорта "<b>{TYPE_NAME}</b>" от <span class="date">{DATE}</span></a>
1',"az_scripts.sections.exchange.import_finished":"Импорт завершен","az_scripts.sections.exchange.import_error":"Ошибка импорта","az_scripts.sections.favicon.upload_success_title":"Успех","az_scripts.sections.favicon.upload_success_text":"Favicon успешно загружен.","az_scripts.sections.favicon.select_title":"Применить этот значок?","az_scripts.sections.favicon.select_yes":"Применить","az_scripts.sections.favicon.select_no":"Отмена","az_scripts.sections.umistudio.process_title":"Скоро всё будет","az_scripts.sections.umistudio.install_process_1":"Подготовка к созданию нового демо сайта","az_scripts.sections.umistudio.install_process_2":"Регистрация имени в DNS","az_scripts.sections.umistudio.install_process_3":"Инсталляция UMI на демо сайт","az_scripts.sections.umistudio.install_process_4":"Копирование базы данных","az_scripts.sections.umistudio.install_process_5":"Копирование выбранного дизайн-макета","az_scripts.sections.umistudio.install_process_6":"Подготовка админзоны для редактирования сайта","az_scripts.sections.umistudio.install_process_7":"Регистрация {EMAIL} как администратора демо сайта","az_scripts.sections.umistudio.install_process_8":"Биллинг: включение бесплатного триал режима","az_scripts.sections.umistudio.install_process_9":"Почти все готово, завершение установки","az_scripts.sections.umistudio.install_process_10":"Отправка пароля от демо сайта на {EMAIL}","az_scripts.sections.umistudio.install_process_11":"Заканчиваем создание демо сайта","az_scripts.sections.umistudio.install_title":"Наконец-то!","az_scripts.sections.umistudio.install_description":"\n\t\t\t\t\t<p>\n\t\t\t\t\t\tВсё готово! Мы подготовили демо сайт!\n\t\t\t\t\t</p>\n\t\t\t\t\t<p>\n\t\t\t\t\t\tПосмотрите демо сайт и примите окончательное решение о переходе.\n\t\t\t\t\t</p>\n\t\t\t\t","az_scripts.sections.umistudio.install_button":"Перейти на демо сайт","az_scripts.sections.umistudio.confirm_process_1":"Делаем бекап вашего сайта","az_scripts.sections.umistudio.confirm_process_2":"Изменяем шаблон вашего сайта","az_scripts.sections.umistudio.confirm_process_3":"Переносим дизайн с демо сайта","az_scripts.sections.umistudio.confirm_process_4":"Удаляем демо сайт","az_scripts.sections.umistudio.confirm_process_5":"Заканчиваем настройку вашего нового сайта","az_scripts.sections.umistudio.confirm_title":"Наконец-то!","az_scripts.sections.umistudio.confirm_description":"\n\t\t\t\t\t<p>\n\t\t\t\t\t\tВсё готово! Мы поменяли ваш дизайн на новый!\n\t\t\t\t\t</p>\n\t\t\t\t\t<p>\n\t\t\t\t\t\tЕсли вы захотите его вернуть, вы сможете это сделать из панели управления в течение 30 дней.\n\t\t\t\t\t</p>\n\t\t\t\t","az_scripts.sections.umistudio.confirm_button":"Перейти на сайт","az_scripts.sections.umistudio.cancel_process_1":"Удаляем демо сайт","az_scripts.sections.umistudio.cancel_process_2":"Отменяем внесенные изменения на вашем сайте","az_scripts.sections.umistudio.cancel_title":"Отмена изменений!","az_scripts.sections.umistudio.cancel_description":"\n\t\t\t\t\t<p>\n\t\t\t\t\t\tВсё готово! Мы отменили все изменения!\n\t\t\t\t\t</p>\n\t\t\t\t\t<p>\n\t\t\t\t\t\tЕсли вы захотите, то сможете перейти на новый дизайн позже.\n\t\t\t\t\t</p>\n\t\t\t\t","az_scripts.sections.umistudio.cancel_button":"Все понятно","az_scripts.sections.umistudio.restore_process_1":"Восстанавливаем бекап вашего сайта","az_scripts.sections.umistudio.restore_process_2":"Восстанавливаем шаблон вашего сайта","az_scripts.sections.umistudio.restore_process_3":"Восстанавливаем тариф вашего сайта","az_scripts.sections.umistudio.restore_process_4":"Заканчиваем настройку вашего сайта","az_scripts.sections.umistudio.restore_title":"Отмена изменений!","az_scripts.sections.umistudio.restore_description":"\n\t\t\t\t\t<p>\n\t\t\t\t\t\tВсё готово! Мы отменили все изменения!\n\t\t\t\t\t</p>\n\t\t\t\t\t<p>\n\t\t\t\t\t\tЕсли вы захотите, то сможете перейти на новый дизайн позже.\n\t\t\t\t\t</p>\n\t\t\t\t","az_scripts.sections.umistudio.restore_button":"Все понятно","az_scripts.sections.umistudio.no_enough_credits_title":"Ð
1Ðµ хватает токенов!","az_scripts.sections.umistudio.no_enough_credits_description":"\n\t\t\t\t\t<p>\n\t\t\t\t\t\tВсё в порядке, просто они кончились.\n\t\t\t\t\t</p>\n\t\t\t\t\t<p>\n\t\t\t\t\t\tНо есть и хорошие новости.\n\t\t\t\t\t</p>\n\t\t\t\t\t<p>\n\t\t\t\t\t\tВы можете в любой момент купить себе столько, сколько захотите!\n\t\t\t\t\t</p>\n\t\t\t\t","az_scripts.sections.umistudio.no_enough_credits_button":"Купить еще","az_scripts.api.wait_previous_operation":"Дождитесь завершения предыдущей операции","az_scripts.api.timed_inactivity":"Превышен интервал бездействия.","az_scripts.api.must_re_login":"Необходимо заново авторизоваться.","az_scripts.crmcompany.no_messages_found":"Нет сообщений, отправленных через эту форму","az_scripts.crmcompany.wait_for_download":"Пожалуйста, дождитесь завершения создания CSV файла по предыдущей форме, прежде чем начинать новую","az_scripts.crmcompany.field_no":"Нет данных","az_scripts.crmcompany.header_action":"Действия","az_scripts.controls.choose_one_or_more_service":"Выберите одну или несколько услуг.","az_scripts.controls.day_string":"дней","az_scripts.controls.hour_string":"часов","az_scripts.controls.min_string":"минут","az_scripts.controls.sec_string":"секунд","az_scripts.controls.label_yes":"Да","az_scripts.controls.label_no":"Нет","az_scripts.controls.label_cancel":"Отмена","az_scripts.controls.label_close":"Закрыть","az_scripts.controls.label_upload":"Загрузить","az_scripts.controls.cannot_load_control":"Ошибка при загрузке контрола.","az_scripts.controls.flag_must_set":"Этот флаг должен быть установлен","az_scripts.controls.select_variant":"Выберите один из вариантов","az_scripts.controls.fill_request_field":"Заполните обязательное поле","az_scripts.controls.need_to_confirm_deletion":"Вы действительно хотите удалить все <b>{type}</b> комментарии?","az_scripts.controls.btn_need_to_confirm_deletion":"Удалить комментарии","az_scripts.controls.title_need_to_confirm_deletion":"Удалить выбранные комментарии","az_scripts.controls.dlg_invite_title":"Требуются имя и фамилия","az_scripts.controls.dlg_invite_text":"Сначала нужно заполнить ваши имя и фамилию, чтобы ваши друзья знали, кто их приглашает.","az_scripts.controls.dlg_invite_label_yes":"Заполнить имя и фамилию","az_scripts.controls.dlg_invite_label_no":"Отмена","az_scripts.controls.dlg_recipients_title":"Рассылка приглашений","az_scripts.controls.dlg_recipients_text":"Приглашения высланы","az_scripts.controls.dlg_recipients_label_yes":"Выслать приглашения","az_scripts.controls.dlg_recipients_label_no":"Отмена","az_scripts.controls.dlg_no_contacts_title":"Контакты отсутствуют","az_scripts.controls.dlg_no_contacts_text":"Ваш список контактов в GMail пуст.","az_scripts.controls.dlg_captcha":'<span>Введите текст с картинки</span>\n\t\t\t\t\t\t<span class="simpleform_required_star" title="Обязательное поле">\n\t\t\t\t\t\t\t<span class="simpleform_required_star_text">*</span>\n\t\t\t\t\t\t</span>',"az_scripts.controls.hide_hint":"Скрыть подсказку","az_scripts.controls.hint":"Подсказка","az_scripts.controls.hide":"Скрыть","az_scripts.controls.show":"Показать","az_scripts.controls.show_hint":"Показать подсказку","az_scripts.controls.field_name":"НаÐ
1·Ð²Ð°Ð½Ð¸Ðµ поля","az_scripts.controls.field_type":"Тип","az_scripts.controls.field_visibility":"Видимое","az_scripts.controls.field_in_filters_list":"В списке фильтров","az_scripts.controls.field_sort":"Порядок","az_scripts.controls.remove_icon":"удалить","az_scripts.controls.rename_link":"Переименовать","az_scripts.controls.move_up_link_title":"Переместить вверх","az_scripts.controls.move_down_link_title":"Переместить вниз","az_scripts.controls.btn_cancel":"Отменить","az_scripts.controls.list":"Список","az_scripts.controls.optional":"Опциональное","az_scripts.controls.edit":"Редактировать","az_scripts.controls.error":"Ошибка: {message}","az_scripts.controls.cannot_edit_value":"Не удалось изменить значение параметра","az_scripts.controls.dlg_remove_product_category_title":"Удалить категорию товаров?","az_scripts.controls.dlg_remove_product_category_text":"<p>При удалении будут удалены все товары этой категории.</p><p>Удалить категорию?</p>","az_scripts.controls.dlg_remove_product_category_label_yes":"Удалить","az_scripts.controls.dlg_remove_product_category_label_no":"Отмена","az_scripts.controls.dlg_delete_type_field_title":"Удаление свойства товара","az_scripts.controls.dlg_delete_type_field_text":'<p>Удалить свойство "{caption}" ?</p>',"az_scripts.controls.dlg_delete_type_field_label_yes":"Удалить","az_scripts.controls.dlg_delete_type_field_label_no":"Отмена","az_scripts.controls.dlg_inst_title":"Удаление","az_scripts.controls.dlg_inst_text":"<p>Удалить элемент списка?</p>","az_scripts.controls.dlg_inst_label_yes":"Удалить","az_scripts.controls.dlg_inst_label_no":"Отмена","az_scripts.controls.cannot_correct_format":"Некоррекнтый формат значения","az_scripts.controls.too_few_digits":"Слишком мало цифр в номере","az_scripts.controls.select":"Выбрать","az_scripts.controls.prev":"назад","az_scripts.controls.next":"вперед","az_scripts.controls.page":"Страница: ","az_scripts.controls.partner_fillbalance_dlg_payment_success_title":"Сайт успешно оплачен","az_scripts.controls.partner_fillbalance_dlg_payment_success_text":"Средства успешно зачислены на баланс сайта","az_scripts.controls.partner_fillbalance_dlg_payment_not_enough_balance":'У Вас недостаточно средств на счёте для оплаты этого наименования.<br />\n<a href="/money/fill/?a={amount_param}">Пополнить баланс</a> на <b>{amount} руб.</b>',"az_scripts.controls.partner_tariff_upgrade_dlg_payment_success_title":"Сайт успешно оплачен","az_scripts.controls.partner_tariff_upgrade_dlg_payment_success_text":"Средства успешно зачислены на баланс сайта","az_scripts.controls.partner_tariff_upgrade_dlg_payment_not_enough_balance":'У Вас недостаточно средств на счёте для оплаты этого наименования.<br />\n<a href="/money/fill/?a={amount_param}">Пополнить баланс</a> на <b>{amount} руб.</b>',"az_scripts.controls.client_status_title_delete":"Удаление статуса","az_scripts.controls.client_status_confirm_delete":"Вы действительно хотите удалить статус?","az_scripts.controls.client_status_delete_button":"Удалить","az_scripts.controls.client_status_cancel_button":"Отмена","az_scripts.controls.client_group_title_delete":"Удаление группы","az_scripts.controls.client_group_confirm_delete":"Вы действительно хотите удалить группу?","az_scripts.controls.client_group_delete_button":"Удалить","az_scripts.controls.client_group_cancel_button":"Отмена","az_scripts.controls.product_sticker_title_delete":"Удаление стикера","az_scripts.controls.product_sticker_confirm_delete":"Вы действительно хотите удалить стикер?","az_scripts.controls.product_sticker_delete_button":"Удалить","az_scripts.controls.product_sticker_cancel_button":"Отмена","az_scripts.controls.sticker_title_upload_failed":"Ошибка загрузки файла","az_scripts.controls.sticker_close_button":"Закрыть","az_scripts.controls.sticker_add_failed":"Ошибка добавления стикера","az_scripts.controls.choose_file":"Выберите файл","az_scripts.controls.dlg_upload_favicon_title":"Изменить изображение стикера","az_scripts.controls.dlg_upload_sticker_text":"Укажите загружаемый файл","az_scripts.controls.discounts_remove_title":"Вы уверены что хотите удалить скидку?","az_scripts.controls.discounts_remove_text":"Внимание! Выбранные действия не обратимы.","az_scripts.controls.discounts_create_text":"Выберите один из следующих типов скидоÐ
1º: {types}","az_scripts.controls.discounts_create_title":"Создание новой скидки","az_scripts.controls.discounts_choose_discount_type":"Укажите тип скидки, которую вы желаете создать.","az_scripts.controls.close_icon":'<img src="/adminzone/images/closed_icon.png" />',"az_scripts.controls.open_icon":'<img src="/adminzone/images/open_icon.png" />',"az_scripts.login.processing_install_site":"<p>Производится установка сайта.</p>","az_scripts.login.must_input_address_site":"Необходимо ввести адрес сайта","az_scripts.login.must_input_password":"Необходимо ввести пароль","az_scripts.login.must_input_name":"Необходимо ввести имя","az_scripts.login.must_input_family":"Необходимо ввести фамилию","az_scripts.login.now_request_change_password":"Сейчас будет отправлен запрос на смену пароля. Продолжить?","az_scripts.login.email_send":"Инструкция по дальнейшим действиям была выслана на Ваш E-mail адрес","az_scripts.login.filed_restore_password":"Не удалось восстановить пароль. Возможно адрес сайта введен неверно","az_scripts.login.filed_retrieve_send":"Не удалось повторно выслать инструкцию","az_scripts.login.new_password_send":"Новый пароль был выслан на Ваш адрес электронной почты","az_scripts.login.error_change_password":"При смене пароля произошла ошибка","az_scripts.login.change_password_processing":"<p>Выполняется смена пароля</p>","az_scripts.login.check_domain":"Проверьте, правильно ли указан домен сайта","az_scripts.login.auth_error":"Ошибка авторизации","az_scripts.login.auth_open_window_error":"Ошибка при попытке открыть окно для авторизации","az_scripts.login.auth_timeout_error":"Истекло время ожидания ответа от социальной сети ","az_scripts.login.auth_provider_not_found_error":"Не передан провайдер социальной сети","az_scripts.partner.sections.domains.dlg_domain_added_title":"Домен добавлен","az_scripts.partner.sections.domains.dlg_domain_added_text":"Примерно через сутки домен будет готов к использованию","az_scripts.partner.sections.domains.dlg_domain_added_error":"Ошибка","az_scripts.partner.sections.domains.dlg_domain_added_error_text":"Произошла ошибка. Пожалуйста, попробуйте еще раз.","az_scripts.partner.sections.domains.incorrect_format_domain_name":"Неправильный формат доменного имени","az_scripts.partner.sections.domains.blacklist_save_title":"Сохранено","az_scripts.partner.sections.domains.blacklist_save_text":"Список успешно сохранен","az_scripts.partner.sections.domains.blacklist_error_save_title":"Ошибка","az_scripts.partner.sections.domains.blacklist_error_save_text":"Произошла ошибка. Пожалуйста, попробуйте еще раз.","az_scripts.partner.sections.domains.cannot_save":"Не удалось сохранить настройки. Пожалуйста, попробуйте еще раз.","az_scripts.partner.sections.domains.dlg_domain_edit_title":"Сохранено","az_scripts.partner.sections.domains.dlg_domain_edit_text":"Настройки домена успешно сохранены","az_scripts.partner.sections.domains.dlg_domain_error_edit_title":"Ошибка!","az_scripts.partner.sections.domains.dlg_domain_set_billing_title":"Сохранено","az_scripts.partner.sections.domains.dlg_domain_set_billing_text":"Настройки биллинга успешно сохранены","az_scripts.partner.sections.domains.dlg_domain_set_billing_error_title":"Ошибка!","az_scripts.partner.sections.domains.cannot_c
1orrect_email_format":"Неправильный формат E-mail","az_scripts.partner.sections.domains.period_must_but_number":"Период должен быть числом","az_scripts.partner.sections.domains.widget_code_updated":"Код для установки обновлен.","az_scripts.partner.sections.domains.pdn_save_title":"Сохранено","az_scripts.partner.sections.domains.pdn_save_text":"Текст правил обработки ПДН для данного домена успешно сохранен","az_scripts.partner.sections.domains.pdn_error_title":"Ошибка","az_scripts.partner.sections.domains.pdn_error_text":"Произошла ошибка. Пожалуйста, попробуйте еще раз.","az_scripts.partner.sections.money.msg_order_create":'"<span>Ваш заказ создан. Подготовка данных для оплаты.</span>"',"az_scripts.partner.sections.money.dlg_fill_error_title":"Ошибка!","az_scripts.partner.sections.money.dlg_fill_error_text":"Произошла ошибка. Пожалуйста, попробуйте еще раз.","az_scripts.partner.sections.money.data_loading_title":"Загрузка данных","az_scripts.partner.sections.money.data_loading_text":"Производится загрузка необходимых данных. Пожалуйста, попробуйте чуть позже.","az_scripts.partner.sections.money.sum_must_but_number":"Сумма должна быть целым числом","az_scripts.partner.sections.money.field_for_only_cyrillic_words":"Поле может содержать только русские буквы","az_scripts.partner.sections.money.phone_number_not_correct":"Неверный формат номера телефона. Номер должен быть указан в виде: +7ХХХХХХХХХХ","az_scripts.partner.sections.sites.order_success_created":"Заказ успешно создан","az_scripts.partner.sections.sites.order_purchase_site":"Ваш заказ на выкуп сайта успешно оформлен. Наш специалист свяжется с вами для вывода сайта на отдельный хостинг.","az_scripts.partner.sections.sites.dlg_buyout_title":"Ошибка","az_scripts.partner.sections.sites.dlg_buyout_text":"Во время оплаты произошла ошибка. Пожалуйста, попробуйте еще раз.","az_scripts.partner.sections.sites.col_create_time":"Время создания","az_scripts.partner.sections.sites.col_blocked":"Блокировка","az_scripts.partner.sections.sites.col_domain":"Домен","az_scripts.partner.sections.sites.col_status":"Статус","az_scripts.partner.sections.sites.col_tarif":"Тариф","az_scripts.partner.sections.sites.col_fio":"ФИО клиента","az_scripts.partner.sections.sites.col_payed_until":"Оплачен до","az_scripts.partner.sections.sites.col_balance":"Баланс","az_scripts.partner.sections.sites.col_payed":"Оплатить","az_scripts.partner.sections.sites.col_buyout":"Выкупить","az_scripts.partner.sections.sites.col_technical_domain":"Технический домен","az_scripts.partner.sections.sites.col_payment_to":"Оплачен до","az_scripts.partner.sections.sites.msg_update_table":"Обновление таблицы...","az_scripts.partner.sections.sites.prepare_buyout_site":"Выкупить сайт","az_scripts.partner.sections.sites.prepare_payment":"Оплатить","az_scripts.partner.sections.sites.buyout_link":"Выкупить","az_scripts.partner.sections.sites.blocking_host":"Блокировка хоста...","az_scripts.partner.sections.sites.un_blocking_host":"Разблокировка хоста...","az_scripts.partner.sections.sites.processing_upload":"Подготовка выгрузки...","az_scripts.partner.sections.sites.upload_based_table":"Загрузка основной таблицы...","az_scripts.partner.sections.sites.upload_additional_info":"Загрузка дополнительной информации","az_scripts.partner.sections.sites.upload_success_prepare_file_processing":"Все данные успешно загружены, подготовка файла...","az_scripts.partner.sections.sites.no_data_received_to_export":"Не удалось получить данные для выгрузки","az_scripts.partner.sections.sites.removed":"удалён","az_scripts.partner.sections.sites.blocked":"заблокирован","az_scripts.partner.sections.sites.free":"бесплатный","az_scripts.partner.sections.sites.work":"работает","az_scripts.partner.sections.sites.payed_work":"платное размещение","az_scripts.partner.sections.sites.free_placement":"бесплатное размещение","az_scripts.partner.sections.sites.dlg_payment_success_title":"Сайт успешно оплачен","az_scripts.partner.sections.sites.dlg_payment_success_text":"Средства успешно зачислены на баÐ
1»Ð°Ð½Ñ сайта","az_scripts.partner.sections.sites.dlg_payment_success_error_title":"Ошибка","az_scripts.partner.sections.sites.dlg_payment_success_error_text":"Во время оплаты произошла ошибка. Пожалуйста, попробуйте еще раз.","az_scripts.partner.sections.sites.dlg_payment_not_enough_balance":'У Вас недостаточно средств на счёте для оплаты этого наименования.<br />\n<a href="/money/fill/?a={amount_param}">Пополнить баланс</a> на <b>{amount} руб.</b>',"az_scripts.partner.sections.setting.dlg_email_change_title":"E-mail изменен","az_scripts.partner.sections.setting.dlg_email_change_text":"Адрес E-mail успешно изменен","az_scripts.partner.sections.setting.dlg_password_change_title":"Пароль изменен","az_scripts.partner.sections.setting.dlg_password_change_text":"Пароль успешно изменен","az_scripts.partner.sections.setting.msg_email_valid":"Неправильный формат E-mail","az_scripts.partner.sections.setting.msg_password_valid":"Длина пароля должна быть не менее 6 символов","az_scripts.partner.sections.setting.msg_password_confirm_valid":"Введенные пароли не совпадают","az_scripts.partner.login.must_input_login":"Необходимо ввести логин","az_scripts.partner.login.must_input_password":"Необходимо ввести пароль","az_scripts.partner.login.processing_install_site":"<p>Производится установка сайта.</p>","az_scripts.partner.login.request_on_change_password":"Сейчас будет отправлен запрос на смену пароля. Продолжить?","az_scripts.partner.login.instruction_send":"Инструкция по дальнейшим действиям была выслана на Ваш E-mail адрес","az_scripts.partner.login.cannot_restore_password":"Не удалось восстановить пароль. Возможно логин введен неверно","az_scripts.partner.change_password.password_send":"Новый пароль был выслан на Ваш E-mail адрес","az_scripts.partner.change_password.title":"Смена пароля","az_scripts.partner.change_password.processing_message":"Производится изменение пароля. Пожалуйста, подождите...","az_scripts.create.address_free":"Адрес свободен","az_scripts.create.address_busy":"Адрес занят","az_scripts.create.set_site_name":"Укажите адрес сайта. ","az_scripts.create.set_email":"Укажите e-mail. ","az_scripts.create.must_accept_agreement":"Необходимо принять соглашение.","az_scripts.create.site_already_exist":"Сайт с таким именем уже существует","az_scripts.designlist.select":"Выбрать","az_scripts.designlist.back":"назад","az_scripts.designlist.next":"вперед","az_scripts.index.flash_player_filed":"К сожалению, у вас установлена слишком старая версия Flash-плейера. Пожалуйста, <a href=http://www.adobe.com/go/getflash/>обновите его</a>.","az_scripts.index.close":"закрыть","az_scripts.siteguide.scenarios.firstTime.firstTime_tour_#siteeditmode_link_title":"Перейти на сайт","az_scripts.siteguide.scenarios.firstTime.firstTime_tour_#siteeditmode_link_content":"Выберите этот пункт меню для редактирования сайта,\nперейдя на сайт, нажмите «Редактировать»,\nдля сохранения изменений нажмите на значок дискеты <i class='save_icon' style='position: relative; top: 3px; height: 17px; display: inline-block; background: url(/js/cms/panel/sprite-icons.png) no-repeat -88px -9px; width: 22px;'></i> или «Просмотр».\nДля возврата выберите «Панель управления» в верхнем меню.","az_scripts.siteguide.scenarios.firstTime.firstTime_tour_#main_link_title":"Главная","az_scripts.siteguide.scenarios.firstTime.firstTime_tour_#main_link_content":"На главной странице находится основная информация вашего сайта,\nподробности о тарифе, переход в раздел помощи,\nновости и посты в блоге сервиса, комментарии для модерации.","az_scripts.siteguide.scenarios.firstTime.firstTime_tour_#googlestatistics_link_title":"Статистика","az_scripts.siteguide.scenarios.firstTime.firstTime_tour_#googlestatistics_link_content":"Статистика посещаемости вашего сайта","az_scripts.siteguide.scenarios.firstTime.firstTime_tour_#content_link_title":"Контент","az_scripts.siteguide.scenarios.firstTime.firstTime_tour_#content_link_content":"Управляйте меню сайта и комментариями,\nвыведите блоки социальных сетей и создавайте\nсобственные шаблоны обратной связи.","az_scripts.siteguide.scenarios.firstTime.firstTime_tour_#shop_link_title":"МагаÐ
1·Ð¸Ð½","az_scripts.siteguide.scenarios.firstTime.firstTime_tour_#shop_link_content":"Управляйте вашим магазином, задавайте скидки и варианты доставки,\nиспользуйте CRM для работы с покупателями, подключите прием платежей,\nсоздайте уникальные письма и выгружайте ваши товары в Яндекс.Маркет.","az_scripts.siteguide.scenarios.firstTime.firstTime_tour_#crmcompany_link_title":"","az_scripts.siteguide.scenarios.firstTime.firstTime_tour_#crmcompany_link_content":"Используйте CRM для работы с покупателями.","az_scripts.siteguide.scenarios.firstTime.firstTime_tour_#quickusers_link_title":"","az_scripts.siteguide.scenarios.firstTime.firstTime_tour_#quickusers_link_content":"Используйте CRM для работы с покупателями.","az_scripts.siteguide.scenarios.firstTime.firstTime_tour_#design_link_title":"Дизайн","az_scripts.siteguide.scenarios.firstTime.firstTime_tour_#design_link_content":"Измените ваш шаблон или сделайте уникальным дизайн вашего сайта при помощи CSS, задайте свой оригинальный favicon, из любой картинки.","az_scripts.siteguide.scenarios.firstTime.firstTime_tour_#services_link_title":"Сервисы","az_scripts.siteguide.scenarios.firstTime.firstTime_tour_#services_link_content":"Синхронизируйте ваш каталог с различными сервисами.","az_scripts.siteguide.scenarios.firstTime.firstTime_tour_#domains_link_title":"Домены","az_scripts.siteguide.scenarios.firstTime.firstTime_tour_#domains_link_content":"Приобретите собственный домен и привяжите его к сайту,\nуправляйте записями и продлением доменных имен.","az_scripts.siteguide.scenarios.firstTime.firstTime_tour_#mail_link_title":"Почта","az_scripts.siteguide.scenarios.firstTime.firstTime_tour_#mail_link_content":"Создайте почту в вашем домене, укажите входящую\nи исходящую почту вашего сайта.","az_scripts.siteguide.scenarios.firstTime.firstTime_tour_#autoadv_link_title":"Реклама","az_scripts.siteguide.scenarios.firstTime.firstTime_tour_#autoadv_link_content":"Создайте и управляйте объявлениями в Яндекс.Директе.","az_scripts.siteguide.scenarios.firstTime.firstTime_tour_#seo_link_title":"SEO","az_scripts.siteguide.scenarios.firstTime.firstTime_tour_#seo_link_content":"Подтвердите владение сайтом и запустите продвижение.\nУправляйте перенаправлением страниц и файлом robots.txt","az_scripts.siteguide.scenarios.firstTime.firstTime_tour_#money_link_title":"Оплата","az_scripts.siteguide.scenarios.firstTime.firstTime_tour_#money_link_content":"Оплатите сайт и получите полный функционал вашего сайта.\nРаздел содержит историю оплат и акты для бухгалтерии.\nВыкуп сайта — это для пользователей, которым необходим сайт\nна собственном хостинге с полным доступом к коду UMI.CMS.","az_scripts.siteguide.scenarios.firstTime.firstTime_tour_#settings_link_title":"Настройки","az_scripts.siteguide.scenarios.firstTime.firstTime_tour_#settings_link_content":"Управляйте доступом к панели управления и персональной информацией.\nПроизводите резервное копирование и удаляйте временные файлы.","az_scripts.siteguide.scenarios.firstTime.firstTime_tour_#faqmessage_link_title":"Вопросы","az_scripts.siteguide.scenarios.firstTime.firstTime_tour_#faqmessage_link_content":"Обращайтесь к специалистам службы поддержки.","az_scripts.siteguide.scenarios.firstTime.firstTime_tour_#statistics_link_title":"Статистика","az_scripts.siteguide.scenarios.firstTime.firstTime_tour_#statistics_link_content":"Собирайте статистику вашего сайта, отслеживайте трафик и\nэффективность ваших вложений в рекламу.","az_scripts.siteguide.scenarios.firstTime.firstTime_tour_#exit_link_title":"","az_scripts.siteguide.scenarios.firstTime.firstTime_tour_#exit_link_content":"","stub_pages.browser_not_support.title":"Ведутся технические работы","stub_pages.browser_not_support.content":'
1<p class="the_end_p">В данный момент на сайте ведутся технические работы по обновлению системы.</p>\n\t\t\t\t\t\t<p class="the_end_p">Некоторое время сайт будет недоступен.<br/>Пожалуйста, зайдите немного позже.</p>\n\t\t\t\t\t\t<p>За подробной информацией обращайтесь по <a id="service_link" href="" target="_blank" title="">ссылке</a></p>',"stub_pages.exception.title":"Ведутся технические работы","stub_pages.exception.content":'<p class="the_end_p">В данный момент на сайте ведутся технические работы по обновлению системы.</p>\n\t\t\t\t\t\t<p class="the_end_p">Некоторое время сайт будет недоступен.<br/>Пожалуйста, зайдите немного позже.</p>\n\t\t\t\t\t\t<p>За подробной информацией обращайтесь по <a id="service_link" href="" target="_blank" title="">ссылке</a></p>',"stub_pages.install_completed.title":"Ведутся технические работы","stub_pages.install_completed.content":'<p class="the_end_p">В данный момент на сайте ведутся технические работы по обновлению системы.</p>\n\t\t\t\t\t\t<p class="the_end_p">Некоторое время сайт будет недоступен.<br/>Пожалуйста, зайдите немного позже.</p>\n\t\t\t\t\t\t<p>За подробной информацией обращайтесь по <a id="service_link" href="" target="_blank" title="">ссылке</a></p>',"stub_pages.invalid_domain.title":"Ведутся технические работы","stub_pages.invalid_domain.content":'<p class="the_end_p">В данный момент на сайте ведутся технические работы по обновлению системы.</p>\n\t\t\t\t\t\t<p class="the_end_p">Некоторое время сайт будет недоступен.<br/>Пожалуйста, зайдите немного позже.</p>\n\t\t\t\t\t\t<p>За подробной информацией обращайтесь по <a id="service_link" href="" target="_blank" title="">ссылке</a></p>',"stub_pages.invalid_license.title":"Ведутся технические работы","stub_pages.invalid_license.content":'<p class="the_end_p">В данный момент на сайте ведутся технические работы по обновлению системы.</p>\n\t\t\t\t\t\t<p class="the_end_p">Некоторое время сайт будет недоступен.<br/>Пожалуйста, зайдите немного позже.</p>\n\t\t\t\t\t\t<p>За подробной информацией обращайтесь по <a id="service_link" href="" target="_blank" title="">ссылке</a></p>',"stub_pages.invalid_permissions.title":"Ошибка: неверно установлены права доступа","stub_pages.invalid_permissions.content":'<p class="the_end_p">Невозможно обновить системную информацию.<br /> Вероятно, на некоторые системные файлы установлены некорректные права доступа.<br /><br />Если вы владелец этого сайта и вам требуется техническая поддержка, обратитесь обратитесь к своему хостинг-провайдеру<br/>или в <a href="http://www.umi-cms.ru/support/" title="" target="_blank">Службу Заботы</a> UMI.CMS.</p>',"stub_pages.license_restore.checking_license_key":"Проверка лицензионного ключа","stub_pages.license_restore.error_occurred":"Произошла ошибка при проверке лицензионного ключа.<br/>Если Вы являетесь владельцем сайта, обратитесь, пожалуйста, в службу заботы о клиентах.","stub_pages.license_restore.error_url":"http://errors.umi-cms.ru/16004/","
1stub_pages.license_restore.error_communicating_with_server":'Произошла ошибка при обращению к серверу.<br/>Попробуйте повторить попытку или обратиться в <a href=\\"http://www.umi-cms.ru/support/\\" target=\\"_blank\\">Службу Заботы</a> UMI.CMS.',"stub_pages.license_restore.error_license_key_not_specified":"Ошибка: лицензионный ключ не указан.","stub_pages.license_restore.wait_checking_license_key":"Проверка лицензионного ключа... Пожалуйста, подождите.","stub_pages.license_restore.error_label":"Ошибка: ","stub_pages.license_restore.invalid_response_from_server":"Ошибка: некорректный ответ сервера. Попробуйте повторить попытку.","stub_pages.license_restore.loading_test_package":"Загрузка пакета тестирования...","stub_pages.license_restore.try_again":'<br/><br/>Попробуйте повторить попытку или обратиться в <a href=\\"http://www.umi-cms.ru/support/\\" target=\\"_blank\\">Службу Заботы</a> UMI.CMS.',"stub_pages.license_restore.test_processing":"Выполняется тестирование...","stub_pages.license_restore.critical_error":"<b>Критическое нарушение системных требований:</b> <br/><br/>","stub_pages.license_restore.critical_error_info":' Информация об ошибке <a href="http://errors.umi-cms.ru/{code}/" target="_blank">{code}</a><br/>',"stub_pages.license_restore.activate_license":"Активация лицензии...","stub_pages.license_restore.license_info":'"Лицензия \\"{type}\\" активирована.<br />Владелец {owner_last_name} {owner_first_name} {owner_second_name} ({owner_email})<br />"',"stub_pages.mysql_failed.title":"Ведутся технические работы","stub_pages.mysql_failed.content":'<p class="the_end_p">В данный момент на сайте ведутся технические работы по обновлению системы.</p>\n\t\t\t\t\t\t<p class="the_end_p">Некоторое время сайт будет недоступен.<br/>Пожалуйста, зайдите немного позже.</p>\n\t\t\t\t\t\t<p>За подробной информацией обращайтесь по <a id="service_link" href="" target="_blank" title="">ссылке</a></p>',"stub_pages.no_design_template.title":"Ведутся технические работы","stub_pages.no_design_template.content":'<p class="the_end_p">В данный момент на сайте ведутся технические работы по обновлению системы.</p>\n\t\t\t\t\t\t<p class="the_end_p">Некоторое время сайт будет недоступен.<br/>Пожалуйста, зайдите немного позже.</p>\n\t\t\t\t\t\t<p>За подробной информацией обращайтесь по <a id="service_link" href="" target="_blank" title="">ссылке</a></p>',"stub_pages.stub.title":"Ведутся технические работы","stub_pages.stub.content":'<p class="the_end_p">В данный момент на сайте ведутся технические работы по обновлению системы.</p>\n\t\t\t\t\t\t<p class="the_end_p">Некоторое время сайт будет недоступен.<br/>Пожалуйста, зайдите немного позже.</p>\n\t\t\t\t\t\t<p>За подробной информацией обращайтесь по <a id="service_link" href="" target="_blank" title="">ссылке</a></p>',"stub_pages.trial_expired.title":"Ведутся технические работы","stub_pages.trial_expired.content":'<p class="the_end_p">В данный момент на сайте ведутся технические работы по обновлению системы.</p>\n\t\t\t\t\t\t<p class="the_end_p">Некоторое время сайт будет недоступен.<br/>Пожалуйста, зайдите немного позже.</p>\n\t\t\t\t\t\t<p>За подробной информацией обращайтесь по <a id="service_link" href="" target="_blank" title="">ссылке</a></p>',"stub_pages.xslt_failed.title":"Ведутся технические работы","stub_pages.xslt_failed.content":'
1<p class="the_end_p">В данный момент на сайте ведутся технические работы по обновлению системы.</p>\n\t\t\t\t\t\t<p class="the_end_p">Некоторое время сайт будет недоступен.<br/>Пожалуйста, зайдите немного позже.</p>\n\t\t\t\t\t\t<p>За подробной информацией обращайтесь по <a id="service_link" href="" target="_blank" title="">ссылке</a></p>',"cms_src.create.create_view_site_button":"Создать такой сайт","cms_src.create.user_agreement":"пользовательское соглашение","cms_src.create.need_hostname":"Вам необходимо указать название домена.","cms_src.create.need_agreement":'Вам необходимо принять "Пользовательское соглашение."',"cms_src.create.error_hostname":"Укажите адрес сайта. ","cms_src.create.error_email":"Укажите адрес электронной почты. ","cms_src.create.error_agreement":"Необходимо принять соглашение.","cms_src.create.error_pdn_rules":"Необходимо подтвердить ознакомление с правилами ПДн.","cms_src.create.host_not_free":"Сайт с таким именем уже существует","cms_src.pro_request.agreement":"Подтвердите, что ознакомлены с пользовательским соглашением и правилами обработки ПДн","cms_src.pro_request.phone":"Проверьте правильность заполнения номера телефона","cms_src.pro_request.email":"Проверьте правильность заполнения адреса электронной почты","cms_src.pro_request.empty":"Поле должно быть заполнено","blocked_stub.tools.site_blocked":"Сайт заблокирован","blocked_stub.tools.blocked_text":'Если вы являетесь администратором сайта,<br />оплатите размещение, и сайт включится автоматически.<br />О причине блокировки вы можете узнать по <a href="https://umi.ru/help/regulations/">ссылке</a>.<br /><br />',"blocked_stub.tools.cpu_blocked_text":'Размещение сайта было остановлено <br />по причине нарушения <a href="https://umi.ru/help/regulations/">правил сервиса</a>.<br /><br />',"blocked_stub.tools.button_text":"Оплатить размещение","blocked_stub.pages_notexists.title":"Сайт не существует","blocked_stub.pages_notexists.domain_not_attached":"Домен не подключен","blocked_stub.pages_notexists.text":'Если вы являетесь владельцем данного сайта,<br /> воспользуйтесь инструкцией для <a href="http://help-cms.ru/site_manager/domains/doment_connection/" target="_blank">привязки домена к своему сайту</a>,<br /> или обратитесь к своему поставщику услуг за подробной информацией.',"blocked_stub.pages_notexists.adserver_domain":"umi.ru"},i18n:function(e,t){if(void 0===this.data[e])return"";var i,n=this.data[e];for(i in t)n=n.replace(i,t[i]);return n}},__currentHostName="umi.ru",__currentPartnerId=0,loginzaProxy;function _api_call(a,e,t,i,n,s,c,o){var r=4,l=(null!=o?r=isNaN(parseInt(o))?"":o:parseInt(r)||(r=""),t),u=null==n||n,d=null!=s&&s?"POST":"GET";document.location.protocol;function p(e,t,i,n){if((n=n||{}).__CURRENT_HOSTNAME__||(n.__CURRENT_HOSTNAME__=__currentHostName),n.__CURRENT_PARTNER_ID__||(n.__CURRENT_PARTNER_ID__=__currentPartnerId),n.__FROM__||(n.__FROM__=document.location.hostname),"POST"==t){var s,t=(new Date).getTime(),o=jQuery("<form></form>");for(s in o.attr("id","postapi_form_"+t),o.css("display","none"),o.attr("action","/adminzone/proxyapi/?api="+a+"&_="+t),o.attr("target","postapi_iframe_"+t),o.attr("method","POST"),n)n[s]=n[s]+"",n[s]=n[s].replace(/\'/g,'"'),o.append("<input type='hidden' name='"+s+"' value='"+n[s]+"' />");var r=jQuery("<iframe></iframe>");r.css("display","none"),r.attr("id","postapi_iframe_"+t),r.attr("name","postapi_iframe_"+t),jQuery(document.body).append(o),jQuery(document.body).append(r),r.load(function(){var e=jQuery.parseJSON(jQuery(this).contents().find("body").text());i&&i(e),o.remove(),r.remove()}),o.submit()}else jQuery.ajax({url:e,dataType:"jsonp",data:n,crossDomain:!0,xhrFields:{withCredentials:!0},jsonp:"jsoncallback",success:i})}function f(s,o,r){p(_api_call.getResultUrl(r)+"?task="+s+"&api="+o,"get",function(e){var t,i,n;e.wait?setTimeout((t=s,i=o,n=r,function(){f(t,i,n)}),c):!1===e.auth?_api_error_auth(a):(e.errors&&e.errors.length&&u&&(_api_error_alert(e.errors,e.forceReAuth||!1),"function"==typeof reportError)&&reportError(e.errors.join(" "),"api_"+a),l&&l(e))})}function h(s,o,e){p(_api_call.getCallUrl(s,o),d,function(e){var t,i,n;null!=e.result&&null!=e.errors&&null==e.task?!1===e.auth?_api_error_auth(s):(e.errors&&e.errors.length&&u&&(_api_error_alert(e.errors,e.forceReAuth||!1),"function"==typeof reportError)&&reportError(e.errors.join(" "),"api_"+s),l&&l(e)):e.wait?(_api_error_log(["Дождитесь завершения предыдущей операции"]),l&&l(e)):setTimeout((t=e.task,i=s,n=o,function(){f(t,i,n)}),c)},e)}c=c||500,i&&i(),h(a,r,e)}function _api_call_server(e,t,i,n,s,o,r,a,c){_api_call(t,i,n,s,o,r,a,e)}function _api_error_alert(e,t){var i;"undefined"!=typeof dialogs?(i=dialogs.get())&&(t=t?function(){window.location.reload(!0)}:void 0,i.Alert({text:e.join("<br />"),width:"350"},t)):alert(e.join("\n"))}function _api_error_auth(e){for(var t=window.location.href.slice(window.location.href.indexOf("?")+1).split("&"),i=0;i<t.length;i++)if("exit"==(hash=t[i].split("="))[0]&&"true"==hash[1])return;jQuery("#loginFormWrapper").length?("function"==typeof window.showLoginWindow&&showLoginWindow(),_api_error_alert(["Превышен интервал бездействия.","Необходимо заново авторизоваться."])):0<window.top.document.location.href.indexOf("?")?-1==window.top.document.location.href.indexOf("session=fail")&&(window.top.document.location.href=window.top.document.location.href+"&session=fail"):window.top.document.location.href=window.top.document.location.href+"?session=fail"}function _api_error_log(e){e&&e.length&&_api_error_alert(e)}_api_call.getBaseUrl=function(e){e=void 0!==e?e:"4";return document.location.protocol+"//api"+e+".umi.ru/"},_api_call.getCallUrl=function(e,t){return _api_call.getBaseUrl(t)+e},_api_call.getResultUrl=function(e){return _api_call.getBaseUrl(e)+"result.php"},!function(_,w){function L(e){return k.isWindow(e)?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}function M(e){var t,i,n;return wi[e]||(t=b.body,n=(i=k("<"+e+">").appendTo(t)).css("display"),i.remove(),"none"!==n&&""!==n||(j||((j=b.createElement("iframe")).frameBorder=j.width=j.height=0),t.appendChild(j),O&&j.createElement||((O=(j.contentWindow||j.contentDocument).document).write((k.support.boxModel?"<!doctype html>":"")+"<html><body>"),O.close()),i=O.createElement(e),O.body.appendChild(i),n=k.css(i,"dis
1play"),t.removeChild(j)),wi[e]=n),wi[e]}function a(e,t){var i={};return k.each(Si.concat.apply([],Si.slice(0,t)),function(){i[this]=e}),i}function D(){mi=w}function F(){return setTimeout(D,0),mi=k.now()}function H(){try{return new _.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}function R(){try{return new _.XMLHttpRequest}catch(e){}}function q(e,t){e.dataFilter&&(t=e.dataFilter(t,e.dataType));for(var i,n,s,o,r,a,c,l=e.dataTypes,u={},d=l.length,p=l[0],f=1;f<d;f++){if(1===f)for(i in e.converters)"string"==typeof i&&(u[i.toLowerCase()]=e.converters[i]);if(s=p,"*"===(p=l[f]))p=s;else if("*"!==s&&s!==p){if(!(r=u[o=s+" "+p]||u["* "+p]))for(a in c=w,u)if(((n=a.split(" "))[0]===s||"*"===n[0])&&(c=u[n[1]+" "+p])){!0===(a=u[a])?r=c:!0===c&&(r=a);break}r||c||k.error("No conversion from "+o.replace(" "," to ")),!0!==r&&(t=r?r(t):c(a(t)))}}return t}function B(e,t,i){var n,s,o,r,a=e.contents,c=e.dataTypes,l=e.responseFields;for(s in l)s in i&&(t[l[s]]=i[s]);for(;"*"===c[0];)c.shift(),n===w&&(n=e.mimeType||t.getResponseHeader("content-type"));if(n)for(s in a)if(a[s]&&a[s].test(n)){c.unshift(s);break}if(c[0]in i)o=c[0];else{for(s in i){if(!c[0]||e.converters[s+" "+c[0]]){o=s;break}r=r||s}o=o||r}if(o)return o!==c[0]&&c.unshift(o),i[o]}function W(i,e,n,s){if(k.isArray(e))k.each(e,function(e,t){n||Jt.test(i)?s(i,t):W(i+"["+("object"==typeof t?e:"")+"]",t,n,s)});else if(n||"object"!==k.type(e))s(i,e);else for(var t in e)W(i+"["+t+"]",e[t],n,s)}function U(e,t){var i,n,s=k.ajaxSettings.flatOptions||{};for(i in t)t[i]!==w&&((s[i]?e:n=n||{})[i]=t[i]);n&&k.extend(!0,e,n)}function x(e,t,i,n,s,o){(o=o||{})[s=s||t.dataTypes[0]]=!0;for(var r,a=e[s],c=0,l=a?a.length:0,u=e===pi;c<l&&(u||!r);c++)"string"==typeof(r=a[c](t,i,n))&&(r=!u||o[r]?w:(t.dataTypes.unshift(r),x(e,t,i,n,r,o)));return r=!u&&r||o["*"]?r:x(e,t,i,n,"*",o)}function V(a){return function(e,t){if("string"!=typeof e&&(t=e,e="*"),k.isFunction(t))for(var i,n,s=e.toLowerCase().split(ci),o=0,r=s.length;o<r;o++)i=s[o],(n=/^\+/.test(i))&&(i=i.substr(1)||"*"),(a[i]=a[i]||[])[n?"unshift":"push"](t)}}function K(e,t,i){var n="width"===t?e.offsetWidth:e.offsetHeight,s="width"===t?1:0,o=4;if(0<n){if("border"!==i)for(;s<o;s+=2)i||(n-=parseFloat(k.css(e,"padding"+E[s]))||0),"margin"===i?n+=parseFloat(k.css(e,i+E[s]))||0:n-=parseFloat(k.css(e,"border"+E[s]+"Width"))||0}else{if(((n=z(e,t))<0||null==n)&&(n=e.style[t]),Kt.test(n))return n;if(n=parseFloat(n)||0,i)for(;s<o;s+=2)n+=parseFloat(k.css(e,"padding"+E[s]))||0,"padding"!==i&&(n+=parseFloat(k.css(e,"border"+E[s]+"Width"))||0),"margin"===i&&(n+=parseFloat(k.css(e,i+E[s]))||0)}return n+"px"}function Q(e){var t=b.createElement("div");return qt.appendChild(t),t.innerHTML=e.outerHTML,t.firstChild}function X(e){var t=(e.nodeName||"").toLowerCase();"input"===t?G(e):"script"!==t&&void 0!==e.getElementsByTagName&&k.grep(e.getElementsByTagName("input"),G)}function G(e){"checkbox"!==e.type&&"radio"!==e.type||(e.defaultChecked=e.checked)}function c(e){return void 0!==e.getElementsByTagName?e.getElementsByTagName("*"):void 0!==e.querySelectorAll?e.querySelectorAll("*"):[]}function Y(e,t){var i;1===t.nodeType&&(t.clearAttributes&&t.clearAttributes(),t.mergeAttributes&&t.mergeAttributes(e),"object"===(i=t.nodeName.toLowerCase())?t.outerHTML=e.outerHTML:"input"!==i||"checkbox"!==e.type&&"radio"!==e.type?"option"===i?t.selected=e.defaultSelected:"input"===i||"textarea"===i?t.defaultValue=e.defaultValue:"script"===i&&t.text!==e.text&&(t.text=e.text):(e.checked&&(t.defaultChecked=t.checked=e.checked),t.value!==e.value&&(t.value=e.value)),t.removeAttribute(k.expando),t.removeAttribute("_submit_attached"),t.removeAttribute("_change_attached"))}function J(e,t){if(1===t.nodeType&&k.hasData(e)){var i,n,s,e=k._data(e),o=k._data(t,e),r=e.events;if(r)for(i in delete o.handle,o.events={},r)for(n=0,s=r[i].length;n<s;n++)k.event.add(t,i,r[i][n]);o.data&&(o.data=k.extend({},o.data))}}function Z(e,t){return k.nodeName(e,"table")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function ee(e){var t=It.split("|"),i=e.createDocumentFragment();if(i.createElement)for(;t.length;)i.createElement(t.pop());return i}function te(e,i,n){if(i=i||0,k.isFunction(i))return k.grep(e,function(e,t){return!!i.call(e,t,e)===n});if(i.nodeType)return k.grep(e,function(e,t){return e===i===n});if("string"==typeof i){var t=k.grep(e,function(e){return 1===e.nodeType});if(Ct.test(i))return k.filter(i,t,!n);i=k.filter(i,t)}return k.grep(e,function(e,t){return 0<=k.inArray(e,i)===n})}function ie(e){return!e||!e.parentNode||11===e.parentNode.nodeType}function i(){return!0}function l(){return!1}function ne(e,t,i){var n=t+"defer",s=t+"queue",o=t+"mark",r=k._data(e,n);!r||"queue"!==i&&k._data(e,s)||"mark"!==i&&k._data(e,o)||setTimeout(function(){k._data(e,s)||k._data(e,o)||(k.removeData(e,n,!0),r.fire())},0)}function se(e){for(var t in e)if(("data"!==t||!k.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function oe(e,t,i){if(i===w&&1===e.nodeType){var n="data-"+t.replace(Me,"-$1").toLowerCase();if("string"==typeof(i=e.getAttribute(n))){try{i="true"===i||"false"!==i&&("null"===i?null:k.isNumeric(i)?+i:Le.test(i)?k.parseJSON(i):i)}catch(e){}k.data(e,t,i)}else i=w}return i}function re(e){for(var t=Ne[e]={},i=0,n=(e=e.split(/\s+/)).length;i<n;i++)t[e[i]]=!0;return t}var ae,t,n,d,ce,le,ue,de,pe,fe,he,ge,me,_e,ve,be,ye,we,xe,ke,Se,Ce,Te,s,o,r,$e,ze,Ie,b=_.document,e=_.navigator,Pe=_.location,k=(d=function(e,t){return new d.fn.init(e,t,ae)},ce=_.jQuery,le=_.$,ue=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,de=/\S/,pe=/^\s+/,fe=/\s+$/,he=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,ge=/^[\],:{}\s]*$/,me=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,_e=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,ve=/(?:^|:|,)(?:\s*\[)+/g,be=/(webkit)[ \/]([\w.]+)/,ye=/(opera)(?:.*version)?[ \/]([\w.]+)/,we=/(msie) ([\w.]+)/,xe=/(mozilla)(?:.*? rv:([\w.]+))?/,ke=/-([a-z]|[0-9])/gi,Se=/^-ms-/,Ce=function(e,t){return(t+"").toUpperCase()},e=e.userAgent,Te=Object.prototype.toString,s=Object.prototype.hasOwnProperty,o=Array.prototype.push,r=Array.prototype.slice,$e=String.prototype.trim,ze=Array.prototype.indexOf,Ie={},d.fn=d.prototype={constructor:d,init:function(e,t,i){var n,s,o;if(e)if(e.nodeType)this.context=this[0]=e,this.length=1;else if("body"===e&&!t&&b.body)this.context=b,this[0]=b.body,this.selector=e,this.length=1;else{if("string"!=typeof e)return d.isFunction(e)?i.ready(e):(e.selector!==w&&(this.selector=e.selector,this.context=e.context),d.makeArray(e,this));if(!(n="<"!==e.charAt(0)||">"!==e.charAt(e.length-1)||e.length<3?ue.exec(e):[null,e,null])||!n[1]&&t)return(!t||t.jquery?t||i:this.constructor(t)).find(e);if(n[1])return o=(t=t instanceof d?t[0]:t)?t.ownerDocument||t:b,(s=he.exec(e))?d.isPlainObject(t)?(e=[b.createElement(s[1])],d.fn.attr.call(e,t,!0)):e=[o.createElement(s[1])]:e=((s=d.buildFragment([n[1]],[o])).c
1acheable?d.clone(s.fragment):s.fragment).childNodes,d.merge(this,e);if((t=b.getElementById(n[2]))&&t.parentNode){if(t.id!==n[2])return i.find(e);this.length=1,this[0]=t}this.context=b,this.selector=e}return this},selector:"",jquery:"1.7.2",length:0,size:function(){return this.length},toArray:function(){return r.call(this,0)},get:function(e){return null==e?this.toArray():e<0?this[this.length+e]:this[e]},pushStack:function(e,t,i){var n=this.constructor();return d.isArray(e)?o.apply(n,e):d.merge(n,e),n.prevObject=this,n.context=this.context,"find"===t?n.selector=this.selector+(this.selector?" ":"")+i:t&&(n.selector=this.selector+"."+t+"("+i+")"),n},each:function(e,t){return d.each(this,e,t)},ready:function(e){return d.bindReady(),t.add(e),this},eq:function(e){return-1===(e=+e)?this.slice(e):this.slice(e,e+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(r.apply(this,arguments),"slice",r.call(arguments).join(","))},map:function(i){return this.pushStack(d.map(this,function(e,t){return i.call(e,t,e)}))},end:function(){return this.prevObject||this.constructor(null)},push:o,sort:[].sort,splice:[].splice},d.fn.init.prototype=d.fn,d.extend=d.fn.extend=function(){var e,t,i,n,s,o=arguments[0]||{},r=1,a=arguments.length,c=!1;for("boolean"==typeof o&&(c=o,o=arguments[1]||{},r=2),"object"==typeof o||d.isFunction(o)||(o={}),a===r&&(o=this,--r);r<a;r++)if(null!=(e=arguments[r]))for(t in e)s=o[t],o!==(i=e[t])&&(c&&i&&(d.isPlainObject(i)||(n=d.isArray(i)))?(s=n?(n=!1,s&&d.isArray(s)?s:[]):s&&d.isPlainObject(s)?s:{},o[t]=d.extend(c,s,i)):i!==w&&(o[t]=i));return o},d.extend({noConflict:function(e){return _.$===d&&(_.$=le),e&&_.jQuery===d&&(_.jQuery=ce),d},isReady:!1,readyWait:1,holdReady:function(e){e?d.readyWait++:d.ready(!0)},ready:function(e){if(!0===e&&!--d.readyWait||!0!==e&&!d.isReady){if(!b.body)return setTimeout(d.ready,1);(d.isReady=!0)!==e&&0<--d.readyWait||(t.fireWith(b,[d]),d.fn.trigger&&d(b).trigger("ready").off("ready"))}},bindReady:function(){if(!t){if(t=d.Callbacks("once memory"),"complete"===b.readyState)return setTimeout(d.ready,1);if(b.addEventListener)b.addEventListener("DOMContentLoaded",n,!1),_.addEventListener("load",d.ready,!1);else if(b.attachEvent){b.attachEvent("onreadystatechange",n),_.attachEvent("onload",d.ready);var e=!1;try{e=null==_.frameElement}catch(e){}b.documentElement.doScroll&&e&&Ee()}}},isFunction:function(e){return"function"===d.type(e)},isArray:Array.isArray||function(e){return"array"===d.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return null==e?String(e):Ie[Te.call(e)]||"object"},isPlainObject:function(e){if(!e||"object"!==d.type(e)||e.nodeType||d.isWindow(e))return!1;try{if(e.constructor&&!s.call(e,"constructor")&&!s.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(e){return!1}for(var t in e);return t===w||s.call(e,t)},isEmptyObject:function(e){for(var t in e)return!1;return!0},error:function(e){throw new Error(e)},parseJSON:function(e){return"string"==typeof e&&e?(e=d.trim(e),_.JSON&&_.JSON.parse?_.JSON.parse(e):ge.test(e.replace(me,"@").replace(_e,"]").replace(ve,""))?new Function("return "+e)():void d.error("Invalid JSON: "+e)):null},parseXML:function(e){if("string"!=typeof e||!e)return null;var t;try{_.DOMParser?t=(new DOMParser).parseFromString(e,"text/xml"):((t=new ActiveXObject("Microsoft.XMLDOM")).async="false",t.loadXML(e))}catch(e){t=w}return t&&t.documentElement&&!t.getElementsByTagName("parsererror").length||d.error("Invalid XML: "+e),t},noop:function(){},globalEval:function(e){e&&de.test(e)&&(_.execScript||function(e){_.eval.call(_,e)})(e)},camelCase:function(e){return e.replace(Se,"ms-").replace(ke,Ce)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toUpperCase()===t.toUpperCase()},each:function(e,t,i){var n,s=0,o=e.length,r=o===w||d.isFunction(e);if(i)if(r){for(n in e)if(!1===t.apply(e[n],i))break}else for(;s<o&&!1!==t.apply(e[s++],i););else if(r){for(n in e)if(!1===t.call(e[n],n,e[n]))break}else for(;
1s<o&&!1!==t.call(e[s],s,e[s++]););return e},trim:$e?function(e){return null==e?"":$e.call(e)}:function(e){return null==e?"":(e+"").replace(pe,"").replace(fe,"")},makeArray:function(e,t){var i,t=t||[];return null!=e&&(i=d.type(e),null==e.length||"string"===i||"function"===i||"regexp"===i||d.isWindow(e)?o.call(t,e):d.merge(t,e)),t},inArray:function(e,t,i){var n;if(t){if(ze)return ze.call(t,e,i);for(n=t.length,i=i?i<0?Math.max(0,n+i):i:0;i<n;i++)if(i in t&&t[i]===e)return i}return-1},merge:function(e,t){var i=e.length,n=0;if("number"==typeof t.length)for(var s=t.length;n<s;n++)e[i++]=t[n];else for(;t[n]!==w;)e[i++]=t[n++];return e.length=i,e},grep:function(e,t,i){var n=[];i=!!i;for(var s=0,o=e.length;s<o;s++)i!==!!t(e[s],s)&&n.push(e[s]);return n},map:function(e,t,i){var n,s,o=[],r=0,a=e.length;if(e instanceof d||a!==w&&"number"==typeof a&&(0<a&&e[0]&&e[a-1]||0===a||d.isArray(e)))for(;r<a;r++)null!=(n=t(e[r],r,i))&&(o[o.length]=n);else for(s in e)n=t(e[s],s,i),null!=n&&(o[o.length]=n);return o.concat.apply([],o)},guid:1,proxy:function(e,t){var i,n;return"string"==typeof t&&(n=e[t],t=e,e=n),d.isFunction(e)?(i=r.call(arguments,2),(n=function(){return e.apply(t,i.concat(r.call(arguments)))}).guid=e.guid=e.guid||n.guid||d.guid++,n):w},access:function(e,t,i,n,s,o,r){var a,c=null==i,l=0,u=e.length;if(i&&"object"==typeof i){for(l in i)d.access(e,t,l,i[l],1,o,n);s=1}else if(n!==w){if(a=r===w&&d.isFunction(n),t=c?a?(a=t,function(e,t,i){return a.call(d(e),i)}):(t.call(e,n),null):t)for(;l<u;l++)t(e[l],i,a?n.call(e[l],l,t(e[l],i)):n,r);s=1}return s?e:c?t.call(e):u?t(e[0],i):o},now:function(){return(new Date).getTime()},uaMatch:function(e){e=e.toLowerCase();e=be.exec(e)||ye.exec(e)||we.exec(e)||e.indexOf("compatible")<0&&xe.exec(e)||[];return{browser:e[1]||"",version:e[2]||"0"}},sub:function(){function i(e,t){return new i.fn.init(e,t)}d.extend(!0,i,this),i.superclass=this,i.fn=i.prototype=this(),(i.fn.constructor=i).sub=this.sub,i.fn.init=function(e,t){return t&&t instanceof d&&!(t instanceof i)&&(t=i(t)),d.fn.init.call(this,e,t,n)},i.fn.init.prototype=i.fn;var n=i(b);return i},browser:{}}),d.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(e,t){Ie["[object "+t+"]"]=t.toLowerCase()}),(e=d.uaMatch(e)).browser&&(d.browser[e.browser]=!0,d.browser.version=e.version),d.browser.webkit&&(d.browser.safari=!0),de.test(" ")&&(pe=/^[\s\xA0]+/,fe=/[\s\xA0]+$/),ae=d(b),b.addEventListener?n=function(){b.removeEventListener("DOMContentLoaded",n,!1),d.ready()}:b.attachEvent&&(n=function(){"complete"===b.readyState&&(b.detachEvent("onreadystatechange",n),d.ready())}),d),Ne={};function Ee(){if(!d.isReady){try{b.documentElement.doScroll("left")}catch(e){return void setTimeout(Ee,1)}d.ready()}}k.Callbacks=function(o){o=o?Ne[o]||re(o):{};var i,n,s,r,a,c,l=[],u=[],d=function(e){for(var t,i,n=0,s=e.length;n<s;n++)t=e[n],"array"===(i=k.type(t))?d(t):"function"!==i||o.unique&&f.has(t)||l.push(t)},p=function(e,t){for(t=t||[],i=!o.memory||[e,t],s=n=!0,c=r||0,r=0,a=l.length;l&&c<a;c++)if(!1===l[c].apply(e,t)&&o.stopOnFalse){i=!0;break}s=!1,l&&(o.once?!0===i?f.disable():l=[]:u&&u.length&&(i=u.shift(),f.fireWith(i[0],i[1])))},f={add:function(){var e;return l&&(e=l.length,d(arguments),s?a=l.length:i&&!0!==i&&(r=e,p(i[0],i[1]))),this},remove:function(){if(l)for(var e=arguments,t=0,i=e.length;t<i;t++)for(var n=0;n<l.length&&(e[t]!==l[n]||(s&&n<=a&&(a--,n<=c)&&c--,l.splice(n--,1),!o.unique));n++);return this},has:function(e){if(l)for(var t=0,i=l.length;t<i;t++)if(e===l[t])return!0;return!1},empty:function(){return l=[],this},disable:function(){return l=u=i=w,this},disabled:function(){return!l},lock:function(){return u=w,i&&!0!==i||f.disable(),this},locked:function(){return!u},fireWith:function(e,t){return u&&(s?o.once||u.push([e,t]):o.once&&i||p(e,t)),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!n}};return f};var u,Ae,je,Oe=[].slice,Le=(k.extend({Deferred:function(e){var t,i=k.Callbacks("once memory"),n=k.Callbacks("once memory"),s=k.Callbacks("memory"),o="pending",r={resolve:i,reject:n,notify:s},a={done:i.add,fail:n.add,progress:s.add,state:function(){return o},isResolved:i.fired,isRejected:n.fired,then:function(e,t,i){return c.done(e).fail(t).progress(i),this}
1,always:function(){return c.done.apply(c,arguments).fail.apply(c,arguments),this},pipe:function(e,t,i){return k.Deferred(function(o){k.each({done:[e,"resolve"],fail:[t,"reject"],progress:[i,"notify"]},function(e,t){var i,n=t[0],s=t[1];k.isFunction(n)?c[e](function(){(i=n.apply(this,arguments))&&k.isFunction(i.promise)?i.promise().then(o.resolve,o.reject,o.notify):o[s+"With"](this===c?o:this,[i])}):c[e](o[s])})}).promise()},promise:function(e){if(null==e)e=a;else for(var t in a)e[t]=a[t];return e}},c=a.promise({});for(t in r)c[t]=r[t].fire,c[t+"With"]=r[t].fireWith;return c.done(function(){o="resolved"},n.disable,s.lock).fail(function(){o="rejected"},i.disable,s.lock),e&&e.call(c,c),c},when:function(e){function t(t){return function(e){r[t]=1<arguments.length?Oe.call(arguments,0):e,c.notifyWith(l,r)}}function i(t){return function(e){n[t]=1<arguments.length?Oe.call(arguments,0):e,--a||c.resolveWith(c,n)}}var n=Oe.call(arguments,0),s=0,o=n.length,r=Array(o),a=o,c=o<=1&&e&&k.isFunction(e.promise)?e:k.Deferred(),l=c.promise();if(1<o){for(;s<o;s++)n[s]&&n[s].promise&&k.isFunction(n[s].promise)?n[s].promise().then(i(s),c.reject,t(s)):--a;a||c.resolveWith(c,n)}else c!==e&&c.resolveWith(c,o?[e]:[]);return l}}),k.support=function(){var c,e,t,i,n,l,s,o,u,d=b.createElement("div");b.documentElement;if(d.setAttribute("className","t"),d.innerHTML="   <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>",e=d.getElementsByTagName("*"),n=d.getElementsByTagName("a")[0],!e||!e.length||!n)return{};t=(e=b.createElement("select")).appendChild(b.createElement("option")),i=d.getElementsByTagName("input")[0],c={leadingWhitespace:3===d.firstChild.nodeType,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/top/.test(n.getAttribute("style")),hrefNormalized:"/a"===n.getAttribute("href"),opacity:/^0.55/.test(n.style.opacity),cssFloat:!!n.style.cssFloat,checkOn:"on"===i.value,optSelected:t.selected,getSetAttribute:"t"!==d.className,enctype:!!b.createElement("form").enctype,html5Clone:"<:nav></:nav>"!==b.createElement("nav").cloneNode(!0).outerHTML,submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,pixelMargin:!0},k.boxModel=c.boxModel="CSS1Compat"===b.compatMode,i.checked=!0,c.noCloneChecked=i.cloneNode(!0).checked,e.disabled=!0,c.optDisabled=!t.disabled;try{delete d.test}catch(e){c.deleteExpando=!1}if(!d.addEventListener&&d.attachEvent&&d.fireEvent&&(d.attachEvent("onclick",function(){c.noCloneEvent=!1}),d.cloneNode(!0).fireEvent("onclick")),(i=b.createElement("input")).value="t",i.setAttribute("type","radio"),c.radioValue="t"===i.value,i.setAttribute("checked","checked"),i.setAttribute("name","t"),d.appendChild(i),(n=b.createDocumentFragment()).appendChild(d.lastChild),c.checkClone=n.cloneNode(!0).cloneNode(!0).lastChild.checked,c.appendChecked=i.checked,n.removeChild(i),n.appendChild(d),d.attachEvent)for(o in{submit:1,change:1,focusin:1})s="on"+o,u=s in d,u||(d.setAttribute(s,"return;"),u="function"==typeof d[s]),c[o+"Bubbles"]=u;return n.removeChild(d),n=e=t=d=i=null,k(function(){var e,t,i,n,s,o,r,a=b.getElementsByTagName("body")[0];a&&(i=1,o=(r="padding:0;margin:0;border:")+"0;visibility:hidden;",n="<div "+(n="style='"+(s="position:absolute;top:0;left:0;width:1px;height:1px;")+r+"5px solid #000;")+"display:block;'><div style='"+r+"0;display:block;overflow:hidden;'></div></div><table "+n+"' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>",(e=b.createElement("div")).style.cssText=o+"width:0;height:0;position:static;top:0;margin-top:"+i+"px",a.insertBefore(e,a.firstChild),d=b.createElement("div"),e.appendChild(d),d.innerHTML="<table><tr><td style='"+r+"0;display:none'></td><td>t</td></tr></table>",l=d.getElementsByTagName("td"),u=0===l[0].offsetHeight,l[0].style.display="",l[1].style.display="none",c.reliableHiddenOffsets=u&&0===l[0].offsetHeight,_.getComputedStyle&&(d.innerHTML="",(t=b.createElement("div")).style.width="0",t.style.marginRight="0",d.style.width="2px",d.appendChild(t),c.reliableMarginRight=0===(parseInt((_.getComputedStyle(t,null)||{marginRight:0}).marginRight,10)||0)),void 0!==d.style.zoom&&(d.innerHTML="",d.style.width=d.style.padding="1px",d.style.border=0,d.style.overflow="hidden",d.style.display="inline",d.style.zoom=1,c.inlineBlockNeedsLayout=3===d.offsetWidth,d.style.display="block",d.style.overflow="visible",d.innerHTML="<div style='width:5px;'></div>",c.shrinkWrapBlocks=3!==d.offsetWidth),d.style.cssText=s+o,d.innerHTML=n,s=(r=d.firstChild).firstChild,o=r.nextSibling.firstChild.firstChild,n={doesNotAddBorder:5!==s.offsetTop,doesAddBorderForTableAndCells:5===o.offsetTop},s.style.position="fixed",s.style.top="20px",n.fixedPosition=20===s.offsetTop||15===s.offsetTop,s.style.position=s.style.top="",r.style.overflow="hidden",r.style.position="relative",n.subtractsBorderForOverflowNotVisible=-5===s.offsetTop,n.doesNotIncludeMarginInBodyOffset=a.offsetTop!==i,_.getComputedStyle&&(d.style.marginTop="1%",c.pixelMargin="1%"!==(_.getComputedStyle(d,null)||{marginTop:0}).marginTop),void 0!==e.style.zoom&&(e.style.zoom=1),a.removeChild(e),t=d=e=null,k.extend(c,n))}),c}(),/^(?:\{.*\}|\[.*\])$/),Me=/([A-Z])/g,De=(k.extend({cache:{},uuid:0,expando:"jQuery"+(k.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(e){return!!(e=e.nodeType?k.cache[e[k.expando]]:e[k.expando])&&!se(e)}
1,data:function(e,t,i,n){if(k.acceptData(e)){var s,o=k.expando,r="string"==typeof t,a=e.nodeType,c=a?k.cache:e,l=a?e[o]:e[o]&&o,u="events"===t;if(l&&c[l]&&(u||n||c[l].data)||!r||i!==w)return l||(a?e[o]=l=++k.uuid:l=o),c[l]||(c[l]={},a)||(c[l].toJSON=k.noop),"object"!=typeof t&&"function"!=typeof t||(n?c[l]=k.extend(c[l],t):c[l].data=k.extend(c[l].data,t)),o=e=c[l],n||(e.data||(e.data={}),e=e.data),i!==w&&(e[k.camelCase(t)]=i),u&&!e[t]?o.events:(r?null==(s=e[t])&&(s=e[k.camelCase(t)]):s=e,s)}},removeData:function(e,t,i){if(k.acceptData(e)){var n,s,o,r=k.expando,a=e.nodeType,c=a?k.cache:e,l=a?e[r]:r;if(c[l]){if(t&&(n=i?c[l]:c[l].data)){for((s=0,o=(t=k.isArray(t)?t:t in n||(t=k.camelCase(t))in n?[t]:t.split(" ")).length);s<o;s++)delete n[t[s]];if(!(i?se:k.isEmptyObject)(n))return}(i||(delete c[l].data,se(c[l])))&&(k.support.deleteExpando||!c.setInterval?delete c[l]:c[l]=null,a)&&(k.support.deleteExpando?delete e[r]:e.removeAttribute?e.removeAttribute(r):e[r]=null)}}},_data:function(e,t,i){return k.data(e,t,i,!0)},acceptData:function(e){if(e.nodeName){var t=k.noData[e.nodeName.toLowerCase()];if(t)return!0!==t&&e.getAttribute("classid")===t}return!0}}),k.fn.extend({data:function(i,e){var n,s,t,o,r,a=this[0],c=0,l=null;if(i!==w)return"object"==typeof i?this.each(function(){k.data(this,i)}):((n=i.split(".",2))[1]=n[1]?"."+n[1]:"",s=n[1]+"!",k.access(this,function(t){if(t===w)return(l=this.triggerHandler("getData"+s,[n[0]]))===w&&a&&(l=k.data(a,i),l=oe(a,i,l)),l===w&&n[1]?this.data(n[0]):l;n[1]=t,this.each(function(){var e=k(this);e.triggerHandler("setData"+s,n),k.data(this,i,t),e.triggerHandler("changeData"+s,n)})},null,e,1<arguments.length,null,!1));if(this.length&&(l=k.data(a),1===a.nodeType)&&!k._data(a,"parsedAttrs")){for(r=(t=a.attributes).length;c<r;c++)0===(o=t[c].name).indexOf("data-")&&(o=k.camelCase(o.substring(5)),oe(a,o,l[o]));k._data(a,"parsedAttrs",!0)}return l},removeData:function(e){return this.each(function(){k.removeData(this,e)})}}),k.extend({_mark:function(e,t){e&&k._data(e,t=(t||"fx")+"mark",(k._data(e,t)||0)+1)},_unmark:function(e,t,i){var n;!0!==e&&(i=t,t=e,e=!1),t&&(n=(i=i||"fx")+"mark",(e=e?0:(k._data(t,n)||1)-1)?k._data(t,n,e):(k.removeData(t,n,!0),ne(t,i,"mark")))},queue:function(e,t,i){var n;if(e)return n=k._data(e,t=(t||"fx")+"queue"),i&&(!n||k.isArray(i)?n=k._data(e,t,k.makeArray(i)):n.push(i)),n||[]},dequeue:function(e,t){t=t||"fx";var i=k.queue(e,t),n=i.shift(),s={};(n="inprogress"===n?i.shift():n)&&("fx"===t&&i.unshift("inprogress"),k._data(e,t+".run",s),n.call(e,function(){k.dequeue(e,t)},s)),i.length||(k.removeData(e,t+"queue "+t+".run",!0),ne(e,t,"queue"))}}),k.fn.extend({queue:function(t,i){var e=2;return"string"!=typeof t&&(i=t,t="fx",e--),arguments.length<e?k.queue(this[0],t):i===w?this:this.each(function(){var e=k.queue(this,t,i);"fx"===t&&"inprogress"!==e[0]&&k.dequeue(this,t)})},dequeue:function(e){return this.each(function(){k.dequeue(this,e)})},delay:function(n,e){return n=k.fx&&k.fx.speeds[n]||n,this.queue(e=e||"fx",function(e,t){var i=setTimeout(e,n);t.stop=function(){clearTimeout(i)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){function i(){--a||s.resolveWith(o,[o])}"string"!=typeof e&&(t=e,e=w),e=e||"fx";for(var n,s=k.Deferred(),o=this,r=o.length,a=1,c=e+"defer",l=e+"queue",u=e+"mark";r--;)(n=k.data(o[r],c,w,!0)||(k.data(o[r],l,w,!0)||k.data(o[r],u,w,!0))&&k.data(o[r],c,k.Callbacks("once memory"),!0))&&(a++,n.add(i));return i(),s.promise(t)}}),/[\n\t\r]/g),p=/\s+/,Fe=/\r/g,He=/^(?:button|input)$/i,Re=/^(?:button|input|object|select|textarea)$/i,qe=/^a(?:rea)?$/i,Be=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,We=k.support.getSetAttribute,Ue=(k.fn.extend({attr:function(e,t){return k.access(this,k.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){k.removeAttr(this,e)})},prop:function(e,t){return k.access(this,k.prop,e,t,1<arguments.length)},removeProp:function(e){return e=k.propFix[e]||e,this.each(function(){try{this[e]=w,delete this[e]}catch(e){}})},addClass:function(t){var e,i,n,s,o,r,a;
1if(k.isFunction(t))return this.each(function(e){k(this).addClass(t.call(this,e,this.className))});if(t&&"string"==typeof t)for(e=t.split(p),i=0,n=this.length;i<n;i++)if(1===(s=this[i]).nodeType)if(s.className||1!==e.length){for(o=" "+s.className+" ",r=0,a=e.length;r<a;r++)~o.indexOf(" "+e[r]+" ")||(o+=e[r]+" ");s.className=k.trim(o)}else s.className=t;return this},removeClass:function(t){var e,i,n,s,o,r,a;if(k.isFunction(t))return this.each(function(e){k(this).removeClass(t.call(this,e,this.className))});if(t&&"string"==typeof t||t===w)for(e=(t||"").split(p),i=0,n=this.length;i<n;i++)if(1===(s=this[i]).nodeType&&s.className)if(t){for(o=(" "+s.className+" ").replace(De," "),r=0,a=e.length;r<a;r++)o=o.replace(" "+e[r]+" "," ");s.className=k.trim(o)}else s.className="";return this},toggleClass:function(o,r){var a=typeof o,c="boolean"==typeof r;return k.isFunction(o)?this.each(function(e){k(this).toggleClass(o.call(this,e,this.className,r),r)}):this.each(function(){if("string"===a)for(var e,t=0,i=k(this),n=r,s=o.split(p);e=s[t++];)n=c?n:!i.hasClass(e),i[n?"addClass":"removeClass"](e);else"undefined"!==a&&"boolean"!==a||(this.className&&k._data(this,"__className__",this.className),this.className=!this.className&&!1!==o&&k._data(this,"__className__")||"")})},hasClass:function(e){for(var t=" "+e+" ",i=0,n=this.length;i<n;i++)if(1===this[i].nodeType&&-1<(" "+this[i].className+" ").replace(De," ").indexOf(t))return!0;return!1},val:function(i){var n,e,s,t=this[0];return arguments.length?(s=k.isFunction(i),this.each(function(e){var t=k(this);1===this.nodeType&&(null==(e=s?i.call(this,e,t.val()):i)?e="":"number"==typeof e?e+="":k.isArray(e)&&(e=k.map(e,function(e){return null==e?"":e+""})),(n=k.valHooks[this.type]||k.valHooks[this.nodeName.toLowerCase()])&&"set"in n&&n.set(this,e,"value")!==w||(this.value=e))})):t?(n=k.valHooks[t.type]||k.valHooks[t.nodeName.toLowerCase()])&&"get"in n&&(e=n.get(t,"value"))!==w?e:"string"==typeof(e=t.value)?e.replace(Fe,""):null==e?"":e:void 0}}),k.extend({valHooks:{option:{get:function(e){var t=e.attributes.value;return!t||t.specified?e.value:e.text}},select:{get:function(e){var t,i,n,s=e.selectedIndex,o=[],r=e.options,a="select-one"===e.type;if(s<0)return null;for(t=a?s:0,i=a?s+1:r.length;t<i;t++)if((n=r[t]).selected&&(k.support.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!k.nodeName(n.parentNode,"optgroup"))){if(n=k(n).val(),a)return n;o.push(n)}return a&&!o.length&&r.length?k(r[s]).val():o},set:function(e,t){var i=k.makeArray(t);return k(e).find("option").each(function(){this.selected=0<=k.inArray(k(this).val(),i)}),i.length||(e.selectedIndex=-1),i}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(e,t,i,n){var s,o,r=e.nodeType;if(e&&3!==r&&8!==r&&2!==r)return n&&t in k.attrFn?k(e)[t](i):void 0===e.getAttribute?k.prop(e,t,i):((n=1!==r||!k.isXMLDoc(e))&&(t=t.toLowerCase(),o=k.attrHooks[t]||(Be.test(t)?Ae:u)),i!==w?null===i?void k.removeAttr(e,t):o&&"set"in o&&n&&(s=o.set(e,i,t))!==w?s:(e.setAttribute(t,""+i),i):!(o&&"get"in o&&n&&null!==(s=o.get(e,t)))&&null===(s=e.getAttribute(t))?w:s)},removeAttr:function(e,t){var i,n,s,o,r,a=0;if(t&&1===e.nodeType)for(o=(n=t.toLowerCase().split(p)).length;a<o;a++)(s=n[a])&&(i=k.propFix[s]||s,(r=Be.test(s))||k.attr(e,s,""),e.removeAttribute(We?s:i),r)&&i in e&&(e[i]=!1)},attrHooks:{type:{set:function(e,t){var i;if(He.test(e.nodeName)&&e.parentNode)k.error("type property can't be changed");else if(!k.support.radioValue&&"radio"===t&&k.nodeName(e,"input"))return i=e.value,e.setAttribute("type",t),i&&(e.value=i),t}},value:{get:function(e,t){return u&&k.nodeName(e,"button")?u.get(e,t):t in e?e.value:null},set:function(e,t,i){if(u&&k.nodeName(e,"button"))return u.set(e,t,i);e.value=t}}},propFix:{tabindex:"tabIndex",readonly:"readOnly",for:"htmlFor",class:"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(e,t,i){var n,s,o=e.nodeType;if(e&&3!==o&&8!==o&&2!==o)return(1!==o||!k.isXMLDoc(e))&&(t=k.propFix[t]||t,s=k.propHooks[t]),i!==w?s&&"set"in s&&(n=s.set(e,i,t))!==w?n:e[t]=i:s&&"get"in s&&null!==(n=s.get(e,t))?n:e[t]},propHooks:{tabIndex:{get:function(e){var t=e.getAttributeNode("tabindex");return t&&t.specified?parseInt(t.value,10):Re.test(e.nodeName)||qe.test(e.nodeName)&&e.href?
10:w}}}}),k.attrHooks.tabindex=k.propHooks.tabIndex,Ae={get:function(e,t){var i=k.prop(e,t);return!0===i||"boolean"!=typeof i&&(i=e.getAttributeNode(t))&&!1!==i.nodeValue?t.toLowerCase():w},set:function(e,t,i){return!1===t?k.removeAttr(e,i):((t=k.propFix[i]||i)in e&&(e[t]=!0),e.setAttribute(i,i.toLowerCase())),i}},We||(je={name:!0,id:!0,coords:!0},u=k.valHooks.button={get:function(e,t){e=e.getAttributeNode(t);return e&&(je[t]?""!==e.nodeValue:e.specified)?e.nodeValue:w},set:function(e,t,i){var n=e.getAttributeNode(i);return n||(n=b.createAttribute(i),e.setAttributeNode(n)),n.nodeValue=t+""}},k.attrHooks.tabindex.set=u.set,k.each(["width","height"],function(e,i){k.attrHooks[i]=k.extend(k.attrHooks[i],{set:function(e,t){if(""===t)return e.setAttribute(i,"auto"),t}})}),k.attrHooks.contenteditable={get:u.get,set:function(e,t,i){u.set(e,t=""===t?"false":t,i)}}),k.support.hrefNormalized||k.each(["href","src","width","height"],function(e,t){k.attrHooks[t]=k.extend(k.attrHooks[t],{get:function(e){e=e.getAttribute(t,2);return null===e?w:e}})}),k.support.style||(k.attrHooks.style={get:function(e){return e.style.cssText.toLowerCase()||w},set:function(e,t){return e.style.cssText=""+t}}),k.support.optSelected||(k.propHooks.selected=k.extend(k.propHooks.selected,{get:function(e){e=e.parentNode;return e&&(e.selectedIndex,e.parentNode)&&e.parentNode.selectedIndex,null}})),k.support.enctype||(k.propFix.enctype="encoding"),k.support.checkOn||k.each(["radio","checkbox"],function(){k.valHooks[this]={get:function(e){return null===e.getAttribute("value")?"on":e.value}}}),k.each(["radio","checkbox"],function(){k.valHooks[this]=k.extend(k.valHooks[this],{set:function(e,t){if(k.isArray(t))return e.checked=0<=k.inArray(k(e).val(),t)}})}),/^(?:textarea|input|select)$/i),Ve=/^([^\.]*)?(?:\.(.+))?$/,Ke=/(?:^|\s)hover(\.\S+)?\b/,Qe=/^key/,Xe=/^(?:mouse|contextmenu)|click/,Ge=/^(?:focusinfocus|focusoutblur)$/,Ye=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,Je=function(e){e=Ye.exec(e);return e&&(e[1]=(e[1]||"").toLowerCase(),e[3]=e[3]&&new RegExp("(?:^|\\s)"+e[3]+"(?:\\s|$)")),e},Ze=function(e,t){var i=e.attributes||{};return(!t[1]||e.nodeName.toLowerCase()===t[1])&&(!t[2]||(i.id||{}).value===t[2])&&(!t[3]||t[3].test((i.class||{}).value))},et=function(e){return k.event.special.hover?e:e.replace(Ke,"mouseenter$1 mouseleave$1")};function tt(e,t,i,n,s,o){for(var r=0,a=n.length;r<a;r++)if(l=n[r]){for(var c=!1,l=l[e];l;){if(l[h]===i){c=n[l.sizset];break}if(1===l.nodeType)if(o||(l[h]=i,l.sizset=r),"string"!=typeof t){if(l===t){c=!0;break}}else if(0<v.filter(t,[l]).length){c=l;break}l=l[e]}n[r]=c}}function it(e,t,i,n,s,o){for(var r=0,a=n.length;r<a;r++)if(l=n[r]){for(var c=!1,l=l[e];l;){if(l[h]===i){c=n[l.sizset];break}if(1!==l.nodeType||o||(l[h]=i,l.sizset=r),l.nodeName.toLowerCase()===t){c=l;break}l=l[e]}n[r]=c}}k.event={add:function(e,t,i,n,s){var o,r,a,c,l,u,d,p,f,h;if(3!==e.nodeType&&8!==e.nodeType&&t&&i&&(o=k._data(e)))for(i.handler&&(i=(p=i).handler,s=p.selector),i.guid||(i.guid=k.guid++),(a=o.events)||(o.events=a={}),(r=o.handle)||(o.handle=r=function(e){return void 0===k||e&&k.event.triggered===e.type?w:k.event.dispatch.apply(r.elem,arguments)},r.elem=e),t=k.trim(et(t)).split(" "),c=0;c<t.length;c++)l=(d=Ve.exec(t[c])||[])[1],u=(d[2]||"").split(".").sort(),h=k.event.special[l]||{},l=(s?h.delegateType:h.bindType)||l,h=k.event.special[l]||{},d=k.extend({type:l,origType:d[1],data:n,handler:i,guid:i.guid,selector:s,quick:s&&Je(s),namespace:u.join(".")},p),(f=a[l])||((f=a[l]=[]).delegateCount=0,h.setup&&!1!==h.setup.call(e,n,u,r))||(e.addEventListener?e.addEventListener(l,r,!1):e.attachEvent&&e.attachEvent("on"+l,r)),h.add&&(h.add.call(e,d),d.handler.guid||(d.handler.guid=i.guid)),s?f.splice(f.delegateCount++,0,d):f.push(d),k.event.global[l]=!0},global:{},remove:function(e,t,i,n,s){var o,r,a,c,l,u,d,p,f,h,g,m=k.hasData(e)&&k._data(e);if(m&&(d=m.events)){for(t=k.trim(et(t||"")).split(" "),o=0;o<t.length;o++)if(r=a=(l=Ve.exec(t[o])||[])[1],c=l[2],r){for(p=k.event.special[r]||{},l=(h=d[r=(n?p.delegateType:p.bindType)||r]||[]).length,c=c?new RegExp("(^|\\.)"+c.split(".").sort().join("\\.(?:.*\\.)?")+"(\\.|$)"):null,u=0;u<h.length;u++)g=h[u],!s&&a!==g.origType||i&&i.guid!==g.guid||c&&!c.test(g.namespace)||n&&n!==g.selector&&("**"!==n||!g.selector)||(h.splice(u--,1),g.selector&&h.delegateCount--,!p.remove)||p.remove.call(e,g);0===h.length&&l!==h.length&&(p.teardown&&!1!==p.teardown.call(e,c)||k.removeEvent(e,r,m.handle),delete d[r])}else for(r in d)k.event.remove(e,r+t[o],i,n,!0);k.isEmptyObject(d)&&((f=m.handle)&&(f.elem=null),k.removeData(e,["events","handle"],!0))}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(e,t,i,n){if(!i||3!==i.nodeType&&8!==i.nodeType){var s,o,r,a,c,l,u,d,p,f=e.type||e,h=[];if(!Ge.test(f+k.event.triggered)&&(0<=f.indexOf("!")&&(f=f.slice(0,-1),l=!0),0<=f.indexOf(".")&&(f=(h=f.split(".")).shift(),h.sort()),i&&!k.event.customEvent[f]||k.event.global[f]))if((e="object"==typeof e?e[k.expando]?e:new k.Event(f,e):new k.Event(f)).type=f,e.isTrigger=!0,e.exclusive=l,e.namespace=h.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,c=f.indexOf(":")<0?"on"+f:"",i){if(e.result=w,e.target||(e.target=i),(t=null!=t?k.makeArray(t):[]).unshift(e),!(l=k.event.special[f]||{}).trigger||!1!==l.trigger.apply(i,t)){if(d=[[i,l.bindType||f]],!n&&!l.noBubble&&!k.isWindow(i)){for(p=l.delegateType||f,r=Ge.test(p+f)?i:i.parentNode,a=null;r;r=r.parentNode)d.push([r,p]),a=r;a&&a===i.ownerDocument&&d.push([a.defaultView||a.parentWindow||_,p])}for(o=0;o<d.length&&!e.isPropagationStopped();o++)r=d[o][0],e.type=d[o][1],(u=(k._data(r,"events")||{})[e.type]&&k._data(r,"handle"))&&u.apply(r,t),(u=c&&r[c])&&k.acceptData(r)&&!1===u.apply(r,t)&&e.preventDefault();return e.type=f,!(n||e.isDefaultPrevented()||l._default&&!1!==l._default.apply(i.ownerDocument,t)||"click"===f&&k.nodeName(i,"a"))&&k.acceptData(i)&&c&&i[f]&&("focus"!==f&&"blur"!==f||0!==e.target.offsetWidth)&&!k.isWindow(i)&&((a=i[c])&&(i[c]=null),i[k.event.triggered=f](),k.event.triggered=w,a)&&(i[c]=a),e.result}}else for(o in s=k.cache)s[o].events&&s[o].events[f]&&k.event.trigger(e,t,s[o].handle.elem,!0)}},dispatch:function(e){e=k.event.fix(e||_.event);var t,i,n,s,o,r,a,c,l,u,d=(k._data(this,"events")||{})[e.type]||[],p=d.delegateCount,f=[].slice.call(arguments,0),h=!e.exclusive&&!e.namespace,g=k.event.special[e.type]||{},m=[];
1if((f[0]=e).delegateTarget=this,!g.preDispatch||!1!==g.preDispatch.call(this,e)){if(p&&(!e.button||"click"!==e.type))for((s=k(this)).context=this.ownerDocument||this,n=e.target;n!=this;n=n.parentNode||this)if(!0!==n.disabled){for(r={},c=[],s[0]=n,t=0;t<p;t++)r[u=(l=d[t]).selector]===w&&(r[u]=l.quick?Ze(n,l.quick):s.is(u)),r[u]&&c.push(l);c.length&&m.push({elem:n,matches:c})}for(d.length>p&&m.push({elem:this,matches:d.slice(p)}),t=0;t<m.length&&!e.isPropagationStopped();t++)for(a=m[t],e.currentTarget=a.elem,i=0;i<a.matches.length&&!e.isImmediatePropagationStopped();i++)l=a.matches[i],(h||!e.namespace&&!l.namespace||e.namespace_re&&e.namespace_re.test(l.namespace))&&(e.data=l.data,e.handleObj=l,(o=((k.event.special[l.origType]||{}).handle||l.handler).apply(a.elem,f))!==w)&&!1===(e.result=o)&&(e.preventDefault(),e.stopPropagation());return g.postDispatch&&g.postDispatch.call(this,e),e.result}},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var i,n,s=t.button,o=t.fromElement;return null==e.pageX&&null!=t.clientX&&(i=(n=e.target.ownerDocument||b).documentElement,n=n.body,e.pageX=t.clientX+(i&&i.scrollLeft||n&&n.scrollLeft||0)-(i&&i.clientLeft||n&&n.clientLeft||0),e.pageY=t.clientY+(i&&i.scrollTop||n&&n.scrollTop||0)-(i&&i.clientTop||n&&n.clientTop||0)),!e.relatedTarget&&o&&(e.relatedTarget=o===e.target?t.toElement:o),e.which||s===w||(e.which=1&s?1:2&s?3:4&s?2:0),e}},fix:function(e){if(e[k.expando])return e;var t,i,n=e,s=k.event.fixHooks[e.type]||{},o=s.props?this.props.concat(s.props):this.props;for(e=k.Event(n),t=o.length;t;)e[i=o[--t]]=n[i];return e.target||(e.target=n.srcElement||b),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey===w&&(e.metaKey=e.ctrlKey),s.filter?s.filter(e,n):e},special:{ready:{setup:k.bindReady},load:{noBubble:!0},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(e,t,i){k.isWindow(this)&&(this.onbeforeunload=i)},teardown:function(e,t){this.onbeforeunload===t&&(this.onbeforeunload=null)}}},simulate:function(e,t,i,n){e=k.extend(new k.Event,i,{type:e,isSimulated:!0,originalEvent:{}});n?k.event.trigger(e,null,t):k.event.dispatch.call(t,e),e.isDefaultPrevented()&&i.preventDefault()}},k.event.handle=k.event.dispatch,k.removeEvent=b.removeEventListener?function(e,t,i){e.removeEventListener&&e.removeEventListener(t,i,!1)}:function(e,t,i){e.detachEvent&&e.detachEvent("on"+t,i)},k.Event=function(e,t){if(!(this instanceof k.Event))return new k.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||!1===e.returnValue||e.getPreventDefault&&e.getPreventDefault()?i:l):this.type=e,t&&k.extend(this,t),this.timeStamp=e&&e.timeStamp||k.now(),this[k.expando]=!0},k.Event.prototype={preventDefault:function(){this.isDefaultPrevented=i;var e=this.originalEvent;e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=i;var e=this.originalEvent;e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=i,this.stopPropagation()},isDefaultPrevented:l,isPropagationStopped:l,isImmediatePropagationStopped:l}
1,k.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,o){k.event.special[e]={delegateType:o,bindType:o,handle:function(e){var t,i=this,n=e.relatedTarget,s=e.handleObj;s.selector;return n&&(n===i||k.contains(i,n))||(e.type=s.origType,t=s.handler.apply(this,arguments),e.type=o),t}}}),k.support.submitBubbles||(k.event.special.submit={setup:function(){if(k.nodeName(this,"form"))return!1;k.event.add(this,"click._submit keypress._submit",function(e){e=e.target,e=k.nodeName(e,"input")||k.nodeName(e,"button")?e.form:w;e&&!e._submit_attached&&(k.event.add(e,"submit._submit",function(e){e._submit_bubble=!0}),e._submit_attached=!0)})},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode)&&!e.isTrigger&&k.event.simulate("submit",this.parentNode,e,!0)},teardown:function(){if(k.nodeName(this,"form"))return!1;k.event.remove(this,"._submit")}}),k.support.changeBubbles||(k.event.special.change={setup:function(){if(Ue.test(this.nodeName))return"checkbox"!==this.type&&"radio"!==this.type||(k.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0)}),k.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1,k.event.simulate("change",this,e,!0))})),!1;k.event.add(this,"beforeactivate._change",function(e){e=e.target;Ue.test(e.nodeName)&&!e._change_attached&&(k.event.add(e,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||k.event.simulate("change",this.parentNode,e,!0)}),e._change_attached=!0)})},handle:function(e){var t=e.target;if(this!==t||e.isSimulated||e.isTrigger||"radio"!==t.type&&"checkbox"!==t.type)return e.handleObj.handler.apply(this,arguments)},teardown:function(){return k.event.remove(this,"._change"),Ue.test(this.nodeName)}}),k.support.focusinBubbles||k.each({focus:"focusin",blur:"focusout"},function(e,t){var i=0,n=function(e){k.event.simulate(t,e.target,k.event.fix(e),!0)};k.event.special[t]={setup:function(){0==i++&&b.addEventListener(e,n,!0)},teardown:function(){0==--i&&b.removeEventListener(e,n,!0)}}}),k.fn.extend({on:function(e,t,i,n,s){var o,r;if("object"==typeof e){for(r in"string"!=typeof t&&(i=i||t,t=w),e)this.on(r,t,i,e[r],s);return this}if(null==i&&null==n?(n=t,i=t=w):null==n&&("string"==typeof t?(n=i,i=w):(n=i,i=t,t=w)),!1===n)n=l;else if(!n)return this;return 1===s&&(o=n,(n=function(e){return k().off(e),o.apply(this,arguments)}).guid=o.guid||(o.guid=k.guid++)),this.each(function(){k.event.add(this,e,n,i,t)})},one:function(e,t,i,n){return this.on(e,t,i,n,1)},off:function(e,t,i){var n;if(e&&e.preventDefault&&e.handleObj)n=e.handleObj,k(e.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler);else{if("object"!=typeof e)return!1!==t&&"function"!=typeof t||(i=t,t=w),!1===i&&(i=l),this.each(function(){k.event.remove(this,e,i,t)});for(var s in e)this.off(s,t,e[s])}return this},bind:function(e,t,i){return this.on(e,null,t,i)},unbind:function(e,t){return this.off(e,null,t)},live:function(e,t,i){return k(this.context).on(e,this.selector,t,i),this},die:function(e,t){return k(this.context).off(e,this.selector||"**",t),this},delegate:function(e,t,i,n){return this.on(t,e,i,n)},undelegate:function(e,t,i){return 1==arguments.length?this.off(e,"**"):this.off(t,e,i)},trigger:function(e,t){return this.each(function(){k.event.trigger(e,t,this)})},triggerHandler:function(e,t){if(this[0])return k.event.trigger(e,t,this[0],!0)},toggle:function(i){var n=arguments,e=i.guid||k.guid++,s=0,t=function(e){var t=(k._data(this,"lastToggle"+i.guid)||0)%s;return k._data(this,"lastToggle"+i.guid,t+1),e.preventDefault(),n[t].apply(this,arguments)||!1};for(t.guid=e;s<n.length;)n[s++].guid=e;return this.click(t)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),k.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,i){k.fn[i]=function(e,t){return null==t&&(t=e,e=null),0<arguments.length?this.on(i,null,e,t):this.trigger(i)},k.attrFn&&(k.attrFn[i]=!0),Qe.test(i)&&(k.event.fixHooks[i]=k.event.keyHooks),Xe.test(i)&&(k.event.fixHooks[i]=k.event.mouseHooks)});var f,nt=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,h="sizcache"+(Math.random()+"").replace(".",""),st=0,ot=Object.prototype.toString,g=!1,rt=!0,m=/\\/g,at=/\r\n/g,ct=/\W/,v=([0,0].sort(function(){return rt=!1,0}),function(e,t,i,n){i=i||[];var s=t=t||b;if(1!==t.nodeType&&9!==t.nodeType)return[];if(e&&"string"==typeof e){var o,r,a,c,l,u,d,p,f=!0,h=v.isXML(t),g=[],m=e;
1do{if(nt.exec(""),(o=nt.exec(m))&&(m=o[3],g.push(o[1]),o[2])){c=o[3];break}}while(o);if(1<g.length&&ut.exec(e))if(2===g.length&&y.relative[g[0]])r=wt(g[0]+g[1],t,n);else for(r=y.relative[g[0]]?[t]:v(g.shift(),t);g.length;)e=g.shift(),y.relative[e]&&(e+=g.shift()),r=wt(e,r,n);else if(t=!n&&1<g.length&&9===t.nodeType&&!h&&y.match.ID.test(g[0])&&!y.match.ID.test(g[g.length-1])?((l=v.find(g.shift(),t,h)).expr?v.filter(l.expr,l.set):l.set)[0]:t)for(r=(l=n?{expr:g.pop(),set:T(n)}:v.find(g.pop(),1!==g.length||"~"!==g[0]&&"+"!==g[0]||!t.parentNode?t:t.parentNode,h)).expr?v.filter(l.expr,l.set):l.set,0<g.length?a=T(r):f=!1;g.length;)d=u=g.pop(),y.relative[u]?d=g.pop():u="",null==d&&(d=t),y.relative[u](a,d,h);else a=g=[];if((a=a||r)||v.error(u||e),"[object Array]"===ot.call(a))if(f)if(t&&1===t.nodeType)for(p=0;null!=a[p];p++)a[p]&&(!0===a[p]||1===a[p].nodeType&&v.contains(t,a[p]))&&i.push(r[p]);else for(p=0;null!=a[p];p++)a[p]&&1===a[p].nodeType&&i.push(r[p]);else i.push.apply(i,a);else T(a,i);c&&(v(c,s,i,n),v.uniqueSort(i))}return i}),lt=(v.uniqueSort=function(e){if(pt&&(g=rt,e.sort(pt),g))for(var t=1;t<e.length;t++)e[t]===e[t-1]&&e.splice(t--,1);return e},v.matches=function(e,t){return v(e,null,null,t)},v.matchesSelector=function(e,t){return 0<v(t,null,null,[e]).length},v.find=function(e,t,i){var n,s,o,r,a,c;if(!e)return[];for(s=0,o=y.order.length;s<o;
1s++)if(a=y.order[s],(r=y.leftMatch[a].exec(e))&&(c=r[1],r.splice(1,1),"\\"!==c.substr(c.length-1))&&(r[1]=(r[1]||"").replace(m,""),null!=(n=y.find[a](r,t,i)))){e=e.replace(y.match[a],"");break}return{set:n=n||(void 0!==t.getElementsByTagName?t.getElementsByTagName("*"):[]),expr:e}},v.filter=function(e,t,i,n){for(var s,o,r,a,c,l,u,d,p,f=e,h=[],g=t,m=t&&t[0]&&v.isXML(t[0]);e&&t.length;){for(r in y.filter)if(null!=(s=y.leftMatch[r].exec(e))&&s[2]){if(l=y.filter[r],u=s[1],o=!1,s.splice(1,1),"\\"===u.substr(u.length-1))continue;if(g===h&&(h=[]),y.preFilter[r])if(s=y.preFilter[r](s,g,i,h,n,m)){if(!0===s)continue}else o=a=!0;if(s)for(d=0;null!=(c=g[d]);d++)c&&(p=n^(a=l(c,s,d,g)),i&&null!=a?p?o=!0:g[d]=!1:p&&(h.push(c),o=!0));if(a!==w){if(i||(g=h),e=e.replace(y.match[r],""),o)break;return[]}}if(e===f){if(null!=o)break;v.error(e)}f=e}return g},v.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},v.getText=function(e){var t,i,n=e.nodeType,s="";if(n){if(1===n||9===n||11===n){if("string"==typeof e.textContent)return e.textContent;if("string"==typeof e.innerText)return e.innerText.replace(at,"");for(e=e.firstChild;e;e=e.nextSibling)s+=lt(e)}else if(3===n||4===n)return e.nodeValue}else for(t=0;i=e[t];t++)8!==i.nodeType&&(s+=lt(i));return s}),y=v.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{class:"className",for:"htmlFor"},attrHandle:{href:function(e){return e.getAttribute("href")},type:function(e){return e.getAttribute("type")}},relative:{"+":function(e,t){var i="string"==typeof t,n=i&&!ct.test(t),s=i&&!n;n&&(t=t.toLowerCase());for(var o,r=0,a=e.length;r<a;r++)if(o=e[r]){for(;(o=o.previousSibling)&&1!==o.nodeType;);e[r]=s||o&&o.nodeName.toLowerCase()===t?o||!1:o===t}s&&v.filter(t,e,!0)},">":function(e,t){var i,n,s="string"==typeof t,o=0,r=e.length;if(s&&!ct.test(t))for(t=t.toLowerCase();o<r;o++)(n=e[o])&&(i=n.parentNode,e[o]=i.nodeName.toLowerCase()===t&&i);else{for(;o<r;o++)(n=e[o])&&(e[o]=s?n.parentNode:n.parentNode===t);s&&v.filter(t,e,!0)}},"":function(e,t,i){var n,s=st++,o=tt;"string"!=typeof t||ct.test(t)||(n=t=t.toLowerCase(),o=it),o("parentNode",t,s,e,n,i)},"~":function(e,t,i){var n,s=st++,o=tt;"string"!=typeof t||ct.test(t)||(n=t=t.toLowerCase(),o=it),o("previousSibling",t,s,e,n,i)}},find:{ID:function(e,t,i){if(void 0!==t.getElementById&&!i)return(i=t.getElementById(e[1]))&&i.parentNode?[i]:[]},NAME:function(e,t){if(void 0!==t.getElementsByName){for(var i=[],n=t.getElementsByName(e[1]),s=0,o=n.length;s<o;s++)n[s].getAttribute("name")===e[1]&&i.push(n[s]);return 0===i.length?null:i}},TAG:function(e,t){if(void 0!==t.getElementsByTagName)return t.getElementsByTagName(e[1])}},preFilter:{CLASS:function(e,t,i,n,s,o){if(e=" "+e[1].replace(m,"")+" ",o)return e;for(var r,a=0;null!=(r=t[a]);a++)r&&(s^(r.className&&0<=(" "+r.className+" ").replace(/[\t\n\r]/g," ").indexOf(e))?i||n.push(r):i&&(t[a]=!1));return!1},ID:function(e){return e[1].replace(m,"")},TAG:function(e,t){return e[1].replace(m,"").toLowerCase()},CHILD:function(e){var t;return"nth"===e[1]?(e[2]||v.error(e[0]),e[2]=e[2].replace(/^\+|\s*/g,""),t=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(("even"===e[2]?"2n":"odd"===e[2]&&"2n+1")||!/\D/.test(e[2])&&"0n+"+e[2]||e[2]),e[2]=+(t[1]+(t[2]||1)),e[3]=+t[3]):e[2]&&v.error(e[0]),e[0]=st++,e},ATTR:function(e,t,i,n,s,o){var r=e[1]=e[1].replace(m,"");return!o&&y.attrMap[r]&&(e[1]=y.attrMap[r]),e[4]=(e[4]||e[5]||"").replace(m,""),"~="===e[2]&&(e[4]=" "+e[4]+" "),e},PSEUDO:function(e,t,i,n,s){if("not"===e[1]){if(!(1<(nt.exec(e[3])||"").length||/^\w/.test(e[3])))return s=v.filter(e[3],t,i,!0^s),i||n.push.apply(n,s),!1;e[3]=v(e[3],null,null,t)}else if(y.match.POS.test(e[0])||y.match.CHILD.test(e[0]))return!0;return e},POS:function(e){return e.unshift(!0),e}}
1,filters:{enabled:function(e){return!1===e.disabled&&"hidden"!==e.type},disabled:function(e){return!0===e.disabled},checked:function(e){return!0===e.checked},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},parent:function(e){return!!e.firstChild},empty:function(e){return!e.firstChild},has:function(e,t,i){return!!v(i[3],e).length},header:function(e){return/h\d/i.test(e.nodeName)},text:function(e){var t=e.getAttribute("type"),i=e.type;return"input"===e.nodeName.toLowerCase()&&"text"===i&&(t===i||null===t)},radio:function(e){return"input"===e.nodeName.toLowerCase()&&"radio"===e.type},checkbox:function(e){return"input"===e.nodeName.toLowerCase()&&"checkbox"===e.type},file:function(e){return"input"===e.nodeName.toLowerCase()&&"file"===e.type},password:function(e){return"input"===e.nodeName.toLowerCase()&&"password"===e.type},submit:function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&"submit"===e.type},image:function(e){return"input"===e.nodeName.toLowerCase()&&"image"===e.type},reset:function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&"reset"===e.type},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},input:function(e){return/input|select|textarea|button/i.test(e.nodeName)},focus:function(e){return e===e.ownerDocument.activeElement}},setFilters:{first:function(e,t){return 0===t},last:function(e,t,i,n){return t===n.length-1},even:function(e,t){return t%2==0},odd:function(e,t){return t%2==1},lt:function(e,t,i){return t<+i[3]},gt:function(e,t,i){return t>+i[3]},nth:function(e,t,i){return+i[3]===t},eq:function(e,t,i){return+i[3]===t}},filter:{PSEUDO:function(e,t,i,n){var s=t[1],o=y.filters[s];if(o)return o(e,i,t,n);if("contains"===s)return 0<=(e.textContent||e.innerText||lt([e])||"").indexOf(t[3]);if("not"===s){for(var r=t[3],a=0,c=r.length;a<c;a++)if(r[a]===e)return!1;return!0}v.error(s)},CHILD:function(e,t){var i,n,s,o,r,a=t[1],c=e;switch(a){case"only":case"first":for(;c=c.previousSibling;)if(1===c.nodeType)return!1;if("first"===a)return!0;c=e;case"last":for(;c=c.nextSibling;)if(1===c.nodeType)return!1;return!0;case"nth":if(i=t[2],n=t[3],1===i&&0===n)return!0;if(s=t[0],(r=e.parentNode)&&(r[h]!==s||!e.nodeIndex)){for(o=0,c=r.firstChild;c;c=c.nextSibling)1===c.nodeType&&(c.nodeIndex=++o);r[h]=s}return r=e.nodeIndex-n,0===i?0===r:r%i==0&&0<=r/i}},ID:function(e,t){return 1===e.nodeType&&e.getAttribute("id")===t},TAG:function(e,t){return"*"===t&&1===e.nodeType||!!e.nodeName&&e.nodeName.toLowerCase()===t},CLASS:function(e,t){return-1<(" "+(e.className||e.getAttribute("class"))+" ").indexOf(t)},ATTR:function(e,t){var i=t[1],e=v.attr?v.attr(e,i):y.attrHandle[i]?y.attrHandle[i](e):null!=e[i]?e[i]:e.getAttribute(i),i=e+"",n=t[2],t=t[4];return null==e?"!="===n:!n&&v.attr?null!=e:"="===n?i===t:"*="===n?0<=i.indexOf(t):"~="===n?0<=(" "+i+" ").indexOf(t):t?"!="===n?i!==t:"^="===n?0===i.indexOf(t):"$="===n?i.substr(i.length-t.length)===t:"|="===n&&(i===t||i.substr(0,t.length+1)===t+"-"):i&&!1!==e},POS:function(e,t,i,n){var s=t[2],s=y.setFilters[s];if(s)return s(e,i,t,n)}}},ut=y.match.POS,dt=function(e,t){return"\\"+(+t+1)};for(f in y.match)y.match[f]=new RegExp(y.match[f].source+/(?![^\[]*\])(?![^\(]*\))/.source),y.leftMatch[f]=new RegExp(/(^(?:.|\r|\n)*?)/.source+y.match[f].source.replace(/\\(\d+)/g,dt));y.match.globalPOS=ut;var pt,S,C,T=function(e,t){return e=Array.prototype.slice.call(e,0),t?(t.push.apply(t,e),t):e};try{Array.prototype.slice.call(b.documentElement.childNodes,0)[0].nodeType}catch(e){T=function(e,t){var i=0,n=t||[];if("[object Array]"===ot.call(e))Array.prototype.push.apply(n,e);else if("number"==typeof e.length)for(var s=e.length;i<s;i++)n.push(e[i]);else for(;e[i];i++)n.push(e[i]);return n}}if(b.documentElement.compareDocumentPosition?pt=function(e,t){return e===t?(g=!0,0):e.compareDocumentPosition&&t.compareDocumentPosition?4&e.compareDocumentPosition(t)?-1:1:e.compareDocumentPosition?-1:1}:(pt=function(e,t){if(e===t)return g=!0,0;if(e.sourceIndex&&t.sourceIndex)return e.sourceIndex-t.sourceIndex;var i=[],n=[],s=e.parentNode,o=t.parentNode,r=s;if(s===o)return S(e,t);if(!s)return-1;if(!o)return 1;for(;r;)i.unshift(r),r=r.parentNode;for(r=o;r;)n.unshift(r),r=r.parentNode;for(var a=i.length,c=n.length,l=0;l<a&&l<c;l++)if(i[l]!==n[l])return S(i[l],n[l]);return l===a?S(e,n[l],-1):S(i[l],t,1)},S=function(e,t,i){if(e===t)return i;for(var n=e.nextSibling;n;){if(n===t)return-1;n=n.nextSibling}return 1}),e=b.createElement("div"),C="script"+(new Date).getTime(),$=b.documentElement,e.innerHTML="<a name='"+C+"'/>",$.insertBefore(e,$.firstChild),b.getElementById(C)&&(y.find.ID=function(e,t,i){if(void 0!==t.getElementById&&!i)return(i=t.getElementById(e[1]))?i.id===e[1]||void 0!==i.getAttributeNode&&i.getAttributeNode("id").nodeValue===e[1]?[i]:w:[]},y.filter.ID=function(e,t){var i=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return 1===e.nodeType&&i&&i.nodeValue===t}),$.removeChild(e),(C=b.createElement("div")).appendChild(b.createComment("")),0<C.getElementsByTagName("*").length&&(y.find.TAG=function(e,t){var i=t.getElementsByTagName(e[1]);if("*"===e[1]){for(var n=[],s=0;i[s];s++)1===i[s].nodeType&&n.push(i[s]);i=n}return i}),C.innerHTML="<a href='#'></a>",C.firstChild&&void 0!==C.firstChild.getAttribute&&"#"!==C.firstChild.getAttribute("href")&&(y.attrHandle.href=function(e){return e.getAttribute("href",2)}),b.querySelectorAll){var ft=v,$=b.createElement("div"),ht="__sizzle__";if($.innerHTML="<p class='TEST'></p>",!$.querySelectorAll||0!==$.querySelectorAll(".TEST").length)for(var gt in v=function(e,t,i,n){if(t=t||b,!n&&!v.isXML(t)){var s=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(e);if(s&&(1===t.nodeType||9===t.nodeType)){if(s[1])return T(t.getElementsByTagName(e),i);if(s[2]&&y.find.CLASS&&t.getElementsByClassName)return T(t.getElementsByClassName(s[2]),i)}if(9===t.nodeType){if("body"===e&&t.body)return T([t.body],i);if(s&&s[3]){var o=t.getElementById(s[3]);if(!o||!o.parentNode)return T([],i);if(o.id===s[3])return T([o],i)}try{return T(t.querySelectorAll(e),i)}catch(e){}}else if(1===t.nodeType&&"object"!==t.nodeName.toLowerCase()){var s=t,o=t.getAttribute("id"),r=o||ht,a=t.parentNode,c=/^\s*[+~]/.test(e);o?r=r.replace(/'/g,"\\$&"):t.setAttribute("id",r),c&&a&&(t=t.parentNode);try{if(!c||a)return T(t.querySelectorAll("[id='"+r+"'] "+e),i)}catch(e){}finally{o||s.removeAttribute("id")}}}return ft(e,t,i,n)},ft)v[gt]=ft[gt]}var e=b.documentElement,mt=e.matchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.msMatchesSelector;if(mt){var _t=!mt.call(b.createElement("div"),"div"),vt=!1;try{mt.call(b.documentElement,"[test!='']:sizzle")}catch(e){vt=!0}v.matchesSelector=function(e,t){if(t=t.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']"),!v.isXML(e))try{if(vt||!y.match.PSEUDO.test(t)&&!/!=/.test(t)){var i=mt.call(e,t);if(i||!_t||e.document&&11!==e.document.nodeType)return i}}catch(e){}return 0<v(t,null,null,[e]).length}}(C=b.createElement("div")).innerHTML="<div class='test e'></div><div class='test'></div>",C.getElementsByClassName&&0!==C.getElementsByClassName("e").length&&(C.lastChild.className="e",1!==C.getElementsByClassName("e").length)&&(y.order.splice(1,0,"CLASS"),y.find.CLASS=function(e,t,i){if(void 0!==t.getElementsByClassName&&!i)return t.getElementsByClassName(e[1])}),b.documentElement.contains?v.contains=function(e,t){return e!==t&&(!e.contains||e.contains(t))}:b.documentElement.compareDocumentPosition?v.contains=function(e,t){return!!(16&e.compareDocumentPosition(t))}:v.contains=function(){return!1},v.isXML=function(e){e=(e?e.ownerDocument||e:0).documentElement;return!!e&&"HTML"!==e.nodeName};var z,bt,yt,I,P,wt=function(e,t,i){for(var n,s=[],o="",r=t.nodeType?[t]:t;n=y.match.PSEUDO.exec(e);)o+=n[0],e=e.replace(y.match.PSEUDO,"");e=y.relative[e]?e+"*":e;for(var a=0,c=r.length;a<c;a++)v(e,r[a],s,i);return v.filter(o,s)},xt=(v.attr=k.attr,v.selectors.attrMap={},k.find=v,k.expr=v.selectors,k.expr[":"]=k.expr.filters,k.unique=v.uniqueSort,k.text=v.getText,k.isXMLDoc=v.isXML,k.contains=v.contains,/Until$/),kt=/^(?:parents|prevUntil|prevAll)/,St=/,/,Ct=/^.[^:#\[\.,]*$/,Tt=Array.prototype.slice,$t=k.expr.match.globalPOS,zt={children:!0,contents:!0,next:!0,prev:!0},It=(k.fn.extend({find:function(e){var t=this;if("string"!=typeof e)return k(e).filter(function(){for(r=0,a=t.length;r<a;r++)if(k.contains(t[r],this))return!0});for(var i,n,s,o=this.pushStack("","find",e),r=0,a=this.length;r<a;r++)if(i=o.length,k.find(e,this[r],o),0<r)for(n=i;n<o.length;n++)for(s=0;s<i;s++)if(o[s]===o[n]){o.splice(n--,1);break}return o},has:function(e){var i=k(e);return this.filter(function(){for(var e=0,t=i.length;e<t;e++)if(k.contains(this,i[e]))return!0})},not:function(e){return this.pushStack(te(this,e,!1),"not",e)}
1,filter:function(e){return this.pushStack(te(this,e,!0),"filter",e)},is:function(e){return!!e&&("string"==typeof e?$t.test(e)?0<=k(e,this.context).index(this[0]):0<k.filter(e,this).length:0<this.filter(e).length)},closest:function(e,t){var i=[],n=this[0];if(k.isArray(e)){for(var s=1;n&&n.ownerDocument&&n!==t;){for(r=0;r<e.length;r++)k(n).is(e[r])&&i.push({selector:e[r],elem:n,level:s});n=n.parentNode,s++}return i}for(var o=$t.test(e)||"string"!=typeof e?k(e,t||this.context):0,r=0,a=this.length;r<a;r++)for(n=this[r];n;){if(o?-1<o.index(n):k.find.matchesSelector(n,e)){i.push(n);break}if(!(n=n.parentNode)||!n.ownerDocument||n===t||11===n.nodeType)break}return i=1<i.length?k.unique(i):i,this.pushStack(i,"closest",e)},index:function(e){return e?"string"==typeof e?k.inArray(this[0],k(e)):k.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(e,t){t="string"==typeof e?k(e,t):k.makeArray(e&&e.nodeType?[e]:e),e=k.merge(this.get(),t);return this.pushStack(ie(t[0])||ie(e[0])?e:k.unique(e))},andSelf:function(){return this.add(this.prevObject)}}),k.each({parent:function(e){e=e.parentNode;return e&&11!==e.nodeType?e:null},parents:function(e){return k.dir(e,"parentNode")},parentsUntil:function(e,t,i){return k.dir(e,"parentNode",i)},next:function(e){return k.nth(e,2,"nextSibling")},prev:function(e){return k.nth(e,2,"previousSibling")},nextAll:function(e){return k.dir(e,"nextSibling")},prevAll:function(e){return k.dir(e,"previousSibling")},nextUntil:function(e,t,i){return k.dir(e,"nextSibling",i)},prevUntil:function(e,t,i){return k.dir(e,"previousSibling",i)},siblings:function(e){return k.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return k.sibling(e.firstChild)},contents:function(e){return k.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:k.makeArray(e.childNodes)}},function(n,s){k.fn[n]=function(e,t){var i=k.map(this,s,e);return(t=xt.test(n)?t:e)&&"string"==typeof t&&(i=k.filter(t,i)),i=1<this.length&&!zt[n]?k.unique(i):i,(1<this.length||St.test(t))&&kt.test(n)&&(i=i.reverse()),this.pushStack(i,n,Tt.call(arguments).join(","))}}),k.extend({filter:function(e,t,i){return i&&(e=":not("+e+")"),1===t.length?k.find.matchesSelector(t[0],e)?[t[0]]:[]:k.find.matches(e,t)},dir:function(e,t,i){for(var n=[],s=e[t];s&&9!==s.nodeType&&(i===w||1!==s.nodeType||!k(s).is(i));)1===s.nodeType&&n.push(s),s=s[t];return n},nth:function(e,t,i,n){t=t||1;for(var s=0;e&&(1!==e.nodeType||++s!==t);e=e[i]);return e},sibling:function(e,t){for(var i=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&i.push(e);return i}}),"abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video"),Pt=/ jQuery\d+="(?:\d+|null)"/g,Nt=/^\s+/,Et=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,At=/<([\w:]+)/,jt=/<tbody/i,Ot=/<|&#?\w+;/,Lt=/<(?:script|style)/i,Mt=/<(?:script|object|embed|option|style)/i,Dt=new RegExp("<(?:"+It+")[\\s/>]","i"),Ft=/checked\s*(?:[^=]|=\s*.checked.)/i,Ht=/\/(java|ecma)script/i,Rt=/^\s*<!(?:\[CDATA\[|\-\-)/,N={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},qt=ee(b),Bt=(N.optgroup=N.option,N.tbody=N.tfoot=N.colgroup=N.caption=N.thead,N.th=N.td,k.support.htmlSerialize||(N._default=[1,"div<div>","</div>"]),k.fn.extend({text:function(e){return k.access(this,function(e){return e===w?k.text(this):this.empty().append((this[0]&&this[0].ownerDocument||b).createTextNode(e))},null,e,arguments.length)},wrapAll:function(t){var e;return k.isFunction(t)?this.each(function(e){k(this).wrapAll(t.call(this,e))}):(this[0]&&(e=k(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e}).append(this)),this)},wrapInner:function(i){return k.isFunction(i)?this.each(function(e){k(this).wrapInner(i.call(this,e))}):this.each(function(){var e=k(this),t=e.contents();t.length?t.wrapAll(i):e.append(i)})},wrap:function(t){var i=k.isFunction(t);return this.each(function(e){k(this).wrapAll(i?t.call(this,e):t)})},unwrap:function(){return this.parent().each(function(){k.nodeName(this,"body")||k(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(e){1===this.nodeType&&this.appendChild(e)})},prepend:function(){return this.domManip(arguments,!0,function(e){1===this.nodeType&&this.insertBefore(e,this.firstChild)})},before:function(){var e;return this[0]&&this[0].parentNode?this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this)}):arguments.length?((e=k.clean(arguments)).push.apply(e,this.toArray()),this.pushStack(e,"before",arguments)):void 0},after:function(){var e;return this[0]&&this[0].parentNode?this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this.nextSibling)}):arguments.length?((e=this.pushStack(this,"after",arguments)).push.apply(e,k.clean(arguments)),e):void 0},remove:function(e,t){for(var i,n=0;null!=(i=this[n]);n++)e&&!k.filter(e,[i]).length||(t||1!==i.nodeType||(k.cleanData(i.getElementsByTagName("*")),k.cleanData([i])),i.parentNode&&i.parentNode.removeChild(i));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)for(1===e.nodeType&&k.cleanData(e.getElementsByTagName("*"));e.firstChild;)e.removeChild(e.firstChild);return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return k.clone(this,e,t)})},html:function(e){return k.access(this,function(e){var t=this[0]||{},i=0,n=this.length;if(e===w)return 1===t.nodeType?t.innerHTML.replace(Pt,""):null;if("string"==typeof e&&!Lt.test(e)&&(k.support.leadingWhitespace||!Nt.test(e))&&!N[(At.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(Et,"<$1></$2>");try{for(;i<n;i++)1===(t=this[i]||{}).nodeType&&(k.cleanData(t.getElementsByTagName("*")),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(n){return this[0]&&this[0].parentNode?k.isFunction(n)?this.each(function(e){var t=k(this),i=t.html();t.replaceWith(n.call(this,e,i))}):("string"!=typeof n&&(n=k(n).detach()),this.each(function(){var e=this.nextSibling,t=this.parentNode;k(this).remove(),e?k(e).before(n):k(t).append(n)})):this.length?this.pushStack(k(k.isFunction(n)?n():n),"replaceWith",n):this},detach:function(e){return this.remove(e,!0)},domManip:function(i,n,s){var e,t,o,r,a=i[0],c=[];if(!k.support.checkClone&&3===arguments.length&&"string"==typeof a&&Ft.test(a))return this.each(function(){k(this).domManip(i,n,s,!0)});if(k.isFunction(a))return this.each(function(e){var t=k(this);i[0]=a.call(this,e,n?t.html():w),t.domManip(i,n,s)});if(this[0]){if(r=a&&a.parentNode,t=1===(o=(e=k.support.parentNode&&r&&11===r.nodeType&&r.childNodes.length===this.length?{fragment:r}:k.buildFragment(i,this,c)).fragment).childNodes.length?o=o.firstChild:o.firstChild){n=n&&k.nodeName(t,"tr");for(var l=0,u=this.length,d=u-1;l<u;l++)s.call(n?Z(this[l],t):this[l],e.cacheable||1<u&&l<d?k.clone(o,!0,!0):o)}c.length&&k.each(c,function(e,t){t.src?k.ajax({type:"GET",global:!1,url:t.src,async:!1,dataType:"script"}):k.globalEval((t.text||t.textContent||t.innerHTML||"").replace(Rt,"/*$0*/")),t.parentNode&&t.parentNode.removeChild(t)})}return this}}),k.buildFragment=function(e,t,i){var n,s,o,r,a=e[0];return(r=t&&t[0]?t[0].ownerDocument||t[0]:r).createDocumentFragment||(r=b),(n=!(1===e.length&&"string"==typeof a&&a.length<512&&r===b&&"<"===a.charAt(0))||Mt.test(a)||!k.support.checkClone&&Ft.test(a)||!k.support.html5Clone&&Dt.test(a)||(s=!0,!(o=k.fragments[a]))||1===o?n:o)||
1(n=r.createDocumentFragment(),k.clean(e,r,n,i)),s&&(k.fragments[a]=o?n:1),{fragment:n,cacheable:s}},k.fragments={},k.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(r,a){k.fn[r]=function(e){var t=[],i=k(e),e=1===this.length&&this[0].parentNode;if(e&&11===e.nodeType&&1===e.childNodes.length&&1===i.length)return i[a](this[0]),this;for(var n=0,s=i.length;n<s;n++){var o=(0<n?this.clone(!0):this).get();k(i[n])[a](o),t=t.concat(o)}return this.pushStack(t,r,i.selector)}}),k.extend({clone:function(e,t,i){var n,s,o,r=k.support.html5Clone||k.isXMLDoc(e)||!Dt.test("<"+e.nodeName+">")?e.cloneNode(!0):Q(e);if(!(k.support.noCloneEvent&&k.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||k.isXMLDoc(e)))for(Y(e,r),n=c(e),s=c(r),o=0;n[o];++o)s[o]&&Y(n[o],s[o]);if(t&&(J(e,r),i))for(n=c(e),s=c(r),o=0;n[o];++o)J(n[o],s[o]);return n=s=null,r},clean:function(e,t,i,n){var s,o=[];void 0===(t=t||b).createElement&&(t=t.ownerDocument||t[0]&&t[0].ownerDocument||b);for(var r,a=0;null!=(c=e[a]);a++)if("number"==typeof c&&(c+=""),c){if("string"==typeof c)if(Ot.test(c)){var c=c.replace(Et,"<$1></$2>"),l=(At.exec(c)||["",""])[1].toLowerCase(),u=N[l]||N._default,d=u[0],p=t.createElement("div"),f=qt.childNodes;for((t===b?qt:ee(t)).appendChild(p),p.innerHTML=u[1]+c+u[2];d--;)p=p.lastChild;if(!k.support.tbody)for(var h=jt.test(c),g="table"!==l||h?"<table>"!==u[1]||h?[]:p.childNodes:p.firstChild&&p.firstChild.childNodes,m=g.length-1;0<=m;--m)k.nodeName(g[m],"tbody")&&!g[m].childNodes.length&&g[m].parentNode.removeChild(g[m]);!k.support.leadingWhitespace&&Nt.test(c)&&p.insertBefore(t.createTextNode(Nt.exec(c)[0]),p.firstChild),c=p.childNodes,p&&(p.parentNode.removeChild(p),0<f.length)&&(l=f[f.length-1])&&l.parentNode&&l.parentNode.removeChild(l)}else c=t.createTextNode(c);if(!k.support.appendChecked)if(c[0]&&"number"==typeof(r=c.length))for(m=0;m<r;m++)X(c[m]);else X(c);c.nodeType?o.push(c):o=k.merge(o,c)}if(i)for(s=function(e){return!e.type||Ht.test(e.type)},a=0;o[a];a++){var _,v=o[a];n&&k.nodeName(v,"script")&&(!v.type||Ht.test(v.type))?n.push(v.parentNode?v.parentNode.removeChild(v):v):(1===v.nodeType&&(_=k.grep(v.getElementsByTagName("script"),s),o.splice.apply(o,[a+1,0].concat(_))),i.appendChild(v))}return o},cleanData:function(e){for(var t,i,n,s=k.cache,o=k.event.special,r=k.support.deleteExpando,a=0;null!=(n=e[a]);a++)if((!n.nodeName||!k.noData[n.nodeName.toLowerCase()])&&(i=n[k.expando])){if((t=s[i])&&t.events){for(var c in t.events)
1o[c]?k.event.remove(n,c):k.removeEvent(n,c,t.handle);t.handle&&(t.handle.elem=null)}r?delete n[k.expando]:n.removeAttribute&&n.removeAttribute(k.expando),delete s[i]}}}),/alpha\([^)]*\)/i),Wt=/opacity=([^)]*)/,Ut=/([A-Z]|^ms)/g,Vt=/^[\-+]?(?:\d*\.)?\d+$/i,Kt=/^-?(?:\d*\.)?\d+(?!px)[^\d\s]+$/i,Qt=/^([\-+])=([\-+.\de]+)/,Xt=/^margin/,Gt={position:"absolute",visibility:"hidden",display:"block"},E=["Top","Right","Bottom","Left"],Yt=(k.fn.css=function(e,t){return k.access(this,function(e,t,i){return i!==w?k.style(e,t,i):k.css(e,t)},e,t,1<arguments.length)},k.extend({cssHooks:{opacity:{get:function(e,t){return t?""===(t=z(e,"opacity"))?"1":t:e.style.opacity}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:k.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,t,i,n){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var s,o=k.camelCase(t),r=e.style,a=k.cssHooks[o];if(t=k.cssProps[o]||o,i===w)return a&&"get"in a&&(s=a.get(e,!1,n))!==w?s:r[t];if("string"===(n=typeof i)&&(s=Qt.exec(i))&&(i=+(s[1]+1)*+s[2]+parseFloat(k.css(e,t)),n="number"),!(null==i||"number"===n&&isNaN(i))&&("number"!==n||k.cssNumber[o]||(i+="px"),!(a&&"set"in a&&(i=a.set(e,i))===w)))try{r[t]=i}catch(e){}}},css:function(e,t,i){var n;return t=k.camelCase(t),n=k.cssHooks[t],"cssFloat"===(t=k.cssProps[t]||t)&&(t="float"),n&&"get"in n&&(n=n.get(e,!0,i))!==w?n:z?z(e,t):void 0},swap:function(e,t,i){var n,s={};for(n in t)s[n]=e.style[n],e.style[n]=t[n];for(n in i=i.call(e),t)e.style[n]=s[n];return i}}),k.curCSS=k.css,b.defaultView&&b.defaultView.getComputedStyle&&(bt=function(e,t){var i,n,s,o=e.style;return t=t.replace(Ut,"-$1").toLowerCase(),(s=e.ownerDocument.defaultView)&&(n=s.getComputedStyle(e,null))&&""===(i=n.getPropertyValue(t))&&!k.contains(e.ownerDocument.documentElement,e)&&(i=k.style(e,t)),!k.support.pixelMargin&&n&&Xt.test(t)&&Kt.test(i)&&(s=o.width,o.width=i,i=n.width,o.width=s),i}),b.documentElement.currentStyle&&(yt=function(e,t){var i,n,s=e.currentStyle&&e.currentStyle[t],o=e.style;return null==s&&o&&(n=o[t])&&(s=n),Kt.test(s)&&(n=o.left,(i=e.runtimeStyle&&e.runtimeStyle.left)&&(e.runtimeStyle.left=e.currentStyle.left),o.left="fontSize"===t?"1em":s,s=o.pixelLeft+"px",o.left=n,i)&&(e.runtimeStyle.left=i),""===s?"auto":s}),z=bt||yt,k.each(["height","width"],function(e,n){k.cssHooks[n]={get:function(e,t,i){if(t)return 0!==e.offsetWidth?K(e,n,i):k.swap(e,Gt,function(){return K(e,n,i)})},set:function(e,t){return Vt.test(t)?t+"px":t}}}),k.support.opacity||(k.cssHooks.opacity={get:function(e,t){return Wt.test((t&&e.currentStyle?e.currentStyle:e.style).filter||"")?parseFloat(RegExp.$1)/100+"":t?"1":""},set:function(e,t){var i=e.style,e=e.currentStyle,n=k.isNumeric(t)?"alpha(opacity="+100*t+")":"",s=e&&e.filter||i.filter||"";(i.zoom=1)<=t&&""===k.trim(s.replace(Bt,""))&&(i.removeAttribute("filter"),e)&&!e.filter||(i.filter=Bt.test(s)?s.replace(Bt,n):s+" "+n)}}),k(function(){k.support.reliableMarginRight||(k.cssHooks.marginRight={get:function(e,t){return k.swap(e,{display:"inline-block"},function(){return t?z(e,"margin-right"):e.style.marginRight})}})}),k.expr&&k.expr.filters&&(k.expr.filters.hidden=function(e){var t=e.offsetWidth,i=e.offsetHeight;return 0===t&&0===i||!k.support.reliableHiddenOffsets&&"none"===(e.style&&e.style.display||k.css(e,"display"))},k.expr.filters.visible=function(e){return!k.expr.filters.hidden(e)}),k.each({margin:"",padding:"",border:"Width"},function(s,o){k.cssHooks[s+o]={expand:function(e){for(var t="string"==typeof e?e.split(" "):[e],i={},n=0;n<4;n++)i[s+E[n]+o]=t[n]||t[n-2]||t[0];return i}}}),/%20/g),Jt=/\[\]$/,Zt=/\r?\n/g,ei=/#.*$/,ti=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,ii=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,$=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,ni=/^(?:GET|HEAD)$/,si=/^\/\//,oi=/\?/,ri=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,ai=/^(?:select|textarea)/i,ci=/\s+/,li=/([?&])_=[^&]*/,ui=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,di=k.fn.load,pi={},fi={},hi=["*/"]+["*"];try{I=Pe.href}catch(e){(I=b.createElement("a")).href="",I=I.href}P=ui.exec(I.toLowerCase())||[],k.fn.extend({load:function(e,t,n){var s,i,o;return"string"!=typeof e&&di?di.apply(this,arguments):(this.length&&(0<=(i=e.indexOf(" "))&&(s=e.slice(i,e.length),e=e.slice(0,i)),i="GET",t&&(k.isFunction(t)?(n=t,t=w):"object"==typeof t&&(t=k.param(t,k.ajaxSettings.traditional),i="POST")),o=this,k.ajax({url:e,type:i,dataType:"html",data:t,complete:function(e,t,i){i=e.responseText,e.isResolved()&&(e.done(function(e){i=e}),o.html(s?k("<div>").append(i.replace(ri,"")).find(s):i)),n&&o.each(n,[i,t,e])}})),this)},serialize:function(){return k.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?k.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||ai.test(this.nodeName)||ii.test(this.t
1ype))}).map(function(e,i){var t=k(this).val();return null==t?null:k.isArray(t)?k.map(t,function(e,t){return{name:i.name,value:e.replace(Zt,"\r\n")}}):{name:i.name,value:t.replace(Zt,"\r\n")}}).get()}}),k.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,t){k.fn[t]=function(e){return this.on(t,e)}}),k.each(["get","post"],function(e,s){k[s]=function(e,t,i,n){return k.isFunction(t)&&(n=n||i,i=t,t=w),k.ajax({type:s,url:e,data:t,success:i,dataType:n})}}),k.extend({getScript:function(e,t){return k.get(e,w,t,"script")},getJSON:function(e,t,i){return k.get(e,t,i,"json")},ajaxSetup:function(e,t){return t?U(e,k.ajaxSettings):(t=e,e=k.ajaxSettings),U(e,t),e},ajaxSettings:{url:I,isLocal:$.test(P[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":hi},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":_.String,"text html":!0,"text json":k.parseJSON,"text xml":k.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:V(pi),ajaxTransport:V(fi),ajax:function(e,t){function i(e,t,i,n){if(2!==b){b=2,d&&clearTimeout(d),u=w,l=n||"",y.readyState=0<e?4:0;var s,o,r,a,n=t,i=i?B(f,y,i):w;if(200<=e&&e<300||304===e)if(f.ifModified&&((a=y.getResponseHeader("Last-Modified"))&&(k.lastModified[c]=a),a=y.getResponseHeader("Etag"))&&(k.etag[c]=a),304===e)n="notmodified",s=!0;else try{o=q(f,i),n="success",s=!0}catch(e){n="parsererror",r=e}else(r=n)&&!e||(n="error",e<0&&(e=0));y.status=e,y.statusText=""+(t||n),s?m.resolveWith(h,[o,n,y]):m.rejectWith(h,[y,n,r]),y.statusCode(v),v=w,p&&g.trigger("ajax"+(s?"Success":"Error"),[y,f,s?o:r]),_.fireWith(h,[y,n]),p&&(g.trigger("ajaxComplete",[y,f]),--k.active||k.event.trigger("ajaxStop"))}}"object"==typeof e&&(t=e,e=w);var c,l,n,u,d,p,s,o,f=k.ajaxSetup({},t=t||{}),h=f.context||f,g=h!==f&&(h.nodeType||h instanceof k)?k(h):k.event,m=k.Deferred(),_=k.Callbacks("once memory"),v=f.statusCode||{},r={},a={},b=0,y={readyState:0,setRequestHeader:function(e,t){var i;return b||(i=e.toLowerCase(),e=a[i]=a[i]||e,r[e]=t),this},getAllResponseHeaders:function(){return 2===b?l:null},getResponseHeader:function(e){var t;if(2===b){if(!n)for(n={};t=ti.exec(l);)n[t[1].toLowerCase()]=t[2];t=n[e.toLowerCase()]}return t===w?null:t},overrideMimeType:function(e){return b||(f.mimeType=e),this},abort:function(e){return e=e||"abort",u&&u.abort(e),i(0,e),this}};if(m.promise(y),y.success=y.done,y.error=y.fail,y.complete=_.add,y.statusCode=function(e){if(e)if(b<2)for(var t in e)v[t]=[v[t],e[t]];else t=e[y.status],y.then(t,t);return this},f.url=((e||f.url)+"").replace(ei,"").replace(si,P[1]+"//"),f.dataTypes=k.trim(f.dataType||"*").toLowerCase().split(ci),null==f.crossDomain&&(e=ui.exec(f.url.toLowerCase()),f.crossDomain=!(!e||e[1]==P[1]&&e[2]==P[2]&&(e[3]||("http:"===e[1]?80:443))==(P[3]||("http:"===P[1]?80:443)))),f.data&&f.processData&&"string"!=typeof f.data&&(f.data=k.param(f.data,f.traditional)),x(pi,f,t,y),2===b)return!1;for(s in p=f.global,f.type=f.type.toUpperCase(),f.hasContent=!ni.test(f.type),p&&0==k.active++&&k.event.trigger("ajaxStart"),f.hasContent||(f.data&&(f.url+=(oi.test(f.url)?"&":"?")+f.data,delete f.data),c=f.url,!1===f.cache&&(e=k.now(),o=f.url.replace(li,"$1_="+e),f.url=o+(o===f.url?(oi.test(f.url)?"&":"?")+"_="+e:""))),(f.data&&f.hasContent&&!1!==f.contentType||t.contentType)&&y.setRequestHeader("Content-Type",f.contentType),f.ifModified&&(c=c||f.url,k.lastModified[c]&&y.setRequestHeader("If-Modified-Since",k.lastModified[c]),k.etag[c])&&y.setRequestHeader("If-None-Match",k.etag[c]),y.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+hi+"; q=0.01":""):f.accepts["*"]),f.headers)y.setRequestHeader(s,f.headers[s]);if(f.beforeSend&&(!1===f.beforeSend.call(h,y,f)||2===b))return y.abort(),!1;for(s in{success:1,error:1,complete:1})y[s](f[s]);if(u=x(fi,f,t,y)){y.readyState=1,p&&g.trigger("ajaxSend",[y,f]),f.async&&0<f.timeout&&(d=setTimeout(function(){y.abort("timeout")},f.timeout));try{b=1,u.send(r,i)}catch(e){if(!(b<2))throw e;i(-1,e)}}else i(-1,"No Transport");return y},param:function(e,t){var i=[],n=function(e,t){t=k.isFunction(t)?t():t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(t===w&&(t=k.ajaxSettings.traditional),k.isArray(e)||e.jquery&&!k.isPlainObject(e))k.each(e,function(){n(this.name,this.value)});else for(var s in e)W(s,e[s],t,n);return i.join("&").replace(Yt,"+")}}),k.extend({active:0,lastModified:{},etag:{}});
1var A,j,O,gi,mi,_i=k.now(),vi=/(\=)\?(&|$)|\?\?/i,bi=(k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return k.expando+"_"+_i++}}),k.ajaxPrefilter("json jsonp",function(e,t,i){var n,s,o,r,a,c,l="string"==typeof e.data&&/^application\/x\-www\-form\-urlencoded/.test(e.contentType);if("jsonp"===e.dataTypes[0]||!1!==e.jsonp&&(vi.test(e.url)||l&&vi.test(e.data)))return s=e.jsonpCallback=k.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,o=_[s],r=e.url,a=e.data,c="$1"+s+"$2",!1!==e.jsonp&&(r=r.replace(vi,c),e.url===r)&&(l&&(a=a.replace(vi,c)),e.data===a)&&(r+=(/\?/.test(r)?"&":"?")+e.jsonp+"="+s),e.url=r,e.data=a,_[s]=function(e){n=[e]},i.always(function(){_[s]=o,n&&k.isFunction(o)&&_[s](n[0])}),e.converters["script json"]=function(){return n||k.error(s+" was not called"),n[0]},e.dataTypes[0]="json","script"}),k.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(e){return k.globalEval(e),e}}}),k.ajaxPrefilter("script",function(e){e.cache===w&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),k.ajaxTransport("script",function(t){var n,s;if(t.crossDomain)return s=b.head||b.getElementsByTagName("head")[0]||b.documentElement,{send:function(e,i){(n=b.createElement("script")).async="async",t.scriptCharset&&(n.charset=t.scriptCharset),n.src=t.url,n.onload=n.onreadystatechange=function(e,t){!t&&n.readyState&&!/loaded|complete/.test(n.readyState)||(n.onload=n.onreadystatechange=null,s&&n.parentNode&&s.removeChild(n),n=w,t)||i(200,"success")},s.insertBefore(n,s.firstChild)},abort:function(){n&&n.onload(0,1)}}}),!!_.ActiveXObject&&function(){for(var e in A)A[e](0,1)}),yi=0,wi=(k.ajaxSettings.xhr=_.ActiveXObject?function(){return!this.isLocal&&R()||H()}:R,e=k.ajaxSettings.xhr(),k.extend(k.support,{ajax:!!e,cors:!!e&&"withCredentials"in e}),k.support.ajax&&k.ajaxTransport(function(u){var d;if(!u.crossDomain||k.support.cors)return{send:function(e,a){var c,t,l=u.xhr();if(u.username?l.open(u.type,u.url,u.async,u.username,u.password):l.open(u.type,u.url,u.async),u.xhrFields)for(t in u.xhrFields)l[t]=u.xhrFields[t];u.mimeType&&l.overrideMimeType&&l.overrideMimeType(u.mimeType),u.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest");try{for(t in e)l.setRequestHeader(t,e[t])}catch(e){}l.send(u.hasContent&&u.data||null),d=function(e,t){var i,n,s,o,r;try{if(d&&(t||4===l.readyState))if(d=w,c&&(l.onreadystatechange=k.noop,bi)&&delete A[c],t)4!==l.readyState&&l.abort();else{i=l.status,s=l.getAllResponseHeaders(),o={},(r=l.responseXML)&&r.documentElement&&(o.xml=r);try{o.text=l.responseText}catch(e){}try{n=l.statusText}catch(e){n=""}i||!u.isLocal||u.crossDomain?1223===i&&(i=204):i=o.text?200:404}}catch(e){t||a(-1,e)}o&&a(i,n,o,s)},u.async&&4!==l.readyState?(c=++yi,bi&&(A||(A={},k(_).unload(bi)),A[c]=d),l.onreadystatechange=d):d()},abort:function(){d&&d(0,1)}}}),{}),xi=/^(?:toggle|show|hide)$/,ki=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,Si=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["o
1pacity"]];k.fn.extend({show:function(e,t,i){var n,s;if(e||0===e)return this.animate(a("show",3),e,t,i);for(var o=0,r=this.length;o<r;o++)(n=this[o]).style&&(s=n.style.display,""===(s=k._data(n,"olddisplay")||"none"!==s?s:n.style.display="")&&"none"===k.css(n,"display")||!k.contains(n.ownerDocument.documentElement,n))&&k._data(n,"olddisplay",M(n.nodeName));for(o=0;o<r;o++)!(n=this[o]).style||""!==(s=n.style.display)&&"none"!==s||(n.style.display=k._data(n,"olddisplay")||"");return this},hide:function(e,t,i){if(e||0===e)return this.animate(a("hide",3),e,t,i);for(var n,s,o=0,r=this.length;o<r;o++)(n=this[o]).style&&"none"!==(s=k.css(n,"display"))&&!k._data(n,"olddisplay")&&k._data(n,"olddisplay",s);for(o=0;o<r;o++)this[o].style&&(this[o].style.display="none");return this},_toggle:k.fn.toggle,toggle:function(t,e,i){var n="boolean"==typeof t;return k.isFunction(t)&&k.isFunction(e)?this._toggle.apply(this,arguments):null==t||n?this.each(function(){var e=n?t:k(this).is(":hidden");k(this)[e?"show":"hide"]()}):this.animate(a("toggle",3),t,e,i),this},fadeTo:function(e,t,i,n){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:t},e,i,n)},animate:function(f,e,t,i){function n(){!1===h.queue&&k._mark(this);var e,t,i,n,s,o,r,a,c,l,u=k.extend({},h),d=1===this.nodeType,p=d&&k(this).is(":hidden");for(i in u.animatedProperties={},f)if(i!==(e=k.camelCase(i))&&(f[e]=f[i],delete f[i]),(s=k.cssHooks[e])&&"expand"in s)for(i in o=s.expand(f[e]),delete f[e],o)i in f||(f[i]=o[i]);for(e in f){if(t=f[e],k.isArray(t)?(u.animatedProperties[e]=t[1],t=f[e]=t[0]):u.animatedProperties[e]=u.specialEasing&&u.specialEasing[e]||u.easing||"swing","hide"===t&&p||"show"===t&&!p)return u.complete.call(this);!d||"height"!==e&&"width"!==e||(u.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],"inline"!==k.css(this,"display"))||"none"!==k.css(this,"float")||(k.support.inlineBlockNeedsLayout&&"inline"!==M(this.nodeName)?this.style.zoom=1:this.style.display="inline-block")}for(i in null!=u.overflow&&(this.style.overflow="hidden"),f)n=new k.fx(this,u,i),t=f[i],xi.test(t)?(l=k._data(this,"toggle"+i)||("toggle"===t?p?"show":"hide":0),l?(k._data(this,"toggle"+i,"show"===l?"hide":"show"),n[l]()):n[t]()):(l=ki.exec(t),r=n.cur(),l?(a=parseFloat(l[2]),c=l[3]||(k.cssNumber[i]?"":"px"),"px"!==c&&(k.style(this,i,(a||1)+c),r=(a||1)/n.cur()*r,k.style(this,i,r+c)),l[1]&&(a=("-="===l[1]?-1:1)*a+r),n.custom(r,a,c)):n.custom(r,t,""));return!0}var h=k.speed(e,t,i);return k.isEmptyObject(f)?this.each(h.complete,[!1]):(f=k.extend({},f),!1===h.queue?this.each(n):this.queue(h.queue,n))},stop:function(o,e,r){return"string"!=typeof o&&(r=e,e=o,o=w),e&&!1!==o&&this.queue(o||"fx",[]),this.each(function(){function e(e,t,i){t=t[i];k.removeData(e,i,!0),t.stop(r)}var t,i=!1,n=k.timers,s=k._data(this);if(r||k._unmark(!0,this),null==o)for(t in s)s[t]&&s[t].stop&&t.indexOf(".run")===t.length-4&&e(this,s,t);else s[t=o+".run"]&&s[t].stop&&e(this,s,t);for(t=n.length;t--;)n[t].elem!==this||null!=o&&n[t].queue!==o||(r?n[t](!0):n[t].saveState(),i=!0,n.splice(t,1));r&&i||k.dequeue(this,o)})}}),k.each({slideDown:a("show",1),slideUp:a("hide",1),slideToggle:a("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,n){k.fn[e]=function(e,t,i){return this.animate(n,e,t,i)}}),k.extend({speed:function(e,t,i){var n=e&&"object"==typeof e?k.extend({},e):{complete:i||!i&&t||k.isFunction(e)&&e,duration:e,easing:i&&t||t&&!k.isFunction(t)&&t};return n.duration=k.fx.off?0:"number"==typeof n.duration?n.duration:n.duration in k.fx.speeds?k.fx.speeds[n.duration]:k.fx.speeds._default,null!=n.queue&&!0!==n.queue||(n.queue="fx"),n.old=n.complete,n.complete=function(e){k.isFunction(n.old)&&n.old.call(this),n.queue?k.dequeue(this,n.queue):!1!==e&&k._unmark(this)},n},easing:{linear:function(e){return e},swing:function(e){return-Math.cos(e*Math.PI)/2+.5}},timers:[],fx:function(e,t,i){this.options=t,this.elem=e,this.prop=i,t.orig=t.orig||{}}}),k.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(k.fx.step[this.prop]||k.fx.step._default)(this)},cur:function(){var e,t;return null==this.elem[this.prop]||this.elem.style&&null!=this.elem.style[this.prop]?(t=k.css(this.elem,this.prop),isNaN(e=parseFloat(t))?t&&"auto"!==t?t:0:e):this.elem[this.prop]},custom:function(e,t,i){function n(e){return s.step(e)}var s=this,o=k.fx;this.startTime=mi||F(),this.end=t,this.now=this.start=e,this.pos=this.state=0,this.unit=i||this.unit||(k.cssNumber[this.prop]?"":"px"),n.queue=this.options.queue,n.elem=this.elem,n.saveState=function(){k._data(s.elem,"fxshow"+s.prop)===w&&(s.options.hide?k._data(s.elem,"fxshow"+s.prop,s.start):s.options.show&&k._data(s.elem,"fxshow"+s.prop,s.end))},n()&&k.timers.push(n)&&!gi&&(gi=setInterval(o.tick,o.interval))},show:function(){var e=k._data(this.elem,"fxshow"+this.prop);this.options.orig[this.prop]=e||k.style(this.elem,this.prop),this.options.show=!0,e!==w?this.custom(this.cur(),e):this.custom("width"===this.prop||"height"===this.prop?1:0,this.cur()),k(this.elem).show()},hide:function(){this.options.orig[this.prop]=k._data(this.elem,"fxshow"+this.prop)||k.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(e){var t,i=mi||F(),n=!0,s=this.elem,o=this.options;if(e||i>=o.duration+this.startTime){for(t in this.now=this.end,this.pos=this.state=1,this.update(),o.animatedProperties[this.prop]=!0,o.animatedProperties)!0!==o.animatedProperties[t]&&(n=!1);if(n){if(null==o.overflow||k.support.shrinkWrapBlocks||k.each(["","X","Y"],function(e,t){s.style["overflow"+t]=o.overflow[e]}),o.hide&&k(s).hide(),o.hide||o.show)for(t in o.animatedProperties)k.style(s,t,o.orig[t]),k.removeData(s,"fxshow"+t,!0),k.removeData(s,"toggle"+t,!0);(e=o.complete)&&(o.complete=!1,e.call(s))}return!1}return o.duration==1/0?this.now=i:(e=i-this.startTime,this.state=e/o.duration,this.pos=k.easing[o.animatedProperties[this.prop]](this.state,e,0,1,o.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update(),!0}}
1,k.extend(k.fx,{tick:function(){for(var e,t=k.timers,i=0;i<t.length;i++)(e=t[i])()||t[i]!==e||t.splice(i--,1);t.length||k.fx.stop()},interval:13,stop:function(){clearInterval(gi),gi=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(e){k.style(e.elem,"opacity",e.now)},_default:function(e){e.elem.style&&null!=e.elem.style[e.prop]?e.elem.style[e.prop]=e.now+e.unit:e.elem[e.prop]=e.now}}}),k.each(Si.concat.apply([],Si),function(e,t){t.indexOf("margin")&&(k.fx.step[t]=function(e){k.style(e.elem,t,Math.max(0,e.now)+e.unit)})}),k.expr&&k.expr.filters&&(k.expr.filters.animated=function(t){return k.grep(k.timers,function(e){return t===e.elem}).length});var Ci=/^t(?:able|d|h)$/i,Ti=/^(?:body|html)$/i,$i="getBoundingClientRect"in b.documentElement?function(e,t,i,n){try{n=e.getBoundingClientRect()}catch(e){}var s,o,r;return n&&k.contains(i,e)?(e=t.body,t=L(t),s=i.clientTop||e.clientTop||0,o=i.clientLeft||e.clientLeft||0,r=t.pageYOffset||k.support.boxModel&&i.scrollTop||e.scrollTop,t=t.pageXOffset||k.support.boxModel&&i.scrollLeft||e.scrollLeft,{top:n.top+r-s,left:n.left+t-o}):n?{top:n.top,left:n.left}:{top:0,left:0}}:function(e,t,i){for(var n,s=e.offsetParent,o=t.body,r=t.defaultView,a=r?r.getComputedStyle(e,null):e.currentStyle,c=e.offsetTop,l=e.offsetLeft;(e=e.parentNode)&&e!==o&&e!==i&&(!k.support.fixedPosition||"fixed"!==a.position);)n=r?r.getComputedStyle(e,null):e.currentStyle,c-=e.scrollTop,l-=e.scrollLeft,e===s&&(c+=e.offsetTop,l+=e.offsetLeft,!k.support.doesNotAddBorder||k.support.doesAddBorderForTableAndCells&&Ci.test(e.nodeName)||(c+=parseFloat(n.borderTopWidth)||0,l+=parseFloat(n.borderLeftWidth)||0),s=e.offsetParent),k.support.subtractsBorderForOverflowNotVisible&&"visible"!==n.overflow&&(c+=parseFloat(n.borderTopWidth)||0,l+=parseFloat(n.borderLeftWidth)||0),a=n;return"relative"!==a.position&&"static"!==a.position||(c+=o.offsetTop,l+=o.offsetLeft),k.support.fixedPosition&&"fixed"===a.position&&(c+=Math.max(i.scrollTop,o.scrollTop),l+=Math.max(i.scrollLeft,o.scrollLeft)),{top:c,left:l}};k.fn.offset=function(t){var e,i;return arguments.length?t===w?this:this.each(function(e){k.offset.setOffset(this,t,e)}):(i=(e=this[0])&&e.ownerDocument)?e===i.body?k.offset.bodyOffset(e):$i(e,i,i.documentElement):null},k.offset={bodyOffset:function(e){var t=e.offsetTop,i=e.offsetLeft;return k.support.doesNotIncludeMarginInBodyOffset&&(t+=parseFloat(k.css(e,"marginTop"))||0,i+=parseFloat(k.css(e,"marginLeft"))||0),{top:t,left:i}},setOffset:function(e,t,i){var n,s=k.css(e,"position"),o=("static"===s&&(e.style.position="relative"),k(e)),r=o.offset(),a=k.css(e,"top"),c=k.css(e,"left"),l={},u={},s=("absolute"===s||"fixed"===s)&&-1<k.inArray("auto",[a,c])?(n=(u=o.position()).top,u.left):(n=parseFloat(a)||0,parseFloat(c)||0);null!=(t=k.isFunction(t)?t.call(e,i,r):t).top&&(l.top=t.top-r.top+n),null!=t.left&&(l.left=t.left-r.left+s),"using"in t?t.using.call(e,l):o.css(l)}}
1,k.fn.extend({position:function(){var e,t,i,n;return this[0]?(e=this[0],t=this.offsetParent(),i=this.offset(),n=Ti.test(t[0].nodeName)?{top:0,left:0}:t.offset(),i.top-=parseFloat(k.css(e,"marginTop"))||0,i.left-=parseFloat(k.css(e,"marginLeft"))||0,n.top+=parseFloat(k.css(t[0],"borderTopWidth"))||0,n.left+=parseFloat(k.css(t[0],"borderLeftWidth"))||0,{top:i.top-n.top,left:i.left-n.left}):null},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||b.body;e&&!Ti.test(e.nodeName)&&"static"===k.css(e,"position");)e=e.offsetParent;return e})}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,s){var o=/Y/.test(s);k.fn[t]=function(e){return k.access(this,function(e,t,i){var n=L(e);if(i===w)return n?s in n?n[s]:k.support.boxModel&&n.document.documentElement[t]||n.document.body[t]:e[t];n?n.scrollTo(o?k(n).scrollLeft():i,o?i:k(n).scrollTop()):e[t]=i},t,e,arguments.length,null)}}),k.each({Height:"height",Width:"width"},function(e,i){var o="client"+e,r="scroll"+e,a="offset"+e;k.fn["inner"+e]=function(){var e=this[0];return e?e.style?parseFloat(k.css(e,i,"padding")):this[i]():null},k.fn["outer"+e]=function(e){var t=this[0];return t?t.style?parseFloat(k.css(t,i,e?"margin":"border")):this[i]():null},k.fn[i]=function(e){return k.access(this,function(e,t,i){var n,s;return k.isWindow(e)?(n=(s=e.document).documentElement[o],k.support.boxModel&&n||s.body&&s.body[o]||n):9===e.nodeType?(s=e.documentElement)[o]>=s[r]?s[o]:Math.max(e.body[r],s[r],e.body[a],s[a]):i===w?(n=k.css(e,t),s=parseFloat(n),k.isNumeric(s)?s:n):void k(e).css(t,i)},i,e,arguments.length,null)}}),_.jQuery=_.$=k,"function"==typeof define&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return k})}(window),!function(g){function t(e,t){return parseInt(g.css(e[0],t))||0}function m(e){return e[0].offsetWidth+t(e,"marginLeft")+t(e,"marginRight")}function _(e){return e[0].offsetHeight+t(e,"marginTop")+t(e,"marginBottom")}g.fn.jCarouselLite=function(h){return h=g.extend({btnPrev:null,btnNext:null,btnGo:null,mouseWheel:!1,auto:null,speed:200,easing:null,vertical:!1,circular:!0,visible:3,start:0,scroll:1,beforeStart:null,afterEnd:null},h||{}),this.each(function(){var t=!1,i=h.vertical?"top":"left",e=h.vertical?"height":"width",n=g(this),s=g("ul",n),o=g("li",s),r=o.size(),a=h.visible,c=(h.circular&&(s.prepend(o.slice(r-a-1+1).clone()).append(o.slice(0,a).clone()),h.start+=a),g("li",s)),l=c.size(),u=h.start,d=(n.css("visibility","visible"),c.css({overflow:"hidden",float:h.vertical?"none":"left"}),s.css({margin:"0",padding:"0",position:"relative","list-style-type":"none","z-index":"1"}),n.css({overflow:"hidden",position:"relative","z-index":"2",left:"0px"}),(h.vertical?_:m)(c)),r=d*l,o=d*a;function p(){return c.slice(u).slice(0,a)}function f(e){if(!t){if(h.beforeStart&&h.beforeStart.call(this,p()),h.circular)u=e<=h.start-a-1?(s.css(i,-(l-2*a)*d+"px"),e==h.start-a-1?l-2*a-1:l-2*a-h.scroll):l-a+1<=e?(s.css(i,-a*d+"px"),e==l-a+1?a+1:a+h.scroll):e;else{if(e<0||l-a<e)return;u=e}t=!0,s.animate("left"==i?{left:-u*d}:{top:-u*d},h.speed,h.easing,function(){h.afterEnd&&h.afterEnd.call(this,p()),t=!1}),h.circular||(g(h.btnPrev+","+h.btnNext).removeClass("disabled"),g(u-h.scroll<0&&h.btnPrev||u+h.scroll>l-a&&h.btnNext||[]).addClass("disabled"))}return!1}c.css({width:c.width(),height:c.height()}),s.css(e,r+"px").css(i,-u*d),n.css(e,o+"px"),h.btnPrev&&g(h.btnPrev).click(function(){return f(u-h.scroll)}),h.btnNext&&g(h.btnNext).click(function(){return f(u+h.scroll)}),h.btnGo&&g.each(h.btnGo,function(e,t){g(t).click(function(){return f(h.circular?h.visible+e:e)})}),h.mouseWheel&&n.mousewheel&&n.mousewheel(function(e,t){return f(0<t?u-h.scroll:u+h.scroll)}),h.auto&&setInterval(function(){f(u+h.scroll)},h.auto+h.speed)})}}(jQuery),!function(a){var c,l,i,n,s,u,o,r,d,p,e,f,h,g=0,m={},_=[],v=0,b={},y=[],w=null,x=new Image,k=/\.(jpe?g|gif|png|bmp|webp|avif|svg)(.*)?$/i,L=/[^\.]\.(swf)\s*$/i,t=1,S=0,C="",T=!1,$=a.extend(a("<div/>")[0],{prop:0}),z=a.browser.msie&&a.browser.version<7&&!window.XMLHttpRequest,I=function(){l.hide(),x.onerror=x.onload=null,w&&w.abort(),c.empty()},P=function(){!1===m.onError(_,g,m)?(l.hide(),T=!1):(m.titleShow=!1,m.width="auto",m.height="auto",c.html('<p id="fancybox-error">The requested content cannot be loaded.<br />Please try again later.</p>'),E())},N=function(){var n,e,t,i,s,o,r=_[g];if(I(),m=a.extend({},a.fn.fancybox.defaults,void 0===a(r).data("fancybox")?m:a(r).data("fancybox")),!1===(o=m.onStart(_,g,m)))T=!1;else if(t=(m="object"==typeof o?a.extend(m,o):m).title||(r.nodeName?a(r).attr("title"):r.title)||"",r.nodeName&&!m.orig&&(m.orig=a(r).children("img:first").length?a(r).children("img:first"):a(r)),""===t&&m.orig&&m.titleFromAlt&&(t=m.orig.attr("alt")),n=m.href||(r.nodeName?a(r).attr("href"):r.href)||null,!/^(?:javascript)/i.test(n)&&"#"!=n||(n=null),m.type?(e=m.type,n=n||m.content):m.content?e="html":n&&(e=n.match(k)?"image":n.match(L)?"swf":a(r).hasClass("iframe")?"iframe":0===n.indexOf("#")?"inline":"ajax"),e)switch("inline"==e&&(r=n.substr(n.indexOf("#")),e=0<a(r).length?"inline":"ajax"),m.type=e,m.href=n,m.title=t,m.autoDimensions&&("html"==m.type||"inline"==m.type||"ajax"==m.type?(m.width="auto",m.height="auto"):m.autoDimensions=!1),m.modal&&(m.overlayShow=!0,m.hideOnOverlayClick=!1,m.hideOnContentClick=!1,m.enableEscapeButton=!1,m.showCloseButton=!1),m.padding=parseInt(m.padding,10),m.margin=parseInt(m.margin,10),c.css("padding",m.padding+m.margin),a(".fancybox-inline-tmp").unbind("fancybox-cancel").bind("fancybox-change",function(){a(this).replaceWith(u.children())}),e){case"html":c.html(m.content),E();break;case"inline":!0===a(r).parent().is("#fancybox-content")?T=!1:(a('<div class="fancybox-inline-tmp" />').hide().insertBefore(a(r)).bind("fancybox-cleanup",function(){a(this).replaceWith(u.children())}).bind("fancybox-cancel",function(){a(this).replaceWith(c.children())}),a(r).appendTo(c),E());break;case"image":T=!1,a.fancybox.showActivity(),(x=new Image).onerror=function(){P()},x.onload=function(){T=!0,x.onerror=x.onload=null,m.width=x.width,m.height=x.height,a("<img />").attr({id:"fancybox-img",src:x.src,alt:m.title}).appendTo(c),A()},x.src=n;break;case"swf":m.scrolling="no",i='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+m.width+'" height="'+m.height+'"><param name="movie" value="'+n+'"></param>',s="",a.each(m.swf,function(e,t){i+='<param name="'+e+'" value="'+t+'"></param>',s+=" "+e+'="'+t+'"'}),i+='<embed src="'+n+'" type="application/x-shockwave-flash" width="'+m.width+'" height="'+m.height+'"'+s+"></embed></object>",c.html(i),E();break;case"ajax":T=!1,a.fancybox.showActivity(),m.ajax.win=m.ajax.success,w=a.ajax(a.extend({},m.ajax,{url:n,data:m.ajax.data||{},error:function(e){0<e.status&&P()},success:function(e,t,i){if(200==("object"==typeof i?i:w).status){if("function"==typeof m.ajax.win){if(!1===(o=m.ajax.win(n,e,t,i)))return void l.hide();"string"!=typeof o&&"object"!=typeof o||(e=o)}c.html(e),E()}}}));break;case"iframe":A()}else P()},E=function(){var e=m.width,t=m.height,e=-1<e.toString().indexOf("%")?parseInt((a(window).width()-2*m.margin)*parseFloat(e)/100,10)+"px":"auto"==e?"auto":e+"px",t=-1<t.toString().indexOf("%")?parseInt((a(window).height()-2*m.margin)*parseFloat(t)/100,10)+"px":"auto"==t?"auto":t+"px";c.wrapInner('<div style="width:'+e+";height:"+t+";overflow: "+("auto"==m.scrolling?"auto":"yes"==m.scrolling?"scroll":"hidden")+';position:relative;"></div>'),m.width=c.width(),m.height=c.height(),A()},A=function(){var e,t;if(l.hide(),n.is(":visible")&&!1===b.onCleanup(y,v,b))a.event.trigger("fancybox-cancel"),T=!1;else{if(T=!0,a(u.add(i)).unbind(),a(window).unbind("resize.fb scroll.fb"),a(document).unbind("
1keydown.fb"),n.is(":visible")&&"outside"!==b.titlePosition&&n.css("height",n.height()),y=_,v=g,(b=m).overlayShow?(i.css({"background-color":b.overlayColor,opacity:b.overlayOpacity,cursor:b.hideOnOverlayClick?"pointer":"auto",height:a(document).height()}),i.is(":visible")||(z&&a("select:not(#fancybox-tmp select)").filter(function(){return"hidden"!==this.style.visibility}).css({visibility:"hidden"}).one("fancybox-cleanup",function(){this.style.visibility="inherit"}),i.show())):i.hide(),h=F(),C=b.title||"",S=0,r.empty().removeAttr("style").removeClass(),!1!==b.titleShow&&(e=a.isFunction(b.titleFormat)?b.titleFormat(C,y,v,b):!(!C||!C.length)&&("float"==b.titlePosition?'<table id="fancybox-title-float-wrap" cellpadding="0" cellspacing="0"><tr><td id="fancybox-title-float-left"></td><td id="fancybox-title-float-main">'+C+'</td><td id="fancybox-title-float-right"></td></tr></table>':'<div id="fancybox-title-'+b.titlePosition+'">'+C+"</div>"),C=e)&&""!==C)switch(r.addClass("fancybox-title-"+b.titlePosition).html(C).appendTo("body").show(),b.titlePosition){case"inside":r.css({width:h.width-2*b.padding,marginLeft:b.padding,marginRight:b.padding}),S=r.outerHeight(!0),r.appendTo(s),h.height+=S;break;case"over":r.css({marginLeft:b.padding,width:h.width-2*b.padding,bottom:b.padding}).appendTo(s);break;case"float":r.css("left",-1*parseInt((r.width()-h.width-40)/2,10)).appendTo(n);break;default:r.css({width:h.width-2*b.padding,paddingLeft:b.padding,paddingRight:b.padding}).appendTo(n)}r.hide(),n.is(":visible")?(a(o.add(d).add(p)).hide(),e=n.position(),f={top:e.top,left:e.left,width:n.width(),height:n.height()},t=f.width==h.width&&f.height==h.height,u.fadeTo(b.changeFade,.3,function(){var e=function(){u.html(c.contents()).fadeTo(b.changeFade,1,j)};a.event.trigger("fancybox-change"),u.empty().removeAttr("filter").css({"border-width":b.padding,width:h.width-2*b.padding,height:m.autoDimensions?"auto":h.height-S-2*b.padding}),t?e():($.prop=0,a($).animate({prop:1},{duration:b.changeSpeed,easing:b.easingChange,step:O,complete:e}))})):(n.removeAttr("style"),u.css("border-width",b.padding),"elastic"==b.transitionIn?(f=H(),u.html(c.contents()),n.show(),b.opacity&&(h.opacity=0),$.prop=0,a($).animate({prop:1},{duration:b.speedIn,easing:b.easingIn,step:O,complete:j})):("inside"==b.titlePosition&&0<S&&r.show(),u.css({width:h.width-2*b.padding,height:m.autoDimensions?"auto":h.height-S-2*b.padding}).html(c.contents()),n.css(h).fadeIn("none"==b.transitionIn?0:b.speedIn,j)))}},M=function(){(b.enableEscapeButton||b.enableKeyboardNav)&&a(document).bind("keydown.fb",function(e){27==e.keyCode&&b.enableEscapeButton?(e.preventDefault(),a.fancybox.close()):37!=e.keyCode&&39!=e.keyCode||!b.enableKeyboardNav||"INPUT"===e.target.tagName||"TEXTAREA"===e.target.tagName||"SELECT"===e.target.tagName||(e.preventDefault(),a.fancybox[37==e.keyCode?"prev":"next"]())}),b.showNavArrows?((b.cyclic&&1<y.length||0!==v)&&d.show(),(b.cyclic&&1<y.length||v!=y.length-1)&&p.show()):(d.hide(),p.hide())},j=function(){var e;a.support.opacity||(u.get(0).style.removeAttribute("filter"),n.get(0).style.removeAttribute("filter")),m.autoDimensions&&u.css("height","auto"),n.css("height","auto"),C&&C.length&&r.show(),b.showCloseButton&&o.show(),M(),b.hideOnContentClick&&u.bind("click",a.fancybox.close),b.hideOnOverlayClick&&i.bind("click",a.fancybox.close),a(window).bind("resize.fb",a.fancybox.resize),b.centerOnScroll&&a(window).bind("scroll.fb",a.fancybox.center),"iframe"==b.type&&a('<iframe id="fancybox-frame" name="fancybox-frame'+(new Date).getTime()+'" frameborder="0" hspace="0" '+(a.browser.msie?'allowtransparency="true""':"")+' scrolling="'+m.scrolling+'" src="'+b.href+'"></iframe>').appendTo(u),n.show(),T=!1,a.fancybox.center(),b.onComplete(y,v,b),y.length-1>v&&void 0!==(e=y[v+1].href)&&e.match(k)&&((new Image).src=e),0<v&&void 0!==(e=y[v-1].href)&&e.match(k)&&((new Image).src=e)},O=function(e){var t={width:parseInt(f.width+(h.width-f.width)*e,10),height:parseInt(f.height+(h.height-f.height)*e,10),top:parseInt(f.top+(h.top-f.top)*e,10),left:parseInt(f.left+(h.left-f.left)*e,10)};void 0!==h.opacity&&(t.opacity=e<.5?.5:e),n.css(t),u.css({width:t.width-2*b.padding,height:t.height-S*e-2*b.padding})},D=function(){return[a(window).width()-2*b.margin,a(window).height()-2*b.margin,a(document).scrollLeft()+b.margin,a(document).scrollTop()+b.margin]},F=function(){var e=D(),t={},i=b.autoScale,n=2*b.padding;return t.width=-1<b.width.toString().indexOf("%")?parseInt(e[0]*parseFloat(b.width)/100,10):b.width+n,t.height=-1<b.height.toString().indexOf("%")?parseInt(e[1]*parseFloat(b.height)/100,10):b.height+n,i&&(t.width>e[0]||t.height>e[1])&&("image"==m.type||"swf"==m.type?(i=b.width/b.height,t.width>e[0]&&(t.width=e[0],t.height=parseInt((t.width-n)/i+n,10)),t.height>e[1]&&(t.height=e[1],t.width=parseInt((t.height-n)*i+n,10))):(t.width=Math.min(t.width,e[0]),t.height=Math.min(t.height,e[1]))),t.top=parseInt(Math.max(e[3]-20,e[3]+.5*(e[1]-t.height-40)),10),t.left=parseInt(Math.max(e[2]-20,e[2]+.5*(e[0]-t.width-40)),10),t},H=function(){var e=!!m.orig&&a(m.orig),t={};return t=e&&e.length?((t=e.offset()).top+=parseInt(e.css("paddingTop"),10)||0,t.left+=parseInt(e.css("paddingLeft"),10)||0,t.top+=parseInt(e.css("border-top-width"),10)||0,t.left+=parseInt(e.css("border-left-width"),10)||0,t.width=e.width(),t.height=e.height(),{width:t.width+2*b.padding,height:t.height+2*b.padding,top:t.top-b.padding-20,left
1:t.left-b.padding-20}):(e=D(),{width:2*b.padding,height:2*b.padding,top:parseInt(e[3]+.5*e[1],10),left:parseInt(e[2]+.5*e[0],10)})},R=function(){l.is(":visible")?(a("div",l).css("top",-40*t+"px"),t=(t+1)%12):clearInterval(e)};a.fn.fancybox=function(e){return a(this).length&&a(this).data("fancybox",a.extend({},e,a.metadata?a(this).metadata():{})).unbind("click.fb").bind("click.fb",function(e){e.preventDefault(),T||(T=!0,a(this).blur(),_=[],g=0,(e=a(this).attr("rel")||"")&&""!=e&&"nofollow"!==e?(_=a("a[rel="+e+"], area[rel="+e+"]"),g=_.index(this)):_.push(this),N())}),this},a.fancybox=function(e,t){var i;if(!T){if(T=!0,i=void 0!==t?t:{},_=[],g=parseInt(i.index,10)||0,a.isArray(e)){for(var n=0,s=e.length;n<s;n++)"object"==typeof e[n]?a(e[n]).data("fancybox",a.extend({},i,e[n])):e[n]=a({}).data("fancybox",a.extend({content:e[n]},i));_=jQuery.merge(_,e)}else"object"==typeof e?a(e).data("fancybox",a.extend({},i,e)):e=a({}).data("fancybox",a.extend({content:e},i)),_.push(e);(g>_.length||g<0)&&(g=0),N()}},a.fancybox.showActivity=function(){clearInterval(e),l.show(),e=setInterval(R,66)},a.fancybox.hideActivity=function(){l.hide()},a.fancybox.next=function(){return a.fancybox.pos(v+1)},a.fancybox.prev=function(){return a.fancybox.pos(v-1)},a.fancybox.pos=function(e){T||(e=parseInt(e),_=y,-1<e&&e<y.length?(g=e,N()):b.cyclic&&1<y.length&&(g=e>=y.length?0:y.length-1,N()))},a.fancybox.cancel=function(){T||(T=!0,a.event.trigger("fancybox-cancel"),I(),m.onCancel(_,g,m),T=!1)},a.fancybox.close=function(){function e(){i.fadeOut("fast"),r.empty().hide(),n.hide(),a.event.trigger("fancybox-cleanup"),u.empty(),b.onClosed(y,v,b),y=m=[],v=g=0,b=m={},T=!1}var t;T||n.is(":hidden")||(T=!0,b&&!1===b.onCleanup(y,v,b)?T=!1:(I(),a(o.add(d).add(p)).hide(),a(u.add(i)).unbind(),a(window).unbind("resize.fb scroll.fb"),a(document).unbind("keydown.fb"),u.find("iframe").attr("src",z&&/^https/i.test(window.location.href||"")?"javascript:void(false)":"about:blank"),"inside"!==b.titlePosition&&r.empty(),n.stop(),"elastic"==b.transitionOut?(f=H(),t=n.position(),h={top:t.top,left:t.left,width:n.width(),height:n.height()},b.opacity&&(h.opacity=1),r.empty().hide(),$.prop=1,a($).animate({prop:0},{duration:b.speedOut,easing:b.easingOut,step:O,complete:e})):n.fadeOut("none"==b.transitionOut?0:b.speedOut,e)))},a.fancybox.resize=function(){i.is(":visible")&&i.css("height",a(document).height()),a.fancybox.center(!0)},a.fancybox.center=function(e){var t,i;T||(i=!0===e?1:0,t=D(),!i&&(n.width()>t[0]||n.height()>t[1]))||n.stop().animate({top:parseInt(Math.max(t[3]-20,t[3]+.5*(t[1]-u.height()-40)-b.padding)),left:parseInt(Math.max(t[2]-20,t[2]+.5*(t[0]-u.width()-40)-b.padding))},"number"==typeof e?e:200)},a.fancybox.init=function(){a("#fancybox-wrap").length||(a("body").append(c=a('<div id="fancybox-tmp"></div>'),l=a('<div id="fancybox-loading"><div></div></div>'),i=a('<div id="fancybox-overlay"></div>'),n=a('<div id="fancybox-wrap"></div>')),(s=a('<div id="fancybox-outer"></div>').append('<div class="fancybox-bg" id="fancybox-bg-n"></div><div class="fancybox-bg" id="fancybox-bg-ne"></div><div class="fancybox-bg" id="fancybox-bg-e"></div><div class="fancybox-bg" id="fancybox-bg-se"></div><div class="fancybox-bg" id="fancybox-bg-s"></div><div class="fancybox-bg" id="fancybox-bg-sw"></div><div class="fancybox-bg" id="fancybox-bg-w"></div><div class="fancybox-bg" id="fancybox-bg-nw"></div>').appendTo(n)).append(u=a('<div id="fancybox-content"></div>'),o=a('<a id="fancybox-close"></a>'),r=a('<div id="fancybox-title"></div>'),d=a('<a href="javascript:;" id="fancybox-left"><span class="fancy-ico" id="fancybox-left-ico"></span></a>'),p=a('<a href="javascript:;" id="fancybox-right"><span class="fancy-ico" id="fancybox-right-ico"></span></a>')),o.click(a.fancybox.close),l.click(a.fancybox.cancel),d.click(function(e){e.preventDefault(),a.fancybox.prev()}),p.click(function(e){e.preventDefault(),a.fancybox.next()}),a.fn.mousewheel&&n.bind("mousewheel.fb",function(e,t){T?e.preventDefault():0!=a(e.target).get(0).clientHeight&&a(e.target).get(0).scrollHeight!==a(e.target).get(0).clientHeight||(e.preventDefault(),a.fancybox[0<t?"prev":"next"]())}),a.support.opacity||n.addClass("fancybox-ie"),z&&(l.addClass("fancybox-ie6"),n.addClass("fancybox-ie6"),a('<iframe id="fancybox-hide-sel-frame" src="'+(/^https/i.test(window.location.href||"")?"javascript:void(false)":"about:blank")+'" scrolling="no" border="0" frameborder="0" tabindex="-1"></iframe>').prependTo(s)))},a.fn.fancybox.defaults={padding:10,margin:40,opacity:!1,modal:!1,cyclic:!1,scrolling:"auto",width:560,height:340,autoScale:!0,autoDimensions:!0,centerOnScroll:!1,ajax:{},swf:{wmode:"transparent"},hideOnOverlayClick:!0,hideOnContentClick:!1,overlayShow:!0,overlayOpacity:.7,overlayColor:"#777",titleShow:!0,titlePosition:"float",titleFormat:null,titleFromAlt:!1,transitionIn:"fade",transitionOut:"fade",speedIn:300,speedOut:300,changeSpeed:300,changeFade:"fast",easingIn:"swing",easingOut:"swing",showCloseButton:!0,showNavArrows:!0,enableEscapeButton:!0,enableKeyboardNav:!0,onStart:function(){},onCancel:function(){},onComplete:function(){},onCleanup:function(){},onClosed:function(){},onError:function(){}},a(document).ready(function(){a.fancybox.init()})}(jQuery),!function(d){d.anythingSlider=function(e,t){var l,n,u=this;u.el=e,u.$el=d(e).addClass("anythingBase").wrap('<div class="anythingSlider"><div class="anythingWindow" /></div>'),u.$el.data("AnythingSlider",u),u.init=function(){u.options=l=d.extend({},d.anythingSlider.defaults,t),u.initialized=!1,d.isFunction(l.onBeforeInitialize)&&u.$el.bind("before_initialize",l.onBeforeInitialize),u.$el.trigger("before_initialize",u),d('\x3c!--[if lte IE 8]><script>jQuery("body").addClass("as-oldie");<\/script><![endif]--\x3e').appendTo("body").remove(),u.$wrapper=u.$el.parent().closest("div.anythingSlider").addClass("anythingSlider-"+l.theme),u.$window=u.$el.closest("div.anythingWindow"),u.win=window,u.$win=d(u.win),u.$controls=d('<div class="anythingControls"></div>'),u.$nav=d('<ul class="thumbNav"><li><a><span></span></a></li></ul>'),u.$startStop=d('<a href="#" class="start-stop"></a>'),(l.buildStartStop||l.buildNavigation)&&u.$controls.appendTo(l.appendControl
1sTo&&d(l.appendControlsTo).length?d(l.appendControlsTo):u.$wrapper),l.buildNavigation&&u.$nav.appendTo(l.appendNavigationTo&&d(l.appendNavigationTo).length?d(l.appendNavigationTo):u.$controls),l.buildStartStop&&u.$startStop.appendTo(l.appendStartStopTo&&d(l.appendStartStopTo).length?d(l.appendStartStopTo):u.$controls),u.runTimes=d(".anythingBase").length,u.regex=RegExp("panel"+u.runTimes+"-(\\d+)","i"),1===u.runTimes&&u.makeActive(),u.flag=!1,u.playing=l.autoPlay,u.slideshow=!1,u.hovered=!1,u.panelSize=[],u.currentPage=u.targetPage=l.startPanel=parseInt(l.startPanel,10)||1,l.changeBy=parseInt(l.changeBy,10)||1,n=(l.mode||"h").toLowerCase().match(/(h|v|f)/),n=l.vertical?"v":(n||["h"])[0],l.mode="v"===n?"vertical":"f"===n?"fade":"horizontal","f"===n&&(l.showMultiple=1,l.infiniteSlides=!1),u.adj=l.infiniteSlides?0:1,u.adjustMultiple=0,u.width=u.$el.width(),u.height=u.$el.height(),u.outerPad=[u.$wrapper.innerWidth()-u.$wrapper.width(),u.$wrapper.innerHeight()-u.$wrapper.height()],l.playRtl&&u.$wrapper.addClass("rtl"),l.expand&&(u.$outer=u.$wrapper.parent(),u.$window.css({width:"100%",height:"100%"}),u.checkResize()),l.buildStartStop&&u.buildAutoPlay(),l.buildArrows&&u.buildNextBackButtons(),l.autoPlay||(l.autoPlayLocked=!1),u.$lastPage=u.$targetPage=u.$currentPage,u.updateSlider(),d.isFunction(d.easing[l.easing])||(l.easing="swing"),l.pauseOnHover&&u.$wrapper.hover(function(){u.playing&&(u.$el.trigger("slideshow_paused",u),u.clearTimer(!0))},function(){u.playing&&(u.$el.trigger("slideshow_unpaused",u),u.startStop(u.playing,!0))}),u.slideControls(!1),u.$wrapper.bind("mouseenter mouseleave",function(e){d(this)["mouseenter"===e.type?"addClass":"removeClass"]("anythingSlider-hovered"),u.hovered="mouseenter"===e.type,u.slideControls(u.hovered)}),d(document).keyup(function(e){if(l.enableKeyboard&&u.$wrapper.hasClass("activeSlider")&&!e.target.tagName.match("TEXTAREA|INPUT|SELECT")&&("vertical"===l.mode||38!==e.which&&40!==e.which))switch(e.which){case 39:case 40:u.goForward();break;case 37:case 38:u.goBack()}}),u.currentPage=u.gotoHash()||l.startPanel||1,u.gotoPage(u.currentPage,!1,null,-1);var i="slideshow_paused slideshow_unpaused slide_init slide_begin slideshow_stop slideshow_start initialized swf_completed".split(" ");d.each("onShowPause onShowUnpause onSlideInit onSlideBegin onShowStop onShowStart onInitialized onSWFComplete".split(" "),function(e,t){d.isFunction(l[t])&&u.$el.bind(i[e],l[t])}),d.isFunction(l.onSlideComplete)&&u.$el.bind("slide_complete",function(){return setTimeout(function(){l.onSlideComplete(u)},0),!1}),u.initialized=!0,u.$el.trigger("initialized",u),u.startStop(l.autoPlay)},u.updateSlider=function(){u.$el.children(".cloned").remove(),u.navTextVisible="hidden"!==u.$nav.find("span:first").css("visibility"),u.$nav.empty(),u.currentPage=u.currentPage||1,u.$items=u.$el.children(),u.pages=u.$items.length,u.dir="vertical"===l.mode?"top":"left",l.showMultiple="vertical"!==l.mode&&parseInt(l.showMultiple,10)||1,l.navigationSize=!1!==l.navigationSize&&parseInt(l.navigationSize,10)||0,u.$items.find("a").unbind("focus.AnythingSlider").bind("focus.AnythingSlider",function(e){var t=d(this).closest(".panel"),t=u.$items.index(t)+u.adj;u.$items.find(".focusedLink").removeClass("focusedLink"),d(this).addClass("focusedLink"),u.$window.scrollLeft(0).scrollTop(0),-1!==t&&(t>=u.currentPage+l.showMultiple||t<u.currentPage)&&(u.gotoPage(t),e.preventDefault())}),1<l.showMultiple&&(l.showMultiple>u.pages&&(l.showMultiple=u.pages),u.adjustMultiple=l.infiniteSlides&&1<u.pages?0:l.showMultiple-1),u.$controls.add(u.$
1nav).add(u.$startStop).add(u.$forward).add(u.$back)[u.pages<=1?"hide":"show"](),1<u.pages&&u.buildNavigation(),"fade"!==l.mode&&l.infiniteSlides&&1<u.pages&&(u.$el.prepend(u.$items.filter(":last").clone().addClass("cloned")),1<l.showMultiple?u.$el.append(u.$items.filter(":lt("+l.showMultiple+")").clone().addClass("cloned multiple")):u.$el.append(u.$items.filter(":first").clone().addClass("cloned")),u.$el.find(".cloned").each(function(){d(this).find("a,input,textarea,select,button,area,form").attr({disabled:"disabled",name:""}),d(this).find("[id]").andSelf().removeAttr("id")})),u.$items=u.$el.addClass(l.mode).children().addClass("panel"),u.setDimensions(),l.resizeContents?(u.$items.css("width",u.width),u.$wrapper.css("width",u.getDim(u.currentPage)[0]).add(u.$items).css("height",u.height)):u.$win.load(function(){u.setDimensions(),n=u.getDim(u.currentPage),u.$wrapper.css({width:n[0],height:n[1]}),u.setCurrentPage(u.currentPage,!1)}),u.currentPage>u.pages&&(u.currentPage=u.pages),u.setCurrentPage(u.currentPage,!1),u.$nav.find("a").eq(u.currentPage-1).addClass("cur"),"fade"===l.mode&&u.$items.eq(u.currentPage-1).css({opacity:1}).siblings().css({opacity:0})},u.buildNavigation=function(){var t,i,n,s,o;l.buildNavigation&&1<u.pages&&(u.$items.filter(":not(.cloned)").each(function(e){o=d("<li/>"),i=(1===(n=e+1)?" first":"")+(n===u.pages?" last":""),t='<a class="panel'+n+(u.navTextVisible?'"':" "+l.tooltipClass+'" title="@"')+' href="#"><span>@</span></a>',d.isFunction(l.navigationFormatter)?"string"==typeof(s=l.navigationFormatter(n,d(this)))?o.html(t.replace(/@/g,s)):o=d("<li/>",s):o.html(t.replace(/@/g,n)),o.appendTo(u.$nav).addClass(i).data("index",n)}),u.$nav.children("li").bind(l.clickControls,function(e){!u.flag&&l.enableNavigation&&(u.flag=!0,setTimeout(function(){u.flag=!1},100),u.gotoPage(d(this).data("index"))),e.preventDefault()}),l.navigationSize)&&l.navigationSize<u.pages&&(u.$controls.find(".anythingNavWindow").length||u.$nav.before('<ul><li class="prev"><a href="#"><span>'+l.backText+"</span></a></li></ul>").after('<ul><li class="next"><a href="#"><span>'+l.forwardText+"</span></a></li></ul>").wrap('<div class="anythingNavWindow"></div>'),u.navWidths=u.$nav.find("li").map(function(){return d(this).outerWidth(!0)+Math.ceil(parseInt(d(this).find("span").css("left"),10)/2||0)}).get(),u.navLeft=u.currentPage,u.$nav.width(u.navWidth(1,u.pages+1)+25),u.$controls.find(".anythingNavWindow").width(u.navWidth(1,l.navigationSize+1)).end().find(".prev,.next").bind(l.clickControls,function(e){u.flag||(u.flag=!0,setTimeout(function(){u.flag=!1},200),u.navWindow(u.navLeft+l.navigationSize*(d(this).is(".prev")?-1:1))),e.preventDefault()}))},u.navWidth=function(e,t){for(var i=Math.min(e,t),n=Math.max(e,t),s=0;i<n;i++)s+=u.navWidths[i-1]||0;return s},u.navWindow=function(e){var t;l.navigationSize&&l.navigationSize<u.pages&&u.navWidths&&(t=u.pages-l.navigationSize+1,(e=e<=1?1:1<e&&e<t?e:t)!==u.navLeft)&&(u.$controls.find(".anythingNavWindow").animate({scrollLeft:u.navWidth(1,e),width:u.navWidth(e,e+l.navigationSize)},{queue:!1,duration:l.animationTime}),u.navLeft=e)},u.buildNextBackButtons=function(){u.$forward=d('<span class="arrow forward"><a href="#"><span>'+l.forwardText+"</span></a></span>"),u.$back=d('<span class="arrow back"><a href="#"><span>'+l.backText+"</span></a></span>"),u.$back.bind(l.clickBackArrow,function(e){l.enableArrows&&!u.flag&&(u.flag=!0,setTimeout(function(){u.flag=!1},100),u.goBack()),e.preventDefault()}),u.$forward.bind(l.clickForwardArrow,function(e){l.enableArrows&&!u.flag&&(u.flag=!0,setTimeout(function(){u.flag=!1},100),u.goForward()),e.preventDefault()}),u.$back.add(u.$forward).find("a").bind("focusin focusout",function(){d(this).toggleClass("hover")}),u.$back.appendTo(l.appendBackTo&&d(l.appendBackTo).length?d(l.appendBackTo):u.$wrapper),u.$forward.appendTo(l.appendForwardTo&&d(l.appendForwardTo).length?d(l.appendForwardTo):u.$wrapper),u.arrowWidth=u.$forward.width(),u.arrowRight=parseInt(u.$forward.css("right"),10),u.arrowLeft=parseInt(u.$back.css("left"),10)},u.buildAutoPlay=function(){u.$startStop.html("<span>"+(u.playing?l.stopText:l.startText)+"</span>").bind(l.clickSlideshow,function(e){l.enableStartStop&&(u.startStop(!u.playing),u.makeActive(),u.playing)&&!l.autoPlayDelayed&&u.goForward(!0),e.preventDefault()}).bind("focusin focusout",function(){d(this).toggleClass("hover")})},u.checkResize=function(i){clearTimeout(u.resizeTimer),u.resizeTimer=setTimeout(function(){var e=u.$outer.width()-u.outerPad[0],t=("BODY"===u.$outer[0].tagName?u.$
1win:u.$outer).height()-u.outerPad[1];u.width*l.showMultiple===e&&u.height===t||(u.setDimensions(),u.gotoPage(u.currentPage,u.playing,null,-1)),void 0===i&&u.checkResize()},500)},u.setDimensions=function(){var t,i,n,s,o=0,r={width:"100%",height:"100%"},a=1<l.showMultiple?u.width||u.$window.width()/l.showMultiple:u.$window.width(),c=u.$win.width();l.expand&&(t=u.$outer.width()-u.outerPad[0],u.height=i=u.$outer.height()-u.outerPad[1],u.$wrapper.add(u.$window).add(u.$items).css({width:t,height:i}),u.width=a=1<l.showMultiple?t/l.showMultiple:t),u.$items.each(function(e){s=d(this),n=s.children(),l.resizeContents?(t=u.width,i=u.height,s.css({width:t,height:i}),n.length&&("EMBED"===n[0].tagName&&n.attr(r),"OBJECT"===n[0].tagName&&n.find("embed").attr(r),1===n.length)&&n.css(r)):(t=s.width()||u.width,1===n.length&&c<=t&&(t=n.width()>=c?a:n.width(),n.css("max-width",t)),s.css("width",t),(i=1===n.length?n.outerHeight(!0):s.height())<=u.outerPad[1]&&(i=u.height),s.css("height",i)),u.panelSize[e]=[t,i,o],o+="vertical"===l.mode?i:t}),u.$el.css("vertical"===l.mode?"height":"width","fade"===l.mode?u.width:o)},u.getDim=function(e){var t,i=u.width,n=u.height;if(!(u.pages<1||isNaN(e))&&(e=l.infiniteSlides&&1<u.pages?e:e-1,(t=u.panelSize[e])&&(i=t[0]||i,n=t[1]||n),1<l.showMultiple))for(t=1;t<l.showMultiple;t++)i+=u.panelSize[e+t][0],n=Math.max(n,u.panelSize[e+t][1]);return[i,n]},u.goForward=function(e){u.gotoPage(u[l.allowRapidChange?"targetPage":"currentPage"]+l.changeBy*(l.playRtl?-1:1),e)},u.goBack=function(e){u.gotoPage(u[l.allowRapidChange?"targetPage":"currentPage"]+l.changeBy*(l.playRtl?1:-1),e)},u.gotoPage=function(n,e,s,o){var t;!0!==e&&(u.startStop(e=!1),u.makeActive()),/^[#|.]/.test(n)&&d(n).length&&(n=d(n).closest(".panel").index()+u.adj),1!==l.changeBy&&(t=u.pages-u.adjustMultiple,(n=n<1?l.stopAtEnd?1:l.infiniteSlides?u.pages+n:l.showMultiple>1-n?1:t:n)>u.pages?n=l.stopAtEnd?u.pages:l.showMultiple>1-n?1:n-t:t<=n&&(n=t)),u.pages<=1||(u.$lastPage=u.$currentPage,"number"!=typeof n&&(n=parseInt(n,10)||l.startPanel,u.setCurrentPage(n)),e&&l.isVideoPlaying(u))||((n=(u.exactPage=n)>u.pages+1-u.adj?l.infiniteSlides||l.stopAtEnd?u.pages:1:n)<u.adj&&(n=l.infiniteSlides||l.stopAtEnd?1:u.pages),l.infiniteSlides||(u.exactPage=n),u.currentPage=n>u.pages?u.pages:n<1?1:u.currentPage,u.$currentPage=u.$items.removeClass("activePage").eq(u.currentPage-u.adj),u.targetPage=0===n?u.pages:n>u.pages?1:n,u.$targetPage=u.$items.eq(u.targetPage-u.adj),0<=(o=o||l.animationTime)&&u.$el.trigger("slide_init",u),0<o&&u.slideControls(!0),l.buildNavigation&&u.setNavigation(u.targetPage),(!(e=!0!==e?!1:e)||l.stopAtEnd&&n===u.pages)&&u.startStop(!1),0<=o&&u.$el.trigger("slide_begin",u),setTimeout(function(e){var t,i=!0;l.allowRapidChange&&u.$wrapper.add(u.$el).add(u.$items).stop(!0,!0),l.resizeContents||(t=u.getDim(n),e={},u.$wrapper.width()!==t[0]&&(e.width=t[0]||u.width,i=!1),u.$wrapper.height()!==t[1]&&(e.height=t[1]||u.height,i=!1),i)||u.$wrapper.filter(":not(:animated)").animate(e,{queue:!1,duration:o<0?0:o,easing:l.easing}),"fade"===l.mode?u.$lastPage[0]!==u.$targetPage[0]?(u.$lastPage.filter(":not(:animated)").fadeTo(o<0?0:o,0),u.$targetPage.filter(":not(:animated)").fadeTo(o<0?0:o,1,function(){u.endAnimation(n,s,o)})):u.endAnimation(n,s,o):((e={})[u.dir]=-u.panelSize[l.infiniteSlides&&1<u.pages?n:n-1][2],u.$el.filter(":not(:animated)").animate(e,{queue:!1,duration:o,easing:l.easing,complete:function(){u.endAnimation(n,s,o)}}))},parseInt(l.delayBeforeAnimate,10)||0))},u.endAnimation=function(e,t,i){0===e?(u.$el.css(u.dir,"fade"===l.mode?0:-u.panelSize[u.pages][2]),e=u.pages):e>u.pages&&(u.$el.css(u.dir,"fade"===l.mode?0:-u.panelSize[1][2]),e=1),u.exactPage=e,u.setCurrentPage(e,!1),"fade"===l.mode&&u.$items.not(":eq("+(e-u.adj)+")").css("opacity",0),u.hovered||u.slideControls(!1),l.hashTags&&u.setHash(e),0<=i&&u.$el.trigger("slide_complete",u),"function"==typeof t&&t(u),l.autoPlayLocked&&!u.playing&&setTimeout(function(){u.startStop(!0)},l.resumeDelay-(l.autoPlayDelayed?l.delay:0))},u.setCurrentPage=function(e,t){e=parseInt(e,10),u.pages<1||0===e||isNaN(e)||((e=e>u.pages+1-u.adj?u.pages-u.adj:e)<u.adj&&(e=1),l.buildArrows&&!l.infiniteSlides&&l.stopAtEnd&&(u.$forward[e===u.pages-u.adjustMultiple?"addClass":"removeClass"]("disabled"),u.$back[1===e?"addClass":"removeClass"]("disabled"),e===u.pages)&&u.playing&&u.startStop(),t||(t=u.getDim(e),u.$wrapper.css({width:t[0],height:t[1]}).add(u.$window).scrollLeft(0).scrollTop(0),u.$el.css(u.dir,"fade"===l.mode?0:-u.panelSize[l.infiniteSlides&&1<u.pages?e:e-1][2])),u.currentPage=e,u.$currentPage=u.$items.removeClass("activePage").eq(e-u.adj).addClass("activePage"),l.buildNavigation&&u.setNavigation(e))},u.setNavigation=function(e){u.$nav.find(".cur").removeClass("cur").end().find("a").eq(e-1).addClass("cur")},u.makeActive=function(){u.$wrapper.hasClass("activeSlider")||(d(".activeSlider").removeClass("activeSlider"),u.$wrapper.addClass("activeSlider"))},u.gotoHash=function(){var e=u.win.location.hash,t=e.indexOf("&"),i=e.match(u.regex);return null!==i||/^#&/.test(e)||/#!?\//.test(e)?null!==i&&(i=l.hashTags?parseInt(i[1],10):null):(e=e.substring(0,0<=t?t:e.length),i=d(e).length&&d(e).closest(".anythingBase")[0]===u.el?u.$items.index(d(e).closest(".panel"))+u.adj:null),i},u.setHash=function(e){var t="panel"+u.runTimes+"-",i=u.win.location.hash;void 0!==i&&(u.win.location.hash=0<i.indexOf(t)?i.replace(u.regex,t+e):i+"&"+t+e)},u.slideControls=function(e){var t=e?0:l.animationTime,i=e?l.animationTime:0,n=e?1:0,s=e?0:1;l.toggleControls&&u.$controls.stop(!0,!0).delay(t)[e?"slideDown":"slideUp"](l.animationTime/2).delay(i),l.buildArrows&&l.toggleArrows&&(!u.hovered&&u.playing&&(s=1,n=0),u.$forward.stop(!0,!0).delay(t).animate({right:u.arrowRight+s*u.arrowWidth,opacity:n},l.animationTime/2),u.$back.stop(!0,!0).delay(t).animate({left:u.arrowLeft+s*u.arrowWidth,opacity:n},l.animationTime/2))},u.clearTimer=function(e){u.timer&&(u.win.clearInterval(u.timer),!e)&&u.slideshow&&(u.$el.trigger("slideshow_stop",u),u.slideshow=!1)},u.startStop=function(e,t){(u.playing=e=!0!==e?!1:e)&&!t&&(u.$el.trigger("slideshow_start",u),u.slideshow=!0),l.buildStartStop&&(u.$startStop.toggleClass("playing",e).find("span").html(e?l.stopText:l.startText),"hidden"===u.$startStop.find("span").css("visibility"))&&u.$startStop.addClass(l.tooltipClass).attr("title",e?l.stopText:l.startText),e?(u.clearTimer(!0),u.timer=u.win.setInterval(function(){l.isVideoPlaying(u)?l.resumeOnVideoEnd||u.startStop():u.goForward(!0)},l.delay)):u.clearTimer()}
1,u.init()},d.anythingSlider.defaults={theme:"default",mode:"horiz",expand:!1,resizeContents:!0,showMultiple:!1,easing:"swing",buildArrows:!0,buildNavigation:!0,buildStartStop:!0,toggleArrows:!1,toggleControls:!1,startText:"Start",stopText:"Stop",forwardText:"&raquo;",backText:"&laquo;",tooltipClass:"tooltip",enableArrows:!0,enableNavigation:!0,enableStartStop:!0,enableKeyboard:!0,startPanel:1,changeBy:1,hashTags:!0,infiniteSlides:!0,navigationFormatter:null,navigationSize:!1,autoPlay:!1,autoPlayLocked:!1,autoPlayDelayed:!1,pauseOnHover:!0,stopAtEnd:!1,playRtl:!1,delay:3e3,resumeDelay:15e3,animationTime:600,delayBeforeAnimate:0,clickForwardArrow:"click",clickBackArrow:"click",clickControls:"click focusin",clickSlideshow:"click",allowRapidChange:!1,resumeOnVideoEnd:!0,resumeOnVisible:!0,addWmodeToObject:"opaque",isVideoPlaying:function(){return!1}},d.fn.anythingSlider=function(i,n){return this.each(function(){var e,t=d(this).data("AnythingSlider");(typeof i).match("object|undefined")?t?t.updateSlider():new d.anythingSlider(this,i):/\d/.test(i)&&!isNaN(i)&&t?1<=(e="number"==typeof i?i:parseInt(d.trim(i),10))&&e<=t.pages&&t.gotoPage(e,!1,n):/^[#|.]/.test(i)&&d(i).length&&t.gotoPage(i,!1,n)})}}(jQuery),!function(p){p.fn.anythingSliderFx=function(t,i){var e=p(this).closest(".anythingSlider"),n=e.width(),s=e.height(),d=function(e){var t,i=e;return e&&"string"==typeof e&&0<e.indexOf(",")&&(e=e.split(","),i=p.trim(e[0]),t=p.trim(e[1])),{top:[{inFx:{top:0},outFx:{top:"-"+(i||s)}}],bottom:[{inFx:{top:0},outFx:{top:i||s}}],left:[{inFx:{left:0},outFx:{left:"-"+(i||n)}}],right:[{inFx:{left:0},outFx:{left:i||n}}],fade:[{inFx:{opacity:i||1},outFx:{opacity:0}}],expand:[{inFx:{width:t||"100%",height:t||"100%",top:"0%",left:"0%"},outFx:{width:i||"10%",height:i||"10%",top:"50%",left:"50%"}}],grow:[{inFx:{top:0,fontSize:i||"16px",opacity:1},outFx:{top:"-200px",fontSize:t||"80px",opacity:0}}],listLR:[{inFx:{left:0,opacity:1},outFx:[{left:i||n,opacity:0},{left:"-"+(i||n),opacity:0}],selector:[":odd",":even"]}],listRL:[{inFx:{left:0,opacity:1},outFx:[{left:i||n,opacity:0},{left:"-"+(i||n),opacity:0}],selector:[":even",":odd"]}],"caption-Top":[{inFx:{top:0,opacity:.8},outFx:{top:"-"+i||-50,opacity:0}}],"caption-Right":[{inFx:{right:0,opacity:.8},outFx:{right:"-"+i||-150,opacity:0}}],"caption-Bottom":[{inFx:{bottom:0,opacity:.8},outFx:{bottom:"-"+i||-50,opacity:0}}],"caption-Left":[{inFx:{left:0,opacity:.8},outFx:{left:"-"+i||-150,opacity:0}}]}};return this.each(function(){p(this).data("AnythingSlider").fx=t;var c=p.extend({easing:"swing",timeIn:400,timeOut:350,stopRepeat:!1,outFxBind:"slide_init",inFxBind:"slide_complete",dataAnimate:"data-animate"},i),l=d(),a=function(e,t,i,n){var s,o;0!==e.length&&void 0!==t&&(o=(s=t[0]||t)[1]||"",n=n||parseInt((""===o?s:s[0]).duration,10),i&&("absolute"!==e.css("position")&&e.css({position:"relative"}),e.stop(),""!==o)?(e.filter(t[1][0]).animate(s[0],{queue:!1,duration:n,easing:s[0].easing}),e.filter(t[1][1]).animate(o,{queue:!0,duration:n,easing:s[0].easing})):e.animate(s,{queue:!0,duration:n,easing:s.easing}))},u=function(n,s){var e,o=s?"outFx":"inFx",r={},a=s?c.timeOut:c.timeIn,t=p.trim(n[0].replace(/\s+/g," ")).split(" ");return s&&1===t.length&&l.hasOwnProperty(t)&&void 0!==l[t][0].selector?((e=l[t][0].outFx)[0].duration=n[2]||c.timeOut,e[0].easing=n[3]||c.easing,[e,l[t][0].selector||[]]):(p.each(t,function(e,t){var i;l.hasOwnProperty(t)&&(i=(i=void 0===n[1]||""===n[1])?l:d(n[1]),p.extend(!0,r,i[t][0][o]),i=n[2]||r.duration||a,r.duration=s?i/2:i,r.easing=isNaN(n[3])?n[3]||c.easing:n[4]||c.easing)}),[r])},e=p(this).bind(c.outFxBind,function(e,t){if(!c.stopRepeat||t.$lastPage[0]!==t.$targetPage[0]){var i,n,s,o=t.$lastPage.add(t.$items.eq(t.exactPage)).add(t.$targetPage),r=t.fx;for(i in 0===t.exactPage&&(o=o.add(t.$items.eq(t.pages))),t.options.animationTime<c.timeOut&&(s=t.options.animationTime||c.timeOut),o=o.find("*").andSelf(),r)if("outFx"===i)for(n in r.outFx)o.filter(n).length&&a(o.filter(n),r.outFx[n],!0);else"inFx"!==i&&p.isArray(r[i])&&o.filter(i).length&&a(o.filter(i),u(r[i],!0),!0,s);(i=o.filter("["+c.dataAnimate+"]")).length&&i.each(function(){""!==(r=p(this).attr(c.dataAnimate).split(","))[0]&&p(this).removeClass(r[0]).addClass(r[1]||r[0])})}}).bind(c.inFxBind,function(e,t){if(!c.stopRepeat||t.$lastPage[0]!==t.$targetPage[0]){var i,n,s=t.$currentPage.add(t.$items.eq(t.exactPage)),o=t.fx,s=s.find("*").andSelf();for(i in o)if("inFx"===i)for(n in o.inFx)s.filter(n).length&&a(s.filter(n),o.inFx[n],!1);else"outFx"!==i&&p.isArray(o[i])&&s.filter(i).length&&a(s.filter(i),u(o[i],!1),!1);(i=s.filter("["+c.dataAnimate+"]")).length&&i.each(function(){""!==(o=p(this).attr(c.dataAnimate).split(","))[0]&&p(this).removeClass(o[1]||o[0]).addClass(o[0])})}}).data("AnythingSlider");p(window).load(function(){e.gotoPage(e.currentPage,e.playing)})})}}(jQuery),!function(d){d(document).ready(function(){var t={topSpacing:0,bottomSpacing:d(".content-box").outerHeight()+d(".footer_wrapper").outerHeight()+146+290,className:"is-sticky",wrapperClassName:"sticky-wrapper",center:!1,getWidthFrom:""},a=d(window),c=d(document),l=[],u=a.height(),e=function(){for(var e=a.scrollTop(),t=c.height(),i=t-u,n=i<e?i-e:-70,s=0;s<l.length;s++){var o,r=l[s];e<=r.stickyWrapper.offset().top-r.topSpacing-n?null!==r.currentTop&&(r.stickyElement.css("position","").css("top",""),r.stickyElement.parent().removeClass(r.className),r.currentTop=null):((o=t-r.stickyElement.outerHeight()-r.topSpacing-r.bottomSpacing-e-n)<0?o+=r.topSpacing:o=r.topSpacing,r.currentTop!=o&&(r.stickyElement.css("position","fixed").css("top",o),void 0!==r.getWidthFrom&&r.stickyElement.css("width",d(r.getW
1idthFrom).width()),r.stickyElement.parent().addClass(r.className),r.currentTop=o))}},i=function(){u=a.height()},n={init:function(e){var i=d.extend(t,e);return this.each(function(){var e=d(this),t=e.attr("id"),t=(void 0===t&&(t=e.attr("class").replace(" ","-")),d("<div></div>").attr("id",t+"-sticky-wrapper").addClass(i.wrapperClassName)),t=(e.wrapAll(t),i.center&&e.parent().css({width:e.outerWidth(),marginLeft:"auto",marginRight:"auto"}),"right"==e.css("float")&&e.css({float:"none"}).parent().css({float:"right"}),e.parent());t.css({height:e.outerHeight(),width:e.outerWidth()}),l.push({topSpacing:i.topSpacing,bottomSpacing:i.bottomSpacing,stickyElement:e,currentTop:null,stickyWrapper:t,className:i.className,getWidthFrom:i.getWidthFrom})})},update:e};window.addEventListener?(window.addEventListener("scroll",e,!1),window.addEventListener("resize",i,!1)):window.attachEvent&&(window.attachEvent("onscroll",e),window.attachEvent("onresize",i)),d.fn.sticky=function(e){return n[e]?n[e].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof e&&e?void d.error("Method "+e+" does not exist on jQuery.sticky"):n.init.apply(this,arguments)},d(function(){setTimeout(e,0)})})}(jQuery),window.Modernizr=window.Modernizr||function(t,n){function e(e){u.cssText=e}function i(e,t){return typeof e===t}var s,o,r="2.7.1",a={},c=t.documentElement,l="modernizr",u=t.createElement(l).style,l=" -webkit- -moz- -o- -ms- ".split(" "),d={svg:"http://www.w3.org/2000/svg"},p={},f=[],h=f.slice,g={}.hasOwnProperty,m=i(g,"undefined")||i(g.call,"undefined")?function(e,t){return t in e&&i(e.constructor.prototype[t],"undefined")}:function(e,t){return g.call(e,t)};for(o in Function.prototype.bind||(Function.prototype.bind=function(i){var n=this;if("function"!=typeof n)throw new TypeError;var s=h.call(arguments,1),o=function(){var e,t;return this instanceof o?((e=function(){}).prototype=n.prototype,e=new e,t=n.apply(e,s.concat(h.call(arguments))),Object(t)===t?t:e):n.apply(i,s.concat(h.call(arguments)))};return o}
1),p.inlinesvg=function(){var e=t.createElement("div");return e.innerHTML="<svg/>",(e.firstChild&&e.firstChild.namespaceURI)==d.svg},p)m(p,o)&&(s=o.toLowerCase(),a[s]=p[o](),f.push((a[s]?"":"no-")+s));return a.addTest=function(e,t){if("object"==typeof e)for(var i in e)m(e,i)&&a.addTest(i,e[i]);else{if(e=e.toLowerCase(),a[e]!==n)return a;t="function"==typeof t?t():t,"undefined"!=typeof enableClasses&&enableClasses&&(c.className+=" "+(t?"":"no-")+e),a[e]=t}return a},e(""),0,a._version=r,a._prefixes=l,a}(this.document),Modernizr.addTest("cssfilters",function(){var e=document.createElement("div");return e.style.cssText=Modernizr._prefixes.join("filter:blur(2px); "),!!e.style.length&&(void 0===document.documentMode||9<document.documentMode)}),Modernizr.addTest("svgfilters",function(){var e=!1;try{e=2==SVGFEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_SATURATE}catch(e){}return e}),function(r,a){function t(e,t){var i=((t=t||{}).classes||{}).fade||s.classes.fade;t.fade=t.fade||-1<e.className.indexOf(i),this.element=e,this.settings=r.extend({},s,t),this._defaults=s,this._name=n,this.init()}var n="gray",s={fade:!1,classes:{fade:"grayscale-fade"}};t.prototype={init:function(){var e;!Modernizr.cssfilters&&Modernizr.inlinesvg&&Modernizr.svgfilters&&(e=r(this.element),this.cssFilterDeprecated(e)||this.settings.fade)&&this.switchImage(e)},cssFilterDeprecated:function(e){return"none"===e.css("filter")},elementType:function(e){return"IMG"===e.prop("tagName")?"Img":"Bg"},getComputedStyle:function(e){for(var t={},i={},n=0,s=(t=a.getComputedStyle(e,null)).length;n<s;n++){var o=t[n],r=t.getPropertyValue(o);i[o]=r}return i},extractUrl:function(e){return startRegex=/^url\(["']?/,endRegex=/["']?\)$/,e.replace(startRegex,"").replace(endRegex,"")},positionToNegativeMargin:function(e){var t=e.match(/^(-?\d+\S+)/)[0];return"margin:"+e.match(/\s(-?\d+\S+)$/)[0]+" 0 0 "+t},getBgSize:function(e,t){var i,n,s,o;return(o=new Image).src=e,"auto"!==t&&"cover"!==t&&"contain"!==t&&"inherit"!==t&&(e=r(this.element),i=o.width/o.height,n=parseInt((t.match(/^(\d+)px/)||[0,0])[1]),s=parseInt((t.match(/\s(\d+)px$/)||[0,0])[1]),t=e.height()*i,e=e.width()/i,n=n||t,s=s||e),n||s?{width:n,height:s}:{width:o.width,height:o.height}},getParams:function(e){var t=this.elementType(e);return this["get"+t+"Params"](e)},getImgParams:function(e){var t={};return t.styles=this.getComputedStyle(e[0]),t.svg={url:e[0].src,width:t.styles.width.replace("px",""),height:t.styles.height.replace("px",""),offset:""},t},getBgParams:function(e){var t={},i=this.extractUrl(e.css("background-image"));return bgSize=this.getBgSize(i,e.css("background-size")),offset=this.positionToNegativeMargin(e.css("background-position")),t.styles=this.getComputedStyle(e[0]),t.svg=r.extend({url:i},bgSize,{offset:offset}),t},setFadeStyles:function(e,t){return e["background-image"]='url("'+t+'")',delete e.filter,e},switchImage:function(e){var t=this.getParams(e),i=this.settings.fade?this.settings.classes.fade:"",i=r('<div class="grayscale-replaced '+i+'"><svg xmlns="http://www.w3.org/2000/svg" id="svgroot" viewBox="0 0 '+t.svg.width+" "+t.svg.height+'" width="'+t.svg.width+'" height="'+t.svg.height+'" style="'+t.svg.offset+'"><defs><filter id="gray"><feColorMatrix type="matrix" values="0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0" /></filter></defs><image filter="url(&quot;#gray&quot;)" x="0" y="0" width="'+t.svg.width+'" height="'+t.svg.height+'" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="'+t.svg.url+'" /></svg></div>');t.styles.display="inline-block",t.styles.overflow=t.styles["overflow-x"]=t.styles["overflow-y"]="hidden",this.settings.fade&&(t.styles=this.setFadeStyles(t.styles,t.svg.url)),i.css(t.styles),e.replaceWith(i)}},r.fn[n]=function(e){return this.each(function(){r.data(this,"plugin_"+n)||r.data(this,"plugin_"+n,new t(this,e))}),this},r(a).on("load",function(){r(".grayscale")[n]()})}(jQuery,window,document),!function($){function sc_setScroll(e,t,i){return{anims:[],duration:e,orgDuration:e,easing:t="transition"==i.transition&&"swing"==t?"ease":t,startTime:getTime()}}function sc_startScroll(e,t){for(var i=0,n=e.anims.length;i<n;i++){var s=e.anims[i];s&&s[0][t.transition](s[1],e.duration,e.easing,s[2])}}function sc_stopScroll(e,t){is_boolean(t)||(t=!0),is_object(e.pre)&&sc_stopScroll(e.pre,t);for(var i=0,n=e.anims.length;i<n;i++){var s=e.anims[i];s[0].stop(!0),t&&(s[0].css(s[1]),is_function(s[2]))&&s[2]()}is_object(e.post)&&sc_stopScroll(e.post,t)}function sc_afterScroll(e,t,i){switch(t&&t.remove(),i.fx){case"fade":case"crossfade":case"cover-fade":case"uncover-fade":e.css("opacity",1),e.css("filter","")}}function sc_fireCallbacks(e,t,i,n,s){if(t[i]&&t[i].call(e,n),s[i].length)for(var o=0,r=s[i].length;o<r;o++)s[i][o].call(e,n);return[]}function sc_fireQueue(e,t,i){return t.length&&(e.trigger(cf_e(t[0][0],i),t[0][1]),t.shift()),t}
1function sc_hideHiddenItems(e){e.each(function(){var e=$(this);e.data("_cfs_isHidden",e.is(":hidden")).hide()})}function sc_showHiddenItems(e){e&&e.each(function(){var e=$(this);e.data("_cfs_isHidden")||e.show()})}function sc_clearTimers(e){return e.auto&&clearTimeout(e.auto),e.progress&&clearInterval(e.progress),e}function sc_mapCallbackArguments(e,t,i,n,s,o,r){return{width:r.width,height:r.height,items:{old:e,skipped:t,visible:i},scroll:{items:n,direction:s,duration:o}}}function sc_getDuration(e,t,i,n){var s=e.duration;return"none"==e.fx||("auto"==s?s=t.scroll.duration/t.scroll.items*i:s<10&&(s=n/s),s<1)?0:("fade"==e.fx&&(s/=2),Math.round(s))}function nv_showNavi(e,t,i){var n=is_number(e.items.minimum)?e.items.minimum:e.items.visible+1,n="show"==(t="show"==t||"hide"==t?t:t<n?(debug(i,"Not enough items ("+t+" total, "+n+" needed): Hiding navigation."),"hide"):"show")?"removeClass":"addClass",i=cf_c("hidden",i);e.auto.button&&e.auto.button[t]()[n](i),e.prev.button&&e.prev.button[t]()[n](i),e.next.button&&e.next.button[t]()[n](i),e.pagination.container&&e.pagination.container[t]()[n](i)}function nv_enableNavi(e,t,i){var n,s;e.circular||e.infinite||(n=("removeClass"==t||"addClass"==t)&&t,i=cf_c("disabled",i),e.auto.button&&n&&e.auto.button[n](i),e.prev.button&&e.prev.button[s=n||0==t?"addClass":"removeClass"](i),e.next.button&&(s=n||t==e.items.visible?"addClass":"removeClass",e.next.button[s](i)))}function go_getObject(e,t){return is_function(t)?t=t.call(e):is_undefined(t)&&(t={}),t}function go_getItemsObject(e,t){return is_number(t=go_getObject(e,t))?t={visible:t}:"variable"==t?t={visible:t,width:t,height:t}:is_object(t)||(t={}),t}function go_getScrollObject(e,t){return is_number(t=go_getObject(e,t))?t=t<=50?{items:t}:{duration:t}:is_string(t)?t={easing:t}:is_object(t)||(t={}),t}function go_getNaviObject(e,t){return t=is_string(t=go_getObject(e,t))?-1==(e=cf_getKeyCode(t))?$(t):e:t}function go_getAutoObject(e,t){return is_jquery(t=go_getNaviObject(e,t))?t={button:t}:is_boolean(t)?t={play:t}:is_number(t)&&(t={timeoutDuration:t}),t.progress&&(is_string(t.progress)||is_jquery(t.progress))&&(t.progress={bar:t.progress}),t}function go_complementAutoObject(e,t){return is_function(t.button)&&(t.button=t.button.call(e)),is_string(t.button)&&(t.button=$(t.button)),is_boolean(t.play)||(t.play=!0),is_number(t.delay)||(t.delay=0),is_undefined(t.pauseOnEvent)&&(t.pauseOnEvent=!0),is_boolean(t.pauseOnResize)||(t.pauseOnResize=!0),is_number(t.timeoutDuration)||(t.timeoutDuration=t.duration<10?2500:5*t.duration),t.progress&&(is_function(t.progress.bar)&&(t.progress.bar=t.progress.bar.call(e)),is_string(t.progress.bar)&&(t.progress.bar=$(t.progress.bar)),t.progress.bar?(is_function(t.progress.updater)||(t.progress.updater=$.fn.carouFredSel.progressbarUpdater),is_number(t.progress.interval)||(t.progress.interval=50)):t.progress=!1),t}function go_getPrevNextObject(e,t){return is_jquery(t=go_getNaviObject(e,t))?t={button:t}:is_number(t)&&(t={key:t}),t}function go_complementPrevNextObject(e,t){return is_function(t.button)&&(t.button=t.button.call(e)),is_string(t.button)&&(t.button=$(t.button)),is_string(t.key)&&(t.key=cf_getKeyCode(t.key)),t}function go_getPaginationObject(e,t){return is_jquery(t=go_getNaviObject(e,t))?t={container:t}:is_boolean(t)&&(t={keys:t}),t}function go_complementPaginationObject(e,t){return is_function(t.container)&&(t.container=t.container.call(e)),is_string(t.container)&&(t.container=$(t.container)),is_number(t.items)||(t.items=!1),is_boolean(t.keys)||(t.keys=!1),is_function(t.anchorBuilder)||is_false(t.anchorBuilder)||(t.anchorBuilder=$.fn.carouFredSel.pageAnchorBuilder),is_number(t.deviation)||(t.deviation=0),t}function go_getSwipeObject(e,t){return is_true(t=is_undefined(t=is_function(t)?t.call(e):t)?{onTouch:!1}:t)?t={onTouch:t}:is_number(t)&&(t={items:t}),t}function go_complementSwipeObject(e,t){return is_boolean(t.onTouch)||(t.onTouch=!0),is_boolean(t.onMouse)||(t.onMouse=!1),is_object(t.options)||(t.options={}),is_boolean(t.options.triggerOnTouchEnd)||(t.options.triggerOnTouchEnd=!1),t}function go_getMousewheelObject(e,t){return is_true(t=is_function(t)?t.call(e):t)?t={}:is_number(t)?t={items:t}:is_undefined(t)&&(t=!1),t}function go_complementMousewheelObject(e,t){return t}function gn_getItemIndex(e,t,i,n,s){if(is_jquery(e=is_object(e=is_string(e)?$(e,s):e)?$(e,s):e)?(e=s.children().index(e),is_boolean(i)||(i=!1)):is_boolean(i)||(i=!0),is_number(e)||(e=0),is_number(t)||(t=0),i&&(e+=n.first),e+=t,0<n.total){for(;e>=n.total;)e-=n.total;for(;e<0;)e+=n.total}return e}function gn_getVisibleItemsPrev(e,t,i){for(var n=0,s=0,o=i;0<=o;o--){var r=e.eq(o);if((n+=r.is(":visible")?r[t.d.outerWidth](!0):0)>t.maxDimension)return s;0==o&&(o=e.length),s++}}function gn_getVisibleItemsPrevFilter(e,t,i){return gn_getItemsPrevFilter(e,t.items.filter,t.items.visibleConf.org,i)}function gn_getScrollItemsPrevFilter(e,t,i,n){return gn_getItemsPrevFilter(e,t.items.filter,n,i)}function gn_getItemsPrevFilter(e,t,i,n){for(var s=0,o=0,r=n,a=e.length;0<=r;r--){if(++o==a)return o;if(e.eq(r).is(t)&&++s==i)return o;0==r&&(r=a)}}function gn_getVisibleOrg(e,t){return t.items.visibleConf.org||e.children().slice(0,t.items.visible).filter(t.items.filter).length}function gn_getVisibleItemsNext(e,t,i){for(var n=0,s=0,o=i,r=e.length-1;o<=r;o++){var a=e.eq(o);if((n+=a.is(":visible")?a[t.d.outerWidth](!0):0)>t.maxDimension)return s;if(++s==r+1)return s;o==r&&(o=-1)}}function gn_getVisibleItemsNextTestCircular(e,t,i,n){e=gn_getVisibleItemsNext(e,t,i);return t.circular||n<i+e&&(e=n-i),e}function gn_getVisibleItemsNextFilter(e,t,i){return gn_getItemsNextFilter(e,t.items.filter,t.items.visibleConf.org,i,t.cir
1cular)}function gn_getScrollItemsNextFilter(e,t,i,n){return gn_getItemsNextFilter(e,t.items.filter,n+1,i,t.circular)-1}function gn_getItemsNextFilter(e,t,i,n){for(var s=0,o=0,r=n,a=e.length-1;r<=a;r++){if(a<=++o)return o;if(e.eq(r).is(t)&&++s==i)return o;r==a&&(r=-1)}}function gi_getCurrentItems(e,t){return e.slice(0,t.items.visible)}function gi_getOldItemsPrev(e,t,i){return e.slice(i,t.items.visibleConf.old+i)}function gi_getNewItemsPrev(e,t){return e.slice(0,t.items.visible)}function gi_getOldItemsNext(e,t){return e.slice(0,t.items.visibleConf.old)}function gi_getNewItemsNext(e,t,i){return e.slice(i,t.items.visible+i)}function sz_storeMargin(e,i,n){i.usePadding&&(is_string(n)||(n="_cfs_origCssMargin"),e.each(function(){var e=$(this),t=parseInt(e.css(i.d.marginRight),10);is_number(t)||(t=0),e.data(n,t)}))}function sz_resetMargin(e,t,i){var n;t.usePadding&&(n=!!is_boolean(i)&&i,is_number(i)||(i=0),sz_storeMargin(e,t,"_cfs_tempCssMargin"),e.each(function(){var e=$(this);e.css(t.d.marginRight,n?e.data("_cfs_tempCssMargin"):i+e.data("_cfs_origCssMargin"))}))}
1function sz_storeOrigCss(e){e.each(function(){var e=$(this);e.data("_cfs_origCss",e.attr("style")||"")})}function sz_restoreOrigCss(e){e.each(function(){var e=$(this);e.attr("style",e.data("_cfs_origCss")||"")})}function sz_setResponsiveSizes(i,e){i.items.visible;var n=i.items[i.d.width],s=i[i.d.height],o=is_percentage(s);e.each(function(){var e=$(this),t=n-ms_getPaddingBorderMargin(e,i,"Width");e[i.d.width](t),o&&e[i.d.height](ms_getPercentage(t,s))})}function sz_setSizes(e,t){var i,n=e.parent(),s=e.children(),o=gi_getCurrentItems(s,t),r=cf_mapWrapperSizes(ms_getSizes(o,t,!0),t,!1);return n.css(r),t.usePadding&&(i=(n=t.padding)[t.d[1]],t.align&&i<0&&(i=0),(o=o.last()).css(t.d.marginRight,o.data("_cfs_origCssMargin")+i),e.css(t.d.top,n[t.d[0]]),e.css(t.d.left,n[t.d[3]])),e.css(t.d.width,r[t.d.width]+2*ms_getTotalSize(s,t,"width")),e.css(t.d.height,ms_getLargestSize(s,t,"height")),r}function ms_getSizes(e,t,i){return[ms_getTotalSize(e,t,"width",i),ms_getLargestSize(e,t,"height",i)]}function ms_getLargestSize(e,t,i,n){return is_boolean(n)||(n=!1),is_number(t[t.d[i]])&&n?t[t.d[i]]:is_number(t.items[t.d[i]])?t.items[t.d[i]]:ms_getTrueLargestSize(e,t,i=-1<i.toLowerCase().indexOf("width")?"outerWidth":"outerHeight")}function ms_getTrueLargestSize(e,t,i){for(var n=0,s=0,o=e.length;s<o;s++){var r=e.eq(s),r=r.is(":visible")?r[t.d[i]](!0):0;n<r&&(n=r)}return n}function ms_getTotalSize(e,t,i,n){if(is_boolean(n)||(n=!1),is_number(t[t.d[i]])&&n)return t[t.d[i]];if(is_number(t.items[t.d[i]]))return t.items[t.d[i]]*e.length;for(var s=-1<i.toLowerCase().indexOf("width")?"outerWidth":"outerHeight",o=0,r=0,a=e.length;r<a;r++){var c=e.eq(r);o+=c.is(":visible")?c[t.d[s]](!0):0}return o}function ms_getParentSize(e,t,i){var n=e.is(":visible"),t=(n&&e.hide(),e.parent()[t.d[i]]());return n&&e.show(),t}function ms_getMaxDimension(e,t){return is_number(e[e.d.width])?e[e.d.width]:t}function ms_hasVariableSizes(e,t,i){for(var n=!1,s=!1,o=0,r=e.length;o<r;o++){var a=e.eq(o),a=a.is(":visible")?a[t.d[i]](!0):0;!1===n?n=a:n!=a&&(s=!0),0==n&&(s=!0)}return s}function ms_getPaddingBorderMargin(e,t,i){return e[t.d["outer"+i]](!0)-e[t.d[i.toLowerCase()]]()}function ms_getPercentage(e,t){if(is_percentage(t)){if(!is_number(t=parseInt(t.slice(0,-1),10)))return e;e*=t/100}return e}function cf_e(e,t,i,n,s){return is_boolean(i)||(i=!0),is_boolean(n)||(n=!0),is_boolean(s)||(s=!1),i&&(e=t.events.prefix+e),n&&(e=e+"."+t.events.namespace),n&&s&&(e+=t.serialNumber),e}function cf_c(e,t){return is_string(t.classnames[e])?t.classnames[e]:e}function cf_mapWrapperSizes(e,t,i){is_boolean(i)||(i=!0);var i=t.usePadding&&i?t.padding:[0,0,0,0],n={};return n[t.d.width]=e[0]+i[1]+i[3],n[t.d.height]=e[1]+i[0]+i[2],n}function cf_sortParams(e,t){for(var i=[],n=0,s=e.length;n<s;n++)for(var o=0,r=t.length;o<r;o++)if(-1<t[o].indexOf(typeof e[n])&&is_undefined(i[o])){i[o]=e[n];break}return i}function cf_getPadding(e){if(is_undefined(e))return[0,0,0,0];if(is_number(e))return[e,e,e,e];if(!is_array(e=is_string(e)?e.split("px").join("").split("em").join("").split(" "):e))return[0,0,0,0];for(var t=0;t<4;t++)e[t]=parseInt(e[t],10);switch(e.length){case 0:return[0,0,0,0];case 1:return[e[0],e[0],e[0],e[0]];case 2:return[e[0],e[1],e[0],e[1]];case 3:return[e[0],e[1],e[2],e[1]];default:return[e[0],e[1],e[2],e[3]]}}function cf_getAlignPadding(e,t){var i=is_number(t[t.d.width])?Math.ceil(t[t.d.width]-ms_getTotalSize(e,t,"width")):0;switch(t.align){case"left":return[0,i];case"right":return[i,0];default:return[Math.ceil(i/2),Math.floor(i/2)]}}function cf_getDimensions(e){for(var t=[["width","innerWidth","outerWidth","height","innerHeight","outerHeight","left","top","marginRight",0,1,2,3],["height","innerHeight","outerHeight","width","innerWidth","outerWidth","top","left","marginBottom",3,2,1,0]],i=t[0].length,n="right"==e.direction||"left"==e.direction?0:1,s={},o=0;o<i;o++)s[t[0][o]]=t[n][o];return s}function cf_getAdjust(e,t,i,n){var s=e;if(is_function(i))s=i.call(n,s);else if(is_string(i)){var o,r,n=i.split("+"),i=i.split("-");switch(i=(i.length>n.length?(o=!0,r=i[0],i):(o=!1,r=n[0],n))[1],r){case"even":s=1==e%2?e-1:e;break;case"odd":s=0==e%2?e-1:e;break;default:s=e}is_number(i=parseInt(i,10))&&(s+=i=o?-i:i)}return s=!is_number(s)||s<1?1:s}function cf_getItemsAdjust(e,t,i,n){return cf_getItemAdjustMinMax(cf_getAdjust(e,t,i,n),t.items.visibleConf)}function cf_getItemAdjustMinMax(e,t){return is_number(t.min)&&t.min>e&&(e=t.min),e=(e=is_number(t.max)&&e>t.max?t.max:e)<1?1:e}function cf_getSynchArr(e){is_array(e)||(e=[[e]]);for(var t=0,i=(e=is_array(e[0])?e:[e]).length;t<i;t++)is_string(e[t][0])&&(e[t][0]=$(e[t][0])),is_boolean(e[t][1])||(e[t][1]=!0),is_boolean(e[t][2])||(e[t][2]=!0),is_number(e[t][3])||(e[t][3]=0);return e}
1function cf_getKeyCode(e){return"right"==e?39:"left"==e?37:"up"==e?38:"down"==e?40:-1}function cf_setCookie(e,t,i){e&&(t=t.triggerHandler(cf_e("currentPosition",i)),$.fn.carouFredSel.cookie.set(e,t))}function cf_getCookie(e){e=$.fn.carouFredSel.cookie.get(e);return""==e?0:e}function in_mapCss(e,t){for(var i={},n=0,s=t.length;n<s;n++)i[t[n]]=e.css(t[n]);return i}function in_complementItems(e,t,i,n){return is_object(e.visibleConf)||(e.visibleConf={}),is_object(e.sizesConf)||(e.sizesConf={}),0==e.start&&is_number(n)&&(e.start=n),is_object(e.visible)?(e.visibleConf.min=e.visible.min,e.visibleConf.max=e.visible.max,e.visible=!1):is_string(e.visible)?("variable"==e.visible?e.visibleConf.variable=!0:e.visibleConf.adjust=e.visible,e.visible=!1):is_function(e.visible)&&(e.visibleConf.adjust=e.visible,e.visible=!1),is_string(e.filter)||(e.filter=0<i.filter(":hidden").length?":visible":"*"),e[t.d.width]||(t.responsive?(debug(!0,"Set a "+t.d.width+" for the items!"),e[t.d.width]=ms_getTrueLargestSize(i,t,"outerWidth")):e[t.d.width]=ms_hasVariableSizes(i,t,"outerWidth")?"variable":i[t.d.outerWidth](!0)),e[t.d.height]||(e[t.d.height]=ms_hasVariableSizes(i,t,"outerHeight")?"variable":i[t.d.outerHeight](!0)),e.sizesConf.width=e.width,e.sizesConf.height=e.height,e}function in_complementVisibleItems(e,t){return"variable"==e.items[e.d.width]&&(e.items.visibleConf.variable=!0),!e.items.visibleConf.variable&&(is_number(e[e.d.width])?e.items.visible=Math.floor(e[e.d.width]/e.items[e.d.width]):(e.items.visible=Math.floor(t/e.items[e.d.width]),e[e.d.width]=e.items.visible*e.items[e.d.width],e.items.visibleConf.adjust||(e.align=!1)),"Infinity"==e.items.visible||e.items.visible<1)&&(debug(!0,'Not a valid number of visible items: Set to "variable".'),e.items.visibleConf.variable=!0),e}function in_complementPrimarySize(e,t,i){return e="auto"==e?ms_getTrueLargestSize(i,t,"outerWidth"):e}function in_complementSecondarySize(e,t,i){return e=(e="auto"==e?ms_getTrueLargestSize(i,t,"outerHeight"):e)||t.items[t.d.height]}function in_getAlignPadding(e,t){t=cf_getAlignPadding(gi_getCurrentItems(t,e),e);return e.padding[e.d[1]]=t[1],e.padding[e.d[3]]=t[0],e}function in_getResponsiveValues(e,t){var i=cf_getItemAdjustMinMax(Math.ceil(e[e.d.width]/e.items[e.d.width]),e.items.visibleConf),t=(i>t.length&&(i=t.length),Math.floor(e[e.d.width]/i));return e.items.visible=i,e.items[e.d.width]=t,e[e.d.width]=i*t,e}function bt_pauseOnHoverConfig(e){var t,i;return is_string(e)?(i=-1<e.indexOf("immediate"),t=-1<e.indexOf("resume")):i=t=!1,[i,t]}function bt_mousesheelNumber(e){return is_number(e)?e:null}function is_null(e){return null===e}function is_undefined(e){return is_null(e)||void 0===e||""===e||"undefined"===e}function is_array(e){return e instanceof Array}function is_jquery(e){return e instanceof jQuery}function is_object(e){return(e instanceof Object||"object"==typeof e)&&!is_null(e)&&!is_jquery(e)&&!is_array(e)&&!is_function(e)}function is_number(e){return(e instanceof Number||"number"==typeof e)&&!isNaN(e)}function is_string(e){return(e instanceof String||"string"==typeof e)&&!is_undefined(e)&&!is_true(e)&&!is_false(e)}function is_function(e){return e instanceof Function||"function"==typeof e}function is_boolean(e){return e instanceof Boolean||"boolean"==typeof e||is_true(e)||is_false(e)}function is_true(e){return!0===e||"true"===e}function is_false(e){return!1===e||"false"===e}function is_percentage(e){return is_string(e)&&"%"==e.slice(-1)}function getTime(){return(new Date).getTime()}function deprecated(e,t){debug(!0,e+" is DEPRECATED, support for it will be removed. Use "+t+" instead.")}function debug(e,t){if(!is_undefined(window.console)&&!is_undefined(window.console.log)){var i;if(is_object(e)?(i=" ("+e.selector+")",e=e.debug):i="",!e)return!1;t=is_string(t)?"carouFredSel"+i+": "+t:["carouFredSel"+i+":",t],window.console.log(t)}return!1}$.fn.carouFredSel||($.fn.caroufredsel=$.fn.carouFredSel=function(options,configs){if
1(0==this.length)return debug(!0,'No element found for "'+this.selector+'".'),this;if(1<this.length)return this.each(function(){$(this).carouFredSel(options,configs)});var $cfs=this,$tt0=this[0],starting_position=!1,FN=($cfs.data("_cfs_isCarousel")&&(starting_position=$cfs.triggerHandler("_cfs_triggerEvent","currentPosition"),$cfs.trigger("_cfs_triggerEvent",["destroy",!0])),{}),crsl=(FN._init=function(e,t,i){(e=go_getObject($tt0,e)).items=go_getItemsObject($tt0,e.items),e.scroll=go_getScrollObject($tt0,e.scroll),e.auto=go_getAutoObject($tt0,e.auto),e.prev=go_getPrevNextObject($tt0,e.prev),e.next=go_getPrevNextObject($tt0,e.next),e.pagination=go_getPaginationObject($tt0,e.pagination),e.swipe=go_getSwipeObject($tt0,e.swipe),e.mousewheel=go_getMousewheelObject($tt0,e.mousewheel),t&&(opts_orig=$.extend(!0,{},$.fn.carouFredSel.defaults,e)),(opts=$.extend(!0,{},$.fn.carouFredSel.defaults,e)).d=cf_getDimensions(opts),crsl.direction="up"==opts.direction||"left"==opts.direction?"next":"prev";var n=$cfs.children(),t=ms_getParentSize($wrp,opts,"width");if(is_true(opts.cookie)&&(opts.cookie="caroufredsel_cookie_"+conf.serialNumber),opts.maxDimension=ms_getMaxDimension(opts,t),opts.items=in_complementItems(opts.items,opts,n,i),opts[opts.d.width]=in_complementPrimarySize(opts[opts.d.width],opts,n),opts[opts.d.height]=in_complementSecondarySize(opts[opts.d.height],opts,n),!opts.responsive||is_percentage(opts[opts.d.width])||(opts[opts.d.width]="100%"),is_percentage(opts[opts.d.width])&&(crsl.upDateOnWindowResize=!0,crsl.primarySizePercentage=opts[opts.d.width],opts[opts.d.width]=ms_getPercentage(t,crsl.primarySizePercentage),opts.items.visible||(opts.items.visibleConf.variable=!0)),opts.responsive?(opts.usePadding=!1,opts.padding=[0,0,0,0],opts.align=!1,opts.items.visibleConf.variable=!1):((opts=opts.items.visible?opts:in_complementVisibleItems(opts,t))[opts.d.width]||(!opts.items.visibleConf.variable&&is_number(opts.items[opts.d.width])&&"*"==opts.items.filter?(opts[opts.d.width]=opts.items.visible*opts.items[opts.d.width],opts.align=!1):opts[opts.d.width]="variable"),is_undefined(opts.align)&&(opts.align=!!is_number(opts[opts.d.width])&&"center"),opts.items.visibleConf.variable&&(opts.items.visible=gn_getVisibleItemsNext(n,opts,0))),"*"==opts.items.filter||opts.items.visibleConf.variable||(opts.items.visibleConf.org=opts.items.visible,opts.items.visible=gn_getVisibleItemsNextFilter(n,opts,0)),opts.items.visible=cf_getItemsAdjust(opts.items.visible,opts,opts.items.visibleConf.adjust,$tt0),opts.items.visibleConf.old=opts.items.visible,opts.responsive)opts.items.visibleConf.min||(opts.items.visibleConf.min=opts.items.visible),opts.items.visibleConf.max||(opts.items.visibleConf.max=opts.items.visible),opts=in_getResponsiveValues(opts,n,t);else switch(opts.padding=cf_getPadding(opts.padding),"top"==opts.align?opts.align="left":"bottom"==opts.align&&(opts.align="right"),opts.align){case"center":case"left":case"right":"variable"!=opts[opts.d.width]&&((opts=in_getAlignPadding(opts,n)).usePadding=!0);break;default:opts.align=!1,opts.usePadding=0!=opts.padding[0]||0!=opts.padding[1]||0!=opts.padding[2]||0!=opts.padding[3]}is_number(opts.scroll.duration)||(opts.scroll.duration=500),is_undefined(opts.scroll.items)&&(opts.scroll.items=opts.responsive||opts.items.visibleConf.variable||"*"!=opts.items.filter?"visible":opts.items.visible),opts.auto=$.extend(!0,{},opts.scroll,opts.auto),opts.prev=$.extend(!0,{},opts.scroll,opts.prev),opts.next=$.extend(!0,{},opts.scroll,opts.next),opts.pagination=$.extend(!0,{},opts.scroll,opts.pagination),opts.auto=go_complementAutoObject($tt0,opts.auto),opts.prev=go_complementPrevNextObject($tt0,opts.prev),opts.next=go_complementPrevNextObject($tt0,opts.next),opts.pagination=go_complementPaginationObject($tt0,opts.pagination),opts.swipe=go_complementSwipeObject($tt0,opts.swipe),opts.mousewheel=go_complementMousewheelObject($tt0,opts.mousewheel),opts.synchronise&&(opts.synchronise=cf_getSynchArr(opts.synchronise)),opts.auto.onPauseStart&&(opts.auto.onTimeoutStart=opts.auto.onPauseStart,deprecated("auto.onPauseStart","auto.onTimeoutStart")),opts.auto.onPausePause&&(opts.auto.onTimeoutPause=opts.auto.onPausePause,deprecated("auto.onPausePause","auto.onTimeoutPause")),opts.auto.onPauseEnd&&(opts.auto.onTimeoutEnd=opts.auto.onPauseEnd,deprecated("auto.onPauseEnd","auto.onTimeoutEnd")),opts.auto.pauseDuration&&(opts.auto.timeoutDuration=opts.auto.pauseDuration,deprecated("auto.pauseDuration","auto.timeoutDuration"))},FN._build=function(){$cfs.data("_cfs_isCarousel",!0);var e=$cfs.children(),t=in_mapCss($cfs,["textAlign","float","position","top","right","bottom","left","zIndex","width","height","marginTop","marginRight","marginBottom","marginLeft"]),i="relative";switch(t.position){case"absolute":case"fixed":i=t.position}"parent"==conf.wrapper?sz_storeOrigCss($wrp):$wrp.css(t),$wrp.css({overflow:"hidden",position:i}),sz_storeOrigCss($cfs),$cfs.data("_cfs_origCssZindex",t.zIndex),$cfs.css({textAlign:"left",float:"none",position:"absolute",top:0,right:"auto",bottom:"auto",left:0,marginTop:0,marginRight:0,marginBottom:0,marginLeft:0}),sz_storeMargin(e,opts),sz_storeOrigCss(e),opts.responsive&&sz_setResponsiveSizes(opts,e)},FN._bind_events=function(){FN._unbind_events(),$cfs.bind(cf_e("stop",conf),function(e,t){return e.stopPropagation(),crsl.isStopped||opts.auto.button&&opts.auto.button.addClass(cf_c("stopped",conf)),crsl.isStopped=!0,opts.auto.play&&(opts.auto.play=!1,$cfs.trigger(cf_e("pause",conf),t)),!0}),$cfs.bind(cf_e("finish",conf),function(e){return e.stopPropagation(),crsl.isScrolling&&sc_stopScroll(scrl),!0}),$cfs.bind(cf_e("pause",conf),function(e,t,i){return e.stopPropagation(),tmrs=sc_clearTimers(tmrs),t&&crsl.isScrolling&&(scrl.isStopped=!0,e=getTime()-scrl.startTime,scrl.duration-=e,scrl.pre&&(scrl.pre.duration-=e),scrl.post&&(scrl.post.duration-=e),sc_stopScroll(scrl,!1)),crsl.isPaused||crsl.isScrolling||i&&(tmrs.timePassed+=getTime()-tmrs.startTime),crsl.isPaused||opts.auto.button&&opts.auto.button.addClass(cf_c("paused",conf)),crsl.isPaused=!0,opts.auto.onTimeoutPause&&(t=opts.auto.timeoutDuration-tmr
1s.timePassed,e=100-Math.ceil(100*t/opts.auto.timeoutDuration),opts.auto.onTimeoutPause.call($tt0,e,t)),!0}),$cfs.bind(cf_e("play",conf),function(e,t,i,n){e.stopPropagation(),tmrs=sc_clearTimers(tmrs);var s=cf_sortParams([t,i,n],["string","number","boolean"]);if(t=s[0],i=s[1],n=s[2],"prev"!=t&&"next"!=t&&(t=crsl.direction),is_number(i)||(i=0),(n=is_boolean(n)?n:!1)&&(crsl.isStopped=!1,opts.auto.play=!0),!opts.auto.play)return e.stopImmediatePropagation(),debug(conf,"Carousel stopped: Not scrolling.");crsl.isPaused&&opts.auto.button&&(opts.auto.button.removeClass(cf_c("stopped",conf)),opts.auto.button.removeClass(cf_c("paused",conf))),crsl.isPaused=!1,tmrs.startTime=getTime();var o=opts.auto.timeoutDuration+i;return dur2=o-tmrs.timePassed,perc=100-Math.ceil(100*dur2/o),opts.auto.progress&&(tmrs.progress=setInterval(function(){var e=getTime()-tmrs.startTime+tmrs.timePassed,e=Math.ceil(100*e/o);opts.auto.progress.updater.call(opts.auto.progress.bar[0],e)},opts.auto.progress.interval)),tmrs.auto=setTimeout(function(){opts.auto.progress&&opts.auto.progress.updater.call(opts.auto.progress.bar[0],100),opts.auto.onTimeoutEnd&&opts.auto.onTimeoutEnd.call($tt0,perc,dur2),crsl.isScrolling?$cfs.trigger(cf_e("play",conf),t):$cfs.trigger(cf_e(t,conf),opts.auto)},dur2),opts.auto.onTimeoutStart&&opts.auto.onTimeoutStart.call($tt0,perc,dur2),!0}),$cfs.bind(cf_e("resume",conf),function(e){return e.stopPropagation(),scrl.isStopped?(scrl.isStopped=!1,crsl.isPaused=!1,crsl.isScrolling=!0,scrl.startTime=getTime(),sc_startScroll(scrl,conf)):$cfs.trigger(cf_e("play",conf)),!0}),$cfs.bind(cf_e("prev",conf)+" "+cf_e("next",conf),function(e,t,i,n,s){if(e.stopPropagation(),crsl.isStopped||$cfs.is(":hidden"))return e.stopImmediatePropagation(),debug(conf,"Carousel stopped or hidden: Not scrolling.");var o=is_number(opts.items.minimum)?opts.items.minimum:opts.items.visible+1;if(o>itms.total)return e.stopImmediatePropagation(),debug(conf,"Not enough items ("+itms.total+" total, "+o+" needed): Not scrolling.");t=(c=cf_sortParams([t,i,n,s],["object","number/string","function","boolean"]))[0],i=c[1],n=c[2],s=c[3];var r=e.type.slice(conf.events.prefix.length);if(is_object(t)||(t={}),is_function(n)&&(t.onAfter=n),is_boolean(s)&&(t.queue=s),(t=$.extend(!0,{},opts[r],t)).conditions&&!t.conditions.call($tt0,r))return e.stopImmediatePropagation(),debug(conf,'Callback "conditions" returned false.');if(!is_number(i)){if("*"!=opts.items.filter)i="visible";else for(var a=[i,t.items,opts[r].items],c=0,l=a.length;c<l;c++)if(is_number(a[c])||"page"==a[c]||"visible"==a[c]){i=a[c];break}switch(i){case"page":return e.stopImmediatePropagation(),$cfs.triggerHandler(cf_e(r+"Page",conf),[t,n]);case"visible":opts.items.visibleConf.variable||"*"!=opts.items.filter||(i=opts.items.visible)}}if(scrl.isStopped)return $cfs.trigger(cf_e("resume",conf)),$cfs.trigger(cf_e("queue",conf),[r,[t,i,n]]),e.stopImmediatePropagation(),debug(conf,"Carousel resumed scrolling.");if(0<t.duration&&crsl.isScrolling)return t.queue&&("last"==t.queue&&(queu=[]),"first"!=t.queue||0==queu.length)&&$cfs.trigger(cf_e("queue",conf),[r,[t,i,n]]),e.stopImmediatePropagation(),debug(conf,"Carousel currently scrolling.");if(tmrs.timePassed=0,$cfs.trigger(cf_e("slide_"+r,conf),[t,i]),opts.synchronise)for(var u=opts.synchronise,d=[t,i],p=0,l=u.length;p<l;p++){var f=r;u[p][2]||(f="prev"==f?"next":"prev"),u[p][1]||(d[0]=u[p][0].triggerHandler("_cfs_triggerEvent",["configuration",f])),d[1]=i+u[p][3],u[p][0].trigger("_cfs_triggerEvent",["slide_"+f,d])}return!0}),$cfs.bind(cf_e("slide_prev",conf),function(e,t,i){e.stopPropagation();var n=$cfs.children();if(!opts.circular&&0==itms.first)return opts.infinite&&$cfs.trigger(cf_e("next",conf),itms.total-1),e.stopImmediatePropagation();if(sz_resetMargin(n,opts),is_number(i)||(i=cf_getAdjust(i=opts.items.visibleConf.variable?gn_getVisibleItemsPrev(n,opts,itms.total-1):"*"!=opts.items.filter?(r=is_number(t.items)?t.items:gn_getVisibleOrg($cfs,opts),gn_getScrollItemsPrevFilter(n,opts,itms.total-1,r)):opts.items.visible,opts,t.items,$tt0)),opts.circular||itms.total-i<itms.first&&(i=itms.total-itms.first),opts.items.visibleConf.old=opts.items.visible,opts.items.visibleConf.variable?((u=cf_getItemsAdjust(gn_getVisibleItemsNext(n,opts,itms.total-i),opts,opts.items.visibleConf.adjust,$tt0))>=opts.items.visible+i&&itms.total>i&&(i++,u=cf_getItemsAdjust(gn_getVisibleItemsNext(n,opts,itms.total-i),opts,opts.items.visibleConf.adjust,$tt0)),opts.items.visible=u):"*"!=opts.items.filter&&(u=gn_getVisibleItemsNextFilter(n,opts,itms.total-i),opts.items.visible=cf_getItemsAdjust(u,opts,opts.items.visibleConf.adjust,$tt0)),sz_resetMargin(n,opts,!0),0==i)return e.stopImmediatePropagation(),debug(conf,"0 items to scroll: Not scrolling.");for(debug(conf,"Scrolling "+i+" items backward."),itms.first+=i;itms.first>=itms.total;)itms.first-=itms.total;opts.circular||(0==itms.first&&t.onEnd&&t.onEnd.call($tt0,"prev"),opts.infinite)||nv_enableNavi(opts,itms.first,conf),$cfs.children().slice(itms.total-i,itms.total).prependTo($cfs),itms.total<opts.items.visible+i&&$cfs.children().slice(0,opts.items.visible+i-itms.total).clone(!0).appendTo($cfs);var s,o=gi_getOldItemsPrev(n=$cfs.children(),opts,i),r=gi_getNewItemsPrev(n,opts),a=n.eq(i-1),c=o.last(
1),l=r.last(),u=(sz_resetMargin(n,opts),0),e=0,d=(opts.align&&(u=(d=cf_getAlignPadding(r,opts))[0],e=d[1]),u<0?opts.padding[opts.d[3]]:0),p=!1,f=$(),h=(i>opts.items.visible&&(f=n.slice(opts.items.visibleConf.old,i),"directscroll"==t.fx)&&(s=opts.items[opts.d.width],a=l,sc_hideHiddenItems(p=f),opts.items[opts.d.width]="variable"),!1),g=ms_getTotalSize(n.slice(0,i),opts,"width"),m=cf_mapWrapperSizes(ms_getSizes(r,opts,!0),opts,!opts.usePadding),_=0,v={},b={},y={},w={},x={},k={},S={},C=sc_getDuration(t,opts,i,g);switch(t.fx){case"cover":case"cover-fade":_=ms_getTotalSize(n.slice(0,opts.items.visible),opts,"width")}p&&(opts.items[opts.d.width]=s),sz_resetMargin(n,opts,!0),0<=e&&sz_resetMargin(c,opts,opts.padding[opts.d[1]]),0<=u&&sz_resetMargin(a,opts,opts.padding[opts.d[3]]),opts.align&&(opts.padding[opts.d[1]]=e,opts.padding[opts.d[3]]=u),k[opts.d.left]=-(g-d),S[opts.d.left]=-(_-d),b[opts.d.left]=m[opts.d.width];var T=function(){},z=function(){},I=function(){},P=function(){},N=function(){},M=function(){},E=function(){},D=function(){},A=function(){},j=function(){},O=function(){};switch(t.fx){case"crossfade":case"cover":case"cover-fade":case"uncover":case"uncover-fade":h=$cfs.clone(!0).appendTo($wrp)}switch(t.fx){case"crossfade":case"uncover":case"uncover-fade":h.children().slice(0,i).remove(),h.children().slice(opts.items.visibleConf.old).remove();break;case"cover":case"cover-fade":h.children().slice(opts.items.visible).remove(),h.css(S)}if($cfs.css(k),scrl=sc_setScroll(C,t.easing,conf),v[opts.d.left]=opts.usePadding?opts.padding[opts.d[3]]:0,"variable"!=opts[opts.d.width]&&"variable"!=opts[opts.d.height]||(T=function(){$wrp.css(m)},z=function(){scrl.anims.push([$wrp,m])}),opts.usePadding){switch(l.not(a).length&&(y[opts.d.marginRight]=a.data("_cfs_origCssMargin"),u<0?a.css(y):(E=function(){a.css(y)},D=function(){scrl.anims.push([a,y])})),t.fx){case"cover":case"cover-fade":h.children().eq(i-1).css(y)}l.not(c).length&&(w[opts.d.marginRight]=c.data("_cfs_origCssMargin"),I=function(){c.css(w)},P=function(){scrl.anims.push([c,w])}),0<=e&&(x[opts.d.marginRight]=l.data("_cfs_origCssMargin")+opts.padding[opts.d[1]],N=function(){l.css(x)},M=function(){scrl.anims.push([l,x])})}var O=function(){$cfs.css(v)},L=opts.items.visible+i-itms.total,j=function(){var e;0<L&&($cfs.children().slice(itms.total).remove(),o=$($cfs.children().slice(itms.total-(opts.items.visible-L)).get().concat($cfs.children().slice(0,L).get()))),sc_showHiddenItems(p),opts.usePadding&&(e=$cfs.children().eq(opts.items.visible+i-1)).css(opts.d.marginRight,e.data("_cfs_origCssMargin"))},F=sc_mapCallbackArguments(o,f,r,i,"prev",C,m),A=function(){sc_afterScroll($cfs,h,t),crsl.isScrolling=!1,clbk.onAfter=sc_fireCallbacks($tt0,t,"onAfter",F,clbk),queu=sc_fireQueue($cfs,queu,conf),crsl.isPaused||$cfs.trigger(cf_e("play",conf))};switch(crsl.isScrolling=!0,tmrs=sc_clearTimers(tmrs),clbk.onBefore=sc_fireCallbacks($tt0,t,"onBefore",F,clbk),t.fx){case"none":$cfs.css(v),T(),I(),N(),E(),O(),j(),A();break;case"fade":scrl.anims.push([$cfs,{opacity:0},function(){T(),I(),N(),E(),O(),j(),(scrl=sc_setScroll(C,t.easing,conf)).anims.push([$cfs,{opacity:1},A]),sc_startScroll(scrl,conf)}]);break;case"crossfade":$cfs.css({opacity:0}),scrl.anims.push([h,{opacity:0}]),scrl.anims.push([$cfs,{opacity:1},A]),z(),I(),N(),E(),O(),j();break;case"cover":scrl.anims.push([h,v,function(){I(),N(),E(),O(),j(),A()}]),z();break;case"cover-fade":scrl.anims.push([$cfs,{opacity:0}]),scrl.anims.push([h,v,function(){I(),N(),E(),O(),j(),A()}]),z();break;case"uncover":scrl.anims.push([h,b,A]),z(),I(),N(),E(),O(),j();break;case"uncover-fade":$cfs.css({opacity:0}),scrl.anims.push([$cfs,{opacity:1}]),scrl.anims.push([h,b,A]),z(),I(),N(),E(),O(),j();break;default:scrl.anims.push([$cfs,v,function(){j(),A()}]),z(),P(),M(),D()}return sc_startScroll(scrl,conf),cf_setCookie(opts.cookie,$cfs,conf),$cfs.trigger(cf_e("updatePageStatus",conf),[!1,m]),!0}),$cfs.bind(cf_e("slide_next",conf),function(e,t,i){e.stopPropagation();var n=$cfs.children();if(!opts.circular&&itms.first==opts.items.visible)return opts.infinite&&$cfs.trigger(cf_e("prev",conf),itms.total-1),e.stopImmediatePropagation();sz_resetMargin(n,opts),is_number(i)||(i=cf_getAdjust(i="*"!=opts.items.filter?(r=is_number(t.items)?t.items:gn_getVisibleOrg($cfs,opts),gn_getScrollItemsNextFilter(n,opts,0,r)):opts.items.visible,opts,t.items,$tt0));var s=0==itms.first?itms.total:itms.first;if(opts.circular||(r=opts.items.visibleConf.variable?(o=gn_getVisibleItemsNext(n,opts,i),gn_getVisibleItemsPrev(n,opts,s-1)):(o=opts.items.visible,opts.items.visible),s<i+o&&(i=s-r)),opts.items.visibleConf.old=opts.items.visible,opts.items.visibleConf.variable){for(var o=cf_getItemsAdjust(gn_getVisibleItemsNextTestCircular(n,opts,i,s),opts,opts.items.visibleConf.adjust,$tt0);opts.items.visible-i>=o&&itms.total>i;
1)o=cf_getItemsAdjust(gn_getVisibleItemsNextTestCircular(n,opts,++i,s),opts,opts.items.visibleConf.adjust,$tt0);opts.items.visible=o}else"*"!=opts.items.filter&&(o=gn_getVisibleItemsNextFilter(n,opts,i),opts.items.visible=cf_getItemsAdjust(o,opts,opts.items.visibleConf.adjust,$tt0));if(sz_resetMargin(n,opts,!0),0==i)return e.stopImmediatePropagation(),debug(conf,"0 items to scroll: Not scrolling.");for(debug(conf,"Scrolling "+i+" items forward."),itms.first-=i;itms.first<0;)itms.first+=itms.total;opts.circular||(itms.first==opts.items.visible&&t.onEnd&&t.onEnd.call($tt0,"next"),opts.infinite)||nv_enableNavi(opts,itms.first,conf),itms.total<opts.items.visible+i&&$cfs.children().slice(0,opts.items.visible+i-itms.total).clone(!0).appendTo($cfs);var r=gi_getOldItemsNext(n=$cfs.children(),opts),a=gi_getNewItemsNext(n,opts,i),c=n.eq(i-1),l=r.last(),e=a.last(),u=(sz_resetMargin(n,opts),0),d=0,p=(opts.align&&(u=(f=cf_getAlignPadding(a,opts))[0],d=f[1]),!1),f=$(),h=(i>opts.items.visibleConf.old&&(f=n.slice(opts.items.visibleConf.old,i),"directscroll"==t.fx)&&(S=opts.items[opts.d.width],c=l,sc_hideHiddenItems(p=f),opts.items[opts.d.width]="variable"),!1),g=ms_getTotalSize(n.slice(0,i),opts,"width"),m=cf_mapWrapperSizes(ms_getSizes(a,opts,!0),opts,!opts.usePadding),_=0,v={},b={},y={},w={},x={},k=sc_getDuration(t,opts,i,g);switch(t.fx){case"uncover":case"uncover-fade":_=ms_getTotalSize(n.slice(0,opts.items.visibleConf.old),opts,"width")}p&&(opts.items[opts.d.width]=S),opts.align&&opts.padding[opts.d[1]]<0&&(opts.padding[opts.d[1]]=0),sz_resetMargin(n,opts,!0),sz_resetMargin(l,opts,opts.padding[opts.d[1]]),opts.align&&(opts.padding[opts.d[1]]=d,opts.padding[opts.d[3]]=u),x[opts.d.left]=opts.usePadding?opts.padding[opts.d[3]]:0;var S,C=function(){},T=function(){},z=function(){},I=function(){},P=function(){},N=function(){},E=function(){},A=function(){},j=function(){};switch(t.fx){case"crossfade":case"cover":case"cover-fade":case"uncover":case"uncover-fade":(h=$cfs.clone(!0).appendTo($wrp)).children().slice(opts.items.visibleConf.old).remove()}switch(t.fx){case"crossfade":case"cover":case"cover-fade":$cfs.css("zIndex",1),h.css("zIndex",0)}scrl=sc_setScroll(k,t.easing,conf),v[opts.d.left]=-g,b[opts.d.left]=-_,u<0&&(v[opts.d.left]+=u),"variable"!=opts[opts.d.width]&&"variable"!=opts[opts.d.height]||(C=function(){$wrp.css(m)},T=function(){scrl.anims.push([$wrp,m])}),opts.usePadding&&(S=e.data("_cfs_origCssMargin"),0<=d&&(S+=opts.padding[opts.d[1]]),e.css(opts.d.marginRight,S),c.not(l).length&&(w[opts.d.marginRight]=l.data("_cfs_origCssMargin")),z=function(){l.css(w)},I=function(){scrl.anims.push([l,w])},g=c.data("_cfs_origCssMargin"),0<u&&(g+=opts.padding[opts.d[3]]),y[opts.d.marginRight]=g,P=function(){c.css(y)},N=function(){scrl.anims.push([c,y])});var j=function(){$cfs.css(x)},O=opts.items.visible+i-itms.total,A=function(){0<O&&$cfs.children().slice(itms.total).remove();var e,t=$cfs.children().slice(0,i).appendTo($cfs).last();0<O&&(a=gi_getCurrentItems(n,opts)),sc_showHiddenItems(p),opts.usePadding&&(itms.total<opts.items.visible+i&&(e=$cfs.children().eq(opts.items.visible-1)).css(opts.d.marginRight,e.data("_cfs_origCssMargin")+opts.padding[opts.d[1]]),t.css(opts.d.marginRight,t.data("_cfs_origCssMargin")))},L=sc_mapCallbackArguments(r,f,a,i,"next",k,m),E=function(){$cfs.css("zIndex",$cfs.data("_cfs_origCssZindex")),sc_afterScroll($cfs,h,t),crsl.isScrolling=!1,clbk.onAfter=sc_fireCallbacks($tt0,t,"onAfter",L,clbk),queu=sc_fireQueue($cfs,queu,conf),crsl.isPaused||$cfs.trigger(cf_e("play",conf))};switch(crsl.isScrolling=!0,tmrs=sc_clearTimers(tmrs),clbk.onBefore=sc_fireCallbacks($tt0,t,"onBefore",L,clbk),t.fx){case"none":$cfs.css(v),C(),z(),P(),j(),A(),E();break;case"fade":scrl.anims.push([$cfs,{opacity:0},function(){C(),z(),P(),j(),A(),(scrl=sc_setScroll(k,t.easing,conf)).anims.push([$cfs,{opacity:1},E]),sc_startScroll(scrl,conf)}]);break;case"crossfade":$cfs.css({opacity:0}),scrl.anims.push([h,{opacity:0}]),scrl.anims.push([$cfs,{opacity:1},E]),T(),z(),P(),j(),A();break;case"cover":$cfs.css(opts.d.left,$wrp[opts.d.width]()),scrl.anims.push([$cfs,x,E]),T(
1),z(),P(),A();break;case"cover-fade":$cfs.css(opts.d.left,$wrp[opts.d.width]()),scrl.anims.push([h,{opacity:0}]),scrl.anims.push([$cfs,x,E]),T(),z(),P(),A();break;case"uncover":scrl.anims.push([h,b,E]),T(),z(),P(),j(),A();break;case"uncover-fade":$cfs.css({opacity:0}),scrl.anims.push([$cfs,{opacity:1}]),scrl.anims.push([h,b,E]),T(),z(),P(),j(),A();break;default:scrl.anims.push([$cfs,v,function(){j(),A(),E()}]),T(),I(),N()}return sc_startScroll(scrl,conf),cf_setCookie(opts.cookie,$cfs,conf),$cfs.trigger(cf_e("updatePageStatus",conf),[!1,m]),!0}),$cfs.bind(cf_e("slideTo",conf),function(e,t,i,n,s,o,r){e.stopPropagation();e=cf_sortParams([t,i,n,s,o,r],["string/number/object","number","boolean","object","string","function"]);return s=e[3],o=e[4],r=e[5],0!=(t=gn_getItemIndex(e[0],e[1],e[2],itms,$cfs))&&(is_object(s)||(s=!1),"prev"==(o="prev"!=o&&"next"!=o?opts.circular?itms.total/2>=t?"next":"prev":0==itms.first||itms.first>t?"next":"prev":o)&&(t=itms.total-t),$cfs.trigger(cf_e(o,conf),[s,t,r]),!0)}),$cfs.bind(cf_e("prevPage",conf),function(e,t,i){e.stopPropagation();e=$cfs.triggerHandler(cf_e("currentPage",conf));return $cfs.triggerHandler(cf_e("slideToPage",conf),[e-1,t,"prev",i])}),$cfs.bind(cf_e("nextPage",conf),function(e,t,i){e.stopPropagation();e=$cfs.triggerHandler(cf_e("currentPage",conf));return $cfs.triggerHandler(cf_e("slideToPage",conf),[e+1,t,"next",i])}),$cfs.bind(cf_e("slideToPage",conf),function(e,t,i,n,s){e.stopPropagation(),is_number(t)||(t=$cfs.triggerHandler(cf_e("currentPage",conf)));var e=opts.pagination.items||opts.items.visible,o=Math.ceil(itms.total/e)-1;return o<(t=t<0?o:t)&&(t=0),$cfs.triggerHandler(cf_e("slideTo",conf),[t*e,0,!0,i,n,s])}),$cfs.bind(cf_e("jumpToStart",conf),function(e,t){if(e.stopPropagation(),t=t?gn_getItemIndex(t,0,!0,itms,$cfs):0,0!=(t+=itms.first)){if(0<itms.total)for(;t>itms.total;)t-=itms.total;$cfs.prepend($cfs.children().slice(t,itms.total))}return!0}),$cfs.bind(cf_e("synchronise",conf),function(e,t){if(e.stopPropagation(),t)t=cf_getSynchArr(t);else{if(!opts.synchronise)return debug(conf,"No carousel to synchronise.");t=opts.synchronise}for(var i=$cfs.triggerHandler(cf_e("currentPosition",conf)),n=!0,s=0,o=t.length;s<o;s++)t[s][0].triggerHandler(cf_e("slideTo",conf),[i,t[s][3],!0])||(n=!1);return n}),$cfs.bind(cf_e("queue",conf),function(e,t,i){return e.stopPropagation(),is_function(t)?t.call($tt0,queu):is_array(t)?queu=t:is_undefined(t)||queu.push([t,i]),queu}),$cfs.bind(cf_e("insertItem",conf),function(e,t,i,n,s){e.stopPropagation();e=cf_sortParams([t,i,n,s],["string/object","string/number/object","boolean","number"]);if(t=e[0],i=e[1],n=e[2],s=e[3],(is_object(t)&&!is_jquery(t)||is_string(t))&&(t=$(t)),!is_jquery(t)||0==t.length)return debug(conf,"Not a valid object.");is_undefined(i)&&(i="end"),sz_storeMargin(t,opts),sz_storeOrigCss(t);var e=i,o="before",s=("end"==i?n?(0==itms.first?(i=itms.total-1,o="after"):(i=itms.first,itms.first+=t.length),i<0&&(i=0)):(i=itms.total-1,o="after"):i=gn_getItemIndex(i,s,n,itms,$cfs),$cfs.children().eq(i));return s.length?s[o](t):(debug(conf,"Correct insert-position not found! Appending item to the end."),$cfs.append(t)),"end"==e||n||itms.first>i&&(itms.first+=t.length),itms.total=$cfs.children().length,itms.first>=itms.total&&(itms.first-=itms.total),$cfs.trigger(cf_e("updateSizes",conf)),$cfs.trigger(cf_e("linkAnchors",conf)),!0}),$cfs.bind(cf_e("removeItem",conf),function(e,t,i,n){e.stopPropagation();var s,e=cf_sortParams([t,i,n],["string/number/object","boolean","number"]);return(t=e[0],i=e[1],n=e[2],t instanceof $&&1<t.length)?(s=$(),t.each(function(){var e=$cfs.trigger(cf_e("removeItem",conf),[$(this),i,n]);e&&(s=s.add(e))})):(is_undefined(t)||"end"==t?s=$cfs.children().last():(t=gn_getItemIndex(t,n,i,itms,$cfs),(s=$cfs.children().eq(t)).length&&itms.first>t&&(itms.first-=s.length)),s&&s.length&&(s.detach(),itms.total=$cfs.children().length,$cfs.trigger(cf_e("updateSizes",conf)))),s}),$cfs.bind(cf_e("onBefore",conf)+" "+cf_e("onAfter",conf),function(e,t){e.stopPropagation();e=e.type.slice(conf.events.prefix.length);return is_array(t)&&(clbk[e]=t),is_function(t)&&clbk[e].push(t),clbk[e]}),$cfs.bind(cf_e("currentPosition",conf),function(e,t){return e.stopPropagation(),e=0==itms.first?0:itms.total-itms.first,
1is_function(t)&&t.call($tt0,e),e}),$cfs.bind(cf_e("currentPage",conf),function(e,t){e.stopPropagation();var e=opts.pagination.items||opts.items.visible,i=Math.ceil(itms.total/e-1),e=0==itms.first||itms.first<itms.total%e?0:itms.first!=e||opts.circular?Math.round((itms.total-itms.first)/e):i;return i<(e=e<0?0:e)&&(e=i),is_function(t)&&t.call($tt0,e),e}),$cfs.bind(cf_e("currentVisible",conf),function(e,t){e.stopPropagation();e=gi_getCurrentItems($cfs.children(),opts);return is_function(t)&&t.call($tt0,e),e}),$cfs.bind(cf_e("slice",conf),function(e,t,i,n){if(e.stopPropagation(),0==itms.total)return!1;e=cf_sortParams([t,i,n],["number","number","function"]);if(t=is_number(e[0])?e[0]:0,i=is_number(e[1])?e[1]:itms.total,n=e[2],t+=itms.first,i+=itms.first,0<items.total){for(;t>itms.total;)t-=itms.total;for(;i>itms.total;)i-=itms.total;for(;t<0;)t+=itms.total;for(;i<0;)i+=itms.total}e=$cfs.children(),e=t<i?e.slice(t,i):$(e.slice(t,itms.total).get().concat(e.slice(0,i).get()));return is_function(n)&&n.call($tt0,e),e}),$cfs.bind(cf_e("isPaused",conf)+" "+cf_e("isStopped",conf)+" "+cf_e("isScrolling",conf),function(e,t){e.stopPropagation();e=e.type.slice(conf.events.prefix.length),e=crsl[e];return is_function(t)&&t.call($tt0,e),e}),$cfs.bind(cf_e("configuration",conf),function(e,a,b,c){e.stopPropagation();var reInit=!1,sz;if(is_function(a))a.call($tt0,opts);else if(is_object(a))opts_orig=$.extend(!0,{},opts_orig,a),!1!==b?reInit=!0:opts=$.extend(!0,{},opts,a);else if(!is_undefined(a))if(is_function(b)){var val=eval("opts."+a);is_undefined(val)&&(val=""),b.call($tt0,val)}else{if(is_undefined(b))return eval("opts."+a);"boolean"!=typeof c&&(c=!0),eval("opts_orig."+a+" = b"),!1!==c?reInit=!0:eval("opts."+a+" = b")}return reInit&&(sz_resetMargin($cfs.children(),opts),FN._init(opts_orig),FN._bind_buttons(),sz=sz_setSizes($cfs,opts),$cfs.trigger(cf_e("updatePageStatus",conf),[!0,sz])),opts}),$cfs.bind(cf_e("linkAnchors",conf),function(e,t,i){return e.stopPropagation(),is_undefined(t)?t=$("body"):is_string(t)&&(t=$(t)),is_jquery(t)&&0!=t.length?(is_string(i)||(i="a.caroufredsel"),t.find(i).each(function(){var t=this.hash||"";0<t.length&&-1!=$cfs.children().index($(t))&&$(this).unbind("click").click(function(e){e.preventDefault(),$cfs.trigger(cf_e("slideTo",conf),t)})}),!0):debug(conf,"Not a valid object.")}),$cfs.bind(cf_e("updatePageStatus",conf),function(e,t){var i,n,s;if(e.stopPropagation(),opts.pagination.container)return i=opts.pagination.items||opts.items.visible,n=Math.ceil(itms.total/i),t&&(opts.pagination.anchorBuilder&&(opts.pagination.container.children().remove(),opts.pagination.container.each(function(){for(var e=0;e<n;e++){var t=$cfs.children().eq(gn_getItemIndex(e*i,0,!0,itms,$cfs));$(this).append(opts.pagination.anchorBuilder.call(t[0],e+1))}})),opts.pagination.container.each(function(){$(this).children().unbind(opts.pagination.event).each(function(t){$(this).bind(opts.pagination.event,function(e){e.preventDefault(),$cfs.trigger(cf_e("slideTo",conf),[t*i,-opts.pagination.deviation,!0,opts.pagination])})})})),s=$cfs.triggerHandler(cf_e("currentPage",conf))+opts.pagination.deviation,(s=n<=s?0:s)<0&&(s=n-1),opts.pagination.container.each(function(){$(this).children().removeClass(cf_c("selected",conf)).eq(s).addClass(cf_c("selected",conf))}),!0}),$cfs.bind(cf_e("updateSizes",conf),function(){var e=opts.items.visible,t=$cfs.children(),i=ms_getParentSize($wrp,opts,"width"),i=(itms.total=t.length,crsl.primarySizePercentage?(opts.maxDimension=i,opts[opts.d.width]=ms_getPercentage(i,crsl.primarySizePercentage)):opts.maxDimension=ms_getMaxDimension(opts,i),opts.responsive?(opts.items.width=opts.items.sizesConf.width,opts.items.height=opts.items.sizesConf.height,e=(opts=in_getResponsiveValues(opts,t,i)).items.visible,sz_setResponsiveSizes(opts,t)):opts.items.visibleConf.variable?e=gn_getVisibleItemsNext(t,opts,0):"*"!=opts.items.filter&&(e=gn_getVisibleItemsNextFilter(t,opts,0)),!opts.circular&&0!=itms.first&&e>itms.first&&(i=opts.items.visibleConf.variable?gn_getVisibleItemsPrev(t,opts,itms.first)-itms.first:"*"!=opts.items.filter?gn_getVisibleItemsPrevFilter(t,opts,itms.first)-itms.first:opts.items.visible-itms.first,debug(conf,"Preventing non-circular: sliding "+i+" items backward."),$cfs.trigger(cf_e("prev",conf),i)),opts.items.visible=cf_getItemsAdjust(e,opts,opts.items.visibleConf.adjust,$tt0),opts.items.visibleConf.old=opts.items.visible,opts=in_getAlignPadding(opts,t),sz_setSizes($cfs,opts));return $cfs.trigger(cf_e("updatePageStatus",conf),[!0,i]),nv_showNavi(opts,itms.total,conf),nv_enableNavi(opts,itms.first,conf),i}),$cfs.bind(cf_e("destroy",conf),function(e,t){return e.stopPropagation(),tmrs=sc_clearTimers(tmrs),$cfs.data("_cfs_isCarousel",!1),$cfs.trigger(cf_e("finish",conf)),t&&$cfs.trigger(cf_e("jumpToStart",conf)),sz_restoreOrigCss($cfs.children()),sz_restoreOrigCss($cfs),FN._unbind_events(),FN._unbind_buttons(),"parent"==conf.wrapper?sz_restoreOrigCss($wrp):$wrp.replaceWith($cfs),!0}),$cfs.bind(cf_e("debug",conf),function(){return debug(conf,"Carousel width: "+opts.width),debug(conf,"Carousel height: "+opts.height),debug(conf,"Item widths: "+opts.items.width),debug(conf,"Item heights: "+opts.items.height),debug(conf,"Number of items visible: "+opts.items.visible),opts.auto.play&&debug(conf,"Number of items scrolled automatically: "+opts.auto.items),opts.prev.button&&debug(conf,"Number of items scrolled backward: "+opts.prev.items),opts.next.button&&debug(conf,"Number of items scrolled forward: "+opts.next.items),conf.debug}),$cfs.bind("_cfs_triggerEvent",function(e,t,i){return e.stopPropagation(),$cfs.triggerHandler(cf_e(t,conf),i)})},FN._unbind_events=function(){$cfs.unbind(cf_e("",conf)),$cfs.unbind(cf_e("",conf,!1)),$cfs.unbind("_cfs_triggerEvent")},FN._bind_buttons=function(){var e,i,n,s,o,r,a;
1if(FN._unbind_buttons(),nv_showNavi(opts,itms.total,conf),nv_enableNavi(opts,itms.first,conf),opts.auto.pauseOnHover&&(e=bt_pauseOnHoverConfig(opts.auto.pauseOnHover),$wrp.bind(cf_e("mouseenter",conf,!1),function(){$cfs.trigger(cf_e("pause",conf),e)}).bind(cf_e("mouseleave",conf,!1),function(){$cfs.trigger(cf_e("resume",conf))})),opts.auto.button&&opts.auto.button.bind(cf_e(opts.auto.event,conf,!1),function(e){e.preventDefault();var e=!1,t=null;crsl.isPaused?e="play":opts.auto.pauseOnEvent&&(e="pause",t=bt_pauseOnHoverConfig(opts.auto.pauseOnEvent)),e&&$cfs.trigger(cf_e(e,conf),t)}),opts.prev.button&&(opts.prev.button.bind(cf_e(opts.prev.event,conf,!1),function(e){e.preventDefault(),$cfs.trigger(cf_e("prev",conf))}),opts.prev.pauseOnHover)&&(e=bt_pauseOnHoverConfig(opts.prev.pauseOnHover),opts.prev.button.bind(cf_e("mouseenter",conf,!1),function(){$cfs.trigger(cf_e("pause",conf),e)}).bind(cf_e("mouseleave",conf,!1),function(){$cfs.trigger(cf_e("resume",conf))})),opts.next.button&&(opts.next.button.bind(cf_e(opts.next.event,conf,!1),function(e){e.preventDefault(),$cfs.trigger(cf_e("next",conf))}),opts.next.pauseOnHover)&&(e=bt_pauseOnHoverConfig(opts.next.pauseOnHover),opts.next.button.bind(cf_e("mouseenter",conf,!1),function(){$cfs.trigger(cf_e("pause",conf),e)}).bind(cf_e("mouseleave",conf,!1),function(){$cfs.trigger(cf_e("resume",conf))})),opts.pagination.container&&opts.pagination.pauseOnHover&&(e=bt_pauseOnHoverConfig(opts.pagination.pauseOnHover),opts.pagination.container.bind(cf_e("mouseenter",conf,!1),function(){$cfs.trigger(cf_e("pause",conf),e)}).bind(cf_e("mouseleave",conf,!1),function(){$cfs.trigger(cf_e("resume",conf))})),(opts.prev.key||opts.next.key)&&$(document).bind(cf_e("keyup",conf,!1,!0,!0),function(e){var t=e.keyCode;t==opts.next.key&&(e.preventDefault(),$cfs.trigger(cf_e("next",conf))),t==opts.prev.key&&(e.preventDefault(),$cfs.trigger(cf_e("prev",conf)))}),opts.pagination.keys&&$(document).bind(cf_e("keyup",conf,!1,!0,!0),function(e){var t=e.keyCode;49<=t&&t<58&&(t=(t-49)*opts.items.visible,itms.total>=t)&&(e.preventDefault(),$cfs.trigger(cf_e("slideTo",conf),[t,0,!0,opts.pagination]))}),$.fn.swipe){var t="ontouchstart"in window;if(t&&opts.swipe.onTouch||!t&&opts.swipe.onMouse){var c=$.extend(!0,{},opts.prev,opts.swipe),l=$.extend(!0,{},opts.next,opts.swipe),u=function(){$cfs.trigger(cf_e("prev",conf),[c])},d=function(){$cfs.trigger(cf_e("next",conf),[l])};switch(opts.direction){case"up":case"down":opts.swipe.options.swipeUp=d,opts.swipe.options.swipeDown=u;break;default:opts.swipe.options.swipeLeft=d,opts.swipe.options.swipeRight=u}crsl.swipe&&$cfs.swipe("destroy"),$wrp.swipe(opts.swipe.options),$wrp.css("cursor","move"),crsl.swipe=!0}}$.fn.mousewheel&&opts.mousewheel&&(i=$.extend(!0,{},opts.prev,opts.mousewheel),n=$.extend(!0,{},opts.next,opts.mousewheel),crsl.mousewheel&&$wrp.unbind(cf_e("mousewheel",conf,!1)),$wrp.bind(cf_e("mousewheel",conf,!1),function(e,t){e.preventDefault(),0<t?$cfs.trigger(cf_e("prev",conf),[i]):$cfs.trigger(cf_e("next",conf),[n])}),crsl.mousewheel=!0),opts.auto.play&&$cfs.trigger(cf_e("play",conf),opts.auto.delay),crsl.upDateOnWindowResize&&(s=function(){$cfs.trigger(cf_e("finish",conf)),opts.auto.pauseOnResize&&!crsl.isPaused&&$cfs.trigger(cf_e("play",conf)),sz_resetMargin($cfs.children(),opts),$cfs.trigger(cf_e("updateSizes",conf))},o=$(window),t=null,t=$.debounce&&"debounce"==conf.onWindowResize?$.debounce(200,s):$.throttle&&"throttle"==conf.onWindowResize?$.throttle(300,s):(a=r=0,function(){var e=o.width(),t=o.height();e==r&&t==a||(s(),r=e,a=t)}),o.bind(cf_e("resize",conf,!1,!0,!0),t))},FN._unbind_buttons=function(){cf_e("",conf);var e=cf_e("",conf,!1);ns3=cf_e("",conf,!1,!0,!0),$(document).unbind(ns3),$(window).unbind(ns3),$wrp.unbind(e),opts.auto.button&&opts.auto.button.unbind(e),opts.prev.button&&opts.prev.button.unbind(e),opts.next.button&&opts.next.button.unbind(e),opts.pagination.container&&(opts.pagination.container.unbind(e),opts.pagination.anchorBuilder)&&opts.pagination.container.children().remove(),crsl.swipe&&($cfs.swipe("destroy"),$wrp.css("cursor","default"),crsl.swipe=!1),crsl.mousewheel&&(crsl.mousewheel=!1),nv_showNavi(opts,"hide",conf),nv_enableNavi(opts,"removeClass",conf)},is_boolean(configs)&&(configs={debug:configs}),{direction:"next",isPaused:!0,isScrolling:!1,isStopped:!1,mousewheel:!1,swipe:!1}),itms={total:$cfs.children().length,first:0},tmrs={auto:null,progress:null,startTime:getTime(),timePassed:0},scrl={isStopped:!1,duration:0,startTime:0,easing:"",anims:[]},clbk={onBefore:[],onAfter:[]},queu=[],conf=$.extend(!0,{},$.fn.carouFredSel.configs,configs),opts={},opts_orig=$.extend(!0,{},options),$wrp=("parent"==conf.wrapper?$cfs:$cfs.wrap("<"+conf.wrapper.element+' class="'+conf.wrapper.classname+'" />')).parent(),start_arr,start_arr;if(conf.selector=$cfs.selector,conf.serialNumber=$.fn.carouFredSel.serialNumber++,conf.transition=conf.transition&&$.fn.transition?"transition":"animate",FN._init(opts_orig,!0,starting_position),FN._build(),FN._bind_events(),FN._bind_buttons(),is_array(opts.items.start)?start_arr=opts.items.start:(start_arr=[],0!=opts.items.start&&start_arr.push(opts.items.start)),opts.cookie&&start_arr.unshift(parseInt(cf_getCookie(opts.cookie),10)),0<start_arr.length)for(var a=0,l=start_arr.length;a<l;a++){var s=start_arr[a];if(0!=s){if(!0===s){if(s=window.location.hash,s.length<1)continue}else"random"===s&&(s=Math.floor(Math.random()*itms.total));if($cfs.triggerHandler(cf_e("slideTo",conf),[s,0,!0,{fx:"none"}]))break}}var siz=sz_setSizes($cfs,opts),itm=gi_getCurrentItems($cfs.children(),opts);return opts.onCreate&&opts.onCreate.call($tt0,{width:siz.width,height:siz.height,items:itm}),$cfs.trigger(cf_e("updatePageStatus",conf),[!0,siz]),$cfs.trigger(cf_e("linkAnchors",conf)),conf.debug&&$cfs.trigger(cf_e("debug",conf)),$cfs}
1,$.fn.carouFredSel.serialNumber=1,$.fn.carouFredSel.defaults={synchronise:!1,infinite:!0,circular:!0,responsive:!1,direction:"left",items:{start:0},scroll:{easing:"swing",duration:500,pauseOnHover:!1,event:"click",queue:!1}},$.fn.carouFredSel.configs={debug:!1,transition:!1,onWindowResize:"throttle",events:{prefix:"",namespace:"cfs"},wrapper:{element:"div",classname:"caroufredsel_wrapper"},classnames:{}},$.fn.carouFredSel.pageAnchorBuilder=function(e){return'<a href="#"><span>'+e+"</span></a>"},$.fn.carouFredSel.progressbarUpdater=function(e){$(this).css("width",e+"%")},$.fn.carouFredSel.cookie={get:function(e){e+="=";for(var t=document.cookie.split(";"),i=0,n=t.length;i<n;i++){for(var s=t[i];" "==s.charAt(0);)s=s.slice(1);if(0==s.indexOf(e))return s.slice(e.length)}return 0},set:function(e,t,i){var n,s="";i&&((n=new Date).setTime(n.getTime()+864e5*i),s="; expires="+n.toGMTString()),document.cookie=e+"="+t+s+"; path=/"},remove:function(e){$.fn.carouFredSel.cookie.set(e,"",-1)}},$.extend($.easing,{quadratic:function(e){var t=e*e;return e*(-t*e+4*t-6*e+4)},cubic:function(e){return e*(4*e*e-9*e+6)},elastic:function(e){var t=e*e;return e*(33*t*t-106*t*e+126*t-67*e+15)}}))}(jQuery),!function(z){function n(i){return!i||void 0!==i.allowPageScroll||void 0===i.swipe&&void 0===i.swipeStatus||(i.allowPageScroll=A),i=i||{},i=z.extend({},z.fn.swipe.defaults,i),this.each(function(){var e=z(this),t=e.data(B);t||(t=new s(this,i),e.data(B,t))})}function s(e,o){var r,a,n,s;function t(e){var t,e=e.originalEvent,i=q?e.touches[0]:e;if(S=D,q?C=e.touches.length:e.preventDefault(),w=null,x=y=0,q&&C!==o.fingers&&o.fingers!==M?u(e):(n=r=i.pageX,s=a=i.pageY,T=(new Date).getTime(),o.swipeStatus&&(t=d(e,S))),!1===t)return d(e,S=R),t;k.bind(_,c),k.bind(v,l)}function c(e){if(e=e.originalEvent,S!==H&&S!==R){var t,i=q?e.touches[0]:e,i=(r=i.pageX,a=i.pageY,$=(new Date).getTime(),w=h(),q&&(C=e.touches.length),S=F,e),n=w;if(o.allowPageScroll===A)i.preventDefault();else{var s=o.allowPageScroll===j;switch(n){case I:(o.swipeLeft&&s||!s&&o.allowPageScroll!=O)&&i.preventDefault();break;case P:(o.swipeRight&&s||!s&&o.allowPageScroll!=O)&&i.preventDefault();break;case N:(o.swipeUp&&s||!s&&o.allowPageScroll!=L)&&i.preventDefault();break;case E:(o.swipeDown&&s||!s&&o.allowPageScroll!=L)&&i.preventDefault()}}C!==o.fingers&&o.fingers!==M&&q?d(e,S=R):(y=f(),x=$-T,o.swipeStatus&&(t=d(e,S,w,y,x)),o.triggerOnTouchEnd||(i=!!(o.maxTimeThreshold&&x>=o.maxTimeThreshold),!0===p()?t=d(e,S=H):i&&d(e,S=R))),!1===t&&d(e,S=R)}}function l(e){var t;(e=e.originalEvent).preventDefault(),$=(new Date).getTime(),y=f(),w=h(),x=$-T,o.triggerOnTouchEnd||!1===o.triggerOnTouchEnd&&S===F?(S=H,C!==o.fingers&&o.fingers!==M&&q||0===r?d(e,S=R):(t=!!(o.maxTimeThreshold&&x>=o.maxTimeThreshold),!0!==p()&&null!==p()||t?!t&&!1!==p()||d(e,S=R):d(e,S))):S===F&&d(e,S=R),k.unbind(_,c,!1),k.unbind(v,l,!1)}function u(){T=$=a=r=s=n=C=0}function d(e,t){var i=void 0;if(o.swipeStatus&&(i=o.swipeStatus.call(k,e,t,w||null,y||0,x||0,C)),t!==R||!o.click||1!==C&&q||!isNaN(y)&&0!==y||(i=o.click.call(k,e,e.target)),t==H)switch(o.swipe&&(i=o.swipe.call(k,e,w,y,x,C)),w){case I:o.swipeLeft&&(i=o.swipeLeft.call(k,e,w,y,x,C));break;case P:o.swipeRight&&(i=o.swipeRight.call(k,e,w,y,x,C));break;case N:o.swipeUp&&(i=o.swipeUp.call(k,e,w,y,x,C));break;case E:o.swipeDown&&(i=o.swipeDown.call(k,e,w,y,x,C))}return t!==R&&t!==H||u(e),i}function p(){return null!==o.threshold?y>=o.threshold:null}function f(){return Math.round(Math.sqrt(Math.pow(r-n,2)+Math.pow(a-s,2)))}function h(){var e=Math.atan2(a-s,n-r);return(e=(e=Math.round(180*e/Math.PI))<0?360-Math.abs(e):e)<=45&&0<=e||e<=360&&315<=e?I:135<=e&&e<=225?P:45<e&&e<135?E:N}function i(){k.unbind(m,t),k.unbind(b,u),k.unbind(_,c),k.unbind(v,l)}var g=q||!o.fallbackToMouseEvents,m=g?"touchstart":"mousedown",_=g?"touchmove":"mousemove",v=g?"touchend":"mouseup",b="touchcancel",y=0,w=null,x=0,k=z(e),S="start",C=0,T=a=r=s=n=0,$=0;try{k.bind(m,t),k.bind(b,u)}catch(e){z.error("events not supported "+m+","+b+" on jQuery.swipe")}this.enable=function(){return k.bind(m,t),k.bind(b,u),k},this.disable=function(){return i(),k},this.destroy=function(){return i(),k.data(B,null),k}}
1var I="left",P="right",N="up",E="down",A="none",j="auto",O="horizontal",L="vertical",M="all",D="start",F="move",H="end",R="cancel",q="ontouchstart"in window,B="TouchSwipe";z.fn.swipe=function(e){var t=z(this),i=t.data(B);if(i&&"string"==typeof e){if(i[e])return i[e].apply(this,Array.prototype.slice.call(arguments,1));z.error("Method "+e+" does not exist on jQuery.swipe")}else if(!(i||"object"!=typeof e&&e))return n.apply(this,arguments);return t},z.fn.swipe.defaults={fingers:1,threshold:75,maxTimeThreshold:null,swipe:null,swipeLeft:null,swipeRight:null,swipeUp:null,swipeDown:null,swipeStatus:null,click:null,triggerOnTouchEnd:!0,allowPageScroll:"auto",fallbackToMouseEvents:!0},z.fn.swipe.phases={PHASE_START:D,PHASE_MOVE:F,PHASE_END:H,PHASE_CANCEL:R},z.fn.swipe.directions={LEFT:I,RIGHT:P,UP:N,DOWN:E},z.fn.swipe.pageScroll={NONE:A,HORIZONTAL:O,VERTICAL:L,AUTO:j},z.fn.swipe.fingers={ONE:1,TWO:2,THREE:3,ALL:M}}(jQuery),!function(u){function e(e){if(e in o.style)return e;var t=["Moz","Webkit","O","ms"],i=e.charAt(0).toUpperCase()+e.substr(1);if(e in o.style)return e;for(e=0;e<t.length;++e){var n=t[e]+i;if(n in o.style)return n}}function i(e){return"string"==typeof e&&this.parse(e),this}function d(e,t,i,n){var s=[],o=(u.each(e,function(e){e=u.camelCase(e),e=(e=u.transit.propertyMap[e]||u.cssProps[e]||e).replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()}),-1===u.inArray(e,s)&&s.push(e)}),u.cssEase[i]&&(i=u.cssEase[i]),p(t)+" "+i),r=(0<parseInt(n,10)&&(o+=" "+p(n)),[]);return u.each(s,function(e,t){r.push(t+" "+o)}),r.join(", ")}function t(n,e){e||(u.cssNumber[n]=!0),u.transit.propertyMap[n]=f.transform,u.cssHooks[n]={get:function(e){return u(e).css("transit:transform").get(n)},set:function(e,t){var i=u(e).css("transit:transform");i.setFromString(n,t),u(e).css({"transit:transform":i})}}}function n(e,t){return"string"!=typeof e||e.match(/^[\-0-9\.]+$/)?""+e+t:e}function p(e){return n(e=u.fx.speeds[e]?u.fx.speeds[e]:e,"ms")}u.transit={version:"0.9.9",propertyMap:{marginLeft:"margin",marginRight:"margin",marginBottom:"margin",marginTop:"margin",paddingLeft:"padding",paddingRight:"padding",paddingBottom:"padding",paddingTop:"padding"},enabled:!0,useTransitionEnd:!1};var s,o=document.createElement("div"),f={},r=-1<navigator.userAgent.toLowerCase().indexOf("chrome"),h=(f.transition=e("transition"),f.transitionDelay=e("transitionDelay"),f.transform=e("transform"),f.transformOrigin=e("transformOrigin"),o.style[f.transform]="",o.style[f.transform]="rotateY(90deg)",f.transform3d=""!==o.style[f.transform],f.transitionEnd={transition:"transitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",WebkitTransition:"webkitTransitionEnd",msTransition:"MSTransitionEnd"}[f.transition]||null);for(s in f)f.hasOwnProperty(s)&&void 0===u.support[s]&&(u.support[s]=f[s]);o=null,u.cssEase={_default:"ease",in:"ease-in",out:"ease-out","in-out":"ease-in-out",snap:"cubic-bezier(0,1,.5,1)",easeOutCubic:"cubic-bezier(.215,.61,.355,1)",easeInOutCubic:"cubic-bezier(.645,.045,.355,1)",easeInCirc:"cubic-bezier(.6,.04,.98,.335)",easeOutCirc:"cubic-bezier(.075,.82,.165,1)",easeInOutCirc:"cubic-bezier(.785,.135,.15,.86)",easeInExpo:"cubic-bezier(.95,.05,.795,.035)",easeOutExpo:"cubic-bezier(.19,1,.22,1)",easeInOutExpo:"cubic-bezier(1,0,0,1)",easeInQuad:"cubic-bezier(.55,.085,.68,.53)",easeOutQuad:"cubic-bezier(.25,.46,.45,.94)",easeInOutQuad:"cubic-bezier(.455,.03,.515,.955)",easeInQuart:"cubic-bezier(.895,.03,.685,.22)",easeOutQuart:"cubic-bezier(.165,.84,.44,1)",easeInOutQuart:"cubic-bezier(.77,0,.175,1)",easeInQuint:"cubic-bezier(.755,.05,.855,.06)",easeOutQuint:"cubic-bezier(.23,1,.32,1)",easeInOutQuint:"cubic-bezier(.86,0,.07,1)",easeInSine:"cubic-bezier(.47,0,.745,.715)",easeOutSine:"cubic-bezier(.39,.575,.565,1)",easeInOutSine:"cubic-bezier(.445,.05,.55,.95)",easeInBack:"cubic-bezier(.6,-.28,.735,.045)",easeOutBack:"cubic-bezier(.175, .885,.32,1.275)",easeInOutBack:"cubic-bezier(.68,-.55,.265,1.55)"},u.cssHooks["transit:transform"]={get:function(e){return u(e).data("transform")||new i},set:function(e,t){t instanceof i||(t=new i(t)),e.style[f.transform]="WebkitTransform"!==f.transform||r?t.toString():t.toString(!0),u(e).data("transform",t)}},u.cssHooks.transform={set:u.cssHooks["transit:transform"].set},u.fn.jquery<"1.8"&&(u.cssHooks.transformOrigin={get:function(e){return e.style[f.transformOrigin]},set:function(e,t){e.style[f.transformOrigin]=t}},u.cssHooks.transition={get:function(e){return e.style[f.transition]},set:function(e,t){e.style[f.transition]=t}}
1),t("scale"),t("translate"),t("rotate"),t("rotateX"),t("rotateY"),t("rotate3d"),t("perspective"),t("skewX"),t("skewY"),t("x",!0),t("y",!0),i.prototype={setFromString:function(e,t){t="string"==typeof t?t.split(","):t.constructor===Array?t:[t];t.unshift(e),i.prototype.set.apply(this,t)},set:function(e){var t=Array.prototype.slice.apply(arguments,[1]);this.setter[e]?this.setter[e].apply(this,t):this[e]=t.join(",")},get:function(e){return this.getter[e]?this.getter[e].apply(this):this[e]||0},setter:{rotate:function(e){this.rotate=n(e,"deg")},rotateX:function(e){this.rotateX=n(e,"deg")},rotateY:function(e){this.rotateY=n(e,"deg")},scale:function(e,t){void 0===t&&(t=e),this.scale=e+","+t},skewX:function(e){this.skewX=n(e,"deg")},skewY:function(e){this.skewY=n(e,"deg")},perspective:function(e){this.perspective=n(e,"px")},x:function(e){this.set("translate",e,null)},y:function(e){this.set("translate",null,e)},translate:function(e,t){void 0===this._translateX&&(this._translateX=0),void 0===this._translateY&&(this._translateY=0),null!=e&&(this._translateX=n(e,"px")),null!=t&&(this._translateY=n(t,"px")),this.translate=this._translateX+","+this._translateY}},getter:{x:function(){return this._translateX||0},y:function(){return this._translateY||0},scale:function(){var e=(this.scale||"1,1").split(",");return e[0]&&(e[0]=parseFloat(e[0])),e[1]&&(e[1]=parseFloat(e[1])),e[0]===e[1]?e[0]:e},rotate3d:function(){for(var e=(this.rotate3d||"0,0,0,0deg").split(","),t=0;t<=3;++t)e[t]&&(e[t]=parseFloat(e[t]));return e[3]&&(e[3]=n(e[3],"deg")),e}},parse:function(e){var n=this;e.replace(/([a-zA-Z0-9]+)\((.*?)\)/g,function(e,t,i){n.setFromString(t,i)})},toString:function(e){var t,i=[];for(t in this)this.hasOwnProperty(t)&&(f.transform3d||"rotateX"!==t&&"rotateY"!==t&&"perspective"!==t&&"transformOrigin"!==t)&&"_"!==t[0]&&(e&&"scale"===t?i.push(t+"3d("+this[t]+",1)"):e&&"translate"===t?i.push(t+"3d("+this[t]+",0)"):i.push(t+"("+this[t]+")"));return i.join(" ")}},u.fn.transition=u.fn.transit=function(n,e,t,s){var o,r=this,i=0,a=!0,c=("function"==typeof e&&(s=e,e=void 0),"function"==typeof t&&(s=t,t=void 0),void 0!==n.easing&&(t=n.easing,delete n.easing),void 0!==n.duration&&(e=n.duration,delete n.duration),void 0!==n.complete&&(s=n.complete,delete n.complete),void 0!==n.queue&&(a=n.queue,delete n.queue),void 0!==n.delay&&(i=n.delay,delete n.delay),void 0===e&&(e=u.fx.speeds._default),void 0===t&&(t=u.cssEase._default),e=p(e),d(n,e,t,i)),l=u.transit.enabled&&f.transition?parseInt(e,10)+parseInt(i,10):0;return 0===l?(t=function(e){r.css(n),s&&s.apply(r),e&&e()},!0===(e=a)?r.queue(t):e?r.queue(e,t):t(),r):(o={},t=function(e){this.offsetWidth;var t=!1,i=function(){t&&r.unbind(h,i),0<l&&r.each(function(){this.style[f.transition]=o[this]||null}),"function"==typeof s&&s.apply(r),"function"==typeof e&&e()};0<l&&h&&u.transit.useTransitionEnd?(t=!0,r.bind(h,i)):window.setTimeout(i,l),r.each(function(){0<l&&(this.style[f.transition]=c),u(this).css(n)})},!0===(e=a)?r.queue(t):e?r.queue(e,t):t(),this)},u.transit.getTransitionValue=d}(jQuery),void 0!==loginzaProxy&&loginzaProxy||(loginzaProxy={}),loginzaProxy.Frame={callback:null,frameSrc:"",provider:null,called:!1,setCallback:function(e){loginzaProxy.Frame.callback=e},loginzaResponse:function(event){return resp=eval("("+event.data+")"),null!=resp.callback&&resp.callback&&"LoginzaCallback"==resp.callback?loginzaProxy.Frame.callback(resp.data):null!=resp.callback&&resp.callback&&"loginzaClose"==resp.callback&&loginzaProxy.Frame.close(),loginzaProxy.Frame.called=!1,!0},close:function(){var e=document.getElementById("_loginza_auth_form");e&&e.parentNode.removeChild(e),loginzaProxy.Frame.called=!1},create:function(){if(loginzaProxy.Frame.called)return!0;var e;
1loginzaProxy.Frame.called=!0,(e=null==(e=document.getElementById("_loginza_auth_form"))?document.createElement("div"):e).id="_loginza_auth_form",e.style.overflow="visible",e.style.backgroundColor="transparent",e.style.zIndex="10000",e.style.position="fixed",e.style.display="block",e.style.top="0px",e.style.left="0px",e.style.textAlign="center",(iframe=document.createElement("iframe")).id="loginza_main_ifr",iframe.allowTransparency="true",iframe.width="100%",iframe.height="50%",iframe.scrolling="no",iframe.frameBorder="0",iframe.src=loginzaProxy.Frame.frameSrc+loginzaProxy.Frame.getProvider()+"&lang=ru",e.appendChild(iframe),e.style.paddingLeft=0,e.style.height="2000px",e.style.width=document.body.clientWidth+50+"px",document.body.appendChild(e),loginzaProxy.Frame.addEvent(window,"message",loginzaProxy.Frame.loginzaResponse)},getProvider:function(){return"&provider="+loginzaProxy.Frame.provider},addEvent:function(e,t,i){e.addEventListener?e.addEventListener(t,i,!1):e.attachEvent?e.attachEvent("on"+t,i):e["on"+t]=i}},jQuery.easing.jswing=jQuery.easing.swing,jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(e,t,i,n,s){return jQuery.easing[jQuery.easing.def](e,t,i,n,s)},easeInQuad:function(e,t,i,n,s){return n*(t/=s)*t+i},easeOutQuad:function(e,t,i,n,s){return-n*(t/=s)*(t-2)+i},easeInOutQuad:function(e,t,i,n,s){return(t/=s/2)<1?n/2*t*t+i:-n/2*(--t*(t-2)-1)+i},easeInCubic:function(e,t,i,n,s){return n*(t/=s)*t*t+i},easeOutCubic:function(e,t,i,n,s){return n*((t=t/s-1)*t*t+1)+i},easeInOutCubic:function(e,t,i,n,s){return(t/=s/2)<1?n/2*t*t*t+i:n/2*((t-=2)*t*t+2)+i},easeInQuart:function(e,t,i,n,s){return n*(t/=s)*t*t*t+i},easeOutQuart:function(e,t,i,n,s){return-n*((t=t/s-1)*t*t*t-1)+i},easeInOutQuart:function(e,t,i,n,s){return(t/=s/2)<1?n/2*t*t*t*t+i:-n/2*((t-=2)*t*t*t-2)+i},easeInQuint:function(e,t,i,n,s){return n*(t/=s)*t*t*t*t+i},easeOutQuint:function(e,t,i,n,s){return n*((t=t/s-1)*t*t*t*t+1)+i},easeInOutQuint:function(e,t,i,n,s){return(t/=s/2)<1?n/2*t*t*t*t*t+i:n/2*((t-=2)*t*t*t*t+2)+i},easeInSine:function(e,t,i,n,s){return-n*Math.cos(t/s*(Math.PI/2))+n+i},easeOutSine:function(e,t,i,n,s){return n*Math.sin(t/s*(Math.PI/2))+i},easeInOutSine:function(e,t,i,n,s){return-n/2*(Math.cos(Math.PI*t/s)-1)+i},easeInExpo:function(e,t,i,n,s){return 0==t?i:n*Math.pow(2,10*(t/s-1))+i},easeOutExpo:function(e,t,i,n,s){return t==s?i+n:n*(1-Math.pow(2,-10*t/s))+i},easeInOutExpo:function(e,t,i,n,s){return 0==t?i:t==s?i+n:(t/=s/2)<1?n/2*Math.pow(2,10*(t-1))+i:n/2*(2-Math.pow(2,-10*--t))+i},easeInCirc:function(e,t,i,n,s){return-n*(Math.sqrt(1-(t/=s)*t)-1)+i},easeOutCirc:function(e,t,i,n,s){return n*Math.sqrt(1-(t=t/s-1)*t)+i},easeInOutCirc:function(e,t,i,n,s){return(t/=s/2)<1?-n/2*(Math.sqrt(1-t*t)-1)+i:n/2*(Math.sqrt(1-(t-=2)*t)+1)+i},easeInElastic:function(e,t,i,n,s){var o=1.70158,r=0,a=n;return 0==t?i:1==(t/=s)?i+n:(r=r||.3*s,o=a<Math.abs(n)?(a=n,r/4):r/(2*Math.PI)*Math.asin(n/a),-(a*Math.pow(2,10*--t)*Math.sin(2*(t*s-o)*Math.PI/r))+i)},easeOutElastic:function(e,t,i,n,s){var o=1.70158,r=0,a=n;return 0==t?i:1==(t/=s)?i+n:(r=r||.3*s,o=a<Math.abs(n)?(a=n,r/4):r/(2*Math.PI)*Math.asin(n/a),a*Math.pow(2,-10*t)*Math.sin(2*(t*s-o)*Math.PI/r)+n+i)},easeInOutElastic:function(e,t,i,n,s){var o=1.70158,r=0,a=n;return 0==t?i:2==(t/=s/2)?i+n:(r=r||.3*s*1.5,o=a<Math.abs(n)?(a=n,r/4):r/(2*Math.PI)*Math.asin(n/a),t<1?-.5*a*Math.pow(2,10*--t)*Math.sin(2*(t*s-o)*Math.PI/r)+i:a*Math.pow(2,-10*--t)*Math.sin(2*(t*s-o)*Math.PI/r)*.5+n+i)},easeInBack:function(e,t,i,n,s,o){return n*(t/=s)*t*(((o=null==o?1.70158:o)+1)*t-o)+i},easeOutBack:function(e,t,i,n,s,o){return n*((t=t/s-1)*t*(((o=null==o?1.70158:o)+1)*t+o)+1)+i},easeInOutBack:function(e,t,i,n,s,o){return null==o&&(o=1.70158),(t/=s/2)<1?n/2*t*t*((1+(o*=1.525))*t-o)+i:n/2*((t-=2)*t*((1+(o*=1.525))*t+o)+2)+i},easeInBounce:function(e,t,i,n,s){return n-jQuery.easing.easeOutBounce(e,s-t,0,n,s)+i},easeOutBounce:function(e,t,i,n,s){return(t/=s)<1/2.75?7.5625*n*t*t+i:t<2/2.75?n*(7.5625*(t-=1.5/2.75)*t+.75)+i:t<2.5/2.75?n*(7.5625*(t-=2.25/2.75)*t+.9375)+i:n*(7.5625*(t-=2.625/2.75)*t+.984375)+i},easeInOutBounce:function(e,t,i,n,s){return t<s/2?.5*jQuery.easing.easeInBounce(e,2*t,0,n,s)+i:.5*jQuery.easing.easeOutBounce(e,2*t-s,0,n,s)+.5*n+i}}),$.fn.listnav_en=function(e){var v=$.extend({},$.fn.listnav_en.defaults,e),b=["_","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","-"],y=!1;return v.prefixes=$.map(v.prefixes,function(e){return e.toLowerCase()}),this.each(function(){var i,n,e=this.id,s=$("#"+e+"-nav"),o=$(this),r={},a=0,t=!0,c="";function l(){var e;if(s.append(_()),i=$(".ln-letters",s).slice(0,1),v.showCounts&&(n=$(".ln-letter-count",s).slice(0,1)),d(),h(),v.flagDisabled&&f(),m(),v.
1includeAll||o.show(),v.includeAll||$(".all",i).remove(),v.includeNums||$("._",i).remove(),v.includeOther||$(".-",i).remove(),$(":last",i).addClass("ln-last"),$.cookie&&null!=v.cookieName&&null!=(e=$.cookie(v.cookieName))&&(v.initLetter=e),""!=v.initLetter)y=!0,$("."+v.initLetter.toLowerCase(),i).slice(0,1).click();else if(v.includeAll)$(".all",i).addClass("ln-selected");else for(var t=v.includeNums?0:1;t<b.length;t++)if(0<r[b[t]]){y=!0,$("."+b[t],i).slice(0,1).click();break}}function u(){n.css({top:$(".a",i).slice(0,1).offset({margin:!1,border:!0}).top-n.outerHeight({margin:!0})})}function d(){var e,t,i,n=0<v.prefixes.length;$(o).children().each(function(){i=$(this),""!=(e=$.trim(i.text()).toLowerCase())&&(n&&1<(t=e.split(" ")).length&&-1<$.inArray(t[0],v.prefixes)&&p(t[1].charAt(0),i,!0),p(e.charAt(0),i))})}function p(e,t,i){/\W/.test(e)&&(e="-"),isNaN(e)||(e="_"),t.addClass("ln-"+e),null==r[e]&&(r[e]=0),r[e]++,i||a++}function f(){for(var e=0;e<b.length;e++)null==r[b[e]]&&$("."+b[e],i).addClass("ln-disabled")}function h(){o.append('<li class="ln-no-match" style="display:none">'+v.noMatchText+"</li>")}function g(e){return $(e).hasClass("all")?a:null!=(e=r[$(e).attr("class").split(" ")[0]])?e:0}function m(){v.showCounts&&s.mouseover(function(){u()}
1),v.showCounts&&($("a",i).mouseover(function(){var e=$(this).position().left,t=$(this).outerWidth({margin:!0})-1+"px",i=g(this);n.css({left:e,width:t}).text(i).show()}),$("a",i).mouseout(function(){n.hide()})),$("a",i).click(function(){var e=$(this).attr("class").split(" ")[0];return $(this).hasClass("ln-disabled")||$(this).hasClass("ln-selected")||("all"==e?($("a.ln-selected",i).removeClass("ln-selected"),o.children().show(),o.children(".ln-no-match").hide(),t=!0):($("a.ln-selected",i).removeClass("ln-selected"),t?(o.children().hide(),t=!1):""!=c&&o.children(".ln-"+c).hide(),(0<g(this)?(o.children(".ln-no-match").hide(),o.children(".ln-"+e)):o.children(".ln-no-match")).show(),c=e),$.cookie&&null!=v.cookieName&&$.cookie(v.cookieName,e),$(this).addClass("ln-selected"),$(this).blur(),y||null==v.onClick?y=!1:v.onClick(e)),!1})}function _(){for(var e=[],t=1;t<b.length;t++)0==e.length&&e.push('<a class="all" href="#">Все</a>'),e.push('<a class="'+b[t]+'" href="#">'+("-"==b[t]?"...":b[t].toUpperCase())+"</a>");return'<div class="ln-letters ln-en">'+e.join("")+"</div>"+(v.showCounts?'<div class="ln-letter-count" style="display:none; position:absolute; top:0; left:0; width:20px;">0</div>':"")}l()})},$.fn.listnav_ru=function(e){var v=$.extend({},$.fn.listnav_ru.defaults,e),b=["_","а","б","в","г","д","е","ё","ж","з","и","к","л","м","н","о","п","р","с","т","у","ф","х","ц","ч","ш","щ","э","ю","я","-"],y=!1;return v.prefixes=$.map(v.prefixes,function(e){return e.toLowerCase()}),this.each(function(){var i,n,e=this.id,s=$("#"+e+"-nav"),o=$(this),r={},a=0,t=!0,c="";function l(){var e;if(s.append(_()),i=$(".ln-letters",s).slice(0,1),v.showCounts&&(n=$(".ln-letter-count",s).slice(0,1)),d(),h(),v.flagDisabled&&f(),m(),v.includeAll||o.show(),v.includeAll||$(".all",i).remove(),v.includeNums||$("._",i).remove(),v.includeOther||$(".-",i).remove(),$(":last",i).addClass("ln-last"),$.cookie&&null!=v.cookieName&&null!=(e=$.cookie(v.cookieName))&&(v.initLetter=e),""!=v.initLetter)y=!0,$("."+v.initLetter.toLowerCase(),i).slice(0,1).click();else if(v.includeAll)$(".all",i).addClass("ln-selected");else for(var t=v.includeNums?0:1;t<b.length;t++)if(0<r[b[t]]){y=!0,$("."+b[t],i).slice(0,1).click();break}}function u(){n.css({top:$(".a",i).slice(0,1).offset({margin:!1,border:!0}).top-n.outerHeight({margin:!0})})}function d(){var e,t,i,n=0<v.prefixes.length;$(o).children().each(function(){i=$(this),""!=(e=$.trim(i.text()).toLowerCase())&&(n&&1<(t=e.split(" ")).length&&-1<$.inArray(t[0],v.prefixes)&&p(t[1].charAt(0),i,!0),p(e.charAt(0),i))})}function p(e,t,i){/[а-яА-Я]/.test(e)||(/\W/.test(e)&&(e="-"),isNaN(e))||(e="_"),t.addClass("ln-"+e),null==r[e]&&(r[e]=0),r[e]++,i||a++}function f(){for(var e=0;e<b.length;e++)null==r[b[e]]&&$("."+b[e],i).addClass("ln-disabled")}function h(){o.append('<li class="ln-no-match" style="display:none">'+v.noMatchText+"</li>")}function g(e){return $(e).hasClass("all")?a:null!=(e=r[$(e).attr("class").split(" ")[0]])?e:0}function m(){v.showCounts&&s.mouseover(function(){u()}
1),v.showCounts&&($("a",i).mouseover(function(){var e=$(this).position().left,t=$(this).outerWidth({margin:!0})-1+"px",i=g(this);n.css({left:e,width:t}).text(i).show()}),$("a",i).mouseout(function(){n.hide()})),$("a",i).click(function(){var e=$(this).attr("class").split(" ")[0];return $(this).hasClass("ln-disabled")||$(this).hasClass("ln-selected")||("all"==e?($("a.ln-selected",i).removeClass("ln-selected"),o.children().show(),o.children(".ln-no-match").hide(),t=!0):($("a.ln-selected",i).removeClass("ln-selected"),t?(o.children().hide(),t=!1):""!=c&&o.children(".ln-"+c).hide(),(0<g(this)?(o.children(".ln-no-match").hide(),o.children(".ln-"+e)):o.children(".ln-no-match")).show(),c=e),$.cookie&&null!=v.cookieName&&$.cookie(v.cookieName,e),$(this).addClass("ln-selected"),$(this).blur(),y||null==v.onClick?y=!1:v.onClick(e)),!1})}function _(){for(var e=[],t=1;t<b.length;t++)0==e.length&&e.push('<a class="all" href="#">Все</a><a class="_" href="#">0-9</a>'),e.push('<a class="'+b[t]+'" href="#">'+("-"==b[t]?"...":b[t].toUpperCase())+"</a>");return'<div class="ln-letters">'+e.join("")+"</div>"+(v.showCounts?'<div class="ln-letter-count" style="display:none; position:absolute; top:0; left:0; width:20px;">0</div>':"")}l()})},$.fn.listnav_en.defaults={initLetter:"",includeAll:!0,incudeOther:!1,includeNums:!0,flagDisabled:!0,noMatchText:"No matching entries",showCounts:!0,cookieName:null,onClick:null,prefixes:[]},$.fn.listnav_ru.defaults={initLetter:"",includeAll:!0,incudeOther:!1,includeNums:!0,flagDisabled:!0,noMatchText:"No matching entries",showCounts:!0,cookieName:null,onClick:null,prefixes:[]},!function(s,i,n,o){var r="jPages",a=null,c={containerID:"",first:!1,previous:"← previous",next:"next →",last:!1,links:"numeric",startPage:1,perPage:10,midRange:5,startRange:1,endRange:1,keyBrowse:!1,scrollBrowse:!1,pause:0,clickStop:!1,delay:50,direction:"forward",animation:"",fallback:400,minHeight:!0,callback:o};function l(e,t){this.options=s.extend({},c,t),this._container=s("#"+this.options.containerID),this._container.length&&(this.jQwindow=s(i),this.jQdocument=s(n),this._holder=s(e),this._nav={},this._first=s(this.options.first),this._previous=s(this.options.previous),this._next=s(this.options.next),this._last=s(this.options.last),this._items=this._container.children(":visible"),this._itemsShowing=s([]),this._itemsHiding=s([]),this._numPages=Math.ceil(this._items.length/this.options.perPage),this._currentPageNum=this.options.startPage,this._clicked=!1,this._cssAnimSupport=this.getCSSAnimationSupport(),this.init())}l.prototype={constructor:l,getCSSAnimationSupport:function(){var e=!1,t="Webkit Moz O ms Khtml".split(" "),i="",n=this._container.get(0);if(!1===(e=n.style.animationName?!0:e))for(var s=0;s<t.length;s++)if(n.style[t[s]+"AnimationName"]!==o){i=t[s],i.toLowerCase(),e=!0;break}return e},init:function(){this.setStyles(),this.setNav(),this.paginate(this._currentPageNum),this.setMinHeight()},setStyles:function(){s("<style>.jp-invisible { visibility: hidden !important; } .jp-hidden { display: none !important; }</style>").appendTo("head"),this._cssAnimSupport&&this.options.animation.length?this._items.addClass("animated jp-hidden"):this._items.hide()},setNav:function(){var n=this.writeNav();this._holder.each(this.bind(function(e,t){var i=s(t);i.html(n),this.cacheNavElements(i,e),this.bindNavHandlers(e),this.disableNavSelection(t)},this)),this.options.keyBrowse&&this.bindNavKeyBrowse(),this.options.scrollBrowse&&this.bindNavScrollBrowse()},writeNav:function(){for(var e=1,t=this.writeBtn("first")+this.writeBtn("previous");e<=this._numPages;e++){switch(1===e&&0===this.options.startRange&&(t+="<span>...</span>"),e>this.options.startRange&&e<=this._numPages-this.options.endRange?t+="<a href='#' class='jp-hidden'>":t+="<a>",this.options.links){case"numeric":t+=e;break;case"blank":break;case"title":var i=this._items.eq(e-1).attr("data-title");t+=i!==o?i:""}t+="</a>",e!==this.options.startRange&&e!==this._numPages-this.options.endRange||(t+="<span>...</span>")}return t+=this.writeBtn("next")+this.writeBtn("last")+"</div>"},writeBtn:function(e){return!1===this.options[e]||s(this["_"+e]).length?"":"<a class='jp-"+e+"'>"+this.options[e]+"</a>"},cacheNavElements:function(e,t){this._nav[t]={},this._nav[t].holder=e,this._nav[t].first=this._first.length?this._first:this._nav[t].holder.find("a.jp-first"),this._nav[t].previous=this._previous.length?this._previous:this._nav[t].holder.find("a.jp-previous"),this._nav[t].next=this._next.length?this._next:this._nav[t].holder.find("a.jp-next"),this._nav[t].last=this._last.length?this._last:this._nav[t].holder.find("a.jp-last"),this._nav[t].fstBreak=this._nav[t].holder.find("span:first"),this._nav[t].lstBreak=this._nav[t].holder.find("span:last"),this._nav[t].pages=this._nav[t].holder.find("a").not(".jp-first, .jp-previous, .jp-next, .jp-last"),this._nav[t].permPages=this._nav[t].pages.slice(0,this.options.startRange).add(this._nav[t].pages.slice(this._numPages-this.options.endRange,this._numPages)),this._nav[t].pagesShowing=s([]),this._nav[t].currentPage=s([])},bindNavHandlers:function(e){var i=this._nav[e];i.holder.bind("click.jPages",this.bind(function(e){var t=this.getNewPage(i,s(e.target));this.validNewPage(t)&&(this._clicked=!0,this.paginate(t)),e.preventDefault()},this)),this._first.length&&this._first.bind("click.jPages",this.bind(function(){this.validNewPage(1)&&(this._clicked=!0,this.paginate(1))},this)),this._previous.length&&this._previous.bind("click.jPages",this.bind(function(){var e=this._currentPageNum-1;this.validNewPage(e)&&(this._clicked=!0,this.paginate(e))},this)),this._next.length&&this._next.bind("click.jPages",this.bind(function(){var e=this._currentPageNum+1;this.validNewPage(e)&&(this._clicked=!0,this.paginate(e))},this)),this._last.length&&this._last.bind("click.jPages",this.bind(function(){this.validNewPage(this._numPages)&&(this._clicked=!0,this.paginate(this._numPages))},this))},disableNavSelection:function(e){void 0!==e.onselectstart?e.onselectstart=function(){return!1}:void 0!==e.style.MozUserSelect?e.style.MozUserSelect="none":e.onmousedown=function(){return!1}},bindNavKeyBrowse:function(){this.jQdocument.bind("keydown.jPages",this.bind(function(e){var t=e.target.nodeName.toLowerCase();this.elemScrolledIntoView()&&"input"!==t&&"textarea"!=t&&(t=this._currentPageNum,37==e.which&&(t=this._currentPageNum-1),39==e.which&&(t=this._currentPageNum+1),this.validNewPage(t))&&(this._clicked=!0,this.paginate(t))},this))},elemScrolledIntoView:function(){var e=this.jQwindow.scrollTop(),t=e+this.jQwindow.height(),i=this._container.offset().top;return e<=i+this._container.height()&&i<=t},bindNavScrollBrowse:function(){this._container.bind("mousewheel.jPages DOMMouseScroll.jPages",this.bind(function(e){var t=0<(e.originalEvent.wheelDelta||-e.originalEvent.detail)?this._currentPageNum-1:this._currentPageNum+1;return this.validNewPage(t)&&(this._clicked=!0,this.paginate(t)),e.preventDefault(),!1},this))},getNewPage:function(e,t){return t.is(e.currentPage)?this._currentPageNum:t.is(e.pages)?e.pages.index(t)+1:t.is(e.first)?1:t.is(e.last)?this._numPages:t.is(e.previous)?e.pages.index(e.currentPage):t.is(e.next)?e.pages.index(e.currentPage)+2:void 0},validNewPage:function(e){return e!==this._currentPageNum&&0<e&&e<=this._numPages},paginate:function(e){var t=this.updateItems(e),i=this.updatePages(e);this._currentPageNum=e,s.isFunction(this.options.callback)&&this.callback(e,t,i),this.updatePause()},updateItems:function(e){var t=this.getItemRange(e);return this._itemsHiding=this._itemsShowing,this._itemsShowing=this._items.slice(t.start,t.end),this._cssAnimSupport&&this.options.animation.length?this.cssAnimations(e):this.jQAnimations(e),t},getItemRange:function(e){var t={};return t.start=(e-1)*this.options.perPage,t.end=t.start+this.options.perPage,t.end>this._items.length&&(t.end=this._items.length),t},cssAnimations:function(e){clearInterval(this._delay),this._itemsHiding.removeClass(this.options.animation+" jp-invisible").addClass("jp-hidden"),this._itemsShowing.removeClass("jp-hidden").addClass("jp-invisible"),this._itemsOriented=this.getDirectedItems(e),this._index=0,this._delay=setInterval(this.bind(function(){this._index===this._itemsOriented.length?clearInterval(this._delay):this._itemsOriented.eq(this._index).removeClass("jp-invisible").addClass(this.options.animation),this._index=this._index+1},this),this.options.delay)},jQAnimations:function(e){clearInterval(this._delay),this._itemsHiding.addClass("jp-hidden"),this._itemsShowing.fadeTo(0,0).removeClass("jp-hidden"),this._itemsOriented=this.getDirectedItems(e),this._index=0,this._delay=setInterval(this.bind(function(){this._index===this._itemsOriented.length?clearInterval(this._delay):this._itemsOriented.eq(this._index).fadeTo(this.options.fallback,1),this._index=this._index+1},this),this.options.delay)},getDirectedItems:function(e){var t;switch(this.options.direction){case"backwards":t=s(this._itemsShowing.get().reverse());break;case"random":t=s(this._itemsShowing.get().sort(function(){return Math.round(Math.random())-.5}));break;case"auto":t=e>=this._currentPageNum?this._itemsShowing:s(this._itemsShowing.get().reverse());break;default:t=this._itemsShowing}return t},updatePages:function(e){var t,i,n=this.getInterval(e);for(t in this._nav)this._nav.hasOwnProperty(t)&&(i=this._nav[t],this.updateBtns(i,e),this.updateCurrentPage(i,e),this.updatePagesShowing(i,n),this.updateBreaks(i,n));return n},getInterval:function(e){var t=Math.ceil(this.options.midRange/2),i=this._numPages-this.options.midRange;return{start:t<e?Math.max(Math.min(e-t,i),0):0,end:t<e?Math.min(e+t-(0<this.options.midRange%2?1:0),this._numPages):Math.min(this.options.midRange,this._numPages)}},updateBtns:function(e,t){1===t&&(e.first.addClass("jp-disabled"),e.previous.addClass("jp-disabled")),t===this._numPages&&(e.next.addClass("jp-disabled"),e.last.addClass("jp-disabled")),1===this._currentPageNum&&1<t&&(e.first.removeClass("jp-disabled"),e.previous.removeClass("jp-disabled")),this._currentPageNum===this._numPages&&t<this._numPages&&(e.next.removeClass("jp-disabled"),e.last.removeClass("jp-disabled"))},updateCurrentPage:function(e,t){e.currentPage.removeClass("jp-current"),e.currentPage=e.pages.eq(t-1).addClass("jp-current")},updatePagesShowing:function(e,t){t=e.pages.slice(t.start,t.end).not(e.permPages);e.pagesShowing.not(t).addClass("jp-hidden"),t.not(e.pagesShowing).removeClass("jp-hidden"),e.pagesShowing=t},updateBreaks:function(e,t){t.start>this.options.startRange||0===this.options.startRange&&0<t.start?e.fstBreak.removeClass("jp-hidden"):e.fstBreak.addClass("jp-hidden"),t.end<this._numPages-this.options.endRange?e.lstBreak.removeClass("jp-hidden"):e.lstBreak.addClass("jp-hidden")},callback:function(e,t,i){e={current:e,interval:i,count:this._numPages},i={showing:this._itemsShowing,oncoming:this._items.slice(t.start+this.options.perPage,t.end+this.options.perPage),range:t,count:this._items.length};e.interval.start=e.interval.start+1,i.range.start=i.range.start+1,this.options.callback(e,i)},updatePause:function(){this.options.pause&&1<this._numPages&&(clearTimeout(this._pause),this.options.clickStop&&this._clicked||(this._pause=setTimeout(this.bind(function(){this.paginate(this._currentPageNum!==this._numPages?this._currentPageNum+1:1)},this),this.options.pause)))},setMinHeight:function(){this.options.minHeight&&!this._container.is("table, tbody")&&setTimeout(this.bind(function(){this._container.css({"min-height":this._container.css("height")})},this),1e3)},bind:function(e,t){return function(){return e.apply(t,arguments)}}
1,destroy:function(){this.jQdocument.unbind("keydown.jPages"),this._container.unbind("mousewheel.jPages DOMMouseScroll.jPages"),this.options.minHeight&&this._container.css("min-height",""),this._cssAnimSupport&&this.options.animation.length?this._items.removeClass("animated jp-hidden jp-invisible "+this.options.animation):this._items.removeClass("jp-hidden").fadeTo(0,1),this._holder.unbind("click.jPages").empty()}},s.fn[r]=function(e){var t=s.type(e);return"object"===t?this.length&&!s.data(this,r)&&(a=new l(this,e),this.each(function(){s.data(this,r,a)})):"string"===t&&"destroy"===e?(a.destroy(),this.each(function(){s.removeData(this,r)})):"number"===t&&e%1==0&&a.validNewPage(e)&&a.paginate(e),this}}(jQuery,window,document);var application=new function(){var o=this;this.fancybox={init:function(){$("a.fancybox-group").fancybox({transitionIn:"elastic",transitionOut:"elastic",titlePosition:"over",speedIn:600,speedOut:200,cyclic:!0,hideOnOverlayClick:!0,showCloseButton:!0,margin:30,width:"auto",height:"auto"})}},this.tabs={init:function(){var t=this;
1$(".ui-tabs a").click(function(){var e=$(this);return e.hasClass("current")||t.toggleTabs(e),!1})},toggleTabs:function(e){$(".ui-tabs").find(".current").each(function(){$(this).removeClass("current")}),$(".tabs").children(".current").each(function(){$(this).removeClass("current")});var t=e.attr("href");$(""+t).addClass("current"),e.addClass("current")}},this.placeholders={init:function(){$(".form_placeholder").each(function(){var e=$(this),t=e.attr("title");e.length&&(e.focus(function(){e.hasClass("placeholder_text")&&e.removeClass("placeholder_text").val("")}).blur(function(){""==$.trim(e.val())&&e.addClass("placeholder_text").val(t)}),""==$.trim(e.val()))&&e.addClass("placeholder_text").val(t)}),$("form").submit(function(){$(this).find(".placeholder_text").val(""),$(".form_placeholder").each(function(){var e=$(this),t=$.trim(e.attr("title"));$.trim(e.val())==t&&e.val("")})})}},this.ajaxMail={current:{sending:!1},init:function(){var e=this;e.initMail(e)},initMail:function(e){$("#order_submit").click(function(){return e.ajaxSendMail($("#order_form"),e,$(this)),!1})},ajaxSendMail:function(t,i,n){var e,s;return i.current.sending||(i.current.sending=!0,e=n.outerHeight(),n.parent().eq(0).height(e).append('<img src="/img/ajax-loader.gif"/>'),n.hide(),t.find(".form_error").removeClass("form_error"),t.find(".form_success").hide(),t.find(".form_errors").hide(),t.find(".placeholder_text").val(""),t.find(".form_placeholder").each(function(){var e=$
1(this),t=$.trim(e.attr("title"));$.trim(e.val())==t&&e.val("")}),(e=t.serializeArray())[0].value=document.location.href,s=(s=t.attr("custom-action"))&&s.length?s:"/webforms/custom_order_send/",$.ajax({type:"POST",data:e,dataType:"json",url:s,success:function(e){e.status?i.errorMail(e,t):i.okMail(t),i.current.sending=!1,o.placeholders.init(),n.next().remove(),n.show()},error:function(e,t,i){console.log(e),console.log(t),console.log(i)}})),!1},okMail:function(e){$(document).find(".form_success").show(),$(".info_block #order_form, .info_block .info_block_title").hide(),e.get(0).reset()},errorMail:function(e,t){t.find(".form_errors").show(),e.email&&t.find(".form_email").addClass("form_error"),e.name&&t.find(".form_name").addClass("form_error"),e.message&&t.find(".form_message").addClass("form_error"),e.pdn_agreement&&alert(umihost_lang.i18n("cms_src.create.error_pdn_rules")),e.captcha&&t.find(".form_captcha").addClass("form_error")}},this.inviter=new function(){var i="user-inviter-id",n="inviter-partner-code";this.init=function(){var e=o.getUrlVars(),t=31536e3;e.hasOwnProperty("inviter")&&o.setCookie(i,e.inviter,{expires:t,path:"/"}),e.hasOwnProperty("from")&&o.setCookie(n,e.from,{expires:t,path:"/"})}
1,this.getSaved=function(){var e=o.getCookie(i);return e||""},this.getSavedFrom=function(){var e=o.getCookie(n);return e||""},this.deleteSaved=function(){o.deleteCookie(i,{expires:-7200,path:"/"}),o.deleteCookie(n,{expires:-7200,path:"/"})}},this.getUrlVars=function(){for(var e,t={},i=window.location.href.slice(window.location.href.indexOf("?")+1).split("&"),n=0;n<i.length;n++)t[(e=i[n].split("="))[0]]=e[1];return t},this.getCookie=function(e){e=document.cookie.match(new RegExp("(?:^|; )"+e.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,"\\$1")+"=([^;]*)"));return e?decodeURIComponent(e[1]):void 0},this.deleteCookie=function(e,t){(!(t=void 0===t?{}:t).hasOwnProperty("expires")||0<=t.expires)&&(t.expires=-1),o.setCookie(e,"",t)},this.setCookie=function(e,t,i){var n,s,o=(i=i||{}).expires,r=("number"==typeof o&&o&&((n=new Date).setTime(n.getTime()+1e3*o),o=i.expires=n),o&&o.toUTCString&&(i.expires=o.toUTCString()),e+"="+(t=encodeURIComponent(t)));for(s in i){r+="; "+s;var a=i[s];!0!==a&&(r+="="+a)}document.cookie=r},this.links={init:function(){$(".go_out_link").each(function(){var e=$
1(this);e.attr("href",e.attr("data-href"))})}},this.sites_examples={init:function(){$(".sites_examples").each(function(){var e,t,i,n;0!=$(this).find("ul.sites_examples_carousel li").length&&(e=$(this),t=e.parent(),i=[],n=t.find(".sites_examples_go"),t.find(".example_link").each(function(){var e=$(this);e.attr("href",e.attr("data-href"))}),n.each(function(){i.push(".sites_examples_go_to ."+$(this).attr("rel")),i.push(""),i.push(""),i.push("")}),e.jCarouselLite({auto:4e3,speed:500,visible:4,scroll:1,btnNext:".externalControl.next",btnPrev:".externalControl.prev",btnGo:i,afterEnd:function(e){e=$(e[0]),e=4*Math.floor(e.attr("rel")/4)+1;n.removeClass("current"),t.find(".sites_examples_go_to ."+e).addClass("current")}}))})}},this.resize=new function(){this.init=function(){var e=$("body");o.resize.resize(e,0),$(window).resize(function(){o.resize.resize(e,0)})},this.resize=function(e,t){var i=$(window).height(),n=e.height(),s=e.outerHeight(!0),n=i-(s-n);s<i&&e.animate({minHeight:n},t,function(){})}},this.slider=new function(){this.init=function(){$(".slider").anythingSlider({resizeContents:!1,expand:!0,buildNavigation:!1,buildStartStop:!1,hashTags:!1,autoPlay:!0,appendForwardTo:jQuery("#slider-right"),appendBackTo:jQuery("#slider-left"),delay:5e3}).anythingSliderFx({".mobile-app-link":["fade","","300","linear"],".mobile-app-text-dop":["fade","","300","linear"],".mobile-app-text":["fade","","300","linear"]})}},this.parallaxScroll=new function(){this.init=function(){$window=$(window),$(".parallax_scroll").each(function(){var t=$(this);$(window).scroll(function(){var e="50% "+-($window.scrollTop()/t.data("speed"))+"px";t.css({backgroundPosition:e})})})}}},notReplaceLogin=($(document).ready(function(){var e=application.getUrlVars();application.links.init(),application.resize.init(),application.fancybox.init(),application.placeholders.init(),application.ajaxMail.init(),application.tabs.init(),application.inviter.init(),application.sites_examples.init(),application.slider.init(),application.parallaxScroll.init(),e.hasOwnProperty("utm_content")&&application.setCookie("utm_content",e.utm_content),getCookie("cstat-timestamp")||$.post("/udata://users/urlCookieSaver/?mode=ajax",{referrer:document.referrer,uri:window.location.href})}),!function(n){var e;window.onerror=function(e,t,i){n(e+" "+t+":"+i)},RegExp("Safari|Opera").test(navigator.userAgent)&&!RegExp("Chrome").test(navigator.userAgent)&&(e=window.Error,window.Error=function(){return 0<arguments.length&&n(arguments[0]),e.apply(this,arguments)})}(function(e){"undefined"!=typeof ga&&ga("send","event","errors","je_error",e,null,{nonInteraction:1})}),!function(s){s.fn.succinct=function(e){var n=s.extend({size:240,omission:"...",ignore:!0},e);return this.each(function(){var e,t=s(this),i=/[!-\/:-@\[-`{-~]$/;t.each(function(){(e=s(this).html()).length>n.size&&(e=s.trim(e).substring(0,n.size).split(" ").slice(0,-1).join(" "),n.ignore&&(e=e.replace(i,"")),s(this).html(e+n.omission))})})}}(jQuery),!1),createWithBonus=function(){},SITE={popupRegistrationOptions:function(){},utilites:{checkDomain:function(){},sendYandexGoal:function(){},getCookie:function(e,t){e=document.cookie.match(new RegExp("(?:^|; )"+e.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,"\\$1")+"=([^;]*)"));return e?decodeURIComponent(e[1]):t},setCookie:function(e,t,i,n,s,o){document.cookie=e+"="+escape(t)+(i?"; expires="+i:"")+(n?"; path="+n:"")+(s?"; domain="+s:"")+(o?"; secure":"")},getGoogleCID:function(){var e=SITE.utilites.getCookie("_ga");return"string"==typeof e&&""!==e?(splited=e.split(".",4))[2]+"."+splited[3]:""},extend:function(e,i){return Object.keys(i).reduce(function(e,t){return e[t]=i[t],e},e)}},haveBonus:0},instantCreate=(SITE.affiliateParams={affiliate:!!SITE.utilites.getCookie("affiliate_partner_id",!1),__CURRENT_PARTNER_ID__:SITE.utilites.getCookie("affiliate_partner_id",0)},{createDummyHost:function(e){var e=instantCreate.getParamsFromLink($(e).attr("href")),s=void 0!==application&&void 0!==application.inviter,o={fromUrl:instantCreate.getCookieValue("cstat-from-url"),toUrl:instantCreate.getCookieValue("cstat-to-url"),inviter:s?application.inviter.getSaved():"",from:s?a
1pplication.inviter.getSavedFrom():"",statUID:instantCreate.getCookieValue("UMIRU_MIXPANEL_UUID"),statTimestamp:instantCreate.getCookieValue("cstat-timestamp"),Params:window.umiruWidgetSettings&&JSON.stringify(window.umiruWidgetSettings.params)||"",googleCID:SITE.utilites.getGoogleCID()},t=document.querySelector('#create input[name="EMail"]');t&&""!==t.value&&(o.EMail=t.value),o=SITE.utilites.extend(o,SITE.affiliateParams),e.application&&(o.appId=e.application),o.appName=instantCreate.getAppName(o.appId),_api_call("host_install_dummy",o,function(t){var e,i,n;t.result&&(s&&application.inviter.deleteSaved(),e=void 0!==t.info.timestring?t.info.timestring:"",i=t.result.HostName+"."+t.result.domain,instantCreate.sendStats(o,i,e),n="",["Time","Code","ul","up"].forEach(function(e){void 0!==t.result[e]&&(n+=(""===n?"?":"&")+e+"="+t.result[e])}),n+=(""===n?"?":"&")+"f=0","undefined"!=typeof mixpanel&&(n+=(""===n?"?":"&")+"mx="+mixpanel.get_distinct_id()),setTimeout(function(){var e=t.result.scheme+"://"+i+"/adminzone/";location.href=e+n},500))})},sendStats:function(e,t,i){SITE.utilites.trackGtmEvent({"Event Action":"submit",Step:"5"}),"undefined"!=typeof dataLayer&&dataLayer.push({event:"registration"}),"undefined"!=typeof ga&&(ga("send","event","site","create_"+e.appName,"free"),ga("send","event","site","create_any",t),""!==e.from)&&(ga("send","event","from","create_"+e.from,t),ga(e.from+".send","event","site","create",t)),void 0!==window.mixpanel&&(mixpanel.people.set({"Источник":SITE.utilites.getCookie("umi-mixpanel-source"),"Канал":SITE.utilites.getCookie("umi-mixpanel-medium"),"Ключевое слово":SITE.utilites.getCookie("umi-mixpanel-term"),"Кампания":SITE.utilites.getCookie("umi-mixpanel-campaign"),"Содержание":SITE.utilites.getCookie("umi-mixpanel-content"),$email:"",$created:i}),mixpanel.track("Запрос на создание сайта",{"Сайт":t,Email:"","Тариф":e.appName,"Шаблон":"nodesign"}))},getAppName:function(e){switch(e){case"1":return"personal";case"2":return"company";case"11":return"shop";case"10":return"umilanding";default:return"noname"}},getCookieValue:function(e){e=SITE.utilites.getCookie(e);return void 0===e?"":e},getParamsFromLink:function(e){for(var t=e.match(/\w+=\w+/g),i={},n=[],s=0;s<t.length;s++)i[(n=t[s].split("="))[0]]=n[1];return i}});function demoSitePreview(e){var t=document.getElementById("body"),i=document.getElementById("demo_site_preview"),n=document.querySelector("#demo_site_preview>iframe");t&&i&&n&&(e?(t.classList.add("preview"),n.src=n.dataset.src,i.style.display=""):(i.style.display="none",n.src="",t.classList.remove("preview")))}$(function(){var e,t=$("#params").serializeArray(),i=[],b=0,y=null,p=null,n="adminzone",l=void 0!==application&&void 0!==application.inviter,f="",g="";for(e in l&&(f=application.inviter.getSaved(),g=application.inviter.getSavedFrom()),t)i[t[e].name]=t[e].value;SITE.popupRegistrationOptions=function(e,u,d){var i={transitionIn:"none",transitionOut:"fade",titleShow:!1,speedIn:600,speedOut:200,cyclic:!0,hideOnOverlayClick:!0,showCloseButton:!1,showNavArrows:!0,margin:10,padding:0,width:"auto",height:"auto",modal:!0,onComplete:function(){SITE.utilites.trackGtmEvent({"Event Action":"pageview",Step:"2"});var i=$("#checkdomain"),n=$("#domain_occupied"),s=$("#domain_free"),o=$("#email_error"),_=$("#create .reg_complete"),v=$(".social").children("[data-provider]"),e=$("#NewSiteName"),t=$("input[name='EMail']"),r=$(".fancybox-close_custom"),a="error",c=$("#uLogin").find("a"),l=$("#create"),r=(r.length&&($("#fancybox-close").hide(),r.on("click",$.fancybox.close)),"function"==typeof u&&u.call(this,l),sessionStorage.getItem("siteName")?(notReplaceLogin=!0,document.querySelector("#create #NewSiteName").value=sessionStorage.getItem("siteName"),document.querySelector('#create input[name="AcceptAgreement"]').checked="true"===sessionStorage.getItem("agreement")):(notReplaceLogin=!1,h(e)),l.find("input").keypress(function(e){10!=e.which&&13!=e.which||_.click()}),("hidden"==e.attr("type")?t:e).focus(),$(".expand").on("click",function(){$(".expand_text").slideToggle(400),$(this).toggleClass("change")}),$("#fancybox-overlay"));r.addClass("create-overlay"),r.on("click",$.fancybox.close),i.click(function(){var e=$
1("input[name='SiteName']"),t=$("#domain_occupied"),i=$("#domain_free"),n=$("#create .my_site input");SITE.utilites.checkDomain(e.val(),function(){i.show(),n.removeClass(a)},function(){t.show(),n.addClass(a)}),$(this).hide()}),e.keyup(function(){var e=$(this),t=/[^0-9a-zA-Z\-]/g,t=$(this).val().replace(t,"");e.parent().find("div#mes_free");e.val(t),s.hide(),n.hide(),i.show()}),t.on("input",function(e){var t=$(this),i=/[^0-9a-zA-Z\-\.@\+\_]/g,n=$("#create .your_email input");i.test(t.val())?(o.show(),n.addClass(a),i=t.val().replace(i,""),t.val(i)):(o.hide(),n.removeClass(a))}),t.on("change",function(){SITE.utilites.trackGtmEvent({"Event Action":"change",Step:"3"})}),c.click(function(){SITE.utilites.trackGtmEvent({"Event Action":"click",Step:"4",Option:$(this).parent().data("uloginbutton")})}),y=function(){var i=$(this);if(SITE.utilites.trackGtmEvent({"Event Action":"click",Step:"4",Option:"form"}),"function"==typeof d&&d(),_.unbind("click"),p=setTimeout(function(){_.bind("click",y)},2e4),!(1<=b)){b++,_.hide(),_.parent().eq(0).append('<img class="create-site-preloader" src="/img/ajax-loader.gif"/>');var e,t,n=$('#create input[name="AcceptAgreement"]:checked').length,s=$('#create input[name="EMail"]').val(),o=$('#create input[name="SiteName"]').val(),r=$("#create-params").serializeArray(),a=[];for(e in r)a[r[e].name]=r[e].value;if(n&&(s||i.is("[data-provider]"))&&o){w();const u={HostName:o};function c(g,m){return new Promise(function(i,n){const e=SITE.utilites.getCookie("cstat-timestamp")||"",t=SITE.utilites.getCookie("cstat-from-url")||"",s=SITE.utilites.getCookie("cstat-to-url")||"",o=SITE.utilites.getCookie("UMIRU_MIXPANEL_UUID")||"",r=new URL(location.href),a=r.searchParams.get("password")||"",c={HostName:m.hostName,EMail:m.email,FirstName:"",LastName:"",FatherName:"",ReturnRepeatLinkParams:!0,prePayId:m.good||0,fromUrl:t,toUrl:s,inviter:m.inviterId,from:m.fromCode,statUID:o,statTimestamp:e,haveBonus:SITE.haveBonus,Network:1,Params:window.umiruWidgetSettings&&JSON.stringify(window.umiruWidgetSettings.params)||"",googleCID:SITE.utilites.getGoogleCID(),Password:a};if(!g.is("[data-provider]"))return i(c);const l=g.data("provider");if(!l)return n("data-provider not specified");function u(){window.removeEventListener("message",d),clearInterval(f),clearTimeout(h),b=0;const e=document.querySelector(".create-site-preloader");e&&e.remove(),_.show(),_.unbind("click").bind("click",y),v.unbind("click").bind("click",y)}function d(e){if(e.origin===window.location.origin){const t=e.data||{};if("error"===t.status)return u(),n(t.message||"Authorization error");t.identifier&&(u(),Object.assign(c,{EMail:t.email||c.EMail,FirstName:t.firstName||"",LastName:t.lastName||"",networkProvider:l,networkIdentifier:t.identifier||""}),i(c))}}window.addEventListener("message",d);const p=window.open(window.origin+"/auth_callback.php?provider="+encodeURIComponent(l),"_new","width=800,height=600,scrollbars=yes");if(!p)return u(),n("Failed to open authorization window");const f=setInterval(function(){p.closed&&(u(),n("Authorization popup closed"))},500),h=setTimeout(function(){u(),n("Timed out authorization via "+l)},3e5)})}i.is("[data-provider]")||(u.email=s),_api_call("host_free",u,function(e){e.result?i.is("[data-provider]")?h():_api_call("mail_verificationCode_check",{email:s},function(e){e.result?e.result.verified?h():e.result.sent?(l(s,e.result,o),m()):_api_call("mail_verificationCode_send",{email:s},function(e){e.result?(l(s,e.result,o),m()):m(e)},null,!1):m(e)},null,!1):(m(e),w(!0))}.bind(this),null,!1)}else t="",t+=o?"":umihost_lang.i18n("cms_src.create.error_hostname"),i.is("[data-provider]")||(t+=s?"":umihost_lang.i18n("cms_src.create.error_email")),t+=n?"":umihost_lang.i18n("cms_src.create.error_agreement"),alert(t),clearTimeout(p),_.unbind("click").bind("click",y),b=0,_.parent().children().last().remove(),_.show()}return!1;function h(){var t,e={hostName:o,fromCode:g,email:s,prePayId:a.good||0,inviter:f};c(i,e).then(function(e){e=SITE.utilites.extend(e,SITE.affiliateParams),a.application&&(e.AppID=a.application),a.id&&(e.DesID=a.id),a.color&&(e.ClrID=a.color),a.only_register&&(e.onlyRegister=a.only_register),t="1"===a.needRedirect,x(e,"host_requestinstall",k,!1===t)}
1).catch(function(e){console.error("Ошибка подготовки данных:",e),alert(e)})}function l(i,e,n){var e=e.lock_time,s=(document.querySelector("#create .popup").style.display="none",document.querySelector("#create .code-verification").style.display="block",document.querySelector(".code-sent p").textContent=i,document.querySelectorAll(".code-inputs input"));function o(t){s.forEach(function(e){e.classList.toggle("wrong-code-input",t)}),document.querySelector(".wrong-code-label").style.display=t?"block":"none"}var t=document.querySelector(".request-new-code-wrapper"),r=document.querySelector(".request-new-code-later-wrapper");function a(e){t.style.display="none",r.style.display="block",r.querySelector(".timer").textContent=l(e)}function c(){t.style.display="block",r.style.display="none",r.querySelector(".timer").textContent=""}function l(e){var t=Math.floor(e/60);return e%=60,("0"+t).slice(-2)+":"+("0"+e).slice(-2)}var u=null;function d(e){clearInterval(u);var t=e;a(t),u=setInterval(function(){--t<=0?(clearInterval(u),c()):a(t)},1e3)}function p(){Array.from(s).every(e=>e.value&&1===e.value.length)&&f(s)}function f(t){var e=Array.from(t).map(e=>e.value).join("");_api_call("mail_verificationCode_check",{email:i,code:e,hostName:n},function(e){e.result&&e.result.verified?(u&&(clearInterval(u),u=null),t.forEach(function(e){e.setAttribute("disabled","disabled")}),document.querySelector(".request-new-code-wrapper").style.display="none",document.querySelector(".request-new-code-later-wrapper").style.display="none",o(!(document.querySelector(".code-verification .create-site-preloader").style.display="inline")),h()):e.errors.length?m(e):o(!0)},null,!1)}"number"==typeof e&&0<e?d(e):c(),s.forEach((t,i)=>{t.addEventListener("input",e=>{var t=e.target.value.replace(/\D/g,"");(e.target.value=t)?(e.target.classList.add("filled"),i<s.length-1&&s[i+1].focus()):e.target.classList.remove("filled"),o(!1),p()}),t.addEventListener("keydown",e=>{"Backspace"===e.key&&!t.value&&0<i&&(t.classList.remove("filled"),s[i-1].focus())}),t.addEventListener("paste",e=>{o(!1),e.preventDefault();const i=(e.clipboardData||window.clipboardData).getData("text").replace(/\D/g,"");i.length===s.length&&(s.forEach((e,t)=>{e.value=i[t]||"",e.classList.add("filled")}),s[s.length-1].focus(),p())})}),document.querySelector(".request-new-code").addEventListener("click",function(e){e.preventDefault(),_api_call("mail_verificationCode_send",{email:i},function(e){e.result?(s.forEach(e=>{e.value="",e.classList.remove("filled","wrong-code-input")}),document.querySelector(".wrong-code-label").style.display="none",d(e.result.lock_time)):m(e)},null,!1)})}},_.bind("click",y),v.bind("click",y),document.querySelectorAll("#uLogin li").forEach(function(e){e.addEventListener("click",function(){sessionStorage.setItem("siteName",document.querySelector("#create #NewSiteName").value),sessionStorage.setItem("agreement",document.querySelector('#create input[name="AcceptAgreement"]').checked)})})}};return $.each(e,function(e,t){i[e]=t}),i},SITE.utilites.checkDomain=function(e,t,i){""!=e&&_api_call("host_free",{HostName:e},function(e){e.result?t():e.errors&&e.errors.length?_mes.html(e.errors[0]):i()},function(){},!1)},SITE.utilites.sendYandexGoal=function(e){var t=$("a.fancybox-create").data("ya-goal-source"),i=$(location).attr("pathname").substring(0,$(location).attr("pathname").lastIndexOf("/"));if("object"==typeof yaCounter5426581){var n="";switch(t){case"template_list":""!=i&&(n="Click_button_"+i.replace(/(^\/)?(\/$)?/g,"").replace(/\//g,"_"));break;case"template_item":n="Click_button_create_shablon"}""!=n&&(void 0!==e&&(n+=e),yaCounter5426581.reachGoal(n))}},SITE.utilites.trackGtmEvent=function(e){"undefined"!=typeof dataLayer&&dataLayer.push($.extend({event:"Registration_funnel","Event Action":"","Event Label":"registration-form",Step:""},e))};var h=function(t){t.keyup(function(){notReplaceLogin=!0}),_api_call("get_uniq_login",{},function(e){s(),e.result&&0==notReplaceLogin&&t.val(e.result.sitename)})},s=function(){null==SITE.utilites.getCookie("UMICLOUDv1")&&jQuery.browser.opera&&_api_call("initsess",{},function(e){var t;e.result&&(t=(expire=new Date).getTime(),t+=36e5,expire.setTime(t),SITE.utilites.setCookie(e.result.sessname,e.result.sessid,expire.toGMTString(),"/","."+__currentHostName))})},u=function(e,t,i){return i+"://"+(e||$("#NewSiteName").val())+"."+(t||window.location.hostname)+"/"+n+"/"};function m(e=void 0){e?.errors?.length&&alert(e?.errors?.[0]);const t=$("#create .reg_complete");clearTimeout(p),t.unbind("click").bind("click",y),t.next().remove(),t.show(),b=0}function w(e=!1){const t=document.querySelector(".sign-in"),i=(t&&t.classList.toggle("sign-in_displayed",e),document.querySelector(".or"));i&&i.classList.toggle("or_hidden",e)}function x(r,e,a,c){null==c&&(c=!0),b++,_api_call(e,r,function(e){if(e.result){var t,i=$("#create-params").seri
1alizeArray(),n=[];for(t in i)n[i[t].name]=i[t].value;l&&application.inviter.deleteSaved();var s="nonameapp";switch($('#create-params input[name="application"]').val()){case"1":s="personal";break;case"2":s="company";break;case"3":s="shop";break;case"5":s="lite";break;case"10":s="umilanding"}SITE.utilites.trackGtmEvent({"Event Action":"submit",Step:"5"}),"undefined"!=typeof dataLayer&&dataLayer.push({event:"registration"});var o="free",o=($('#create-params input[name="good"]').length&&(o="paid"),"undefined"!=typeof ga&&(ga("set","dimension5",r.EMail+""),ga("send","event","site","create_"+s,o),ga("send","event","site","create_any",e.result.HostName+"."+window.location.hostname)),void 0!==e.info.timestring?e.info.timestring:"");void 0!==window.mixpanel&&(mixpanel.people.set({"Источник":SITE.utilites.getCookie("umi-mixpanel-source"),"Канал":SITE.utilites.getCookie("umi-mixpanel-medium"),"Ключевое слово":SITE.utilites.getCookie("umi-mixpanel-term"),"Кампания":SITE.utilites.getCookie("umi-mixpanel-campaign"),"Содержание":SITE.utilites.getCookie("umi-mixpanel-content"),$email:r.Email,$created:o}),mixpanel.track("Запрос на создание сайта",{"Сайт":e.result.HostName+"."+window.location.hostname,Email:r.Email,"Тариф":s,"Шаблон":void 0!==r.DesID?r.DesID:"nodesign"})),""!=n.from&&"undefined"!=typeof ga&&(ga("send","event","from","create_"+n.from,e.result.HostName+"."+window.location.hostname),ga(n.from+".send","event","site","create",e.result.HostName+"."+window.location.hostname)),"artonadvmaker"==n.from&&$("#create").append('<img src="http://pix.am10.ru/img.php?rid=26749">'),sessionStorage.removeItem("adc"),sessionStorage.removeItem("siteName"),sessionStorage.removeItem("agreement"),sessionStorage.removeItem("search"),c?($("#create_redirect").attr("action",u(e.result.HostName,e.result.domain,e.result.scheme)),$("#create_redirect_time").val(e.result.Time),$("#create_redirect_ul").val(e.result.ul),$("#create_redirect_up").val(e.result.up),$("#create_redirect_code").val(e.result.Code),"undefined"!=typeof mixpanel&&((o=document.createElement("input")).setAttribute("type","hidden"),o.setAttribute("name","mx"),o.setAttribute("value",mixpanel.get_distinct_id()),$("#create_redirect").append(o.outerHTML)),setTimeout(function(){$("#create_redirect").submit()},500)):a(e.result)}else"email-already-registered"===e.errors?.[0]?(m(),w(!0)):m()},null,!1)}var k=function(e){var t=u(e.HostName,e.domain,e.scheme)+"?Time="+e.Time+"&Code="+e.Code;setTimeout(function(){window.location.href=t},500)};function o(t){$('#create input[name="EMail"], #fancybox-content input[name="email"]').val(t.email).attr("disabled","disabled");var i,n=$("input#NewSiteName").val();return""==n?(alert(umihost_lang.i18n("cms_src.create.need_hostname")),!1):$('#create input[name="AcceptAgreement"]:checked, #fancybox-content input[name="AcceptAgreement"]:checked').length?((i=$('#create .reg_complete, #fancybox-content button[type="submit"].umi-button')).hide(),i.parent().eq(0).append('<img class="create-site-preloader" src="/img/ajax-loader.gif"/>'),void _api_call("host_free",{HostName:n},function(e){e.result?r(t,n):e.errors&&($("#checkdomain").hide(),$("#domain_occupied").show(),i.next().remove(),i.show(),i.unbind("click").click(function(e){return e.stopPropagation(),o(t),!1}))},function(){},!1)):(alert(umihost_lang.i18n("cms_src.create.need_agreement")),!1)}function r(e,t){var i,n=$("#create-params").serializeArray(),s=[];for(i in n)s[n[i].name]=n[i].value;var o=void 0===(o=SITE.utilites.getCookie("cstat-timestamp"))?"":o,r=void 0===(r=SITE.utilites.getCookie("cstat-from-url"))?"":r,a=void 0===(a=SITE.utilites.getCookie("cstat-to-url"))?"":a,c=SITE.utilites.getCookie("UMIRU_MIXPANEL_UUID"),t={Identity:e.identity,HostName:t,EMail:e.email,FirstName:e.first_name,LastName:e.last_name,Photo:e.photo_big,Phone:e.phone,Network:e.network,ReturnRepeatLinkParams:!0,prePayId:s.good||0,fromUrl:r,toUrl:a,inviter:f,from:g,statUID:c,statTimestamp:o,googleCID:SITE.utilites.getGoogleCID()};s.application&&(t.AppID=s.application),s.id&&(t.DesID=s.id),s.color&&(t.ClrID=s.color),s.only_register&&(t.onlyRegister=s.only_register),x(t,"host_installulogin")}window.ulogin=function(e){$.getJSON("https://ulogin.ru/token.php?host="+encodeURIComponent(location.toString())+"&token="+e+"&callback=?",function(e){(e=$.parseJSON(e.toString())).error?console.error(e.error):o(e)})},window.addEventListener("load",function(){window.createFromSearch=function(e){e&&3===e.split("-").length&&(sessionStorage.setItem("adc",e),sessionStorage.setItem("search",document.querySelector('#design_search input[type="search"]').value))};var e=document.querySelectorAll(".ulogin-click");0<e.length&&(e.forEach(function(e){e.addEventListener("click",function(){sessionStorage.setItem("adc",e.dataset.adc)})}),sessionStorage.getItem("adc"))&&sessionStorage.getItem("siteName")&&
10<location.search.indexOf("ulogin_token=")&&!document.getElementById("uLogin")&&(sessionStorage.getItem("search")&&(document.querySelector("#mobile_search").click(),document.querySelector('#design_search input[type="search"]').value=sessionStorage.getItem("search"),document.querySelector("#design_search button").click()),document.querySelector('.ulogin-click[data-adc="'+sessionStorage.getItem("adc")+'"]').click())}),$(".instant-create").click(function(e){e.preventDefault(),instantCreate.createDummyHost(this)})}),window.addEventListener("load",function(){var i=document.querySelector(".site_category_list ul");if(!i)return!1;var n=0,s=0;function t(e){n=i.offsetWidth-i.parentElement.offsetWidth,s=e}function o(e){var t;0<n&&e-s!=0&&((t=(i.style.left?parseInt(i.style.left):0)+e-s)+n<0?t=-n:0<t&&(t=0),i.style.left=t+"px",s=e)}function e(){n=0}i.onmousedown=function(e){e.preventDefault(),t(e.clientX)},i.onmousemove=function(e){o(e.clientX)},i.onmouseup=function(){e()},i.ontouchstart=function(e){t(e.changedTouches[0].clientX)},i.ontouchmove=function(e){o(e.changedTouches[0].clientX)},i.ontouchend=function(){e()},i.ontouchcancel=function(){e()}}),!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)}(function(l){function o(e,t){var i=function(){},i={autoSelectFirst:!1,appendTo:"body",serviceUrl:null,lookup:null,onSelect:null,width:"auto",minChars:1,maxHeight:300,deferRequestBy:0,params:{},formatResult:o.formatResult,delimiter:null,zIndex:9999,type:"GET",noCache:!1,onSearchStart:i,onSearchComplete:i,onSearchError:i,containerClass:"autocomplete-suggestions",tabDisabled:!1,dataType:"text",currentRequest:null,triggerSelectOnValidInput:!0,lookupFilter:function(e,t,i){return-1!==e.value.toLowerCase().indexOf(i)},paramName:"query",transformResult:function(e){return"string"==typeof e?l.parseJSON(e):e}};this.element=e,this.el=l(e),this.suggestions=[],this.badQueries=[],this.selectedIndex=-1,this.currentValue=this.element.value,this.intervalId=0,this.cachedResponse={},this.onChange=this.onChangeInterval=null,this.isLocal=!1,this.suggestionsContainer=null,this.options=l.extend({},i,t),this.classes={selected:"autocomplete-selected",suggestion:"autocomplete-suggestion"},this.hint=null,this.hintValue="",this.selection=null,this.initialize(),this.setOptions(t)}var i={escapeRegExChars:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},createNode:function(e){var t=document.createElement("div");return t.className=e,t.style.position="absolute",t.style.display="none",t}};o.utils=i,(l.Autocomplete=o).formatResult=function(e,t){t="("+i.escapeRegExChars(t)+")";return e.value.replace(RegExp(t,"gi"),"<strong>$1</strong>")},o.prototype={killerFn:null,initialize:function(){var e,t=this,i="."+t.classes.suggestion,n=t.classes.selected,s=t.options;t.element.setAttribute("autocomplete","off"),t.killerFn=function(e){0===l(e.target).closest("."+t.options.containerClass).length&&(t.killSuggestions(),t.disableKillerFn())},t.suggestionsContainer=o.utils.createNode(s.containerClass),(e=l(t.suggestionsContainer)).appendTo(s.appendTo),"auto"!==s.width&&e.width(s.width),e.on("mouseover.autocomplete",i,function(){t.activate(l(this).data("index"))}),e.on("mouseout.autocomplete",function(){t.selectedIndex=-1,e.children("."+n).removeClass(n)}),e.on("click.autocomplete",i,function(){t.select(l(this).data("index"))}),t.fixPosition(),t.fixPositionCapture=function(){t.visible&&t.fixPosition()},l(window).on("resize.autocomplete",t.fixPositionCapture),t.el.on("keydown.autocomplete",function(e){t.onKeyPress(e)}),t.el.on("keyup.autocomplete",function(e){t.onKeyUp(e)}),t.el.on("blur.autocomplete",function(){t.onBlur()}),t.el.on("focus.autocomplete",function(){t.onFocus()}),t.el.on("change.autocomplete",function(e){t.onKeyUp(e)})},onFocus:function(){this.fixPosition(),this.options.minChars<=this.el.val().length&&this.onValueChange()},onBlur:function(){this.enableKillerFn()},setOptions:function(e){var t=this.options;l.extend(t,e),(this.isLocal=l.isArray(t.lookup))&&(t.lookup=this.verifySuggestionsFormat(t.lookup)),l(this.suggestionsContainer).css({"max-height":t.maxHeight+"px",width:t.width+"px","z-index":t.zIndex})},clearCache:function(){this.cachedResponse={},this.badQueries=[]},clear:function(){this.clearCache(),this.currentValue="",this.suggestions=[]},disable:function(){this.disabled=!0,this.currentRequest&&this.currentRequest.abort()},enable:function(){this.disabled=!1},fixPosition:function(){var e;"body"===this.options.appendTo&&(e={top:(e=this.el.offset()).top+this.el.outerHeight()+"px",left:e.left+"px"},"auto"===this.options.width&&(e.width=this.el.outerWidth()-2+"px"),l(this.suggestionsContainer).css(e))},enableKillerFn:function(){l(document).on("click.autocomplete",this.killerFn)}
1,disableKillerFn:function(){l(document).off("click.autocomplete",this.killerFn)},killSuggestions:function(){var e=this;e.stopKillSuggestions(),e.intervalId=window.setInterval(function(){e.hide(),e.stopKillSuggestions()},50)},stopKillSuggestions:function(){window.clearInterval(this.intervalId)},isCursorAtEnd:function(){var e=this.el.val().length,t=this.element.selectionStart;return"number"==typeof t?t===e:!document.selection||((t=document.selection.createRange()).moveStart("character",-e),e===t.text.length)},onKeyPress:function(e){if(this.disabled||this.visible||40!==e.which||!this.currentValue){if(!this.disabled&&this.visible){switch(e.which){case 27:this.el.val(this.currentValue),this.hide();break;case 39:if(this.hint&&this.options.onHint&&this.isCursorAtEnd()){this.selectHint();break}return;case 9:if(this.hint&&this.options.onHint)return void this.selectHint();case 13:if(-1===this.selectedIndex)return void this.hide();if(this.select(this.selectedIndex),9===e.which&&!1===this.options.tabDisabled)return;break;case 38:this.moveUp();break;case 40:this.moveDown();break;default:return}e.stopImmediatePropagation(),e.preventDefault()}}else this.suggest()},onKeyUp:function(e){var t=this;if(!t.disabled){switch(e.which){case 38:case 40:return}clearInterval(t.onChangeInterval),t.currentValue!==t.el.val()&&(t.findBestHint(),0<t.options.deferRequestBy?t.onChangeInterval=setInterval(function(){t.onValueChange()},t.options.deferRequestBy):t.onValueChange())}},onValueChange:function(){var e=this.options,t=this.el.val(),i=this.getQuery(t);this.selection&&(this.selection=null,(e.onInvalidateSelection||l.noop).call(this.element)),clearInterval(this.onChangeInterval),this.currentValue=t,this.selectedIndex=-1,e.triggerSelectOnValidInput&&-1!==(t=this.findSuggestionIndex(i))?this.select(t):i.length<e.minChars?this.hide():this.getSuggestions(i)},findSuggestionIndex:function(e){var i=-1,n=e.toLowerCase();return l.each(this.suggestions,function(e,t){if(t.value.toLowerCase()===n)return i=e,!1}),i},getQuery:function(e){var t=this.options.delimiter;return t?(e=e.split(t),l.trim(e[e.length-1])):e},getSuggestionsLocal:function(t){var e=this.options,i=t.toLowerCase(),n=e.lookupFilter,s=parseInt(e.lookupLimit,10),e={suggestions:l.grep(e.lookup,function(e){return n(e,t,i)})};return s&&e.suggestions.length>s&&(e.suggestions=e.suggestions.slice(0,s)),e},getSuggestions:function(n){var e,t,i,s=this,o=s.options,r=o.serviceUrl;o.params[o.paramName]=n,t=o.ignoreParams?null:o.params,(e=s.isLocal?s.getSuggestionsLocal(n):(l.isFunction(r)&&(r=r.call(s.element,n)),i=r+"?"+l.param(t||{}),s.cachedResponse[i]))&&l.isArray(e.suggestions)?(s.suggestions=e.suggestions,s.suggest()):s.isBadQuery(n)||!1===o.onSearchStart.call(s.element,o.params)||(s.currentRequest&&s.currentRequest.abort(),s.currentRequest=l.ajax({url:r,data:t,type:o.type,dataType:o.dataType}).done(function(e){s.currentRequest=null,s.processResponse(e,n,i),o.onSearchComplete.call(s.element,n)}).fail(function(e,t,i){o.onSearchError.call(s.element,n,e,t,i)}))},isBadQuery:function(e){for(var t=this.badQueries,i=t.length;i--;)if(0===e.indexOf(t[i]))return!0;return!1},hide:function(){this.visible=!1,this.selectedIndex=-1,l(this.suggestionsContainer).hide(),this.signalHint(null)},suggest:function(){var e,i,n,s,t,o,r,a,c;0===this.suggestions.length?this.hide():(e=this.options,i=e.formatResult,n=this.getQuery(this.currentValue),s=this.classes.suggestion,t=this.classes.selected,o=l(this.suggestionsContainer),r=e.beforeRender,a="",e.triggerSelectOnValidInput&&-1!==(c=this.findSuggestionIndex(n))?this.select(c):(l.each(this.suggestions,function(e,t){a+='<div class="'+s+'" data-index="'+e+'">'+i(t,n)+"</div>"}),"auto"===e.width&&(c=this.el.outerWidth()-2,o.width(0<c?c:300)),o.html(a),e.autoSelectFirst&&(this.selectedIndex=0,o.children().first().addClass(t)),l.isFunction(r)&&r.call(this.element,o),o.show(),this.visible=!0,this.findBestHint()))},findBestHint:function(){var n=this.el.val().toLowerCase(),s=null;n&&(l.each(this.suggestions,function(e,t){var i=0===t.value.toLowerCase().indexOf(n);return i&&(s=t),!i}),this.signalHint(s))},signalHint:function(e){var t="";e&&(t=this.currentValue+e.value.substr(this.currentValue.length)),this.hintValue!==t&&(this.hintValue=t,this.hint=e,(this.options.onHint||l.noop)(t))},verifySuggestionsFormat:function(e){return e.length&&"string"==typeof e[0]?l.map(e,function(e){return{value:e,data:null}}):e},processResponse:function(e,t,i){var n=this.options;(e=n.transformResult(e,t)).suggestions=this.verifySuggestionsFormat(e.suggestions),n.noCache||0===(this.cachedResponse[i]=e).suggestions.length&&this.badQueries.push(i),t===this.getQuery(this.currentValue)&&(this.suggestions=e.suggestions,this.suggest())},activate:function(e){var t=this.classes.selected,i=l(this.suggestionsContainer),n=i.children();return i.children("."+t).removeClass(t),this.selectedIndex=e,-1!==this.selectedIndex&&n.length>this.selectedIndex?(e=n.get(this.selectedIndex),l(e).addClass(t),e):null},selectHint:function(){var e=l.inArray(this.hint,this.suggestions);this.select(e)},select:function(e){this.hide(),this.onSelect(e)},moveUp:function(){-1!==this.selectedIndex&&(0===this.selectedIndex?(l(this.suggestionsContainer).children().first().removeClass(this.classes.selected),this.selectedIndex=-1,this.el.val(this.currentValue),this.findBestHint()):this.adjustScroll(this.selectedIndex-1))},moveDown:function(){this.selectedIndex!==this.suggestions.length-1&&this.adjustScroll(this.selectedIndex+1)},adjustScroll:function(e){var t,i,n=this.activate(e);n&&(n=n.offsetTop,i=(t=l(this.suggestionsContainer).scrollTop())+this.options.maxHeight-25,n<t?l(this.suggestionsContainer).scrollTop(n):i<n&&l(this.suggestionsContainer).scrollTop(n-this.options.maxHeight+25),this.el.val(this.getValue(this.suggestions[e].value)),this.signalHint(null))},onSelect:function(e){var t=this.options.onSelect;e=this.suggestions[e],this.currentValue=this.getValue(e.value),this.el.val(this.currentValue),this.signalHint(null),this.suggestions=[],this.selection=e,l.isFunction(t)&&t.call(this.element,e)},getValue:function(e){var t,i=this.options.delimiter;return!i||1===(i=(t=this.currentValue).split(i)).length?e:t.substr(0,t.length-i[i.length-1].length)+e},dispose:function(){this.el.off(".autocomplete").removeData("autocomplete"),this.disableKillerFn(),l(window).off("resize.autocomplete",this.fixPositionCapture),l(this.suggestionsContainer).remove()}},l.fn.autocomplete=function(i,n){return 0===arguments.length?this.first().data("autocomplete"):this.each(function(){var e=l(this),t=e.data("autocomplete");"string"==typeof i?t&&"function"==typeof t[i]&&t[i](n):(t&&t.dis
1pose&&t.dispose(),t=new o(this,i),e.data("autocomplete",t))})}}),!function(){function e(a){function r(e,t,i,n,s,o){for(;0<=s&&s<o;s+=a){var r=n?n[s]:s;i=t(i,e[r],r,e)}return i}return function(e,t,i,n){t=b(t,n,4);var n=!C(e)&&v.keys(e),s=(n||e).length,o=0<a?0:s-1;return arguments.length<3&&(i=e[n?n[o]:o],o+=a),r(e,t,i,n,o,s)}}function t(o){return function(e,t,i){t=y(t,i);for(var n=S(e),s=0<o?0:n-1;0<=s&&s<n;s+=o)if(t(e[s],s,e))return s;return-1}}function i(o,r,a){return function(e,t,i){var n=0,s=S(e);if("number"==typeof i)0<o?n=0<=i?i:Math.max(i+s,n):s=0<=i?Math.min(i+1,s):i+s+1;else if(a&&i&&s)return e[i=a(e,t)]===t?i:-1;if(t!=t)return 0<=(i=r(u.call(e,n,s),v.isNaN))?i+n:-1;for(i=0<o?n:s-1;0<=i&&i<s;i+=o)if(e[i]===t)return i;return-1}}function n(e,t){var i=P.length,n=e.constructor,s=v.isFunction(n)&&n.prototype||a,o="constructor";for(v.has(e,o)&&!v.contains(t,o)&&t.push(o);i--;)(o=P[i])in e&&e[o]!==s[o]&&!v.contains(t,o)&&t.push(o)}var s=this,o=s._,r=Array.prototype,a=Object.prototype,c=Function.prototype,l=r.push,u=r.slice,d=a.toString,p=a.hasOwnProperty,f=Array.isArray,h=Object.keys,g=c.bind,m=Object.create,_=function(){},v=function(e){return e instanceof v?e:this instanceof v?void(this._wrapped=e):new v(e)},b=("undefined"!=typeof exports?(exports="undefined"!=typeof module&&module.exports?module.exports=v:exports)._=v:s._=v,v.VERSION="1.8.3",function(s,o,e){if(void 0===o)return s;switch(null==e?3:e){case 1:return function(e){return s.call(o,e)};case 2:return function(e,t){return s.call(o,e,t)};case 3:return function(e,t,i){return s.call(o,e,t,i)};case 4:return function(e,t,i,n){return s.call(o,e,t,i,n)}}return function(){return s.apply(o,arguments)}}),y=function(e,t,i){return null==e?v.identity:v.isFunction(e)?b(e,t,i):v.isObject(e)?v.matcher(e):v.property(e)},c=(v.iteratee=function(e,t){return y(e,t,1/0)},function(c,l){return function(e){var t=arguments.length;if(!(t<2||null==e))for(var i=1;i<t;i++)for(var n=arguments[i],s=c(n),o=s.length,r=0;r<o;r++){var a=s[r];l&&void 0!==e[a]||(e[a]=n[a])}return e}}),w=function(e){if(!v.isObject(e))return{};if(m)return m(e);_.prototype=e;e=new _;return _.prototype=null,e},x=function(t){return function(e){return null==e?void 0:e[t]}},k=Math.pow(2,53)-1,S=x("length"),C=function(e){e=S(e);return"number"==typeof e&&0<=e&&e<=k},T=(v.each=v.forEach=function(e,t,i){if(t=b(t,i),C(e))for(s=0,o=e.length;s<o;s++)t(e[s],s,e);else for(var n=v.keys(e),s=0,o=n.length;s<o;s++)t(e[n[s]],n[s],e);return e},v.map=v.collect=function(e,t,i){t=y(t,i);for(var n=!C(e)&&v.keys(e),s=(n||e).length,o=Array(s),r=0;r<s;r++){var a=n?n[r]:r;o[r]=t(e[a],a,e)}return o},v.reduce=v.foldl=v.inject=e(1),v.reduceRight=v.foldr=e(-1),v.find=v.detect=function(e,t,i){t=C(e)?v.findIndex(e,t,i):v.findKey(e,t,i);return void 0!==t&&-1!==t?e[t]:void 0},v.filter=v.select=function(e,n,t){var s=[];return n=y(n,t),v.each(e,function(e,t,i){n(e,t,i)&&s.push(e)}),s},v.reject=function(e,t,i){return v.filter(e,v.negate(y(t)),i)},v.every=v.all=function(e,t,i){t=y(t,i);for(var n=!C(e)&&v.keys(e),s=(n||e).length,o=0;o<s;o++){var r=n?n[o]:o;if(!t(e[r],r,e))return!1}return!0},v.some=v.any=function(e,t,i){t=y(t,i);for(var n=!C(e)&&v.keys(e),s=(n||e).length,o=0;o<s;o++){var r=n?n[o]:o;if(t(e[r],r,e))return!0}return!1},v.contains=v.includes=v.include=function(e,t,i,n){return C(e)||(e=v.values(e)),0<=v.indexOf(e,t,i="number"==typeof i&&!n?i:0)},v.invoke=function(e,i){var n=u.call(arguments,2),s=v.isFunction(i);return v.map(e,function(e){var t=s?i:e[i];return null==t?t:t.apply(e,n)})},v.pluck=function(e,t){return v.map(e,v.property(t))},v.where=function(e,t){return v.filter(e,v.matcher(t))},v.findWhere=function(e,t){return v.find(e,v.matcher(t))},v.max=function(e,n,t){var i,s,o=-1/0,r=-1/0;if(null==n&&null!=e)for(var a=0,c=(e=C(e)?e:v.values(e)).length;a<c;a++)i=e[a],o<i&&(o=i);else n=y(n,t),v.each(e,function(e,t,i){s=n(e,t,i),(r<s||s===-1/0&&o===-1/0)&&(o=e,r=s)});return o},v.min=function(e,n,t){var i,s,o=1/0,r=1/0;if(null==n&&null!=e)for(var a=0,c=(e=C(e)?e:v.values(e)).length;a<c;a++)(i=e[a])<o&&(o=i);else n=y(n,t),v.each(e,function(e,t,i){((s=n(e,t,i))<r||1/0===s&&1/0===o)&&(o=e,r=s)});return o},v.shuffle=function(e){for(var t,i=C(e)?e:v.values(e),n=i.length,s=Array(n),o=0;o<n;o++)(t=v.random(0,o))!==o&&(s[o]=s[t]),s[t]=i[o];return s},v.sample=function(e,t,i){return null==t||i?(e=C(e)?e:v.values(e))[v.random(e.length-1)]:v.shuffle(e).slice(0,Math.max(0,t))},v.sortBy=function(e,n,t){return n=y(n,t),v.pluck(v.map(e,function(e,t,i){return{value:e,index:t,criteria:n(e,t,i)}}).sort(function(e,t){var i=e.criteria,n=t.criteria;if(i!==n){if(n<i||void 0===i)return 1;if(i<n||void 0===n)return-1}return e.index-t.index}),"value")},function(o){return function(i,n,e){var s={};return n=y(n,e),v.each(i,function(e,t){t=n(e,t,i);o(s,e,t)}),s}}),$=(v.groupBy=T(function(e,t,i){v.has(e,i)?e[i].push(t):e[i]=[t]}),v.indexBy=T(function(e,t,i){e[i]=t}),v.countBy=T(function(e,t,i){v.has(e,i)?e[i]++:e[i]=1}),v.toArray=function(e){return e?v.isArray(e)?u.call(e):C(e)?v.map(e,v.identity):v.values(e):[]},v.size=function(e){return null==e?0:(C(e)?e:v.keys(e)).length},v.partition=function(e,n,t){n=y(n,t);var s=[],o=[];return v.each(e,function(e,t,i){(n(e,t,i)?s:o).push(e)}),[s,o]},v.first=v.head=v.take=function(e,t,i){return null==e?void 0:null==t||i?e[0]:v.initial(e,e.length-t)},v.initial=function(e,t,i){return u.call(e,0,Math.max(0,e.length-(null==t||i?1:t)))},v.last=function(e,t,i){return null==e?void 0:null==t||i?e[e.length-1]:v.rest(e,Math.max(0,e.length-t))},v.rest=v.tail=v.drop=function(e,t,i){return u.call(e,null==t||i?1:t)},v.compact=function(e){return v.filter(e,v.identity)},function(e,t,i,n){for(var s=[],o=0,r=n||0,a=S(e);r<a;r++){var c=e[r];if(C(c)&&(v.isArray(c)||v.isArguments(c))){var l=0,u=(c=t?c:$(c,t,i)).length;for(s.length+=u;l<u;)s[o++]=c[l++]}else i||(s[o++]=c)}return s}),z=(v.flatten=function(e,t){return $(e,t,!1)}
1,v.without=function(e){return v.difference(e,u.call(arguments,1))},v.uniq=v.unique=function(e,t,i,n){v.isBoolean(t)||(n=i,i=t,t=!1),null!=i&&(i=y(i,n));for(var s=[],o=[],r=0,a=S(e);r<a;r++){var c=e[r],l=i?i(c,r,e):c;t?(r&&o===l||s.push(c),o=l):i?v.contains(o,l)||(o.push(l),s.push(c)):v.contains(s,c)||s.push(c)}return s},v.union=function(){return v.uniq($(arguments,!0,!0))},v.intersection=function(e){for(var t=[],i=arguments.length,n=0,s=S(e);n<s;n++){var o=e[n];if(!v.contains(t,o)){for(var r=1;r<i&&v.contains(arguments[r],o);r++);r===i&&t.push(o)}}return t},v.difference=function(e){var t=$(arguments,!0,!0,1);return v.filter(e,function(e){return!v.contains(t,e)})},v.zip=function(){return v.unzip(arguments)},v.unzip=function(e){for(var t=e&&v.max(e,S).length||0,i=Array(t),n=0;n<t;n++)i[n]=v.pluck(e,n);return i},v.object=function(e,t){for(var i={},n=0,s=S(e);n<s;n++)t?i[e[n]]=t[n]:i[e[n][0]]=e[n][1];return i},v.findIndex=t(1),v.findLastIndex=t(-1),v.sortedIndex=function(e,t,i,n){for(var s=(i=y(i,n,1))(t),o=0,r=S(e);o<r;){var a=Math.floor((o+r)/2);i(e[a])<s?o=a+1:r=a}return o},v.indexOf=i(1,v.findIndex,v.sortedIndex),v.lastIndexOf=i(-1,v.findLastIndex),v.range=function(e,t,i){null==t&&(t=e||0,e=0),i=i||1;for(var n=Math.max(Math.ceil((t-e)/i),0),s=Array(n),o=0;o<n;o++,e+=i)s[o]=e;return s},function(e,t,i,n,s){return n instanceof t?(n=w(e.prototype),t=e.apply(n,s),v.isObject(t)?t:n):e.apply(i,s)}),I=(v.bind=function(e,t){if(g&&e.bind===g)return g.apply(e,u.call(arguments,1));var i,n;if(v.isFunction(e))return i=u.call(arguments,2),n=function(){return z(e,n,t,this,i.concat(u.call(arguments)))};throw new TypeError("Bind must be called on a function")},v.partial=function(s){var o=u.call(arguments,1),r=function(){for(var e=0,t=o.length,i=Array(t),n=0;n<t;n++)i[n]=o[n]===v?arguments[e++]:o[n];for(;e<arguments.length;)i.push(arguments[e++]);return z(s,r,this,this,i)};return r},v.bindAll=function(e){var t,i,n=arguments.length;if(n<=1)throw new Error("bindAll must be passed function names");for(t=1;t<n;t++)e[i=arguments[t]]=v.bind(e[i],e);return e},v.memoize=function(i,n){var s=function(e){var t=s.cache,e=""+(n?n.apply(this,arguments):e);return v.has(t,e)||(t[e]=i.apply(this,arguments)),t[e]};return s.cache={},s},v.delay=function(e,t){var i=u.call(arguments,2);return setTimeout(function(){return e.apply(null,i)},t)},v.defer=v.partial(v.delay,v,1),v.throttle=function(i,n,s){var o,r,a,c=null,l=0,u=(s=s||{},function(){l=!1===s.leading?0:v.now(),c=null,a=i.apply(o,r),c||(o=r=null)});return function(){var e=v.now(),t=(l||!1!==s.leading||(l=e),n-(e-l));return o=this,r=arguments,t<=0||n<t?(c&&(clearTimeout(c),c=null),l=e,a=i.apply(o,r),c||(o=r=null)):c||!1===s.trailing||(c=setTimeout(u,t)),a}},v.debounce=function(t,i,n){var s,o,r,a,c,l=function(){var e=v.now()-a;e<i&&0<=e?s=setTimeout(l,i-e):(s=null,n||(c=t.apply(r,o),s)||(r=o=null))};return function(){r=this,o=arguments,a=v.now();var e=n&&!s;return s=s||setTimeout(l,i),e&&(c=t.apply(r,o),r=o=null),c}},v.wrap=function(e,t){return v.partial(t,e)},v.negate=function(e){return function(){return!e.apply(this,arguments)}},v.compose=function(){var i=arguments,n=i.length-1;return function(){for(var e=n,t=i[n].apply(this,arguments);e--;)t=i[e].call(this,t);return t}},v.after=function(e,t){return function(){return--e<1?t.apply(this,arguments):void 0}},v.before=function(e,t){var i;return function(){return 0<--e&&(i=t.apply(this,arguments)),e<=1&&(t=null),i}},v.once=v.partial(v.before,2),!{toString:null}.propertyIsEnumerable("toString")),P=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],N=(v.keys=function(e){if(!v.isObject(e))return[];if(h)return h(e);var t,i=[];for(t in e)v.has(e,t)&&i.push(t);return I&&n(e,i),i},v.allKeys=function(e){if(!v.isObject(e))return[];var t,i=[];for(t in e)i.push(t);return I&&n(e,i),i},v.values=function(e){for(var t=v.keys(e),i=t.length,n=Array(i),s=0;s<i;s++)n[s]=e[t[s]];return n},v.mapObject=function(e,t,i){t=y(t,i);for(var n,s=v.keys(e),o=s.length,r={},a=0;a<o;a++)r[n=s[a]]=t(e[n],n,e);return r},v.pairs=function(e){for(var t=v.keys(e),i=t.length,n=Array(i),s=0;s<i;s++)n[s]=[t[s],e[t[s]]];return n},v.invert=function(e){for(var t={},i=v.keys(e),n=0,s=i.length;n<s;n++)t[e[i[n]]]=i[n];return t},v.functions=v.methods=function(e){var t,i=[];for(t in e)v.isFunction(e[t])&&i.push(t);return i.sort()},v.extend=c(v.allKeys),v.extendOwn=v.assign=c(v.keys),v.findKey=function(e,t,i){t=y(t,i);for(var n,s=v.keys(e),o=0,r=s.length;o<r;o++)if(t(e[n=s[o]],n,e))return n},v.pick=function(e,t,i){var n,s,o={},r=e;if(null!=r){v.isFunction(t)?(s=v.allKeys(r),n=b(t,i)):(s=$(arguments,!1,!1,1),n=function(e,t,i){return t in i},r=Object(r));for(var a=0,c=s.length;a<c;a++){var l=s[a],u=r[l];n(u,l,r)&&(o[l]=u)}}return o},v.omit=function(e,t,i){var n;return t=v.isFunction(t)?v.negate(t):(n=v.map($(arguments,!1,!1,1),String),function(e,t){return!v.contains(n,t)}),v.pick(e,t,i)},v.defaults=c(v.allKeys,!0),v.create=function(e,t){e=w(e);return t&&v.extendOwn(e,t),e},v.clone=function(e){return v.isObject(e)?v.isArray(e)?e.slice():v.extend({},e):e},v.tap=function(e,t){return t(e),e},v.isMatch=function(e,t){var i=v.keys(t),n=i.length;if(null==e)return!n;for(var s=Object(e),o=0;o<n;o++){var r=i[o];if(t[r]!==s[r]||!(r in s))return!1}return!0},function(e,t,i,n){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return e===t;e instanceof v&&(e=e._wrapped),t instanceof v&&(t=t._wrapped);var s=d.call(e);
1if(s!==d.call(t))return!1;switch(s){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0==+e?1/+e==1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t}s="[object Array]"===s;if(!s){if("object"!=typeof e||"object"!=typeof t)return!1;var o=e.constructor,r=t.constructor;if(o!==r&&!(v.isFunction(o)&&o instanceof o&&v.isFunction(r)&&r instanceof r)&&"constructor"in e&&"constructor"in t)return!1}n=n||[];for(var a=(i=i||[]).length;a--;)if(i[a]===e)return n[a]===t;if(i.push(e),n.push(t),s){if((a=e.length)!==t.length)return!1;for(;a--;)if(!N(e[a],t[a],i,n))return!1}else{var c,l=v.keys(e),a=l.length;if(v.keys(t).length!==a)return!1;for(;a--;)if(c=l[a],!v.has(t,c)||!N(e[c],t[c],i,n))return!1}return i.pop(),n.pop(),!0}),T=(v.isEqual=function(e,t){return N(e,t)},v.isEmpty=function(e){return null==e||(C(e)&&(v.isArray(e)||v.isString(e)||v.isArguments(e))?0===e.length:0===v.keys(e).length)},v.isElement=function(e){return!(!e||1!==e.nodeType)},v.isArray=f||function(e){return"[object Array]"===d.call(e)},v.isObject=function(e){var t=typeof e;return"function"===t||"object"===t&&!!e},v.each(["Arguments","Function","String","Number","Date","RegExp","Error"],function(t){v["is"+t]=function(e){return d.call(e)==="[object "+t+"]"}}),v.isArguments(arguments)||(v.isArguments=function(e){return v.has(e,"callee")}),"function"!=typeof/./&&"object"!=typeof Int8Array&&(v.isFunction=function(e){return"function"==typeof e||!1}),v.isFinite=function(e){return isFinite(e)&&!isNaN(parseFloat(e))},v.isNaN=function(e){return v.isNumber(e)&&e!==+e},v.isBoolean=function(e){return!0===e||!1===e||"[object Boolean]"===d.call(e)},v.isNull=function(e){return null===e},v.isUndefined=function(e){return void 0===e},v.has=function(e,t){return null!=e&&p.call(e,t)},v.noConflict=function(){return s._=o,this},v.identity=function(e){return e},v.constant=function(e){return function(){return e}},v.noop=function(){},v.property=x,v.propertyOf=function(t){return null==t?function(){}:function(e){return t[e]}},v.matcher=v.matches=function(t){return t=v.extendOwn({},t),function(e){return v.isMatch(e,t)}},v.times=function(e,t,i){var n=Array(Math.max(0,e));t=b(t,i,1);for(var s=0;s<e;s++)n[s]=t(s);return n},v.random=function(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))},v.now=Date.now||function(){return(new Date).getTime()},{"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"}),c=v.invert(T),f=function(t){var i=function(e){return t[e]},e="(?:"+v.keys(t).join("|")+")",n=RegExp(e),s=RegExp(e,"g");return function(e){return n.test(e=null==e?"":""+e)?e.replace(s,i):e}},E=(v.escape=f(T),v.unescape=f(c),v.result=function(e,t,i){t=null==e?void 0:e[t];return void 0===t&&(t=i),v.isFunction(t)?t.call(e):t},0),A=(v.uniqueId=function(e){var t=++E+"";return e?e+t:t},v.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},/(.)^/),O={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},L=/\\|'|\r|\n|\u2028|\u2029/g,M=function(e){return"\\"+O[e]},j=(v.template=function(o,e,t){!e&&t&&(e=t),e=v.defaults({},e,v.templateSettings);var t=RegExp([(e.escape||A).source,(e.interpolate||A).source,(e.evaluate||A).source].join("|")+"|$","g"),r=0,a="__p+='";o.replace(t,function(e,t,i,n,s){return a+=o.slice(r,s).replace(L,M),r=s+e.length,t?a+="'+\n((__t=("+t+"))==null?'':_.escape(__t))+\n'":i?a+="'+\n((__t=("+i+"))==null?'':__t)+\n'":n&&(a+="';\n"+n+"\n__p+='"),e}),a+="';\n",a="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+(a=e.variable?a:"with(obj||{}){\n"+a+"}\n")+"return __p;\n";try{var i=new Function(e.variable||"obj","_",a)}catch(e){throw e.source=a,e}t=function(e){return i.call(this,e,v)},e=e.variable||"obj";return t.source="function("+e+"){\n"+a+"}",t},v.chain=function(e){e=v(e);return e._chain=!0,e},function(e,t){return e._chain?v(t).chain():t});v.mixin=function(i){v.each(v.functions(i),function(e){var t=v[e]=i[e];v.prototype[e]=function(){var e=[this._wrapped];return l.apply(e,arguments),j(this,t.apply(v,e))}})},v.mixin(v),v.each(["pop","push","reverse","shift","sort","splice","unshift"],function(t){var i=r[t];v.prototype[t]=function(){var e=this._wrapped;return i.apply(e,arguments),"shift"!==t&&"splice"!==t||0!==e.length||delete e[0],j(this,e)}}),v.each(["concat","join","slice"],function(e){var t=r[e];v.prototype[e]=function(){return j(this,t.apply(this._wrapped,arguments))}}),v.prototype.value=function(){return this._wrapped},v.prototype.valueOf=v.prototype.toJSON=v.prototype.value,v.prototype.toString=function(){return""+this._wrapped},"function"==typeof define&&define.amd&&define("underscore",[],function(){return v})}.call(this),!function(T){var $=$||{};$.stringify=$.stringify||function(e){var t=typeof e;if("object"!=t||null===e)return"string"==t&&(e='"'+e+'"'),String(e);var i,n,s=[],o=e&&e.constructor==Array;for(i in e)"string"==(t=typeof(n=e[i]))?n='"'+n+'"':"object"==t&&null!==n&&(n=$.stringify(n)),s.push((o?"":'"'+i+'":')+String(n));return(o?"[":"{")+String(s)+(o?"]":"}")},T.fn.UMITemplates=function(e){if(!this.length)return!1;var u=this,t=(u.el="#_UMIDesigns",'<div id="_UMIDesigns">{{ApplicationTabs}}<table class="mainDesignTable"><tbody><tr><td class="umi-left-block">{{CategoriesMenu}}</td><td class="designs">{{SearchBlock}}{{TemplateList}}</td></tr></tbody></table></div>'),a=void 0!==__currentPartnerId&&0<__currentPartnerId,l=(u.setting=T.extend({lang:"ru",preFilledEmail:"",params:{},currentHostName:window.location.hostname.replace(/^www\./,""),showIsNotFind:["p155","c183","s197"],tabsRouter:{},defaultApp:"premiumshop",defaultCat:!1,agreeAgreement:!0,licenseUrl:a?"//umi.ru/files/oferta.doc":"/servicelicense/",preloaderUrl:document.location.protocol+"//umi.ru/images/loader.gif",itemsOnPage:12,theme:a?"umi-partner-theme umi-default-theme":"umi-default-theme",upgradeTariff:!1,onLoad:function(){},upgradeCallback:function(e,t){},withRegistration:!0,applications:null,applicationsOrder:["neurosite","premiumshop","company","personal","umilanding"],categories:null,templates:null,searchAutofocus:!1,filesServerId:null,useLoginza:null,useULogin:!1,uLoginId:void 0,withLinks:!1,routerPath:[]},window.umiruWidgetSettings||{},e),_api_call("check_install_domain",{domain:u.setting.currentHostName},function(e){e.result&&(u.setting.currentHostName=e.result)}),u.addClass(u.setting.theme),{data:{ru:{default_not_find:"Готового решения такой тематики не найдено, воспользуйтесь универсальными шаблонами:",api_message_wait_prev_operation:"Дождитесь завершения предыдущей операции",api_access_de
1nied:"Доступ запрещен",registration_form_title:"Зарегистрируйтесь",api_hostfree_check_already_exists:"Сайт с таким именем уже существует",form_design_select:'<p>Вы создаёте&nbsp;<span class="app_caption">{application_name}</span>.</p><p>Дизайн:&nbsp;<span class="design_caption">"{design_name}"</span>.</p>',category_menu_title:"Категории",create_site_button_title:"Создать сайт",upgrade_tariff_button_text:"Выбрать",create_site_button_text:"Создать&nbsp;сайт",show_design_button_title:"Посмотреть",show_design_button_text:"Посмотреть",search_input_placeholder:"Быстрый поиск",search_button:"найти",not_correct_felling:"Заполнено неверно",label_input_address:"Введите желаемый адрес сайта:",label_input_email:"Ваш e-mail:",sup_label_email_input:"На данный e-mail будет выслан пароль.",agree_license:'Я принимаю <a class="umi-service-license" target="_blank" href="{license_url}">пользовательское соглашение</a>',check_domain_icon_text:"Проверить домен",domain_free_icon_text:"Домен свободен",domain_not_free_icon_text:'Домен занят<br /><a class="link" href="/blog/choose_domain/" target="_blank" style="color: #0096D4;">Что делать?</a>',select_design_button_title:"Да",select_design_button_text:"Да",select_other_design_title:"Выбрать другой дизайн",select_other_design_text:"Выбрать другой дизайн",create_a_site_button_text:"Создать такой сайт",registered_with_social:"Зарегистрироваться через социальные сети:",loading:"Загрузка"}},i18n:function(e,t){if(void 0===l.data[u.setting.lang][e])return"";var i,n=l.data[u.setting.lang][e];for(i in t=t||{})n=n.replace(i,t[i]);return n}});function d(e){e=document.cookie.match(new RegExp("(?:^|; )"+e.replace(new RegExp("([.$?*|{}()[]/+^])","g"),"$1")+"=([^;]*)"));return e?decodeURIComponent(e[1]):void 0}function n(e,t,i,n,s,o){document.cookie=e+"="+escape(t)+(i?"; expires="+i:"")+(n?"; path="+n:"")+(s?"; domain="+s:"")+(o?"; secure":"")}function o(s,e){var t=0,i=e.length,n="";function o(e){for(var t in e)var i=new RegExp("{{"+t+"}}","ig"),n=(n||s).replace(i,e[t]);return n}for(;t<i;t++)n+=o(e[t]);return n}function p(){var e=d("_ga");return void 0!==e&&""!=e?(splited=e.split(".",4))[2]+"."+splited[3]:""}u.getApplicationTemplates=function(e,t){t=t.toString();var i=e.toString();return T.grep(u.setting.templates,function(e){return(e.appId==i||e.extra_app_ids&&0<e.extra_app_ids.length&&-1!=jQuery.inArray(i,e.extra_app_ids))&&(-1!=jQuery.inArray(t,e.categories_ids)||0==t)})};var c,s,r,f=function(e){var c=this;return c.el="form.umi-registration-form",c.setting=T.extend({sourceHref:"",designApplicationId:0,designColorId:0,designId:0,title:a?'<div class="umi-registration-form-title">'+l.i18n("registration_form_title")+"</div>":"",domain:u.setting.currentHostName,agreeAgreement:u.setting.agreeAgreement,licenseUrl:u.setting.licenseUrl,preFilledEmail:u.setting.preFilledEmail,params:u.setting.params,useLoginza:!0,useULogin:u.setting.useULogin,uLoginId:u.setting.uLoginId},e),c.render=function(){var e='<form class="umi-registration-form">\t\t\t\t\t\t\t'+c.setting.title+'\t\t\t\t\t\t\t<div class="umi-registration-form-fields umi-domain-password-block">\t\t\t\t\t\t\t\t<p><label>'+l.i18n("label_input_address")+'</label><input type="text" tabindex="1" name="domain" autocomplete="off" /><span class="umi-registration-form-domain">&nbsp;.'+c.setting.domain+'</span><span class="umi-registration-form-message"></span></p>\t\t\t\t\t\t\t\t<p><label>'+l.i18n("label_input_email")+'</label><input type="text" tabindex="2" name="email" autocomplete="off" value="'+c.setting.preFilledEmail+'" /><span class="umi-registration-form-message"></span><br /><sup>'+l.i18n("sup_label_email_input")+"</sup></p>\t\t\t\t\t\t\t</div>";return c.setting.useLoginza&&(e+='<div class="umi-registration-form-fields">\t\t\t\t\t\t\t\t<div class="create_fields">\t\t\t\t\t\t\t\t\t<label>
1'+l.i18n("registered_with_social")+'</label>\t\t\t\t\t\t\t\t\t<div class="loginza_block">\t\t\t\t\t\t\t\t\t\t<a class="loginza loginza_google" rel="google" href="https://loginza.ru/api/widget?token_url=http://'+u.setting.currentHostName+'"></a>\t\t\t\t\t\t\t\t\t\t<a class="loginza loginza_yandex" rel="yandex" href="https://loginza.ru/api/widget?token_url=http://'+u.setting.currentHostName+'"></a>\t\t\t\t\t\t\t\t\t\t<div class="cleaner"></div>\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t</div>'),c.setting.useULogin&&(e+='<div class="umi-registration-form-fields">\t\t\t\t\t\t\t\t<div class="create_fields">\t\t\t\t\t\t\t\t\t<label>'+l.i18n("registered_with_social")+'</label>\t\t\t\t\t\t\t\t\t<div class="ulogin_block social-networks-block">\t\t\t\t\t\t\t\t\t\t<script src="https://ulogin.ru/js/ulogin.js"><\/script>\t\t\t\t\t\t\t\t\t\t<div id="uLogin" data-uloginid="'+c.setting.uLoginId+'" data-ulogin="mobilebuttons=0;callback=umilogin;providers=vkontakte,odnoklassniki,mailru,google,yandex;redirect_uri="></div>\t\t\t\t\t\t\t\t\t\t<div class="cleaner"></div>\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t</div>'),e+='<div class="umi-registration-form-footer">\t\t\t\t\t\t\t\t<div class="umi-agreement-block">\t\t\t\t\t\t\t\t\t<input type="checkbox"'+(c.setting.agreeAgreement?' checked="checked"':"")+' value="'+ +c.setting.agreeAgreement+'" name="AcceptAgreement"><strong>'+l.i18n("agree_license",{"{license_url}":u.setting.licenseUrl})+'</strong></div>\t\t\t\t\t\t\t\t<div class="umi-submit-registration-block">\t\t\t\t\t\t\t\t\t<button class="umi-button umi-big-button" tabindex="3" type="submit">'+l.i18n("create_site_button_title")+"</button>\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t</div>\t\t\t\t\t\t</form>"},c.initialize=function(){T(c.el+" input[name=domain]").focus(),_api_call("get_uniq_login",{},function(e){null==d("UMICLOUDv1")&&jQuery.browser.opera&&_api_call("initsess",{},function(e){var t,i;e.result&&(i=(t=new Date).getTime(),t.setTime(i+=36e5),n(e.result.sessname,e.result.sessid,t.toGMTString(),"/","."+u.setting.currentHostName))}),e.result&&T(c.el+" input[name=domain]").val(e.result.sitename)})},c.bindEvents=function(){var e=function(e){var t,i=T("#create-params").serializeArray(),n=[];for(t in i)n[i[t].name]=i[t].value;var s=void 0===(s=d("cstat-timestamp"))?"":s,o=void 0===(o=d("cstat-from-url"))?"":o,r=void 0===(r=d("cstat-to-url"))?"":r,a={Token:e,AppID:c.setting.designApplicationId,DesID:c.setting.designId,ClrID:c.setting.designColorId,HostName:T(c.el+" input[name=domain]").val(),EMail:"",FirstName:"",LastName:"",FatherName:"",ReturnRepeatLinkParams:!0,prePayId:0,fromUrl:o,toUrl:r,statTimestamp:s,googleCID:p()};_api_call("host_installloginza",a,function(e){if(e.result){if("undefined"!=typeof ga){var t="nonameapp";switch(a.AppID){case"1":t="personal";break;case"2":t="company";break;case"3":t="shop";break;case"5":t="lite";break;case"10":t="umilanding"}ga("send","event","site_create",e.result.HostName+"."+window.location.hostname,a.EMail),ga("set","dimension5","email",a.EMail+"",1),ga("send","event","site","create_"+t,"free"),ga("send","event","site","create_any",e.result.HostName+"."+window.location.hostname),ga("send","event","from","create_"+a.fromUrl,e.result.HostName+"."+window.location.hostname),ga(a.fromUrl+".send","event","site","create",e.result.HostName+"."+window.location.hostname)}window.location="http://"+e.result.HostName+"."+u.setting.currentHostName+"/adminzone/?Time="+e.result.Time+"&Code="+e.result.Code}else T("#umi-submit-preloader").remove(),T(c.el+" button[type=submit]").show();T("#create_redirect").attr("action","http://"+e.HostName+"."+window.location.hostname+"/adminzone/"),T("#create_redirect").append('<input type="hidden" name="l" value="'+e.LToken+'" />'),T("#create_redirect_time").val(e.Time),T("#create_redirect_code").val(e.Code),setTimeout(function(){T("#create_redirect").submit()},500)},!1,null,null,null,u.setting.filesServerId)};T("a.loginza").click(function(){return loginzaProxy.Frame.frameSrc="http://"+u.setting.currentHostName+"/loginproxy.php/?return_url="+window.location.href,loginzaProxy.Frame.provider=T(this).attr("rel"),loginzaProxy.Frame.create(),loginzaProxy.Frame.setCallback(e),!1}),T(c.el+" input[name=domain]").keyup(function(){var e=/[^0-9a-zA-Z\-]/g,e=T(this).val().replace(e,"");T(this).val()!=e&&T(this).val(e),T(this).parent().find(".umi-registration-form-message").html('<a id="umi-check-domain" href="javascript:void(0)"><span class="umi-icon umi-verify-icon">'+l.i18n("check_domain_icon_text")+"</span></a>").removeClass("red").addClass("green"),T("#umi-check-domain").on("click",function(){return _api_call("host_free",{HostName:T(c.el+" input[name=domain]").val()},function(e){e.result?T(c.el+" input[name=domain]").parent().find(".umi-registration-form-message").html('<span id="umi-ok-domain" href="javascript:void(0)"><span class="umi-icon umi-free-icon">'+l.i18n("domain_free_icon_text")+"</span></span>").addClass("green"):e.errors&&e.errors.length?alert(e.errors[0]):T(c.el+" input[name=domain]").parent().find(".umi-registration-form-message").html('<span id="umi-error-domain" href="javascript:void(0)"><span class="umi-icon umi-not-free-icon"  style="white-space: nowrap;">'+l.i18n("domain_not_free_icon_text")+"</span></span>").removeClass("green").addClass("red")},function(){},!1,null,null,u.setting.filesServerId),!1})}),T(c.el+" input[name=email]").keyup(function(){var e=/[^0-9a-zA-Z\-\.@\+\_]/g,e=T(this).val().replace(e,"");T(this).val()!=e&&T(this).val(e),T(this).val().length&&(/^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/.test(T(this).val())?T(c.el+" input[name=email]").parent().find(".umi-registration-form-message").html(""):T(c.el+" input[name=email]").parent().find(".umi-registration-form-message").html('<span id="umi-error-domain" href="javascript:void(0)"><span class="umi-icon umi-not-free-icon">'+l.i18n("not_correct_felling")+"</span></span>").addClass("red"))}),T(c.el).on("submit",function(){var e;return"object"==typeof yaCounter5426581&&""!=c.setting.sourceHref&&(e=c.setting.sourceHref.replace(/(^\/)?(\/$)?/g,"").replace(/\//g,"_"),yaCounter5426581.reachGoal("Click_button_"+e+"_mod_okno")),T(c.el+" button[type=submit]").hide(),T('<img id="umi-submit-preloader" src="'+document.location.protocol+'//umi.ru/img/ajax-loader.gif" />').insertBefore(c.el+" button[type=submit]"),_api_call("host_free",{HostName:T(c.el+" input[name=domain]").val()},function(e){var t,i,n,s;e.result?(t=void 0===(t=d("cstat-timestamp"))?"":t,i=void 0===(i=d("cstat-from-url"))?"":i,n=void 0===(n=d("cstat-to-url"))?"":n,s={AppID:c.setting.designApplicationId,DesID:c.setting.designId,ClrID:c.setting.designColorId,HostName:T(c.el+" input[name=domain]").val(),EMail:T(c.el+" input[name=email]").val(),FirstName:"",LastName:"",FatherName:"",ReturnRepeatLinkParams:!0,prePayId:0,fromUrl:i,toUrl:n,statTimestamp:t,Network:1,Params:$.stringify(c.setting.params),googleCID:p()},void 0!==application&&void 0!==application.inviter&&(s.inviter=application.inviter.getSaved(),s.from=application.inviter.getSavedFrom()),_api_call("host_requestinstall",s,function(e){if(e.result){if("undefined"!=typeof ga){var t="nonameapp";
1switch(s.AppID){case"1":t="personal";break;case"2":t="company";break;case"3":t="shop";break;case"5":t="lite";break;case"10":t="umilanding"}"undefined"!=typeof dataLayer&&dataLayer.push({event:"registration"}),ga("send","event","site_create",e.result.HostName+"."+window.location.hostname,s.EMail),ga("set","dimension5","email",s.EMail+"",1),ga("send","event","site","create_"+t,"free"),ga("send","event","site","create_any",e.result.HostName+"."+window.location.hostname),ga("send","event","from","create_"+s.fromUrl,e.result.HostName+"."+window.location.hostname),ga(s.fromUrl+".send","event","site","create",e.result.HostName+"."+window.location.hostname)}e.result.ul&&e.result.up&&e.result.f?window.location=e.result.scheme+"://"+e.result.HostName+"."+u.setting.currentHostName+"/adminzone/?ul="+e.result.ul+"&up="+e.result.up+"&f="+e.result.f:window.location=e.result.scheme+"://"+e.result.HostName+"."+u.setting.currentHostName+"/adminzone/?Time="+e.result.Time+"&Code="+e.result.Code}else T("#umi-submit-preloader").remove(),T(c.el+" button[type=submit]").show()},!1,null,null,null,u.setting.filesServerId)):alert(e.errors.length?e.errors[0]:l.i18n("api_hostfree_check_already_exists"))},null,!1,null,null,u.setting.filesServerId),!1})},window.umilogin=function(e){T.getJSON("https://ulogin.ru/token.php?host="+encodeURIComponent(location.toString())+"&token="+e+"&callback=?",function(e){(e=T.parseJSON(e.toString())).error?console.error(e.error):c.uLoginCheck(e)})},c.uLoginCheck=function(t){T('.umi-registration-form input[name="email"]').val(t.email).attr("disabled","disabled");var i,n=T('.umi-registration-form input[name="domain"]').val();return""==n?(alert(umihost_lang.i18n("cms_src.create.need_hostname")),!1):T('.umi-registration-form input[name="AcceptAgreement"]:checked').length?((i=T('.umi-registration-form button[type="submit"].umi-button')).hide(),i.parent().eq(0).append('<img id="umi-submit-preloader" src="'+document.location.protocol+'//umi.ru/img/ajax-loader.gif" />'),void _api_call("host_free",{HostName:n},function(e){e.result?c.uLoginRegister(t,n):e.errors&&(alert(e.errors.length?e.errors[0]:l.i18n("api_hostfree_check_already_exists")),i.next().remove(),i.show(),i.unbind("click").click(function(e){return e.stopPropagation(),c.uLoginCheck(t),!1}))},null,!1,null,null,u.setting.filesServerId)):(alert(umihost_lang.i18n("cms_src.create.need_agreement")),!1)},c.uLoginRegister=function(e,t){var i=void 0===(i=d("cstat-timestamp"))?"":i,n=void 0===(n=d("cstat-from-url"))?"":n,s=void 0===(s=d("cstat-to-url"))?"":s,o={AppID:c.setting.designApplicationId,DesID:c.setting.designId,ClrID:c.setting.designColorId,Identity:e.identity,HostName:t,EMail:e.email,FirstName:e.first_name,LastName:e.last_name,Photo:e.photo_big,Phone:e.phone,Network:e.network,ReturnRepeatLinkParams:!0,prePayId:0,fromUrl:n,toUrl:s,statTimestamp:i,Params:$.stringify(c.setting.params)};void 0!==application&&void 0!==application.inviter&&(o.inviter=application.inviter.getSaved(),o.from=application.inviter.getSavedFrom()),_api_call("host_installulogin",o,function(e){if(e.result){if("undefined"!=typeof ga){var t="nonameapp";switch(o.AppID){case"1":t="personal";break;case"2":t="company";break;case"3":t="shop";break;case"5":t="lite";break;case"10":t="umilanding"}ga("send","event","site_create",e.result.HostName+"."+window.location.hostname,o.EMail),ga("set","dimension5","email",o.EMail+"",1),ga("send","event","site","create_"+t,"free"),ga("send","event","site","create_any",e.result.HostName+"."+window.location.hostname),ga("send","event","from","create_"+o.fromUrl,e.result.HostName+"."+window.location.hostname),ga(o.fromUrl+".send","event","site","create",e.result.HostName+"."+window.location.hostname)}window.location=e.result.scheme+"://"+e.result.HostName+"."+u.setting.currentHostName+"/adminzone/?Time="+e.result.Time+"&Code="+e.result.Code}else T("#umi-submit-preloader").remove(),T(c.el+" button[type=submit]").show()},!1,null,null,null,u.setting.filesServerId)},c},h=function(e){var t=this;t.el="#umi-select-design form",t.setting=T.extend({designApplicationId:0,designColorId:0,designId:0,title:"",onCancel:function(){}},e),t.render=function(){var e="";return void 0!==u.setting.filesServerId&&null!=u.setting.filesServerId&&(e=' api_server="'+u.setting.filesServerId+'"'),'<div id="umi-select-design">\t\t\t\t\t\t\t<h3 class="simpleform_header">\t\t\t\t\t\t\t\t'+t.setting.title+'\t\t\t\t\t\t\t</h3>
1\t\t\t\t\t\t\t<form callback="afterCreated" method="GET" action="" api="confirm_simpleregister"'+e+' class="simpleform">\t\t\t\t\t\t\t\t<input type="hidden" validators="" name="appId" value="'+t.setting.designApplicationId+'" req="req">\t\t\t\t\t\t\t\t<input type="hidden" validators="" name="colorId" value="'+t.setting.designColorId+'" req="req">\t\t\t\t\t\t\t\t<input type="hidden" validators="" name="designId" value="'+t.setting.designId+'" req="req">\t\t\t\t\t\t\t\t<div class="simpleform_buttons controls_block">\t\t\t\t\t\t\t\t\t<a class="simpleform_submit green_button nice_button button" title="'+l.i18n("select_design_button_title")+'" href="javascript:void(0)">'+l.i18n("select_design_button_text")+'</a>\t\t\t\t\t\t\t\t\t<a id="umi-select-design-close" class="simpleform_extra_button blue_button nice_button button" title="'+l.i18n("select_other_design_title")+'" href="javascript:void(0)">'+l.i18n("select_other_design_text")+"</a>\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t</form>\t\t\t\t\t\t</div>"},t.initialize=function(){"undefined"!=typeof SimpleForm?new SimpleForm(T(t.el)).init():console.log("Cannot find SimpleForm object")},t.bindEvents=function(){"function"==typeof t.setting.onCancel&&T("#umi-select-design-close").on("click",t.setting.onCancel)}},g=function(e,t,i,n){var s,o,r;u.setting.withRegistration?(s="",(tab=T(c.el).find("[data-id="+t+"]"))&&(s=T(tab).attr("href")),"object"==typeof yaCounter5426581&&""!=s&&(r=s.replace(/(^\/)?(\/$)?/g,"").replace(/\//g,"_"),yaCounter5426581.reachGoal("Click_button_"+r)),o=new f({sourceHref:s,designApplicationId:t,designId:i,designColorId:n,title:a?'<div class="umi-registration-form-title">'+l.i18n("registration_form_title")+"</div>":"",registrationFields:"",domain:u.setting.currentHostName,licenseUrl:u.setting.licenseUrl,useLoginza:u.setting.useLoginza&&!a}),r=function(){o.initialize(),o.bindEvents()},T.fancybox({padding:0,content:o.render(),onComplete:r,afterShow:r,onStart:function(){T("#fancybox-wrap").attr("class",u.setting.theme)}})):("object"==typeof yaCounter5426581&&yaCounter5426581.reachGoal("Click_button_panel_sozdat_sait"),o=new h({title:l.i18n("form_design_select",{"{application_name}":T(c.el).find("[data-id="+t+"]").text(),"{design_name}":e}),designApplicationId:t,designId:i,designColorId:n,onCancel:function(){T.fancybox.close()}}),r=function(){o.initialize(),o.bindEvents()},T.fancybox({modal:!0,padding:2,content:o.render(),onComplete:r,afterShow:r,onStart:function(){T("#fancybox-wrap").attr("class",u.setting.theme)}}))},i=function(){var i=this;return i.el="#_UMIDesigns .umi-application-tabs",i.current=!1,i.setCurrent=function(e){T(i.el+" .umi-tab[data-id="+e+"]").length&&(T(i.el+" .umi-tab[data-id="+i.current+"]").removeClass("current"),i.current=e,T(i.el+" .umi-tab[data-id="+e+"]").addClass("current"),b.setValue(""),T(s.el).html(s.render()),s.initialize(),s.setCurrent(s.current))},i.render=function(){for(var e,t='<div class="umi-application-tabs">',i=u.setting.applications,n=u.setting.applicationsOrder,s=i.filter(function(e){return 0<=n.indexOf(e.SystemName)}).sort(function(e,t){return n.indexOf(e.SystemName)-n.indexOf(t.SystemName)}),i=i.filter(function(e){return n.indexOf(e.SystemName)<0}),o=s.concat(i),r=0;r<o.length;r++){switch(typeof u.setting.tabsRouter[o[r].ID]){case"object":e=u.setting.tabsRouter[o[r].ID][0];break;case"undefined":e="javascript:void(0)";break;default:e=u.setting.tabsRouter[o[r].ID]}t+='<a class="umi-tab" href="'+e+'" title="'+o[r].Name+'" data-id="'+o[r].ID+'">'+o[r].Name+"</a>"}return t+="</div>"},i.initialize=function(){jQuery.each(u.setting.tabsRouter,function(e,t){(t==window.location.pathname||"object"==typeof t&&-1!==T.inArray(window.location.pathname,t))&&(i.current=e)});var e=function(){for(var e=0;e<u.setting.applications.length;e++)if(u.setting.applications[e].ID==u.setting.defaultApp||u.setting.applications[e].SystemName==u.setting.defaultApp||u.setting.applications[e].Name==u.setting.defaultApp)return u.setting.applications[e].ID;return!1};i.current=i.current||e()||u.setting.applications.slice(0,1)[0].ID},i.bindEvents=function(){T(document).on("click",".umi-application-tabs .umi-tab",function(){return i.setCurrent(T(this).attr("data-id")),u.setting.withLinks&&history.pushState({},"",T(this).attr("href")),!1})},i.initialize(),i},m=function(t){var i=this;i.el="#_UMIDesigns .umi-left-block",i.current=0,i.setCurrent=function(e){i.current=e,T(i.el+" a").not(i.el+" a[data-id="+e+"]").removeClass("current"),T(i.el+" a[data-id="+e+"]").addClass("current"),r.initialize(u.getApplicationTemplates(t.current,e)),T(r.el).replaceWith(r.render())},i.render=function(){var e='<div class="category_header">
1'+l.i18n("category_menu_title")+"</div><ul>";return u.setting.withLinks?e+=o('<li><a href="{{link}}" data-id="{{id}}">{{name}}</a></li>',u.setting.categories[t.current]):e+=o('<li><a href="javascript:void(0)" data-id="{{id}}">{{name}}</a></li>',u.setting.categories[t.current]),e+="</ul>"},i.initialize=function(){i.current=0},i.bindEvents=function(){T(i.el).on("click","ul li a",function(){return b.setValue(""),i.setCurrent(T(this).attr("data-id")),u.setting.withLinks&&history.pushState({},T(this).data("title"),T(this).attr("href")),!1})},i.initialize()},v=function(){var s=this;s.el="#_UMIDesigns .umi-designs-list",s.counts=0,s.itemsOnPage=u.setting.itemsOnPage,s.data=[],s.getElementData=function(e){return{appId:T(e).attr("application"),design:T(e).attr("design"),color:T(e).attr("color"),image:T(e).attr("previewImage")}},s.paginator=new function(){var i={el:"#_UMIDesigns .umi-designs-list .umi-designs-pagination",countPages:0,currentPage:1,render:function(){if(1<i.countPages){for(var e='<div class="umi-designs-pagination">',t=1;t<=i.countPages;t++)e+="<a"+(i.currentPage==t?' class="active"':"")+' href="javascript:void(0)">'+t+"</a>";return e+="</div>"}return""},setCurrentPage:function(e){var t=e>i.countPages||e<1?1:e-1;T(i.el+" a").not(i.el+" a:eq("+t+")").removeClass("active"),T(i.el+" a:eq("+t+")").addClass("active"),i.currentPage=e,T(r.el).replaceWith(r.render())},bindEvents:function(){T("#_UMIDesigns").on("click",".umi-designs-list .umi-designs-pagination a",function(){return i.setCurrentPage(T(this).text()),!1})}};return i},s.render=function(){T(".umi-title-is-not-find").remove();var e=(s.paginator.currentPage-1)*s.itemsOnPage,e=s.data.slice(e,e+s.itemsOnPage),t=u.setting.withRegistration?"/create/domain/?application={{appId}}&id={{data}}&color={{color}}":"javascript:void(0)",i='<ul class="umi-designs-list">';return i=i+(o('<li class="umi-design-item" application="{{appId}}" design="{{data}}" color="{{color}}" previewImage="{{img}}">\t\t\t\t\t\t\t\t\t\t\t\t<span class="umi-buttons">\t\t\t\t\t\t\t\t\t\t\t\t\t'+(u.setting.upgradeTariff?'<a class="umi-button umi-select-design umi-red-button umi-button-fit" title="'+l.i18n("create_site_button_title")+'" href="javascript:void(0)">'+l.i18n("upgrade_tariff_button_text")+"</a>":'<a class="umi-button umi-select-design umi-red-button umi-button-fit" title="'+l.i18n("create_site_button_title")+'" href="'+t+'">'+l.i18n("create_site_button_text")+"</a>")+'\t\t\t\t\t\t\t\t\t\t\t\t\t<a class="umi-button umi-view-design umi-blue-button umi-button-fit" rel="fancybox-group" target="_blank" title="'+l.i18n("show_design_button_title")+'" href="{{img}}">'+l.i18n("show_design_button_text")+'</a>\t\t\t\t\t\t\t\t\t\t\t\t</span>\t\t\t\t\t\t\t\t\t\t\t\t<span class="umi-img-container"><img width="126px" height="166px" title="{{value}}" alt="{{value}}" src="{{img_thumb}}"></span>\t\t\t\t\t\t\t\t\t\t\t\t<a href="javascript:void(0)" class="umi-select-design umi-design-description">{{value}}</a>\t\t\t\t\t\t\t\t\t\t\t</li>',e)+s.paginator.render())+"</ul>"},s.initialize=function(e){s.data=e,s.counts=s.data.length,s.paginator.countPages=Math.ceil(s.counts/s.itemsOnPage),s.paginator.currentPage=1},s.bindEvents=function(){s.paginator.bindEvents();var e=function(e,t){var t=T("#_UMIDesigns .umi-designs-list li").eq(t),i=new s.getElementData(t),n=T(t).find(".umi-design-description").text();T(".umi-preview-thumb").on("click","a.umi-red-button",function(){if(u.setting.upgradeTariff)return u.setting.upgradeCallback(i,n),console.log(i),!1;g(n,i.appId,i.design,i.color)})};T("#_UMIDesigns").on("click",".umi-view-design",function(){return T(".umi-view-design").fancybox({type:"image",transitionIn:"elastic",transitionOut:"fade",titlePosition:"inside",titleFormat:function(e,t,i,n){return u.setting.upgradeTariff?'<div class="umi-preview-thumb" tabindex="0"><a class="umi-button umi-red-button" href="javascript:void(0)">'+l.i18n("upgrade_tariff_button_text")+"</a></div>":'<div class="umi-preview-thumb" tabindex="0"><a class="umi-button umi-red-button" href="javascript:void(0)">'+l.i18n("create_a_site_button_text")+"</a></div>"},speedIn:600,speedOut:200,cyclic:!1,hideOnOverlayClick:!0,showCloseButton:!0,showNavArrows:!0,margin:0,padding:10,width:"auto",height:"auto",onComplete:e,afterShow:e,onStart:function(){T("#fancybox-wrap").attr("class",u.setting.theme)}}),jQuery(this).trigger("click.fb"),!1}),T("#_UMIDesigns").on("click",".umi-select-design",function(){var e=new s.getElementData(T(this).parents("li").get(0)),t=T(this).parents(".umi-design-item").find(".umi-design-description").text();return u.setting.upgradeTariff?(u.setting.upgradeCallback(e,t),console.log(e)):g(t,e.appId,e.design,e.color),!1})},s.initialize(u.setting.templates)},b=new function(){var a=this;a.el="#_UMIDesigns .umi-search input",a.but="#_UMIDesigns .umi-search .umi-search-button",a.setValue=function(e){T(a.el).val(e)},a.clearSuffix=function(e){return e.replace(new RegExp("(а|ов|у|и|ы|ь|е|ам)$","i"),"")},a.autocompleteFilter=function(e,t,i){for(var n=i.split(" "),s=e.value.toLowerCase(),o=0,r=0;r<n.length;r++)-1!==s.indexOf(a.clearSuffix(n[r]))&&o++;return o===n.length},a.renderDesignList=function(){var t=T(a.el).val(),i=t.toLowerCase(),e=T.grep(u.setting.templates,function(e){return a.autocompleteFilter(e,t,i)});0==e.length?(e=T.grep(u.setting.templates,function(e){return-1!=T.inArray(e.system_name,u.setting.showIsNotFind)}),s.setCurrent(0),r.initialize(e),T(r.el).replaceWith('<p class="umi-title-is-not-find">'+l.i18n("default_not_find")+"</p>"+r.render())):(s.setCurrent(0),r.initialize(e),T(r.el).replaceWith(r.render()))},a.render=function(){return'<div class="umi-search"><input type="text" placeholder="'+l.i18n("search_input_placeholder")+'" autocomplete="off"><div class="umi-search-button">'+l.i18n("search_button")+"</div></div>"},a.initialize=function(){},a.bindEvents=function(){T(a.el).autocomplete({lookup:u.setting.templates,containerClass:"umi-autocomplete",lookupFilter:a.autocompleteFilter,onSelect:a.renderDesignList}),T(a.el).on("keypress",function(e){var t=T(a.el).val();
1(13===e.keyCode||9===e.keyCode)&&0<t.length?a.renderDesignList():t.length||s.setCurrent(s.current)}),T(a.but).on("click",function(){T(a.el).focus();var e=T(a.el).val();0<e.length?a.renderDesignList():e.length||s.setCurrent(s.current)}),u.setting.searchAutofocus&&T(a.el).focus()},a.initialize()};function y(){if(u.setting.defaultCat)for(var e=0;e<u.setting.categories[c.current].length;e++)if(u.setting.categories[c.current][e].ID==u.setting.defaultCat)return u.setting.defaultCat;return s.current}function w(){return null!==u.setting.applications&&null!==u.setting.categories&&null!==u.setting.templates&&(void 0===T.fn.fancybox?T.getScript("//umi.ru/adminzone/js/fancybox/jquery.fancybox-1.3.4.pack.js",function(){T("head").append('<link rel="stylesheet" type="text/css" href="//umi.ru/adminzone/js/fancybox/jquery.fancybox-1.3.4.css" media="screen" />'),c=new i,s=new m(c),r=new v,k()}):(c=new i,s=new m(c),r=new v,k()),!0)}function x(){var e=u.setting.routerPath,t="",i="";2<e.length&&(t=e[2],i=e[3]),t&&(e=T(".umi-tab[href*="+t+"]").data("id"),c.setCurrent(e)),i&&(t=T(".umi-left-block li a[href*="+i+"]").data("id"),s.setCurrent(t))}function k(){u.html(o(t,[{ApplicationTabs:c.render(),CategoriesMenu:s.render(),TemplateList:r.render(),SearchBlock:b.render()}])),c.setCurrent(c.current),s.setCurrent(y()),u.setting.routerPath&&x(),c.bindEvents(),s.bindEvents(),r.bindEvents(),b.bindEvents(),u.setting.onLoad(u)}u.html('<img id="umi-templates-plugin-preloader" src="'+u.setting.preloaderUrl+'" />'),null!==u.setting.applications&&null!==u.setting.categories&&(c=new i,s=new m(c),u.html(o(t,[{ApplicationTabs:c.render(),CategoriesMenu:s.render(),TemplateList:'<div style="padding: 10px; text-align: center"><img src="'+u.setting.preloaderUrl+'" />&nbsp;'+l.i18n("loading")+"</div>",SearchBlock:""}])));jQuery,S=_;var S,C=function(e,t){var a,c,i,n,s,l=e||[],o=t||null,r=u.setting.filter||{};return r?(a=function(e){return r[e]&&r[e][o]},c=function(e){return a(e)?r[e][o]:[]},e=function(e){return S.isArray(e)?e.filter(function(e){return void 0!==e}):e},i=function(e,t){for(var i=null,n=null,s=!1,o=0;o<e.length;o++)i=e[o],-1!=(n=S.findIndex(l,i))&&(s=!0,t(n,l));return s},t=function(){var e,t;a("only")&&(e=c("only"),t=[],i(e,function(e){t[e]=l[e]}))&&(l=t)},n=function(){var e,t;a("exclude")&&(e=c("exclude"),t=l,i(e,function(e){t.splice(e,1)}),l=t)},s=function(e){if(a(e)){for(var t=c(e),i="only"==e?{}:l,n=null,s=null,o=0;o<t.length;o++)for(var r in l)l.hasOwnProperty(r)&&(n=l[r],"only"==e&&(S.isArray(i[r])||(i[r]=[]),i[r][0]=n[0]),-1!=(s=S.findIndex(n,t[o])))&&("only"==e?i[r].push(n[s]):i[r].splice(s,1));l=i}},"categories"==o?(s("only"),s("exclude")):(t(),n()),e(l)):l};return w()||_api_call("get_design_templates_list",{getCategoryLinks:u.setting.withLinks},function(e){void 0!==e.result.applications&&void 0!==e.result.categories&&void 0!==e.result.templates&&(u.setting.applications=C(e.result.applications,"applications"),u.setting.categories=C(e.result.categories,"categories"),u.setting.templates=C(e.result.templates,"templates"),w())}),u.setActiveTab=function(e){c.setCurrent(e)},u}}(jQuery);var searchTemplate={};function isElementInViewport(e){return void 0!==(e="function"==typeof jQuery&&e instanceof jQuery?e[0]:e)&&0<=(e=e.getBoundingClientRect()).top&&0<=e.left&&e.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&e.right<=(window.innerWidth||document.documentElement.clientWidth)}searchTemplate.template='<div class="grid_4 md_grid_6 template_item">\n\t<div class="application_tag_create"><%= applicationTag %></div>\n\t<div class="thumb base_shadow">\n\t\t<div class="template_img">\n\t\t\t<img title="<%= value %> - umi.ru" alt="<%= value %>" src="<%= img %>" />\n\t\t</div>\n\t\t<h3><%= value %></h3>\n\t\t<div class="overlay_block">\n\t\t\t<a class="button red medium fancybox-create ulogin-click" onclick="createFromSearch(this.dataset.adc)" data-adc="\'<%= application %>-<%= id %>-<%= color %>\'" data-ya-goal-source="template_list" href="/create/domain/?application=<%= application %>&amp;id=<%= id %>&amp;color=<%= color %>">Создать сайт</a>\n\t\t\t<a class="button button_preview_search transparent medium" href="<%= pageLink %>">Посмотреть</a>\n\t\t</div>\n\t</div>\n\t<div class="heading">\n\t\t<div class="template_title">\n\t\t\t<a class="light_font base medium_font_size" href="<%= pageLink %>"><%= value %></a>\n\t\t</div>\n\t</div>\n</div>',!function(h,g){h(function(){var r,i,n,s,o,a,c,l,u,d,e=h("#searchTemplate");function t(e,t){h(".main_wrapper").templatesSearch({applicationId:r,templates:e,otherTemplates:t,perPage:i,itemTemplate:("mobile"===c?searchTemplateMobile:searchTemplate).template,templateItemsBlock:n,paginationWrapBlock:s,paginationBlock:o,paginationItems:a})}e.length&&(r=e.data("appid"),i=e.data("perpage"),n=e.data("template"),s=e.data("pagination-wrap"),o=s+" "+e.data("pagination"),a=e.data("paginationitems"),c=e.data("item"),h.ajaxSetup({async:!1}),l=[],h.getJSON("/udata/custom/getDesignApplicationList/.json",function(e){e.item&&(l=e.item)}).fail(function(e,t,i){t=t+", "+i;console.log("Request Failed: "+t)}),u=[],d=[],Object.keys(l).forEach(function(o){h.getJSON("/udata/custom/getDesignTemplatesForAutocompleteAndSearch/"+l[o].id+"/.json",function(e){if(e.templates){e=h.map(e.templates,function(e){return e});
1const t="1",i="2",n=[t,i],s=n.includes(r.toString());(s?n.includes(l[o].id.toString()):l[o].id.toString()===r.toString())?Array.prototype.push.apply(u,e):Array.prototype.push.apply(d,e)}}).fail(function(e,t,i){t=t+", "+i;console.log("Request Failed: "+t)})}),h.ajaxSetup({async:!0}),h(document).ready(function(){t(u,d)}),h.fn.templatesSearch=function(e){var t=this;function f(s,e){var t=0,i=e.length,n="";function o(e){for(var t in e)var i=new RegExp("{{"+t+"}}","ig"),n=(n||s).replace(i,e[t]);return n}for(;t<i;t++)n+=o(e[t]);return n}function o(i,e){var n="";return h.each(e,function(e,t){t.id=t.data,n+=i(t)}),n}t.settings=h.extend({applicationId:null,templates:null,otherTemplates:null,perPage:12,searchInput:"#design_search input",searchButton:"#design_search button",emptyTemplate:"#searchTemplate .search_template_not_found",defaultTemplate:"#searchTemplate .search_template_default",itemTemplateWrapper:"#searchTemplate .search_template_wrapper",paginationTemplate:"#searchTemplate .search_template_pagination",templateItemsBlock:null,paginationBlock:null,paginationItems:6,autocompleteContainer:"umi-autocomplete",showIfEmpty:["p155","c183","s197"]},e),(new function(){var c=this,p=t.settings;c.searchInput=p.searchInput,c.searchButton=p.searchButton,c.clearSuffix=function(e){return e.replace(new RegExp("(а|ов|у|и|ы|ь|е|ам)$","i"),"")},c.autocompleteFilter=function(e,t,i){for(var n,s=i.split(" "),o=e.value.toLowerCase(),r=0,a=0;a<s.length;a++)n=c.clearSuffix(s[a]),-1!==o.indexOf(n)&&r++;return r===s.length},c.queryHandler=function(){var e,t=h(c.searchInput).val(),i=t.toLowerCase(),n=t?p.templates.concat(p.otherTemplates):p.templates,n=h.grep(n,function(e){return c.autocompleteFilter(e,t,i)}),s=!1,o=1;0===n.length&&(0!==(e=h.grep(p.templates,function(e){return-1!==h.inArray(e.system_name,p.showIfEmpty)})).length?(n=e,s=!0):n=[]),new c.CurrentSearchResultPage(n,s).setPage(o)},c.CurrentSearchResultPage=function(e,t){this.data=e,this.useDefaultTemplates=t},c.CurrentSearchResultPage.prototype.renderPagination=function(e){var t=this.data.length,t=Math.ceil(t/p.perPage),i=p.paginationItems-1,n=t,s=e-Math.floor(i/2),o=1,r="",a=h(p.paginationBlock),c=(0===a.length&&((c=0===(c=h(p.paginationWrapBlock).find(".block_wrapper")).length?h(p.paginationWrapBlock):c).prepend('<div class="grid_12 grid_sm_8"><div class="pagination"><ul class="list_inline"></ul></div></div>'),a=h(p.paginationBlock)),a.parent()),l=a.find("ul.list_inline"),u=(0===l.length&&(a.append('<ul class="list_inline"></ul>'),l=a.find("ul.list_inline")),h(p.paginationTemplate));if(1<t){1<e&&(r+=f(u.find(".template_arrow_left").html(),[{toPrev:e-1}]));var a=!1,d=!1;for(i<t&&(0<s?o=0<(s=(n=(s=s+i)<=t?s:t)-i)?s:1:n=i<t?i+1:t,a=1<o,d=n<t),a&&(r=r+f(u.find(".template_pagination_item").html(),[{i:1}])+"<li>…</li>");o<=n;o++)r+=f((e===o?u.find(".template_pagination_active"):u.find(".template_pagination_item")).html(),[{i:o}]);d&&(r=(r+="<li>…</li>")+f(u.find(".template_pagination_item").html(),[{i:t}])),e.toString()!==t.toString()&&(r+=f(u.find(".template_arrow_right").html(),[{toNext:e+1}])),l.html(r),c.show()}else l.empty(),c.hide()},c.CurrentSearchResultPage.prototype.bindPagination=function(){var i=this;h(p.paginationBlock).off("click",".search_pagination").on("click",".search_pagination",function(e){var t=h(this).data("page");i.setPage(t),e.preventDefault()}).off("click",".search_page").on("click",".search_page",function(e){i.setPage(parseInt(h(this).text(),10)),e.preventDefault()})},c.CurrentSearchResultPage.prototype.setPage=function(e){0===this.data.length?this.renderEmptyPage():!0===this.useDefaultTemplates?this.renderDefaultPage():this.renderDesignPage(e),this.renderPagination(e),this.bindPagination(),this.addFancybox()},c.CurrentSearchResultPage.prototype.addFancybox=function(){var e={};function t(){return g.popupRegistrationOptions(e,function(){},function(){"object"==typeof yaCounter5426581&&(yaCounter5426581.reachGoal("Click_button_sozdat_sait"),g.utilites.sendYandexGoal("_mod_okno"))})}h(".fancybox-view").fancybox(),h(".fancybox-create").fancybox(t()),h(".fancybox-create").on("click",function(){g.utilites.sendYandexGoal()})},c.CurrentSearchResultPage.prototype.renderDefaultPage=function(){var e=h(p.templateItemsBlock),t=h(p.defaultTemplate).html(),i=_.template(p.itemTemplate),n=h(p.itemTemplateWrapper).html(),s=e.parent();t+=o(i,this.data),e.replaceWith(t),s.wrapInner(n)},c.CurrentSearchResultPage.prototype.renderEmptyPage=function(){var e=h(p.templateItemsBlock),t=h(p.emptyTemplate).html();e.replaceWith(t)},c.CurrentSearchResultPage.prototype.renderDesignPage=function(e){var e=(e-1)*p.perPage,e=this.data.slice(e,e+p.perPage),t=h(p.templateItemsBlock),i=_.template(p.itemTemplate),n=h(p.itemTemplateWrapper).html(),s=t.parent();t.replaceWith(o(i,e)),s.wrapInner(n)},c.bindEvents=function(){var e=[];Array.prototype.push.apply(e,p.templates),Array.prototype.push.apply(e,p.otherTemplates),h(c.searchInput).autocomplete({lookup:e,containerClass:
1p.autocompleteContainer,lookupFilter:c.autocompleteFilter,onSelect:c.queryHandler}),h(c.searchInput).on("keypress",function(e){13===e.keyCode&&c.queryHandler()}),h(c.searchButton).on("click",function(){c.queryHandler()})}}).bindEvents()})})}(jQuery,SITE),$(document).ready(function(){loadWidgets.init()});var loadWidgets={visible_els:{},loaded_els:{},loadIfVisible:function(e,t){var i=isElementInViewport(e),n=e.selector;i&&!loadWidgets.loaded_els[n]&&"function"==typeof t&&t(e)&&(loadWidgets.loaded_els[n]=!0)},init:function(){loadWidgets.loadIfVisible($("#vk_like"),loadWidgets.loadVK),loadWidgets.loadIfVisible($("#ok_shareWidget"),loadWidgets.loadOK),loadWidgets.loadIfVisible($("#vimeo"),loadWidgets.loadFrame)},loadVK:function(){try{return void 0!==window.VK&&(window.VK.Widgets.Like("vk_like",{type:"button",pageUrl:"http://umi.ru"}),!0)}catch(e){return console.warn(e),!1}},loadOK:function(){var e,t,i,n,s;return e=document,t="ok_shareWidget",i="http://umi.ru",n="{width:145,height:30,st:'straight',sz:20,ck:1}",(s=e.createElement("script")).src="//connect.ok.ru/connect.js",s.onload=s.onreadystatechange=function(){this.readyState&&"loaded"!=this.readyState&&"complete"!=this.readyState||this.executed||(this.executed=!0,setTimeout(function(){OK.CONNECT.insertShareWidget(t,i,n)},0))},e.documentElement.appendChild(s),!0},loadFrame:function(e){e=e.find("iframe");return e.attr("src",e.data("src")),!0}},MODULE=($(window).on("DOMContentLoaded load resize scroll",loadWidgets.init),!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).firebase=t()}(this,function(){var n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}))(e,t)},i=function(){return(i=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var s in t=arguments[i])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e}).apply(this,arguments)};function e(e,r,a,c){return new(a=a||Promise)(function(i,t){function n(e){try{o(c.next(e))}catch(e){t(e)}}function s(e){try{o(c.throw(e))}catch(e){t(e)}}function o(e){var t;e.done?i(e.value):((t=e.value)instanceof a?t:new a(function(e){e(t)})).then(n,s)}o((c=c.apply(e,r||[])).next())})}function s(n,s){var o,r,a,c={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},e={next:t(0),throw:t(1),return:t(2)};return"function"==typeof Symbol&&(e[Symbol.iterator]=function(){return this}),e;function t(i){return function(e){var t=[i,e];if(o)throw new TypeError("Generator is already executing.");for(;c;)try{if(o=1,r&&(a=2&t[0]?r.return:t[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,t[1])).done)return a;switch(r=0,(t=a?[2&t[0],a.value]:t)[0]){case 0:case 1:a=t;break;case 4:return c.label++,{value:t[1],done:!1};case 5:c.label++,r=t[1],t=[0];continue;case 7:t=c.ops.pop(),c.trys.pop();continue;default:if(!(a=0<(a=c.trys).length&&a[a.length-1])&&(6===t[0]||2===t[0])){c=0;continue}if(3===t[0]&&(!a||t[1]>a[0]&&t[1]<a[3]))c.label=t[1];else if(6===t[0]&&c.label<a[1])c.label=a[1],a=t;else{if(!(a&&c.label<a[2])){a[2]&&c.ops.pop(),c.trys.pop();continue}c.label=a[2],c.ops.push(t)}}t=s.call(n,c)}catch(e){t=[6,e],r=0}finally{o=a=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}}}function d(e){var t="function"==typeof Symbol&&Symbol.iterator,i=t&&e[t],n=0;if(i)return i.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&n>=e.length?void 0:e)&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function p(e,t){var i="function"==typeof Symbol&&e[Symbol.iterator];if(!i)return e;var n,s,o=i.call(e),r=[];try{for(;
1(void 0===t||0<t--)&&!(n=o.next()).done;)r.push(n.value)}catch(e){s={error:e}}finally{try{n&&!n.done&&(i=o.return)&&i.call(o)}finally{if(s)throw s.error}}return r}function r(e,t){for(var i=0,n=t.length,s=e.length;i<n;i++,s++)e[s]=t[i];return e}function f(e,t){if(!(t instanceof Object))return t;switch(t.constructor){case Date:return new Date(t.getTime());case Object:void 0===e&&(e={});break;case Array:e=[];break;default:return t}for(var i in t)t.hasOwnProperty(i)&&"__proto__"!==i&&(e[i]=f(e[i],t[i]));return e}t.prototype.wrapCallback=function(i){var n=this;return function(e,t){e?n.reject(e):n.resolve(t),"function"==typeof i&&(n.promise.catch(function(){}),1===i.length?i(e):i(e,t))}};var o=t;function t(){var i=this;this.reject=function(){},this.resolve=function(){},this.promise=new Promise(function(e,t){i.resolve=e,i.reject=t})}var a,c="FirebaseError",L=(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}(l,a=Error),l);function l(e,t,i){return(t=a.call(this,t)||this).code=e,t.customData=i,t.name=c,Object.setPrototypeOf(t,l.prototype),Error.captureStackTrace&&Error.captureStackTrace(t,u.prototype.create),t}h.prototype.create=function(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];var n,s=t[0]||{},o=this.service+"/"+e,e=this.errors[e],e=e?(n=s,e.replace(M,function(e,t){var i=n[t];return null!=i?String(i):"<"+t+"?>"})):"Error",e=this.serviceName+": "+e+" ("+o+").";return new L(o,e,s)};var u=h;function h(e,t,i){this.service=e,this.serviceName=t,this.errors=i}var M=/\{\$([^}]+)}/g;function g(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function D(e,t){return(t=new F(e,t)).subscribe.bind(t)}m.prototype.next=function(t){this.forEachObserver(function(e){e.next(t)})},m.prototype.error=function(t){this.forEachObserver(function(e){e.error(t)}),this.close(t)},m.prototype.complete=function(){this.forEachObserver(function(e){e.complete()}),this.close()},m.prototype.subscribe=function(e,t,i){var n,s=this;if(void 0===e&&void 0===t&&void 0===i)throw new Error("Missing Observer.");return void 0===(n=function(e,t){if("object"==typeof e&&null!==e)for(var i=0,n=t;i<n.length;i++){var s=n[i];if(s in e&&"function"==typeof e[s])return 1}}(e,["next","error","complete"])?e:{next:e,error:t,complete:i}).next&&(n.next=_),void 0===n.error&&(n.error=_),void 0===n.complete&&(n.complete=_),i=this.unsubscribeOne.bind(this,this.observers.length),this.finalized&&this.task.then(function(){try{s.finalError?n.error(s.finalError):n.complete()}catch(e){}}),this.observers.push(n),i},m.prototype.unsubscribeOne=function(e){void 0!==this.observers&&void 0!==this.observers[e]&&(delete this.observers[e],--this.observerCount,0===this.observerCount)&&void 0!==this.onNoObservers&&this.onNoObservers(this)},m.prototype.forEachObserver=function(e){if(!this.finalized)for(var t=0;t<this.observers.length;t++)this.sendOne(t,e)},m.prototype.sendOne=function(e,t){var i=this;this.task.then(function(){if(void 0!==i.observers&&void 0!==i.observers[e])try{t(i.observers[e])}catch(e){"undefined"!=typeof console&&console.error&&console.error(e)}})},m.prototype.close=function(e){var t=this;this.finalized||(this.finalized=!0,void 0!==e&&(this.finalError=e),this.task.then(function(){t.observers=void 0,t.onNoObservers=void 0}))};var F=m;function m(e,t){var i=this;this.observers=[],this.unsubscribes=[],this.observerCount=0,this.task=Promise.resolve(),this.finalized=!1,this.onNoObservers=t,this.task.then(function(){e(i)}).catch(function(e){i.error(e)})}function _(){}b.prototype.setInstantiationMode=function(e){return this.instantiationMode=e,this},b.prototype.setMultipleInstances=function(e){return this.multipleInstances=e,this},b.prototype.setServiceProps=function(e){return this.serviceProps=e,this},b.prototype.setInstanceCreatedCallback=function(e){return this.onInstanceCreated=e,this};var v=b;function b(e,t,i){this.name=e,this.instanceFactory=t,this.type=i,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}var y="[DEFAULT]",H=(w.prototype.get=function(e){var t=this.normalizeInstanceIdentifier(e);if(!this.instancesDeferred.has(t)&&(e=new o,this.instancesDeferred.set(t,e),this.isInitialized(t)||this.shouldAutoInitialize()))try{var i=this.getOrInitializeService({instanceIdentifier:t});i&&e.resolve(i)}catch(e){}return this.instancesDeferred.get(t).promise},w.prototype.getImmediate=function(e){var t=this.normalizeInstanceIdentifier(null==e?void 0:e.identifier),e=null!=(e=null==e?void 0:e.optional)&&e;if(!this.isInitialized(t)&&!this.shouldAutoInitialize()){if(e)return null;throw Error("Service "+this.name+" is not available")}try{return this.getOrInitializeService({instanceIdentifier:t})}catch(t){if(e)return null;throw t}},w.prototype.getComponent=function(){return this.component},w.prototype.setComponent=function(e){var t,i;if(e.name!==this.name)throw Error("Mismatching Component "+e.name+" for Provider "+this.name+".");if(this.component)throw Error("Component for "+this.name+" has already been provided");
1if(this.component=e,this.shouldAutoInitialize()){if("EAGER"===e.instantiationMode)try{this.getOrInitializeService({instanceIdentifier:y})}catch(e){}try{for(var n=d(this.instancesDeferred.entries()),s=n.next();!s.done;s=n.next()){var o=p(s.value,2),r=o[0],a=o[1],c=this.normalizeInstanceIdentifier(r);try{var l=this.getOrInitializeService({instanceIdentifier:c});a.resolve(l)}catch(e){}}}catch(e){t={error:e}}finally{try{s&&!s.done&&(i=n.return)&&i.call(n)}finally{if(t)throw t.error}}}},w.prototype.clearInstance=function(e){this.instancesDeferred.delete(e=void 0===e?y:e),this.instancesOptions.delete(e),this.instances.delete(e)},w.prototype.delete=function(){return e(this,void 0,void 0,function(){var t;return s(this,function(e){switch(e.label){case 0:return t=Array.from(this.instances.values()),[4,Promise.all(r(r([],p(t.filter(function(e){return"INTERNAL"in e}).map(function(e){return e.INTERNAL.delete()}))),p(t.filter(function(e){return"_delete"in e}).map(function(e){return e._delete()}))))];case 1:return e.sent(),[2]}})})},w.prototype.isComponentSet=function(){return null!=this.component},w.prototype.isInitialized=function(e){return this.instances.has(e=void 0===e?y:e)},w.prototype.getOptions=function(e){return this.instancesOptions.get(e=void 0===e?y:e)||{}},w.prototype.initialize=function(e){var t,i,n=void 0===(n=(e=void 0===e?{}:e).options)?{}:n,s=this.normalizeInstanceIdentifier(e.instanceIdentifier);if(this.isInitialized(s))throw Error(this.name+"("+s+") has already been initialized");if(!this.isComponentSet())throw Error("Component "+this.name+" has not been registered yet");var o=this.getOrInitializeService({instanceIdentifier:s,options:n});try{for(var r=d(this.instancesDeferred.entries()),a=r.next();!a.done;a=r.next()){var c=p(a.value,2),l=c[0],u=c[1];s===this.normalizeInstanceIdentifier(l)&&u.resolve(o)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(i=r.return)&&i.call(r)}finally{if(t)throw t.error}}return o},w.prototype.onInit=function(e,t){var i=this.normalizeInstanceIdentifier(t),n=null!=(t=this.onInitCallbacks.get(i))?t:new Set;return n.add(e),this.onInitCallbacks.set(i,n),(t=this.instances.get(i))&&e(t,i),function(){n.delete(e)}},w.prototype.invokeOnInitCallbacks=function(e,t){var i,n,s=this.onInitCallbacks.get(t);if(s)try{for(var o=d(s),r=o.next();!r.done;r=o.next()){var a=r.value;try{a(e,t)}catch(e){}}}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}},w.prototype.getOrInitializeService=function(e){var t=e.instanceIdentifier,i=e.options,n=void 0===i?{}:i;if(!(e=this.instances.get(t))&&this.component&&(e=this.component.instanceFactory(this.container,{instanceIdentifier:(i=t)===y?void 0:i,options:n}),this.instances.set(t,e),this.instancesOptions.set(t,n),this.invokeOnInitCallbacks(e,t),this.component.onInstanceCreated))try{this.component.onInstanceCreated(this.container,t,e)}catch(e){}return e||null},w.prototype.normalizeInstanceIdentifier=function(e){return void 0===e&&(e=y),!this.component||this.component.multipleInstances?e:y},w.prototype.shouldAutoInitialize=function(){return!!this.component&&"EXPLICIT"!==this.component.instantiationMode},w);function w(e,t){this.name=e,this.container=t,this.component=null,this.instances=new Map,this.instancesDeferred=new Map,this.instancesOptions=new Map,this.onInitCallbacks=new Map}x.prototype.addComponent=function(e){var t=this.getProvider(e.name);if(t.isComponentSet())throw new Error("Component "+e.name+" has already been registered with "+this.name);t.setComponent(e)},x.prototype.addOrOverwriteComponent=function(e){this.getProvider(e.name).isComponentSet()&&this.providers.delete(e.name),this.addComponent(e)},x.prototype.getProvider=function(e){var t;return this.providers.has(e)?this.providers.get(e):(t=new H(e,this),this.providers.set(e,t),t)},x.prototype.getProviders=function(){return Array.from(this.providers.values())};var R=x;function x(e){this.name=e,this.providers=new Map}var k,S=[];function q(e,t){for(var i=[],n=2;n<arguments.length;n++)i[n-2]=arguments[n];if(!(t<e.logLevel)){var s=(new Date).toISOString(),o=W[t];if(!o)throw new Error("Attempted to log a message with an invali
1d logType (value: "+t+")");console[o].apply(console,r(["["+s+"]  "+e.name+":"],i))}}(T=k=k||{})[T.DEBUG=0]="DEBUG",T[T.VERBOSE=1]="VERBOSE",T[T.INFO=2]="INFO",T[T.WARN=3]="WARN",T[T.ERROR=4]="ERROR",T[T.SILENT=5]="SILENT";var C={debug:k.DEBUG,verbose:k.VERBOSE,info:k.INFO,warn:k.WARN,error:k.ERROR,silent:k.SILENT},B=k.INFO,W=((j={})[k.DEBUG]="log",j[k.VERBOSE]="log",j[k.INFO]="info",j[k.WARN]="warn",j[k.ERROR]="error",j),T=(Object.defineProperty($.prototype,"logLevel",{get:function(){return this._logLevel},set:function(e){if(!(e in k))throw new TypeError('Invalid value "'+e+'" assigned to `logLevel`');this._logLevel=e},enumerable:!1,configurable:!0}),$.prototype.setLogLevel=function(e){this._logLevel="string"==typeof e?C[e]:e},Object.defineProperty($.prototype,"logHandler",{get:function(){return this._logHandler},set:function(e){if("function"!=typeof e)throw new TypeError("Value assigned to `logHandler` must be a function");this._logHandler=e},enumerable:!1,configurable:!0}),Object.defineProperty($.prototype,"userLogHandler",{get:function(){return this._userLogHandler},set:function(e){this._userLogHandler=e},enumerable:!1,configurable:!0}),$.prototype.debug=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._userLogHandler&&this._userLogHandler.apply(this,r([this,k.DEBUG],e)),this._logHandler.apply(this,r([this,k.DEBUG],e))},$.prototype.log=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._userLogHandler&&this._userLogHandler.apply(this,r([this,k.VERBOSE],e)),this._logHandler.apply(this,r([this,k.VERBOSE],e))},$.prototype.info=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._userLogHandler&&this._userLogHandler.apply(this,r([this,k.INFO],e)),this._logHandler.apply(this,r([this,k.INFO],e))},$.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._userLogHandler&&this._userLogHandler.apply(this,r([this,k.WARN],e)),this._logHandler.apply(this,r([this,k.WARN],e))},$.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._userLogHandler&&this._userLogHandler.apply(this,r([this,k.ERROR],e)),this._logHandler.apply(this,r([this,k.ERROR],e))},$);function $(e){this.name=e,this._logLevel=B,this._logHandler=q,this._userLogHandler=null,S.push(this)}function U(t){S.forEach(function(e){e.setLogLevel(t)})}function V(r,t){for(var e=0,i=S;e<i.length;e++)!function(e){var o=null;t&&t.level&&(o=C[t.level]),e.userLogHandler=null===r?null:function(e,t){for(var i=[],n=2;n<arguments.length;n++)i[n-2]=arguments[n];var s=i.map(function(e){if(null==e)return null;if("string"==typeof e)return e;if("number"==typeof e||"boolean"==typeof e)return e.toString();if(e instanceof Error)return e.message;try{return JSON.stringify(e)}catch(e){return null}}).filter(function(e){return e}).join(" ");t>=(null!=o?o:e.logLevel)&&r({level:k[t].toLowerCase(),message:s,args:i,type:e.name})}}(i[e])}var z=new u("app","Firebase",j=j={"no-app":"No Firebase App '{$appName}' has been created - call Firebase App.initializeApp()","bad-app-name":"Illegal App name: '{$appName}","duplicate-app":"Firebase App named '{$appName}' already exists","app-deleted":"Firebase App named '{$appName}' already deleted","invalid-app-argument":"firebase.{$appName}() takes either no argument or a Firebase App instance.","invali
1d-log-argument":"First argument to `onLog` must be null or a function."}),I="@firebase/app",P="[DEFAULT]",K=((j={})[I]="fire-core",j["@firebase/analytics"]="fire-analytics",j["@firebase/app-check"]="fire-app-check",j["@firebase/auth"]="fire-auth",j["@firebase/database"]="fire-rtdb",j["@firebase/functions"]="fire-fn",j["@firebase/installations"]="fire-iid",j["@firebase/messaging"]="fire-fcm",j["@firebase/performance"]="fire-perf",j["@firebase/remote-config"]="fire-rc",j["@firebase/storage"]="fire-gcs",j["@firebase/firestore"]="fire-fst",j["fire-js"]="fire-js",j["firebase-wrapper"]="fire-js-all",j),N=new T("@firebase/app"),E=(Object.defineProperty(A.prototype,"automaticDataCollectionEnabled",{get:function(){return this.checkDestroyed_(),this.automaticDataCollectionEnabled_},set:function(e){this.checkDestroyed_(),this.automaticDataCollectionEnabled_=e},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"name",{get:function(){return this.checkDestroyed_(),this.name_},enumerable:!1,configurable:!0}),Object.defineProperty(A.prototype,"options",{get:function(){return this.checkDestroyed_(),this.options_},enumerable:!1,configurable:!0}),A.prototype.delete=function(){var t=this;return new Promise(function(e){t.checkDestroyed_(),e()}).then(function(){return t.firebase_.INTERNAL.removeApp(t.name_),Promise.all(t.container.getProviders().map(function(e){return e.delete()}))}).then(function(){t.isDeleted_=!0})},A.prototype._getService=function(e,t){void 0===t&&(t=P),this.checkDestroyed_();var i=this.container.getProvider(e);return i.isInitialized()||"EXPLICIT"!==(null==(e=i.getComponent())?void 0:e.instantiationMode)||i.initialize(),i.getImmediate({identifier:t})},A.prototype._removeServiceInstance=function(e,t){void 0===t&&(t=P),this.container.getProvider(e).clearInstance(t)},A.prototype._addComponent=function(t){try{this.container.addComponent(t)}catch(e){N.debug("Component "+t.name+" failed to register with FirebaseApp "+this.name,e)}},A.prototype._addOrOverwriteComponent=function(e){this.container.addOrOverwriteComponent(e)},A.prototype.toJSON=function(){return{name:this.name,automaticDataCollectionEnabled:this.automaticDataCollectionEnabled,options:this.options}},A.prototype.checkDestroyed_=function(){if(this.isDeleted_)throw z.create("app-deleted",{appName:this.name_})},A);function A(e,t,i){var n=this;this.firebase_=i,this.isDeleted_=!1,this.name_=t.name,this.automaticDataCollectionEnabled_=t.automaticDataCollectionEnabled||!1,this.options_=f(void 0,e),this.container=new R(t.name),this._addComponent(new v("app",function(){return n},"PUBLIC")),this.firebase_.INTERNAL.components.forEach(function(e){return n._addComponent(e)})}E.prototype.name&&E.prototype.options||E.prototype.delete||console.log("dc");var Q="8.10.1";function X(r){var a={},c=new Map,l={__esModule:!0,initializeApp:function(e,t){var i=t="object"==typeof(t=void 0===t?{}:t)&&null!==t?t:{name:t};if(void 0===i.name&&(i.name=P),"string"!=typeof(t=i.name)||!t)throw z.create("bad-app-name",{appName:String(t)});if(g(a,t))throw z.create("duplicate-app",{appName:t});return i=new r(e,i,l),a[t]=i},app:u,registerVersion:function(e,t,i){var n=null!=(s=K[e])?s:e,s=(i&&(n+="-"+i),n.match(/\s|\//)),e=t.match(/\s|\//);s||e?(i=['Unable to register library "'+n+'" with version "'+t+'":'],s&&i.push('library name "'+n+'" contains illegal characters (whitespace or "/")'),s&&e&&i.push("and"),e&&i.push('version name "'+t+'" contains illegal characters (whitespace or "/")'),N.warn(i.join(" "))):o(new v(n+"-version",function(){return{library:n,version:t}},"VERSION"))},setLogLevel:U,onLog:function(e,t){if(null!==e&&"function"!=typeof e)throw z.create("invalid-log-argument");V(e,t)},apps:null,SDK_VERSION:Q,INTERNAL:{registerComponent:o,removeApp:function(e){delete a[e]},components:c,useAsService:function(e,t){return"serverAuth"!==t?t:null}}};function u(e){if(g(a,e=e||P))return a[e];throw z.create("no-app",{appName:e})}function o(i){var e,n=i.name;if(c.has(n))N.debug("There were multiple attempts to register component "+n+".");else{c.set(n,i),"PUBLIC"===i.type&&(e=function(e){if("function"!=typeof(e=void 0===e?u():e)[n])throw z.create("invalid-app-argument",{appName:n});return e[n]()},void 0!==i.serviceProps&&f(e,i.serviceProps),l[n]=e,r.prototype[n]=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return this._getService.bind(this,n).apply(this,i.multipleInstances?e:[])});for(var t=0,s=Object.keys(a);t<s.length;t++){var o=s[t];a[o]._addComponent(i)}}
1return"PUBLIC"===i.type?l[n]:null}return l.default=l,Object.defineProperty(l,"apps",{get:function(){return Object.keys(a).map(function(e){return a[e]})}}),u.App=r,l}var j=function e(){var t=X(E);return t.INTERNAL=i(i({},t.INTERNAL),{createFirebaseNamespace:e,extendNamespace:function(e){f(t,e)},createSubscribe:D,ErrorFactory:u,deepExtend:f}),t}(),G=(O.prototype.getPlatformInfoString=function(){return this.container.getProviders().map(function(e){var t;return"VERSION"===(null==(t=(t=e).getComponent())?void 0:t.type)?(e=e.getImmediate()).library+"/"+e.version:null}).filter(function(e){return e}).join(" ")},O);function O(e){this.container=e}"object"==typeof self&&self.self===self&&void 0!==self.firebase&&(N.warn("\n    Warning: Firebase is already defined in the global scope. Please make sure\n    Firebase library is only loaded once.\n  "),T=self.firebase.SDK_VERSION)&&0<=T.indexOf("LITE")&&N.warn("\n    Warning: You are trying to load Firebase while using Firebase Performance standalone script.\n    You should load Firebase Performance with this instance of Firebase to avoid loading duplicate code.\n    ");var Y=j.initializeApp;j.initializeApp=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(){try{return"[object process]"===Object.prototype.toString.call(global.process)}catch(e){}}()&&N.warn('\n      Warning: This is a browser-targeted Firebase bundle but it appears it is being\n      run in a Node environment.  If running in a Node environment, make sure you\n      are using the bundle specified by the "main" field in package.json.\n      \n      If you are using Webpack, you can specify "main" as the first item in\n      "resolve.mainFields":\n      https://webpack.js.org/configuration/resolve/#resolvemainfields\n      \n      If using Rollup, use the @rollup/plugin-node-resolve plugin and specify "main"\n      as the first item in "mainFields", e.g. [\'main\', \'module\'].\n      https://github.com/rollup/@rollup/plugin-node-resolve\n      '),Y.apply(void 0,e)};var J,T=j;return(j=T).INTERNAL.registerComponent(new v("platform-logger",function(e){return new G(e)},"PRIVATE")),j.registerVersion(I,"0.6.30",J),j.registerVersion("fire-js",""),T.registerVersion("firebase","8.10.1","app"),T.SDK_VERSION="8.10.1",T}),!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("@firebase/app")):"function"==typeof define&&define.amd?define(["@firebase/app"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).firebase)}(this,function(ot){try{!function(){function L(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var M=L(ot),D=function(e,t){return(D=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}))(e,t)},d=function(){return(d=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var s in t=arguments[i])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e}).apply(this,arguments)};function p(e,r,a,c){return new(a=a||Promise)(function(i,t){function n(e){try{o(c.next(e))}catch(e){t(e)}}function s(e){try{o(c.throw(e))}catch(e){t(e)}}function o(e){var t;e.done?i(e.value):((t=e.value)instanceof a?t:new a(function(e){e(t)})).then(n,s)}o((c=c.apply(e,r||[])).next())})}function f(n,s){var o,r,a,c={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},e={next:t(0),throw:t(1),return:t(2)};return"function"==typeof Symbol&&(e[Symbol.iterator]=function(){return this}),e;function t(i){return function(e){var t=[i,e];if(o)throw new TypeError("Generator is already executing.");for(;c;)try{if(o=1,r&&(a=2&t[0]?r.return:t[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,t[1])).done)return a;switch(r=0,(t=a?[2&t[0],a.value]:t)[0]){case 0:case 1:a=t;break;case 4:return c.label++,{value:t[1],done:!1};case 5:c.label++,r=t[1],t=[0];continue;case 7:t=c.ops.pop(),c.trys.pop();continue;default:if(!(a=0<(a=c.trys).length&&a[a.length-1])&&(6===t[0]||2===t[0])){c=0;continue}if(3===t[0]&&(!a||t[1]>a[0]&&t[1]<a[3]))c.label=t[1];else if(6===t[0]&&c.label<a[1])c.label=a[1],a=t;else{if(!(a&&c.label<a[2])){a[2]&&c.ops.pop(),c.trys.pop();continue}c.label=a[2],c.ops.push(t)}}t=s.call(n,c)}catch(e){t=[6,e],r=0}finally{o=a=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}}}function h(e){var t="function"==typeof Symbol&&Symbol.iterator,i=t&&e[t],n=0;if(i)return i.call(e);
1if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&n>=e.length?void 0:e)&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function F(e,t){var i="function"==typeof Symbol&&e[Symbol.iterator];if(!i)return e;var n,s,o=i.call(e),r=[];try{for(;(void 0===t||0<t--)&&!(n=o.next()).done;)r.push(n.value)}catch(e){s={error:e}}finally{try{n&&!n.done&&(i=o.return)&&i.call(o)}finally{if(s)throw s.error}}return r}function H(e,t){for(var i=0,n=t.length,s=e.length;i<n;i++,s++)e[s]=t[i];return e}var R,q="FirebaseError",B=(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}D(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}(n,R=Error),n);function n(e,t,i){return(t=R.call(this,t)||this).code=e,t.customData=i,t.name=q,Object.setPrototypeOf(t,n.prototype),Error.captureStackTrace&&Error.captureStackTrace(t,s.prototype.create),t}W.prototype.create=function(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];var n,s=t[0]||{},o=this.service+"/"+e,e=this.errors[e],e=e?(n=s,e.replace(U,function(e,t){var i=n[t];return null!=i?String(i):"<"+t+"?>"})):"Error",e=this.serviceName+": "+e+" ("+o+").";return new B(o,e,s)};var s=W;function W(e,t,i){this.service=e,this.serviceName=t,this.errors=i}var U=/\{\$([^}]+)}/g,V=(e.prototype.setInstantiationMode=function(e){return this.instantiationMode=e,this},e.prototype.setMultipleInstances=function(e){return this.multipleInstances=e,this},e.prototype.setServiceProps=function(e){return this.serviceProps=e,this},e.prototype.setInstanceCreatedCallback=function(e){return this.onInstanceCreated=e,this},e);function e(e,t,i){this.name=e,this.instanceFactory=t,this.type=i,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY",this.onInstanceCreated=null}function K(i){return new Promise(function(e,t){i.onsuccess=function(){e(i.result)},i.onerror=function(){t(i.error)}})}function o(i,n,s){var o,e=new Promise(function(e,t){K(o=i[n].apply(i,s)).then(e,t)});return e.request=o,e}function t(e,i,t){t.forEach(function(t){Object.defineProperty(e.prototype,t,{get:function(){return this[i][t]},set:function(e){this[i][t]=e}})})}function i(t,i,n,e){e.forEach(function(e){e in n.prototype&&(t.prototype[e]=function(){return o(this[i],e,arguments)})})}function r(t,i,n,e){e.forEach(function(e){e in n.prototype&&(t.prototype[e]=function(){return this[i][e].apply(this[i],arguments)})})}function Q(e,n,t,i){i.forEach(function(i){i in t.prototype&&(e.prototype[i]=function(){return e=this[n],(t=o(e,i,arguments)).then(function(e){if(e)return new c(e,t.request)});var e,t})})}function a(e){this._index=e}function c(e,t){this._cursor=e,this._request=t}function l(e){this._store=e}function u(i){this._tx=i,this.complete=new Promise(function(e,t){i.oncomplete=function(){e()},i.onerror=function(){t(i.error)},i.onabort=function(){t(i.error)}})}function g(e,t,i){this._db=e,this.oldVersion=t,this.transaction=new u(i)}function m(e){this._db=e}function _(e,t,i){var n=(t=o(indexedDB,"open",[e,t])).request;return n&&(n.onupgradeneeded=function(e){i&&i(new g(n.result,e.oldVersion,n.transaction))}),t.then(function(e){return new m(e)})}function v(e){return o(indexedDB,"deleteDatabase",[e])}t(a,"_index",["name","keyPath","multiEntry","unique"]),i(a,"_index",IDBIndex,["get","getKey","getAll","getAllKeys","count"]),Q(a,"_index",IDBIndex,["openCursor","o
1penKeyCursor"]),t(c,"_cursor",["direction","key","primaryKey","value"]),i(c,"_cursor",IDBCursor,["update","delete"]),["advance","continue","continuePrimaryKey"].forEach(function(i){i in IDBCursor.prototype&&(c.prototype[i]=function(){var t=this,e=arguments;return Promise.resolve().then(function(){return t._cursor[i].apply(t._cursor,e),K(t._request).then(function(e){if(e)return new c(e,t._request)})})})}),l.prototype.createIndex=function(){return new a(this._store.createIndex.apply(this._store,arguments))},l.prototype.index=function(){return new a(this._store.index.apply(this._store,arguments))},t(l,"_store",["name","keyPath","indexNames","autoIncrement"]),i(l,"_store",IDBObjectStore,["put","add","delete","clear","get","getAll","getKey","getAllKeys","count"]),Q(l,"_store",IDBObjectStore,["openCursor","openKeyCursor"]),r(l,"_store",IDBObjectStore,["deleteIndex"]),u.prototype.objectStore=function(){return new l(this._tx.objectStore.apply(this._tx,arguments))},t(u,"_tx",["objectStoreNames","mode"]),r(u,"_tx",IDBTransaction,["abort"]),g.prototype.createObjectStore=function(){return new l(this._db.createObjectStore.apply(this._db,arguments))},t(g,"_db",["name","version","objectStoreNames"]),r(g,"_db",IDBDatabase,["deleteObjectStore","close"]),m.prototype.transaction=function(){return new u(this._db.transaction.apply(this._db,arguments))},t(m,"_db",["name","version","objectStoreNames"]),r(m,"_db",IDBDatabase,["close"]),["openCursor","o
1penKeyCursor"].forEach(function(s){[l,a].forEach(function(e){s in e.prototype&&(e.prototype[s.replace("open","iterate")]=function(){i=arguments;var e=Array.prototype.slice.call(i),t=e[e.length-1],i=this._store||this._index,n=i[s].apply(i,e.slice(0,-1));n.onsuccess=function(){t(n.result)}})})}),[a,l].forEach(function(e){e.prototype.getAll||(e.prototype.getAll=function(e,i){var n=this,s=[];return new Promise(function(t){n.iterateCursor(e,function(e){e&&(s.push(e.value),void 0===i||s.length!=i)?e.continue():t(s)})})})});var X="0.4.32",G=1e4,Y="w:"+X,J="FIS_v2",Z="https://firebaseinstallations.googleapis.com/v1",ee=36e5,b=(($={})["missing-app-config-values"]='Missing App configuration value: "{$valueName}"',$["not-registered"]="Firebase Installation is not registered.",$["installation-not-found"]="Firebase Installation not found.",$["request-failed"]='{$requestName} request failed with error "{$serverCode} {$serverStatus}: {$serverMessage}"',$["app-offline"]="Could not process request. Application offline.",$["delete-pending-registration"]="Can't delete installation while there is a pending registration request.",new s("installations","Installations",$));function te(e){return e instanceof B&&e.code.includes("request-failed")}function ie(e){return e=e.projectId,Z+"/projects/"+e+"/installations"}function ne(e){return{token:e.token,requestStatus:2,expiresIn:(e=e.expiresIn,Number(e.replace("s","000"))),creationTime:Date.now()}}function se(i,n){return p(this,void 0,void 0,function(){var t;return f(this,function(e){switch(e.label){case 0:return[4,n.json()];case 1:return t=(t=e.sent()).error,[2,b.create("request-failed",{requestName:i,serverCode:t.code,serverMessage:t.message,serverStatus:t.status})]}})})}function oe(e){return e=e.apiKey,new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":e})}function re(e,t){return t=t.refreshToken,(e=oe(e)).append("Authorization",J+" "+t),e}function ae(i){return p(this,void 0,void 0,function(){var t;return f(this,function(e){switch(e.label){case 0:return[4,i()];case 1:return 500<=(t=e.sent()).status&&t.status<600?[2,i()]:[2,t]}})})}function ce(t){return new Promise(function(e){setTimeout(e,t)})}var le=/^[cdef][\w-]{21}$/,ue="";function de(){try{var e=new Uint8Array(17),t=((self.crypto||self.msCrypto).getRandomValues(e),e[0]=112+e[0]%16,i=e,btoa(String.fromCharCode.apply(String,H([],F(i)))).replace(/\+/g,"-").replace(/\//g,"_").substr(0,22));return le.test(t)?t:ue}catch(e){return ue}var i}function y(e){return e.appName+"!"+e.appId}var w=new Map;function pe(e,t){var i;fe(e=y(e),t),e=e,t=t,(i=he())&&i.postMessage({key:e,fid:t}),ge()}function fe(e,t){var i,n;if(e=w.get(e))try{for(var s=h(e),o=s.next();!o.done;o=s.next())(0,o.value)(t)}catch(e){i={error:e}}finally{try{o&&!o.done&&(n=s.return)&&n.call(s)}finally{if(i)throw i.error}}}var x=null;function he(){return!x&&"BroadcastChannel"in self&&((x=new BroadcastChannel("[Firebase] FID Change")).onmessage=function(e){fe(e.data.key,e.data.fid)}),x}function ge(){0===w.size&&x&&(x.close(),x=null)}var me,k,_e="firebase-installations-database",ve=1,S="firebase-installations-store",be=null;function ye(){return be=be||_(_e,ve,function(e){0===e.oldVersion&&e.createObjectStore(S)})}function C(o,r){return p(this,void 0,void 0,function(){var t,i,n,s;return f(this,function(e){switch(e.label){case 0:return t=y(o),[4,ye()];case 1:return n=e.sent(),[4,(n=(i=n.transaction(S,"readwrite")).objectStore(S)).get(t)];case 2:return s=e.sent(),[4,n.put(r,t)];case 3:return e.sent(),[4,i.complete];case 4:return e.sent(),s&&s.fid===r.fid||pe(o,r.fid),[2,r]}})})}function we(n){return p(this,void 0,void 0,function(){var t,i;return f(this,function(e){switch(e.label){case 0:return t=y(n),[4,ye()];case 1:return[4,(i=(i=e.sent()).transaction(S,"readwrite")).objectStore(S).delete(t)];case 2:return e.sent(),[4,i.complete];case 3:return e.sent(),[2]}})})}function T(r,a){return p(this,void 0,void 0,function(){var t,i,n,s,o;return f(this,function(e){switch(e.label){case 0:return t=y(r),[4,ye()];case 1:return n=e.sent(),[4,(n=(i=n.transaction(S,"readwrite")).objectStore(S)).get(t)];case 2:return s=e.sent(),void 0!==(o=a(s))?[3,4]:[4,n.delete(t)];case 3:return e.sent(),[3,6];case 4:return[4,n.put(o,t)];case 5:e.sent(),e.label=6;case 6:return[4,i.complete];case 7:return e.sent(),!o||s&&s.fid===o.fid||pe(r,o.fid),[2,o]}})})}function xe(s){return p(this,void 0,void 0,function(){var n,t,i;return f(this,function(e){switch(e.label){case 0:return[4,T(s,function(e){var t,i;return e=Se(e||{fid:de(),registrationStatus:0}),t=s,e=0!==(i=e).registrationStatus?1===i.registrationStatus?{installationEntry:i,registrationPromise:function(s){return p(this,void 0,void 0,function(){var t,i,n;return f(this,function(e){switch(e.label){case 0:return[4,ke(s)];case 1:t=e.sent(),e.label=2;case 2:return 1!==t.registrationStatus?[3,5]:[4,ce(100)];case 3:return e.sent(),[4,ke(s)];case 4:return t=e.sent(),[3,2];case 5:return 0!==t.registrationStatus?[3,7]:[4,xe(s)];case 6:return n=e.sent(),i=n.installationEntry,(n=n.registrationPromise)?[2,n]:[2,i];case 7:return[2,t]}})})}(t)}:{installationEntry:i}:navigator.onLine?{installationEntry:i={fid:i.fid,registrationStatus:1,registrationTime:Date.now()},registrationPromise:t=function(n,s){return p(this,void 0,void 0,function(){var t,i;return f(this,function(e){switch(e.label){case 0:return e.trys.push([0,2,,7]),[4,function(r){var a=s.fid;return p(this,void 0,void 0,function(){var t,i,n,s,o;return f(this,function(e){switch(e.label){case 0:return t=ie(r),i=oe(r),o={f
1id:a,authVersion:J,appId:r.appId,sdkVersion:Y},n={method:"POST",headers:i,body:JSON.stringify(o)},[4,ae(function(){return fetch(t,n)})];case 1:return(s=e.sent()).ok?[4,s.json()]:[3,3];case 2:return[2,{fid:(o=e.sent()).fid||a,registrationStatus:2,refreshToken:o.refreshToken,authToken:ne(o.authToken)}];case 3:return[4,se("Create Installation",s)];case 4:throw e.sent()}})})}(n)];case 1:return t=e.sent(),[2,C(n,t)];case 2:return te(i=e.sent())&&409===i.customData.serverCode?[4,we(n)]:[3,4];case 3:return e.sent(),[3,6];case 4:return[4,C(n,{fid:s.fid,registrationStatus:0})];case 5:e.sent(),e.label=6;case 6:throw i;case 7:return[2]}})})}(t,i)}:{installationEntry:i,registrationPromise:Promise.reject(b.create("app-offline"))},n=e.registrationPromise,e.installationEntry})];case 1:return(t=e.sent()).fid!==ue?[3,3]:(i={},[4,n]);case 2:return[2,(i.installationEntry=e.sent(),i)];case 3:return[2,{installationEntry:t,registrationPromise:n}]}})})}function ke(e){return T(e,function(e){if(e)return Se(e);throw b.create("installation-not-found")})}function Se(e){return 1===e.registrationStatus&&e.registrationTime+G<Date.now()?{fid:e.fid,registrationStatus:0}:e}function Ce(e,c){var l=e.appConfig,u=e.platformLoggerProvider;return p(this,void 0,void 0,function(){var n,s,o,r,a;return f(this,function(e){switch(e.label){case 0:return t=l,i=(i=c).fid,n=ie(t)+"/"+i+"/authTokens:generate",s=re(l,c),(a=u.getImmediate({optional:!0}))&&s.append("x-firebase-client",a.getPlatformInfoString()),a={installation:{sdkVersion:Y}},o={method:"POST",headers:s,body:JSON.stringify(a)},[4,ae(function(){return fetch(n,o)})];case 1:return(r=e.sent()).ok?[4,r.json()]:[3,3];case 2:return[2,ne(a=e.sent())];case 3:return[4,se("Generate Auth Token",r)];case 4:throw e.sent()}var t,i})})}function Te(r,a){return void 0===a&&(a=!1),p(this,void 0,void 0,function(){var o,t,i;return f(this,function(e){switch(e.label){case 0:return[4,T(r.appConfig,function(e){if(!ze(e))throw b.create("not-registered");var t,i,n,s=e.authToken;if(a||2!==(t=s).requestStatus||(i=t,(n=Date.now())<i.creationTime)||i.creationTime+i.expiresIn<n+ee){if(1===s.requestStatus)return o=function(i,n){return p(this,void 0,void 0,function(){var t;return f(this,function(e){switch(e.label){case 0:return[4,$e(i.appConfig)];case 1:t=e.sent(),e.label=2;case 2:return 1!==t.authToken.requestStatus?[3,5]:[4,ce(100)];case 3:return e.sent(),[4,$e(i.appConfig)];case 4:return t=e.sent(),[3,2];case 5:return 0===(t=t.authToken).requestStatus?[2,Te(i,n)]:[2,t]}})})}(r,a),e;if(navigator.onLine)return t=e,s={requestStatus:1,requestTime:Date.now()},s=d(d({},t),{authToken:s}),o=function(s,o){return p(this,void 0,void 0,function(){var t,i,n;return f(this,function(e){switch(e.label){case 0:return e.trys.push([0,3,,8]),[4,Ce(s,o)];case 1:return t=e.sent(),n=d(d({},o),{authToken:t}),[4,C(s.appConfig,n)];case 2:return e.sent(),[2,t];case 3:return!te(i=e.sent())||401!==i.customData.serverCode&&404!==i.customData.serverCode?[3,5]:[4,we(s.appConfig)];case 4:return e.sent(),[3,7];case 5:return n=d(d({},o),{authToken:{requestStatus:0}}),[4,C(s.appConfig,n)];case 6:e.sent(),e.label=7;case 7:throw i;case 8:return[2]}})})}(r,s),s;throw b.create("app-offline")}return e})];case 1:return t=e.sent(),o?[4,o]:[3,3];case 2:return i=e.sent(),[3,4];case 3:i=t.authToken,e.label=4;case 4:return[2,i]}})})}function $e(e){return T(e,function(e){var t;if(ze(e))return 1===(t=e.authToken).requestStatus&&t.requestTime+G<Date.now()?d(d({},e),{authToken:{requestStatus:0}}):e;throw b.create("not-registered")})}function ze(e){return void 0!==e&&2===e.registrationStatus}function Ie(t,i){return void 0===i&&(i=!1),p(this,void 0,void 0,function(){return f(this,function(e){switch(e.label){case 0:return[4,function(i){return p(this,void 0,void 0,function(){var t;return f(this,function(e){switch(e.label){case 0:return[4,xe(i)];case 1:return(t=e.sent().registrationPromise)?[4,t]:[3,3];case 2:e.sent(),e.label=3;case 3:return[2]}})})}(t.appConfig)];case 1:return e.sent(),[4,Te(t,i)];case 2:return[2,e.sent().token]}})})}function Pe(r,a){return p(this,void 0,void 0,function(){var n,s,o;return f(this,function(e){switch(e.label){case 0:return t=r,i=(i=a).fid,n=ie(t)+"/"+i,o=re(r,a),s={method:"DELETE",headers:o},[4,ae(function(){return fetch(n,s)})];case 1:return(o=e.sent()).ok?[3,3]:[4,se("Delete Installation",o)];case 2:throw e.sent();case 3:return[2]}var t,i})})}function Ne(e,n){var t,i,s=e.appConfig;return e=s,t=n,he(),i=y(e),(e=w.get(i))||(e=new Set,w.set(i,e)),e.add(t),function(){var e,t=n,i=y(e=s);(e=w.get(i))&&(e.delete(t),0===e.size&&w.delete(i),ge())}}function Ee(e){return b.create("missing-app-config-values",{valueName:e})}(me=M.default).INTERNAL.registerComponent(new V("installations",function(e){var t=e.getProvider("app").getImmediate(),i={appConfig:function(e){var t,i;if(!e||!e.options)throw Ee("App Configuration");if(!e.name)throw Ee("App Name");try{for(var n=h(["projectId","apiKey","appId"]),s=n.next();!s.done;s=n.next()){var o=s.value;if(!e.options[o])throw Ee(o)}}catch(e){t={error:e}}finally{try{s&&!s.done&&(i=n.return)&&i.call(n)}finally{if(t)throw t.error}}
1return{appName:e.name,projectId:e.options.projectId,apiKey:e.options.apiKey,appId:e.options.appId}}(t),platformLoggerProvider:e.getProvider("platform-logger")};return{app:t,getId:function(){return function(n){return p(this,void 0,void 0,function(){var t,i;return f(this,function(e){switch(e.label){case 0:return[4,xe(n.appConfig)];case 1:return t=e.sent(),i=t.installationEntry,(t.registrationPromise||Te(n)).catch(console.error),[2,i.fid]}})})}(i)},getToken:function(e){return Ie(i,e)},delete:function(){return function(n){return p(this,void 0,void 0,function(){var t,i;return f(this,function(e){switch(e.label){case 0:return[4,T(t=n.appConfig,function(e){if(!e||0!==e.registrationStatus)return e})];case 1:if(!(i=e.sent()))return[3,6];if(1!==i.registrationStatus)return[3,2];throw b.create("delete-pending-registration");case 2:if(2!==i.registrationStatus)return[3,6];if(navigator.onLine)return[3,3];throw b.create("app-offline");case 3:return[4,Pe(t,i)];case 4:return e.sent(),[4,we(t)];case 5:e.sent(),e.label=6;case 6:return[2]}})})}(i)},onIdChange:function(e){return Ne(i,e)}}},"PUBLIC")),me.registerVersion("@firebase/installations",X);var $,z=new s("messaging","Messaging",$=$={"missing-app-config-values":'Missing App configuration value: "{$valueName}"',"only-available-in-window":"This method is available in a Window context.","only-available-in-sw":"This method is available in a service worker context.","permission-default":"The notification permission was not granted and dismissed instead.","permission-blocked":"The notification permission was not granted and blocked instead.","unsupported-browser":"This browser doesn't support the API's required to use the firebase SDK.","failed-service-worker-registration":"We are unable to register the default service worker. {$browserErrorMessage}","token-subscribe-failed":"A problem occurred while subscribing the user to FCM: {$errorInfo}","token-subscribe-no-token":"FCM returned no token when subscribing the user to push.","token-unsubscribe-failed":"A problem occurred while unsubscribing the user from FCM: {$errorInfo}","token-update-failed":"A problem occurred while updating the user from FCM: {$errorInfo}","token-update-no-token":"FCM returned no token when updating the user to push.","use-sw-after-get-token":"The useServiceWorker() method may only be called once and must be called before calling getToken() to ensure your service worker is used.","invalid-sw-registration":"The input to useServiceWorker() must be a ServiceWorkerRegistration.","invalid-bg-handler":"The input to setBackgroundMessageHandler() must be a function.","invalid-vapid-key":"The public VAPID key must be a string.","use-vapid-key-after-get-token":"The usePublicVapidKey() method may only be called once and must be called before calling getToken() to ensure your VAPID key is used."}),I="BDOU99-h67HcA6JeFXHbSNMu7e2yNNu3RzoMj8TM4W88jITfq7ZmPvIM1Iv-4_l2LxQcYwhqby2xGpWwzjfAnG4",Ae="https://fcmregistrations.googleapis.com/v1",je="FCM_MSG",Oe="google.c.a.c_id";function P(e){return e=new Uint8Array(e),btoa(String.fromCharCode.apply(String,H([],F(e)))).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}($=k=k||{}).PUSH_RECEIVED="push-received",$.NOTIFICATION_CLICKED="notification-clicked";var Le="fcm_token_details_db",Me=5,De="fcm_token_object_Store";function Fe(r){return p(this,void 0,void 0,function(){var o,t=this;return f(this,function(e){switch(e.label){case 0:return"databases"in indexedDB?[4,indexedDB.databases()]:[3,2];case 1:if(!e.sent().map(function(e){return e.name}).includes(Le))return[2,null];e.label=2;case 2:return o=null,[4,_(Le,Me,function(s){return p(t,void 0,void 0,function(){var t,i,n;return f(this,function(e){switch(e.label){case 0:return!(s.oldVersion<2)&&s.objectStoreNames.contains(De)?[4,(n=s.transaction.objectStore(De)).index("fcmSenderId").get(r)]:[2];case 1:return t=e.sent(),[4,n.clear()];case 2:if(e.sent(),t)if(2===s.oldVersion){if(!(i=t).auth||!i.p256dh||!i.endpoint)return[2];o={token:i.fcmToken,createTime:null!=(n=i.createTime)?n:Date.now(),subscriptionOptions:{auth:i.auth,p256dh:i.p256dh,endpoint:i.endpoint,swScope:i.swScope,vapidKey:"string"==typeof i.vapidKey?i.vapidKey:P(i.vapidKey)}}}else 3!==s.oldVersion&&4!==s.oldVersion||(o={token:(i=t).fcmToken,createTime:i.createTime,subscriptionOptions:{auth:P(i.auth),p256dh:P(i.p256dh),endpoint:i.endpoint,swScope:i.swScope,vapidKey:P(i.vapidKey)}});return[2]}})})})];case 3:return e.sent().close(),[4,v(Le)];case 4:return e.sent(),[4,v("fcm_vapid_details_db")];case 5:return e.sent(),[4,v("undefined")];case 6:return e.sent(),[2,function(e){var t;if(e&&e.subscriptionOptions)return t=e.subscriptionOptions,"number"==typeof e.createTime&&0<e.createTime&&"string"==typeof e.token&&0<e.token.length&&"string"==typeof t.auth&&0<t.auth.length&&"string"==typeof t.p256dh&&0<t.p256dh.length&&"string"==typeof t.endpoint&&0<t.endpoint.length&&"string"==typeof t.swScope&&0<t.swScope.length&&"string"==typeof t.vapidKey&&0<t.vapidKey.length}(o)?o:null]}})})}
1var He="firebase-messaging-database",Re=1,N="firebase-messaging-store",qe=null;function Be(){return qe=qe||_(He,Re,function(e){0===e.oldVersion&&e.createObjectStore(N)})}function E(n){return p(this,void 0,void 0,function(){var t,i;return f(this,function(e){switch(e.label){case 0:return t=Ue(n),[4,Be()];case 1:return[4,e.sent().transaction(N).objectStore(N).get(t)];case 2:return(t=e.sent())?[2,t]:[3,3];case 3:return[4,Fe(n.appConfig.senderId)];case 4:return(i=e.sent())?[4,We(n,i)]:[3,6];case 5:return e.sent(),[2,i];case 6:return[2]}})})}function We(n,s){return p(this,void 0,void 0,function(){var t,i;return f(this,function(e){switch(e.label){case 0:return t=Ue(n),[4,Be()];case 1:return[4,(i=(i=e.sent()).transaction(N,"readwrite")).objectStore(N).put(s,t)];case 2:return e.sent(),[4,i.complete];case 3:return e.sent(),[2,s]}})})}function Ue(e){return e.appConfig.appId}function Ve(n,s){return p(this,void 0,void 0,function(){var t,i;return f(this,function(e){switch(e.label){case 0:return[4,Qe(n)];case 1:t={method:"DELETE",headers:t=e.sent()},e.label=2;case 2:return e.trys.push([2,5,,6]),[4,fetch(Ke(n.appConfig)+"/"+s,t)];case 3:return[4,e.sent().json()];case 4:if((t=e.sent()).error)throw i=t.error.message,z.create("token-unsubscribe-failed",{errorInfo:i});return[3,6];case 5:throw i=e.sent(),z.create("token-unsubscribe-failed",{errorInfo:i});case 6:return[2]}})})}function Ke(e){return e=e.projectId,Ae+"/projects/"+e+"/registrations"}function Qe(e){var i=e.appConfig,n=e.installations;return p(this,void 0,void 0,function(){var t;return f(this,function(e){switch(e.label){case 0:return[4,n.getToken()];case 1:return t=e.sent(),[2,new Headers({"Content-Type":"application/json",Accept:"application/json","x-goog-api-key":i.apiKey,"x-goog-firebase-installations-auth":"FIS "+t})]}})})}function Xe(e){var t=e.p256dh,i=e.auth,t={web:{endpoint:e.endpoint,auth:i,p256dh:t}};return(e=e.vapidKey)!==I&&(t.web.applicationPubKey=e),t}function Ge(c,l,u){return p(this,void 0,void 0,function(){var o,r,a;return f(this,function(e){switch(e.label){case 0:if("granted"!==Notification.permission)throw z.create("permission-blocked");return[4,function(i,n){return p(this,void 0,void 0,function(){var t;return f(this,function(e){switch(e.label){case 0:return[4,i.pushManager.getSubscription()];case 1:return(t=e.sent())?[2,t]:[2,i.pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:function(e){for(var e=(e+"=".repeat((4-e.length%4)%4)).replace(/\-/g,"+").replace(/_/g,"/"),t=atob(e),i=new Uint8Array(t.length),n=0;n<t.length;++n)i[n]=t.charCodeAt(n);return i}(n)})]}})})}(l,u)];case 1:return a=e.sent(),[4,E(c)];case 2:return o=e.sent(),r={vapidKey:u,swScope:l.scope,endpoint:a.endpoint,auth:P(a.getKey("auth")),p256dh:P(a.getKey("p256dh"))},o?[3,3]:[2,Ye(c,r)];case 3:if(t=o.subscriptionOptions,i=r.vapidKey===t.vapidKey,n=r.endpoint===t.endpoint,s=r.auth===t.auth,t=r.p256dh===t.p256dh,i&&n&&s&&t)return[3,8];e.label=4;case 4:return e.trys.push([4,6,,7]),[4,Ve(c,o.token)];case 5:return e.sent(),[3,7];case 6:return a=e.sent(),console.warn(a),[3,7];case 7:return[2,Ye(c,r)];case 8:return Date.now()>=o.createTime+6048e5?[2,function(s,o,r){return p(this,void 0,void 0,function(){var t,i,n;return f(this,function(e){switch(e.label){case 0:return e.trys.push([0,3,,5]),[4,function(o,r){return p(this,void 0,void 0,function(){var t,i,n,s;return f(this,function(e){switch(e.label){case 0:return[4,Qe(o)];case 1:t=e.sent(),i=Xe(r.subscriptionOptions),i={method:"PATCH",headers:t,body:JSON.stringify(i)},e.label=2;case 2:return e.trys.push([2,5,,6]),[4,fetch(Ke(o.appConfig)+"/"+r.token,i)];case 3:return[4,e.sent().json()];case 4:return n=e.sent(),[3,6];case 5:throw s=e.sent(),z.create("token-update-failed",{errorInfo:s});case 6:if(n.error)throw s=n.error.message,z.create("token-update-failed",{errorInfo:s});if(n.token)return[2,n.token];throw z.create("token-update-no-token")}})})}(o,s)];case 1:return t=e.sent(),i=d(d({},s),{token:t,createTime:Date.now()}),[4,We(o,i)];case 2:return e.sent(),[2,t];case 3:return n=e.sent(),[4,A(o,r)];case 4:throw e.sent(),n;case 5:return[2]}})})}({token:o.token,createTime:Date.now(),subscriptionOptions:r},c,l)]:[2,o.token];case 9:return[2]}var t,i,n,s})})}function A(i,n){return p(this,void 0,void 0,function(){var t;return f(this,function(e){switch(e.label){case 0:return[4,E(i)];case 1:return(t=e.sent())?[4,Ve(i,t.token)]:[3,4];case 2:return e.sent(),[4,function(n){return p(this,void 0,void 0,function(){var t,i;return f(this,function(e){switch(e.label){case 0:return t=Ue(n),[4,Be()];case 1:return[4,(i=(i=e.sent()).transaction(N,"readwrite")).objectStore(N).delete(t)];case 2:return e.sent(),[4,i.complete];case 3:return e.sent(),[2]}})})}(i)];case 3:e.sent(),e.label=4;case 4:return[4,n.pushManager.getSubscription()];case 5:return(t=e.sent())?[2,t.unsubscribe()]:[2,!0]}})})}function Ye(i,n){return p(this,void 0,void 0,function(){var t;return f(this,function(e){switch(e.label){case 0:return[4,function(o,r){return p(this,void 0,void 0,function(){var t,i,n,s;return f(this,function(e){switch(e.label){case 0:return[4,Qe(o)];case 1:t=e.sent(),i=Xe(r),i={method:"POST",headers:t,body:JSON.stringify(i)},e.label=2;case 2:return e.trys.push([2,5,,6]),[4,fetch(Ke(o.appConfig),i)];case 3:return[4,e.sent().json()];case 4:return n=e.sent(),[3,6];case 5:throw s=e.sent(),z.create("token-subscribe-failed",{errorInfo:s});case 6:if(n.error)throw s=n.error.message,z.create("token-subscribe-failed",{errorInfo:s});if(n.token)return[2,n.token];throw z.create("token-subscribe-no-token")}})})}(i,n)];case 1:return t={token:t=e.sent(),createTime:Date.now(),subscriptionOptions:n},[4,We(i,t)];case 2:return e.sent(),[2,t.token]}})})}function Je(e){return"object"==typeof e&&e&&Oe in e}function Ze(t){return new Promise(function(e){setTimeout(e,t)})}Object.defineProperty(j.prototype,"app",{get:function(){return this.firebaseDependencies.app}
1,enumerable:!1,configurable:!0}),j.prototype.setBackgroundMessageHandler=function(e){if(this.isOnBackgroundMessageUsed=!1,!e||"function"!=typeof e)throw z.create("invalid-bg-handler");this.bgMessageHandler=e},j.prototype.onBackgroundMessage=function(e){var t=this;return this.isOnBackgroundMessageUsed=!0,this.bgMessageHandler=e,function(){t.bgMessageHandler=null}},j.prototype.getToken=function(){var i;return p(this,void 0,void 0,function(){var t;return f(this,function(e){switch(e.label){case 0:return this.vapidKey?[3,2]:[4,E(this.firebaseDependencies)];case 1:t=e.sent(),this.vapidKey=null!=(i=null==(i=null==t?void 0:t.subscriptionOptions)?void 0:i.vapidKey)?i:I,e.label=2;case 2:return[2,Ge(this.firebaseDependencies,self.registration,this.vapidKey)]}})})},j.prototype.deleteToken=function(){return A(this.firebaseDependencies,self.registration)},j.prototype.requestPermission=function(){throw z.create("only-available-in-window")},j.prototype.usePublicVapidKey=function(e){if(null!==this.vapidKey)throw z.create("use-vapid-key-after-get-token");if("string"!=typeof e||0===e.length)throw z.create("invalid-vapid-key");this.vapidKey=e},j.prototype.useServiceWorker=function(){throw z.create("only-available-in-window")},j.prototype.onMessage=function(){throw z.create("only-available-in-window")},j.prototype.onTokenRefresh=function(){throw z.create("only-available-in-window")},j.prototype.onPush=function(u){return p(this,void 0,void 0,function(){var a,c,l;return f(this,function(e){switch(e.label){case 0:return(l=function(e){if(!(e=e.data))return null;try{return e.json()}catch(e){return null}}(u))?[4,tt()]:(console.debug("FirebaseMessaging: failed to get parsed MessagePayload from the PushEvent. Skip handling the push."),[2]);case 1:return(a=e.sent()).some(function(e){return"visible"===e.visibilityState&&!e.url.startsWith("chrome-extension://")})?[2,function(e,t){var i,n;t.isFirebaseMessaging=!0,t.messageType=k.PUSH_RECEIVED;try{for(var s=h(e),o=s.next();!o.done;o=s.next())o.value.postMessage(t)}catch(e){i={error:e}}finally{try{o&&!o.done&&(n=s.return)&&n.call(s)}finally{if(i)throw i.error}}}(a,l)]:(c=!1,l.notification?[4,((r=d({},(s=l).notification)).data=((o={})[je]=s,o),i=(t=r).actions,n=Notification.maxActions,i&&n&&i.length>n&&console.warn("This browser only supports "+n+" actions. The remaining actions will not be displayed."),self.registration.showNotification(null!=(n=t.title)?n:"",t))]:[3,3]);case 2:e.sent(),c=!0,e.label=3;case 3:return!0===c&&!1===this.isOnBackgroundMessageUsed?[2]:(this.bgMessageHandler&&(s=n={from:(i=l).from,collapseKey:i.collapse_key,messageId:i.fcm_message_id},(o=i).notification&&(s.notification={},(r=o.notification.title)&&(s.notification.title=r),(r=o.notification.body)&&(s.notification.body=r),o=o.notification.image)&&(s.notification.image=o),s=n,(o=i).data&&(s.data=o.data),s=n,(o=i).fcmOptions&&(s.fcmOptions={},(i=o.fcmOptions.link)&&(s.fcmOptions.link=i),o=o.fcmOptions.analytics_label)&&(s.fcmOptions.analyticsLabel=o),l=n,"function"==typeof this.bgMessageHandler?this.bgMessageHandler(l):this.bgMessageHandler.next(l)),[4,Ze(1e3)]);case 4:return e.sent(),[2]}var t,i,n,s,o,r})})},j.prototype.onSubChange=function(i){var n;return p(this,void 0,void 0,function(){var t;return f(this,function(e){switch(e.label){case 0:return i.newSubscription?[3,2]:[4,A(this.firebaseDependencies,self.registration)];case 1:return e.sent(),[2];case 2:return[4,E(this.firebaseDependencies)];case 3:return t=e.sent(),[4,A(this.firebaseDependencies,self.registration)];case 4:return e.sent(),[4,Ge(this.firebaseDependencies,self.registration,null!=(n=null==(n=null==t?void 0:t.subscriptionOptions)?void 0:n.vapidKey)?n:I)];case 5:return e.sent(),[2]}})})},j.prototype.onNotificationClick=function(l){var u;return p(this,void 0,void 0,function(){var s,o,r,a,c;return f(this,function(e){switch(e.label){case 0:return!(s=null==(u=null==(u=l.notification)?void 0:u.data)?void 0:u[je])||l.action||(l.stopImmediatePropagation(),l.notification.close(),n=null!=(i=null==(i=(t=s).fcmOptions)?void 0:i.link)?i:null==(n=t.notification)?void 0:n.click_action,!(o=n||(Je(t.data)?self.location.origin:null)))||(r=new URL(o,self.location.href),a=new URL(self.location.origin),r.host!==a.host)?[2]:[4,function(c){return p(this,void 0,void 0,function(){var t,i,n,s,o,r,a;return f(this,function(e){switch(e.label){case 0:return[4,tt()];case 1:t=e.sent();try{for(i=h(t),n=i.next();!n.done;n=i.next())if(s=n.value,o=new URL(s.url,self.location.href),c.host===o.host)return[2,s]}catch(e){r={error:e}}finally{try{n&&!n.done&&(a=i.return)&&a.call(i)}finally{if(r)throw r.error}}return[2,null]}})})}(r)];case 1:return(c=e.sent())?[3,4]:[4,self.clients.openWindow(o)];case 2:return c=e.sent(),[4,Ze(3e3)];case 3:return e.sent(),[3,6];case 4:return[4,c.focus()];case 5:c=e.sent(),e.label=6;case 6:return c?(s.messageType=k.NOTIFICATION_CLICKED,s.isFirebaseMessaging=!0,[2,c.postMessage(s)]):[2]}var t,i,n})})};var et=j;function j(e){var t=this;
1this.firebaseDependencies=e,this.isOnBackgroundMessageUsed=null,this.vapidKey=null,this.bgMessageHandler=null,self.addEventListener("push",function(e){e.waitUntil(t.onPush(e))}),self.addEventListener("pushsubscriptionchange",function(e){e.waitUntil(t.onSubChange(e))}),self.addEventListener("notificationclick",function(e){e.waitUntil(t.onNotificationClick(e))})}function tt(){return self.clients.matchAll({type:"window",includeUncontrolled:!0})}Object.defineProperty(O.prototype,"app",{get:function(){return this.firebaseDependencies.app},enumerable:!1,configurable:!0}),O.prototype.messageEventListener=function(s){return p(this,void 0,void 0,function(){var i,n;return f(this,function(e){switch(e.label){case 0:return(i=s.data).isFirebaseMessaging?(this.onMessageCallback&&i.messageType===k.PUSH_RECEIVED&&("function"==typeof this.onMessageCallback?this.onMessageCallback((delete(t=Object.assign({},i)).messageType,delete t.isFirebaseMessaging,t)):this.onMessageCallback.next(Object.assign({},i))),Je(n=i.data)&&"1"===n["google.c.a.e"]?[4,this.logEvent(i.messageType,n)]:[3,2]):[2];case 1:e.sent(),e.label=2;case 2:return[2]}var t})})},O.prototype.getVapidKey=function(){return this.vapidKey},O.prototype.getSwReg=function(){return this.swRegistration},O.prototype.getToken=function(t){return p(this,void 0,void 0,function(){return f(this,function(e){switch(e.label){case 0:return"default"!==Notification.permission?[3,2]:[4,Notification.requestPermission()];case 1:e.sent(),e.label=2;case 2:if("granted"!==Notification.permission)throw z.create("permission-blocked");return[4,this.updateVapidKey(null==t?void 0:t.vapidKey)];case 3:return e.sent(),[4,this.updateSwReg(null==t?void 0:t.serviceWorkerRegistration)];case 4:return e.sent(),[2,Ge(this.firebaseDependencies,this.swRegistration,this.vapidKey)]}})})},O.prototype.updateVapidKey=function(t){return p(this,void 0,void 0,function(){return f(this,function(e){return t?this.vapidKey=t:this.vapidKey||(this.vapidKey=I),[2]})})},O.prototype.updateSwReg=function(t){return p(this,void 0,void 0,function(){return f(this,function(e){switch(e.label){case 0:return t||this.swRegistration?[3,2]:[4,this.registerDefaultSw()];case 1:e.sent(),e.label=2;case 2:if(!t&&this.swRegistration)return[2];if(t instanceof ServiceWorkerRegistration)return this.swRegistration=t,[2];throw z.create("invalid-sw-registration")}})})},O.prototype.registerDefaultSw=function(){return p(this,void 0,void 0,function(){var t;return f(this,function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),t=this,[4,navigator.serviceWorker.register("/firebase-messaging-sw.js",{scope:"/firebase-cloud-messaging-push-scope"})];case 1:return t.swRegistration=e.sent(),this.swRegistration.update().catch(function(){}),[3,3];case 2:throw t=e.sent(),z.create("failed-service-worker-registration",{browserErrorMessage:t.message});case 3:return[2]}})})},O.prototype.deleteToken=function(){return p(this,void 0,void 0,function(){return f(this,function(e){switch(e.label){case 0:return this.swRegistration?[3,2]:[4,this.registerDefaultSw()];case 1:e.sent(),e.label=2;case 2:return[2,A(this.firebaseDependencies,this.swRegistration)]}})})},O.prototype.requestPermission=function(){return p(this,void 0,void 0,function(){var t;return f(this,function(e){switch(e.label){case 0:return"granted"===Notification.permission?[2]:[4,Notification.requestPermission()];case 1:if("granted"===(t=e.sent()))return[2];throw"denied"===t?z.create("permission-blocked"):z.create("permission-default")}})})},O.prototype.usePublicVapidKey=function(e){if(null!==this.vapidKey)throw z.create("use-vapid-key-after-get-token");if("string"!=typeof e||0===e.length)throw z.create("invalid-vapid-key");this.vapidKey=e},O.prototype.useServiceWorker=function(e){if(!(e instanceof ServiceWorkerRegistration))throw z.create("invalid-sw-registration");if(this.swRegistration)throw z.create("use-sw-after-get-token");this.swRegistration=e},O.prototype.onMessage=function(e){var t=this;return this.onMessageCallback=e,function(){t.onMessageCallback=null}},O.prototype.setBackgroundMessageHandler=function(){throw z.create("only-available-in-sw")}
1,O.prototype.onBackgroundMessage=function(){throw z.create("only-available-in-sw")},O.prototype.onTokenRefresh=function(){return function(){}},O.prototype.logEvent=function(i,n){return p(this,void 0,void 0,function(){var t;return f(this,function(e){switch(e.label){case 0:return t=function(){switch(i){case k.NOTIFICATION_CLICKED:return"notification_open";case k.PUSH_RECEIVED:return"notification_foreground";default:throw new Error}}(),[4,this.firebaseDependencies.analyticsProvider.get()];case 1:return e.sent().logEvent(t,{message_id:n[Oe],message_name:n["google.c.a.c_l"],message_time:n["google.c.a.ts"],message_device_time:Math.floor(Date.now()/1e3)}),[2]}})})};var it=O;function O(e){var t=this;this.firebaseDependencies=e,this.vapidKey=null,this.onMessageCallback=null,navigator.serviceWorker.addEventListener("message",function(e){return t.messageEventListener(e)})}function nt(e){return z.create("missing-app-config-values",{valueName:e})}function st(){return self&&"ServiceWorkerGlobalScope"in self?"indexedDB"in self&&null!==indexedDB&&"PushManager"in self&&"Notification"in self&&ServiceWorkerRegistration.prototype.hasOwnProperty("showNotification")&&PushSubscription.prototype.hasOwnProperty("getKey"):"indexedDB"in window&&null!==indexedDB&&navigator.cookieEnabled&&"serviceWorker"in navigator&&"PushManager"in window&&"Notification"in window&&"fetch"in window&&ServiceWorkerRegistration.prototype.hasOwnProperty("showNotification")&&PushSubscription.prototype.hasOwnProperty("getKey")}$={isSupported:st},M.default.INTERNAL.registerComponent(new V("messaging",function(e){var t=e.getProvider("app").getImmediate(),e={app:t,appConfig:function(e){var t,i;if(!e||!e.options)throw nt("App Configuration Object");if(!e.name)throw nt("App Name");var n=e.options;try{for(var s=h(["projectId","apiKey","appId","messagingSenderId"]),o=s.next();!o.done;o=s.next()){var r=o.value;if(!n[r])throw nt(r)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(i=s.return)&&i.call(s)}finally{if(t)throw t.error}}return{appName:e.name,projectId:n.projectId,apiKey:n.apiKey,appId:n.appId,senderId:n.messagingSenderId}}(t),installations:e.getProvider("installations").getImmediate(),analyticsProvider:e.getProvider("analytics-internal")};if(st())return new(self&&"ServiceWorkerGlobalScope"in self?et:it)(e);throw z.create("unsupported-browser")},"PUBLIC").setServiceProps($))}.apply(this,arguments)}catch(e){throw console.error(e),new Error("Cannot instantiate firebase-messaging.js - be sure to load firebase-app.js first.")}}),window.SITE||window.ADMIN||{});function _adminzone_error(e){alert(e)}function _api_error_alert(e){alert(e.join("\n"))}function getUrlVars(e){for(var t,i={},n=window.location.href.indexOf("#"),s=((!n||n<0)&&(n=window.location.href.length),window.location.href.slice(window.location.href.indexOf("?")+1,n).split("&")),o=0;o<s.length;o++)i[(t=s[o].split("="))[0]]=t[1];return e?i[e]||null:i}function placeLoginContainer(){var e=$(window).height()/2-$(".login_wrapper").height()/2,t=$(window).width()/2-$(".login_wrapper").width()/2;e<0&&(e=0),t<0&&(t=0),$(".login_wrapper").css("top",e+"px"),$(".login_wrapper").css("left",t+"px")}function adjustAjaxLoader(){$("#ajax_loader").height($("#LoginWnd").outerHeight()),$("#ajax_loader").width($("#LoginWnd").outerWidth())}MODULE.push=function(t,i,e){return n=t.localStorage,o=function(e){var t=(e=e||{}).success||function(){},i=e.fail||function(){},n={vapidKey:"BJwSD_huL3NRnqf2mh--SiSipp8u18rBM7GPY4iXZtMAzvejn7GADIL60BWD9Z-LsvF6yHr8u3xtrorZYdSm0e0"};s.requestPermission().then(function(){s.getToken(n).then(function(e){e?t(e):console.log("Не удалось получить токен устройства.")}).catch(function(e){console.log("При получении токена произошла ошибка: ",e),i(e)})}).catch(function(e){console.log("При получении токена произошла ошибка: ",e),i(e)})},a=function(e){i.post("/udata://custom/addPushRecipient/.json",{token:e})},c=function(e){var t="push_token";n.getItem(t)!==e&&(a(e),n.setItem(t,e))},l=function(e){var t=(e=e||{}).success||function(){},i=e.fail||function(){};r()?o({success:function(e){t(e)},fail:function(e){e="messaging/permission-blocked"===e.code;i(e)}}):console.warn("Push сообщения не поддерживаются браузером")}
1,(r=function(){return"serviceWorker"in e&&"PushManager"in t&&"Notification"in t})()?(firebase.initializeApp({apiKey:"AIzaSyBL5v69lc5ZksRlUondYf6zbZlEOwgKnkM",authDomain:"push-test-2247c.firebaseapp.com",databaseURL:"https://push-test-2247c.firebaseio.com",projectId:"push-test-2247c",storageBucket:"push-test-2247c.firebasestorage.app",messagingSenderId:"966139787794",appId:"1:966139787794:web:62757d34a2a58dfc4c36cb"}),(s=firebase.messaging()).onMessage(function(e){console.log("Сообщение доставлено. ",e),e.notification.requireInteraction=!0,new t.Notification(e.notification.title,e.notification).onclick=function(){window.open(e.notification.click_action)}})):console.warn("Push сообщения не поддерживаются браузером"),{subscribe:l,saveToken:c};var s,n,o,r,a,c,l}(window,jQuery,navigator),!function(o,r,a,c){var l=SITE.push;o(function(){var i=o(".push").first(),e=o(".close",i),t=o(".subscribe",i),n="push-popup-already-closed",s=function(){"https:"===c.protocol&&l.subscribe({success:function(e){l.saveToken(e),i.hide()},fail:function(e){e||i.show()}})};r(n)||setTimeout(s,5e3),e.click(function(){var e=864e5,t=new Date,t=new Date(t.getTime()+e).toUTCString();i.hide(),a(n,!0,t)}),t.click(s)})}(jQuery,getCookie,setCookie,location),!function(){var n,e,t,c,s,i=function(e,t){return function(){return e.apply(t,arguments)}},r=[].indexOf||function(e){for(var t=0,i=this.length;t<i;t++)if(t in this&&this[t]===e)return t;return-1};function o(e){null==e&&(e={}),this.scrollCallback=i(this.scrollCallback,this),this.scrollHandler=i(this.scrollHandler,this),this.resetAnimation=i(this.resetAnimation,this),this.start=i(this.start,this),this.scrolled=!0,this.config=this.util().extend(e,this.defaults),null!=e.scrollContainer&&(this.config.scrollContainer=document.querySelector(e.scrollC
1ontainer)),this.animationNameCache=new t,this.wowEvent=this.util().createEvent(this.config.boxClass)}function a(){"undefined"!=typeof console&&null!==console&&console.warn("MutationObserver is not supported by your browser."),"undefined"!=typeof console&&null!==console&&console.warn("WOW.js cannot detect dom mutations, please call .sync() after loading new content.")}function l(){this.keys=[],this.values=[]}function u(){}u.prototype.extend=function(e,t){var i,n;for(i in t)n=t[i],null==e[i]&&(e[i]=n);return e},u.prototype.isMobile=function(e){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(e)},u.prototype.createEvent=function(e,t,i,n){var s;return null==t&&(t=!1),null==i&&(i=!1),null==n&&(n=null),null!=document.createEvent?(s=document.createEvent("CustomEvent")).initCustomEvent(e,t,i,n):null!=document.createEventObject?(s=document.createEventObject()).eventType=e:s.eventName=e,s},u.prototype.emitEvent=function(e,t){return null!=e.dispatchEvent?e.dispatchEvent(t):t in(null!=e)?e[t]():"on"+t in(null!=e)?e["on"+t]():void 0},u.prototype.addEvent=function(e,t,i){return null!=e.addEventListener?e.addEventListener(t,i,!1):null!=e.attachEvent?e.attachEvent("on"+t,i):e[t]=i},u.prototype.removeEvent=function(e,t,i){return null!=e.removeEventListener?e.removeEventListener(t,i,!1):null!=e.detachEvent?e.detachEvent("on"+t,i):delete e[t]},u.prototype.innerHeight=function(){return"innerHeight"in window?window.innerHeight:document.documentElement.clientHeight},e=u,t=this.WeakMap||this.MozWeakMap||(l.prototype.get=function(e){for(var t,i=this.keys,n=t=0,s=i.length;t<s;n=++t)if(i[n]===e)return this.values[n]},l.prototype.set=function(e,t){for(var i,n=this.keys,s=i=0,o=n.length;i<o;s=++i)if(n[s]===e)return void(this.values[s]=t);return this.keys.push(e),this.values.push(t)},l),n=this.MutationObserver||this.WebkitMutationObserver||this.MozMutationObserver||(a.notSupported=!0,a.prototype.observe=function(){},a),c=this.getComputedStyle||function(i,e){return this.getPropertyValue=function(e){var t;return s.test(e="float"===e?"styleFloat":e)&&e.replace(s,function(e,t){return t.toUpperCase()}),(null!=(t=i.currentStyle)?t[e]:void 0)||null},this},s=/(\-([a-z]){1})/g,this.WOW=(o.prototype.defaults={boxClass:"wow",animateClass:"animated",offset:0,mobile:!0,live:!0,callback:null,scrollContainer:null},o.prototype.init=function(){var e;return this.element=window.document.documentElement,"interactive"===(e=document.readyState)||"complete"===e?this.start():this.util().addEvent(document,"DOMContentLoaded",this.start),this.finished=[]},o.prototype.start=function(){var s,e,t,i,r;if(this.stopped=!1,this.boxes=function(){for(var e=this.element.querySelectorAll("."+this.config.boxClass),t=[],i=0,n=e.length;i<n;i++)s=e[i],t.push(s);return t}.call(this),this.all=function(){for(var e=this.boxes,t=[],i=0,n=e.length;i<n;i++)s=e[i],t.push(s);return t}.call(this),this.boxes.length)if(this.disabled())this.resetStyle();else for(e=0,t=(i=this.boxes).length;e<t;e++)s=i[e],this.applyStyle(s,!0);return this.disabled()||(this.util().addEvent(this.config.scrollContainer||window,"scroll",this.scrollHandler),this.util().addEvent(window,"resize",this.scrollHandler),this.interval=setInterval(this.scrollCallback,50)),this.config.live?new n((r=this,function(e){for(var s,o,t=[],i=0,n=e.length;i<n;i++)o=e[i],t.push(function(){for(var e=o.addedNodes||[],t=[],i=0,n=e.length;i<n;i++)s=e[i],t.push(this.doSync(s));return t}.call(r));return t})).observe(document.body,{childList:!0,subtree:!0}):void 0},o.prototype.stop=function(){return this.stopped=!0,this.util().removeEvent(this.config.scrollContainer||window,"scroll",this.scrollHandler),this.util().removeEvent(window,"resize",this.scrollHandler),null!=this.interval?clearInterval(this.interval):void 0},o.prototype.sync=function(e){return n.notSupported?this.doSync(this.element):void 0},o.prototype.doSync=function(e){var t,i,n,s,o;if(1===(e=null==e?this.element:e).nodeType){for(o=[],i=0,n=(s=(e=e.parentNode||e).querySelectorAll("."+this.config.boxClass)).length;i<n;i++)t=s[i],r.call(this.all,t)<0?(this.boxes.push(t),this.all.push(t),this.stopped||this.disabled()?this.resetStyle():this.applyStyle(t,!0),o.push(this.scrolled=!0)):o.push(void 0);return o}},o.prototype.show=function(e){return this.applyStyle(e),e.className=e.className+" "+this.config.animateClass,null!=this.config.callback&&this.config.callback(e),this.util().emitEvent(e,this.wowEvent),this.util().addEvent(e,"animationend",this.resetAnimation),this.util().addEvent(e,"oanimationend",this.resetAnimation),this.util().addEvent(e,"webkitAnimationEnd",this.resetAnimation),this.util().addEvent(e,"MSAnimationEnd",this.resetAnimation),e},o.prototype.applyStyle=function(e,t){var i,n=e.getAttribute("data-wow-duration"),s=e.getAttribute("data-wow-delay"),o=e.getAttribute("data-wow-iteration");return this.animate((i=this,function(){return i.customStyle(e,t,n,s,o)}))},o.prototype.animate="requestAnimationFrame"in window?function(e){return window.requestAnimationFrame(e)}:function(e){return e()},o.prototype.resetStyle=function(){for(var e,t=this.boxes,i=[],n=0,s=t.length;n<s;n++)e=t[n],i.push(e.style.visibility="visible");return i},o.prototype.resetAnimation=function(e){return 0<=e.type.toLowerCase().indexOf("animationend")?(e=e.target||e.srcElement).className=e.className.replace(this.config.animateClass,"").trim():void 0},o.prototype.customStyle=function(e,t,i,n,s){return t&&this.cacheAnimationName(e),e.style.visibility=t?"hidden":"visible",i&&this.vendorSet(e.style,{animationDuration:i}),n&&this.vendorSet(e.style,{animationDelay:n}),s&&this.vendorSet(e.style,{animationIterationCount:s}),this.vendorSet(e.style,{animationName:t?"none":this.cachedAnimationName(e)}),e}
1,o.prototype.vendors=["moz","webkit"],o.prototype.vendorSet=function(s,e){var o,r,a,t=[];for(o in e)r=e[o],s[""+o]=r,t.push(function(){for(var e=this.vendors,t=[],i=0,n=e.length;i<n;i++)a=e[i],t.push(s[""+a+o.charAt(0).toUpperCase()+o.substr(1)]=r);return t}.call(this));return t},o.prototype.vendorCSS=function(e,t){for(var i,n=c(e),s=n.getPropertyCSSValue(t),o=this.vendors,r=0,a=o.length;r<a;r++)i=o[r],s=s||n.getPropertyCSSValue("-"+i+"-"+t);return s},o.prototype.animationName=function(t){var i;try{i=this.vendorCSS(t,"animation-name").cssText}catch(e){i=c(t).getPropertyValue("animation-name")}return"none"===i?"":i},o.prototype.cacheAnimationName=function(e){return this.animationNameCache.set(e,this.animationName(e))},o.prototype.cachedAnimationName=function(e){return this.animationNameCache.get(e)},o.prototype.scrollHandler=function(){return this.scrolled=!0},o.prototype.scrollCallback=function(){var s;return!this.scrolled||(this.scrolled=!1,this.boxes=function(){for(var e=this.boxes,t=[],i=0,n=e.length;i<n;i++)(s=e[i])&&(this.isVisible(s)?this.show(s):t.push(s));return t}.call(this),this.boxes.length)||this.config.live?void 0:this.stop()},o.prototype.offsetTop=function(e){for(var t;void 0===e.offsetTop;)e=e.parentNode;for(t=e.offsetTop;e=e.offsetParent;)t+=e.offsetTop;return t},o.prototype.isVisible=function(e){var t=e.getAttribute("data-wow-offset")||this.config.offset,i=this.config.scrollContainer&&this.config.scrollContainer.scrollTop||window.pageYOffset,t=i+Math.min(this.element.clientHeight,this.util().innerHeight())-t,n=this.offsetTop(e),e=n+e.clientHeight;return n<=t&&i<=e},o.prototype.util=function(){return null!=this._util?this._util:this._util=new e},o.prototype.disabled=function(){return!this.config.mobile&&this.util().isMobile(navigator.userAgent)},o)}.call(this),!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"undefined"!=typeof exports?module.exports=e(require("jquery")):e(jQuery)}(function(l){var n,r=window.Slick||{};function e(e,t){var i=this;i.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:l(e),appendDots:l(e),arrows:!0,asNavFor:null,prevArrow:'<button type="button" data-role="none" class="slick-prev" aria-label="Previous" tabindex="0" role="button">Previous</button>',nextArrow:'<button type="button" data-role="none" class="slick-next" aria-label="Next" tabindex="0" role="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(e,t){return l('<button type="button" data-role="none" role="button" tabindex="0" />').text(t+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},i.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},l.extend(i,i.initials),i.activeBreakpoint=null,i.animType=null,i.animProp=null,i.breakpoints=[],i.breakpointSettings=[],i.cssTransitions=!1,i.focussed=!1,i.interrupted=!1,i.hidden="hidden",i.paused=!0,i.positionProp=null,i.respondTo=null,i.rowCount=1,i.shouldClick=!0,i.$slider=l(e),i.$slidesCache=null,i.transformType=null,i.transitionType=null,i.visibilityChange="visibilitychange",i.windowWidth=0,i.windowTimer=null,e=l(e).data("slick")||{},i.options=l.extend({},i.defaults,t,e),i.currentSlide=i.options.initialSlide,i.originalSettings=i.options,void 0!==document.mozHidden?(i.hidden="mozHidden",i.visibilityChange="mozvisibilitychange"):void 0!==document.webkitHidden&&(i.hidden="webkitHidden",i.visibilityChange="webkitvisibilitychange"),i.autoPlay=l.proxy(i.autoPlay,i),i.autoPlayClear=l.proxy(i.autoPlayClear,i),i.autoPlayIterator=l.proxy(i.autoPlayIterator,i),i.changeSlide=l.proxy(i.changeSlide,i),i.clickHandler=l.proxy(i.clickHandler,i),i.selectHandler=l.proxy(i.selectHandler,i),i.setPosition=l.proxy(i.setPosition,i),i.swipeHandler=l.proxy(i.swipeHandler,i),i.dragHandler=l.proxy(i.dragHandler,i),i.keyHandler=l.proxy(i.keyHandler,i),i.instanceUid=n++,i.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,i.registerBreakpoints(),i.init(!0)}n=0,(r=e).prototype.activateADA=function(){this.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},r.prototype.addSlide=r.prototype.slickAdd=function(e,t,i){var n=this;if("boolean"==typeof t)i=t,t=null;else if(t<0||t>=n.slideCount)return!1;n.unload(),"number"==typeof t?0===t&&0===n.$slides.length?l(e).appendTo(n.$slideTrack):i?l
vendor: 5,945 bytes, line 1
1(e).insertBefore(n.$slides.eq(t)):l(e).insertAfter(n.$slides.eq(t)):!0===i?l(e).prependTo(n.$slideTrack):l(e).appendTo(n.$slideTrack),n.$slides=n.$slideTrack.children(this.options.slide),n.$slideTrack.children(this.options.slide).detach(),n.$slideTrack.append(n.$slides),n.$slides.each(function(e,t){l(t).attr("data-slick-index",e)}),n.$slidesCache=n.$slides,n.reinit()},r.prototype.animateHeight=function(){var e,t=this;1===t.options.slidesToShow&&!0===t.options.adaptiveHeight&&!1===t.options.vertical&&(e=t.$slides.eq(t.currentSlide).outerHeight(!0),t.$list.animate({height:e},t.options.speed))},r.prototype.animateSlide=function(e,t){var i={},n=this;n.animateHeight(),!0===n.options.rtl&&!1===n.options.vertical&&(e=-e),!1===n.transformsEnabled?!1===n.options.vertical?n.$slideTrack.animate({left:e},n.options.speed,n.options.easing,t):n.$slideTrack.animate({top:e},n.options.speed,n.options.easing,t):!1===n.cssTransitions?(!0===n.options.rtl&&(n.currentLeft=-n.currentLeft),l({animStart:n.currentLeft}).animate({animStart:e},{duration:n.options.speed,easing:n.options.easing,step:function(e){e=Math.ceil(e),!1===n.options.vertical?i[n.animType]="translate("+e+"px, 0px)":i[n.animType]="translate(0px,"+e+"px)",n.$slideTrack.css(i)},complete:function(){t&&t.call()}})):(n.applyTransition(),e=Math.ceil(e),!1===n.options.vertical?i[n.animType]="translate3d("+e+"px, 0px, 0px)":i[n.animType]="translate3d(0px,"+e+"px, 0px)",n.$slideTrack.css(i),t&&setTimeout(function(){n.disableTransition(),t.call()},n.options.speed))},r.prototype.getNavTarget=function(){var e=this,t=e.options.asNavFor;return t=t&&null!==t?l(t).not(e.$slider):t},r.prototype.asNavFor=function(t){var e=this.getNavTarget();null!==e&&"object"==typeof e&&e.each(function(){var e=l(this).slick("getSlick");e.unslicked||e.slideHandler(t,!0)})},r.prototype.applyTransition=function(e){var t=this,i={};!1===t.options.fade?i[t.transitionType]=t.transformType+" "+t.options.speed+"ms "+t.options.cssEase:i[t.transitionType]="opacity "+t.options.speed+"ms "+t.options.cssEase,(!1===t.options.fade?t.$slideTrack:t.$slides.eq(e)).css(i)},r.prototype.autoPlay=function(){var e=this;e.autoPlayClear(),e.slideCount>e.options.slidesToShow&&(e.autoPlayTimer=setInterval(e.autoPlayIterator,e.options.autoplaySpeed))},r.prototype.autoPlayClear=function(){var e=this;e.autoPlayTimer&&clearInterval(e.autoPlayTimer)},r.prototype.autoPlayIterator=function(){var e=this,t=e.currentSlide+e.options.slidesToScroll;e.paused||e.interrupted||e.focussed||(!1===e.options.infinite&&(1===e.direction&&e.currentSlide+1===e.slideCount-1?e.direction=0:0===e.direction&&(t=e.currentSlide-e.options.slidesToScroll,e.currentSlide-1==0)&&(e.direction=1)),e.slideHandler(t))},r.prototype.buildArrows=function(){var e=this;!0===e.options.arrows&&(e.$prevArrow=l(e.options.prevArrow).addClass("slick-arrow"),e.$nextArrow=l(e.options.nextArrow).addClass("slick-arrow"),e.slideCount>e.options.slidesToShow?(e.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.prependTo(e.options.appendArrows),e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.appendTo(e.options.appendArrows),!0!==e.options.infinite&&e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):e.$prevArrow.add(e.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},r.prototype.buildDots=function(){var e,t,i=this;if(!0===i.options.dots&&i.slideCount>i.options.slidesToShow){for(i.$slider.addClass("slick-dotted"),t=l("<ul />").addClass(i.options.dotsClass),e=0;e<=i.getDotCount();e+=1)t.append(l("<li />").append(i.options.customPaging.call(this,i,e)));i.$dots=t.appendTo(i.options.appendDots),i.$dots.find("li").first().addClass("slick-active").attr("aria-hidden","false")}},r.prototype.buildOut=function(){var e=this;e.$slides=e.$slider.children(e.options.slide+":not(.slick-cloned)").addClass("slick-slide"),e.slideCount=e.$slides.length,e.$slides.each(function(e,t){l(t).attr("data-slick-index",e).data("originalStyling",l(t).attr("style")||"")}),e.$slider.addClass("slick-slider"),e.$slideTrack=0===e.slideCount?l('<div class="slick-track"/>').appendTo(e.$slider):e.$slides.wrapAll('<div class="slick-track"/>').parent(),e.$list=e.$slideTrack.wrap('<div aria-live="polite" class="slick-list"/>').parent(),e.$slideTrack.css("opacity",0),!0!==e.options.centerMode&&!0!==e.options.swipeToSlide||(e.options.slidesToScroll=1),l("img[data-lazy]",e.$slider).not("[src]").addClass("slick-loading"),e.setupInfinite(),e.buildArrows(),e.buildDots(),e.updateDots(),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),!0===e.options.draggable&&e.$list.addClass("draggable")},r.prototype.buildRows=function(){var e,t,i,n=this,s=document.createDocumentFragment(),o=n.$slider.children();if(1<n.options.rows){for(i=n.options.slidesPerRow*n.options.rows,t=Math.ceil(o.length/i),e=0;e<t;e++){for(var r=document.createElement("div"),a=0;a<n.options.rows;a++){for(var c=document.createElement("div"),l=0;l<n.options.slidesPerRow;l++){var u=e*i+(a*n.options.slidesPerRow+l);o.get(u)&&c.appendChild(o.get(u))}r.appendChild(c)}s.appendChild(r)}n.$slider.empty().append(s),n.$slider.children().children().children().css({width:100/n.options.slidesPerRow+"%",display:"inline-block"})}},r.prototype.checkResponsive=function(e,t){var i,n,s,o=this,r=!1,a=o.$slider.width(),c=window.innerWidth||l(window).width();if("window"===o.respondTo?s=c:"slider"===o.respondTo?s=a:"min"===o.respondTo&&(s=Math.min(c,a)),o.options.responsive&&o.options.responsive.length&&null!==o.options.responsive){for(i in n=null,o.breakpoints)o.breakpoints.hasOwnProperty(i)&&(!1===o.originalSettings.mobileFirst?s<o.breakpoints[i]&&(n=o.breakpoints[i]):s>o.breakpoints[i]&&(n=o.breakpoints[i]));null!==n?null!==o.activeBreakpoint&&n===o.activeBreakpoint&&!t||(o.activeBreakpoint=n,"unsl
1ick"===o.breakpointSettings[n]?o.unslick(n):(o.options=l.extend({},o.originalSettings,o.breakpointSettings[n]),!0===e&&(o.currentSlide=o.options.initialSlide),o.refresh(e)),r=n):null!==o.activeBreakpoint&&(o.activeBreakpoint=null,o.options=o.originalSettings,!0===e&&(o.currentSlide=o.options.initialSlide),o.refresh(e),r=n),e||!1===r||o.$slider.trigger("breakpoint",[o,r])}},r.prototype.changeSlide=function(e,t){var i,n=this,s=l(e.currentTarget);switch(s.is("a")&&e.preventDefault(),s.is("li")||(s=s.closest("li")),i=n.slideCount%n.options.slidesToScroll!=0?0:(n.slideCount-n.currentSlide)%n.options.slidesToScroll,e.data.message){case"previous":o=0===i?n.options.slidesToScroll:n.options.slidesToShow-i,n.slideCount>n.options.slidesToShow&&n.slideHandler(n.currentSlide-o,!1,t);break;case"next":o=0===i?n.options.slidesToScroll:i,n.slideCount>n.options.slidesToShow&&n.slideHandler(n.currentSlide+o,!1,t);break;case"index":var o=0===e.data.index?0:e.data.index||s.index()*n.options.slidesToScroll;n.slideHandler(n.checkNavigable(o),!1,t),s.children().trigger("focus");break;default:return}},r.prototype.checkNavigable=function(e){var t=this.getNavigableIndexes(),i=0;if(e>t[t.length-1])e=t[t.length-1];else for(var n in t){if(e<t[n]){e=i;break}i=t[n]}return e},r.prototype.cleanUpEvents=function(){var e=this;e.options.dots&&null!==e.$dots&&l("li",e.$dots).off("click.slick",e.changeSlide).off("mouseenter.slick",l.proxy(e.interrupt,e,!0)).off("mouseleave.slick",l.proxy(e.interrupt,e,!1)),e.$slider.off("focus.slick blur.slick"),!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow&&e.$prevArrow.off("click.slick",e.changeSlide),e.$nextArrow)&&e.$nextArrow.off("click.slick",e.changeSlide),e.$list.off("touchstart.slick mousedown.slick",e.swipeHandler),e.$list.off("touchmove.slick mousemove.slick",e.swipeHandler),e.$list.off("touchend.slick mouseup.slick",e.swipeHandler),e.$list.off("touchcancel.slick mouseleave.
1slick",e.swipeHandler),e.$list.off("click.slick",e.clickHandler),l(document).off(e.visibilityChange,e.visibility),e.cleanUpSlideEvents(),!0===e.options.accessibility&&e.$list.off("keydown.slick",e.keyHandler),!0===e.options.focusOnSelect&&l(e.$slideTrack).children().off("click.slick",e.selectHandler),l(window).off("orientationchange.slick.slick-"+e.instanceUid,e.orientationChange),l(window).off("resize.slick.slick-"+e.instanceUid,e.resize),l("[draggable!=true]",e.$slideTrack).off("dragstart",e.preventDefault),l(window).off("load.slick.slick-"+e.instanceUid,e.setPosition),l(document).off("ready.slick.slick-"+e.instanceUid,e.setPosition)},r.prototype.cleanUpSlideEvents=function(){var e=this;e.$list.off("mouseenter.slick",l.proxy(e.interrupt,e,!0)),e.$list.off("mouseleave.slick",l.proxy(e.interrupt,e,!1))},r.prototype.cleanUpRows=function(){var e,t=this;1<t.options.rows&&((e=t.$slides.children().children()).removeAttr("style"),t.$slider.empty().append(e))},r.prototype.clickHandler=function(e){!1===this.shouldClick&&(e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault())},r.prototype.destroy=function(e){var t=this;t.autoPlayClear(),t.touchObject={},t.cleanUpEvents(),l(".slick-cloned",t.$slider).detach(),t.$dots&&t.$dots.remove(),t.$prevArrow&&t.$prevArrow.length&&(t.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),t.htmlExpr.test(t.options.prevArrow))&&t.$prevArrow.remove(),t.$nextArrow&&t.$nextArrow.length&&(t.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),t.htmlExpr.test(t.options.nextArrow))&&t.$nextArrow.remove(),t.$slides&&(t.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){l(this).attr("style",l(this).data("originalStyling"))}),t.$slideTrack.children(this.options.slide).detach(),t.$slideTrack.detach(),t.$list.detach(),t.$slider.append(t.$slides)),t.cleanUpRows(),t.$slider.removeClass("slick-slider"),t.$slider.removeClass("slick-initialized"),t.$slider.removeClass("slick-dotted"),t.unslicked=!0,e||t.$slider.trigger("destroy",[t])},r.prototype.disableTransition=function(e){var t=this,i={};i[t.transitionType]="",(!1===t.options.fade?t.$slideTrack:t.$slides.eq(e)).css(i)},r.prototype.fadeSlide=function(e,t){var i=this;!1===i.cssTransitions?(i.$slides.eq(e).css({zIndex:i.options.zIndex}),i.$slides.eq(e).animate({opacity:1},i.options.speed,i.options.easing,t)):(i.applyTransition(e),i.$slides.eq(e).css({opacity:1,zIndex:i.options.zIndex}),t&&setTimeout(function(){i.disableTransition(e),t.call()},i.options.speed))},r.prototype.fadeSlideOut=function(e){var t=this;!1===t.cssTransitions?t.$slides.eq(e).animate({opacity:0,zIndex:t.options.zIndex-2},t.options.speed,t.options.easing):(t.applyTransition(e),t.$slides.eq(e).css({opacity:0,zIndex:t.options.zIndex-2}))},r.prototype.filterSlides=r.prototype.slickFilter=function(e){var t=this;null!==e&&(t.$slidesCache=t.$slides,t.unload(),t.$slideTrack.children(this.options.slide).detach(),t.$slidesCache.filter(e).appendTo(t.$slideTrack),t.reinit())},r.prototype.focusHandler=function(){var i=this;i.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*:not(.slick-arrow)",function(e){e.stopImmediatePropagation();var t=l(this);setTimeout(function(){i.options.pauseOnFocus&&(i.focussed=t.is(":focus"),i.autoPlay())},0)})},r.prototype.getCurrent=r.prototype.slickCurrentSlide=function(){return this.currentSlide},r.prototype.getDotCount=function(){var e=this,t=0,i=0,n=0;if(!0===e.options.infinite)for(;t<e.slideCount;)++n,t=i+e.options.slidesToScroll,i+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;else if(!0===e.options.centerMode)n=e.slideCount;else if(e.options.asNavFor)for(;t<e.slideCount;)++n,t=i+e.options.slidesToScroll,i+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;else n=1+Math.ceil((e.slideCount-e.options.slidesToShow)/e.options.slidesToScroll);return n-1},r.prototype.getLeft=function(e){var t,i=this,n=0;return i.slideOffset=0,t=i.$slides.first().outerHeight(!0),!0===i.options.infinite?(i.slideCount>i.options.slidesToShow&&(i.slideOffset=i.slideWidth*i.options.slidesToShow*-1,n=t*i.options.slidesToShow*-1),i.slideCount%i.options.slidesToScroll!=0&&e+i.options.slidesToScroll>i.slideCount&&i.slideCount>i.options.slidesToShow&&(n=e>i.slideCount?(i.slideOffset=(i.options.slidesToShow-(e-i.slideCount))*i.slideWidth*-1,(i.options.slidesToShow-(e-i.slideCount))*t*-1):(i.slideOffset=i.slideCount%i.options.slidesToScroll*i.slideWidth*-1,i.slideCount%i.options.slidesToScroll*t*-1))):e+i.options.slidesToShow>i.slideCount&&(i.slideOffset=(e+i.options.slidesToShow-i.slideCount)*i.slideWidth,n=(e+i.options.slidesToShow-i.slideCount)*t),i.slideCount<=i.options.slidesToShow&&(n=i.slideOffset=0),!0===i.options.centerMode&&!0===i.options.infinite?i.slideOffset+=i.slideWidth*Math.floor(i.options.slidesToShow/2)-i.slideWidth:!0===i.options.centerMode&&(i.slideOffset=0,i.slideOffset+=i.slideWidth*Math.floor(i.options.slidesToShow/2)),t=!1===i.options.vertical?e*i.slideWidth*-1+i.slideOffset:e*t*-1+n,!0===i.options.variableWidth&&(n=i.slideCount<=i.options.slidesToShow||!1===i.options.infinite?i.$slideTrack.children(".slick-slide").eq(e):i.$slideTrack.children(".slick-slide").eq(e+i.options.slidesToShow),t=!0===i.options.rtl?n[0]?-1*(i.$slideTrack.width()-n[0].offsetLeft-n.width()):0:n[0]?-1*n[0].offsetLeft:0,!0===i.options.centerMode)&&(n=i.slideCount<=i.options.slidesToShow||!1===i.options.infinite?i.$slideTrack.children(".slick-slide").eq(e):i.$slideTrack.children(".slick-slide").eq(e+i.options.slidesToShow+1),t=!0===i.options.rtl?n[0]?-1*(i.$slideTrack.width()-n[0].offsetLeft-n.width()):0:n[0]?-1*n[0].offsetLeft:0,t+=(i.$list.width()-n.outerWidth())/2),t},r.prototype.getOption=r.prototype.slickGetOption=function(e){return this.options[e]},r.prototype.getNavigableIndexes=function(){for(var e=this,t=0,i=0,n=[],s=!1===e.options.infinite?e.slideCount:(t=-1*e.options.slidesToScroll,i=-1*e.options.slidesToScroll,2*e.slideCount);t<s;)n.push(t),t=i+e.options.slidesToScroll,i+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;return n},r.prototype.getSlick=function(){return this},r.prototype.getSlideCount=function(){var i,n=this,s=!0===n.options.centerMode?n.slideWidth*Math.floor(n.options.slidesToShow/2):0;return!0===n.options.swipeToSlide?(n.$slideTrack.find(".slick-slide").each(function(e,t){return t.offsetLeft-s+l(t).outerWidth()/2>-1*n.swipeLeft?(i=t,!1):void 0}),Math.abs(l(i).attr("data-slick-index")-n.currentSlide)||1):n.options.slidesToScroll},r.prototype.goTo=r.prototype.slickGoTo=function(e,t){this.changeSlide({data:{message:"index",index:
1parseInt(e)}},t)},r.prototype.init=function(e){var t=this;l(t.$slider).hasClass("slick-initialized")||(l(t.$slider).addClass("slick-initialized"),t.buildRows(),t.buildOut(),t.setProps(),t.startLoad(),t.loadSlider(),t.initializeEvents(),t.updateArrows(),t.updateDots(),t.checkResponsive(!0),t.focusHandler()),e&&t.$slider.trigger("init",[t]),!0===t.options.accessibility&&t.initADA(),t.options.autoplay&&(t.paused=!1,t.autoPlay())},r.prototype.initADA=function(){var t=this;t.$slides.add(t.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),t.$slideTrack.attr("role","listbox"),t.$slides.not(t.$slideTrack.find(".slick-cloned")).each(function(e){l(this).attr({role:"option","aria-describedby":"slick-slide"+t.instanceUid+e})}),null!==t.$dots&&t.$dots.attr("role","tablist").find("li").each(function(e){l(this).attr({role:"presentation","aria-selected":"false","aria-controls":"navigation"+t.instanceUid+e,id:"slick-slide"+t.instanceUid+e})}).first().attr("aria-selected","true").end().find("button").attr("role","button").end().closest("div").attr("role","toolbar"),t.activateADA()},r.prototype.initArrowEvents=function(){var e=this;!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},e.changeSlide),e.$nextArrow.off("click.slick").on("click.slick",{message:"next"},e.changeSlide))},r.prototype.initDotEvents=function(){var e=this;!0===e.options.dots&&e.slideCount>e.options.slidesToShow&&l("li",e.$dots).on("click.slick",{message:"index"},e.changeSlide),!0===e.options.dots&&!0===e.options.pauseOnDotsHover&&l("li",e.$dots).on("mouseenter.slick",l.proxy(e.interrupt,e,!0)).on("mouseleave.slick",l.proxy(e.interrupt,e,!1))},r.prototype.initSlideEvents=function(){var e=this;e.options.pauseOnHover&&(e.$list.on("mouseenter.slick",l.proxy(e.interrupt,e,!0)),e.$list.on("mouseleave.slick",l.proxy(e.interrupt,e,!1)))},r.prototype.initializeEvents=function(){var e=this;e.initArrowEvents(),e.initDotEvents(),e.initSlideEvents(),e.$list.on("touchstart.slick mousedown.slick",{action:"start"},e.swipeHandler),e.$list.on("touchmove.slick mousemove.slick",{action:"move"},e.swipeHandler),e.$list.on("touchend.slick mouseup.slick",{action:"end"}
1,e.swipeHandler),e.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},e.swipeHandler),e.$list.on("click.slick",e.clickHandler),l(document).on(e.visibilityChange,l.proxy(e.visibility,e)),!0===e.options.accessibility&&e.$list.on("keydown.slick",e.keyHandler),!0===e.options.focusOnSelect&&l(e.$slideTrack).children().on("click.slick",e.selectHandler),l(window).on("orientationchange.slick.slick-"+e.instanceUid,l.proxy(e.orientationChange,e)),l(window).on("resize.slick.slick-"+e.instanceUid,l.proxy(e.resize,e)),l("[draggable!=true]",e.$slideTrack).on("dragstart",e.preventDefault),l(window).on("load.slick.slick-"+e.instanceUid,e.setPosition),l(document).on("ready.slick.slick-"+e.instanceUid,e.setPosition)},r.prototype.initUI=function(){var e=this;!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.show(),e.$nextArrow.show()),!0===e.options.dots&&e.slideCount>e.options.slidesToShow&&e.$dots.show()},r.prototype.keyHandler=function(e){var t=this;e.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===e.keyCode&&!0===t.options.accessibility?t.changeSlide({data:{message:!0===t.options.rtl?"next":"previous"}}):39===e.keyCode&&!0===t.options.accessibility&&t.changeSlide({data:{message:!0===t.options.rtl?"previous":"next"}}))},r.prototype.lazyLoad=function(){function e(e){l("img[data-lazy]",e).each(function(){var e=l(this),t=l(this).attr("data-lazy"),i=document.createElement("img");i.onload=function(){e.animate({opacity:0}
vendor: 4,722 bytes, line 1
1,100,function(){e.attr("src",t).animate({opacity:1},200,function(){e.removeAttr("data-lazy").removeClass("slick-loading")}),n.$slider.trigger("lazyLoaded",[n,e,t])})},i.onerror=function(){e.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),n.$slider.trigger("lazyLoadError",[n,e,t])},i.src=t})}var t,i,n=this;!0===n.options.centerMode?i=!0===n.options.infinite?(t=n.currentSlide+(n.options.slidesToShow/2+1))+n.options.slidesToShow+2:(t=Math.max(0,n.currentSlide-(n.options.slidesToShow/2+1)),n.options.slidesToShow/2+1+2+n.currentSlide):(t=n.options.infinite?n.options.slidesToShow+n.currentSlide:n.currentSlide,i=Math.ceil(t+n.options.slidesToShow),!0===n.options.fade&&(0<t&&t--,i<=n.slideCount)&&i++),e(n.$slider.find(".slick-slide").slice(t,i)),n.slideCount<=n.options.slidesToShow?e(n.$slider.find(".slick-slide")):n.currentSlide>=n.slideCount-n.options.slidesToShow?e(n.$slider.find(".slick-cloned").slice(0,n.options.slidesToShow)):0===n.currentSlide&&e(n.$slider.find(".slick-cloned").slice(-1*n.options.slidesToShow))},r.prototype.loadSlider=function(){var e=this;e.setPosition(),e.$slideTrack.css({opacity:1}),e.$slider.removeClass("slick-loading"),e.initUI(),"progressive"===e.options.lazyLoad&&e.progressiveLazyLoad()},r.prototype.next=r.prototype.slickNext=function(){this.changeSlide({data:{message:"next"}})},r.prototype.orientationChange=function(){var e=this;e.checkResponsive(),e.setPosition()},r.prototype.pause=r.prototype.slickPause=function(){var e=this;e.autoPlayClear(),e.paused=!0},r.prototype.play=r.prototype.slickPlay=function(){var e=this;e.autoPlay(),e.options.autoplay=!0,e.paused=!1,e.focussed=!1,e.interrupted=!1},r.prototype.postSlide=function(e){var t=this;t.unslicked||(t.$slider.trigger("afterChange",[t,e]),t.animating=!1,t.setPosition(),t.swipeLeft=null,t.options.autoplay&&t.autoPlay(),!0===t.options.accessibility&&t.initADA())},r.prototype.prev=r.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})},r.prototype.preventDefault=function(e){e.preventDefault()},r.prototype.progressiveLazyLoad=function(e){e=e||1;var t,i,n=this,s=l("img[data-lazy]",n.$slider);s.length?(t=s.first(),i=t.attr("data-lazy"),(s=document.createElement("img")).onload=function(){t.attr("src",i).removeAttr("data-lazy").removeClass("slick-loading"),!0===n.options.adaptiveHeight&&n.setPosition(),n.$slider.trigger("lazyLoaded",[n,t,i]),n.progressiveLazyLoad()},s.onerror=function(){e<3?setTimeout(function(){n.progressiveLazyLoad(e+1)},500):(t.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),n.$slider.trigger("lazyLoadError",[n,t,i]),n.progressiveLazyLoad())},s.src=i):n.$slider.trigger("allImagesLoaded",[n])},r.prototype.refresh=function(e){var t=this,i=t.slideCount-t.options.slidesToShow;!t.options.infinite&&t.currentSlide>i&&(t.currentSlide=i),t.slideCount<=t.options.slidesToShow&&(t.currentSlide=0),i=t.currentSlide,t.destroy(!0),l.extend(t,t.initials,{currentSlide:i}),t.init(),e||t.changeSlide({data:{message:"index",index:i}},!1)},r.prototype.registerBreakpoints=function(){var e,t,i,n=this,s=n.options.responsive||null;if("array"===l.type(s)&&s.length){for(e in n.respondTo=n.options.respondTo||"window",s)if(i=n.breakpoints.length-1,t=s[e].breakpoint,s.hasOwnProperty(e)){for(;0<=i;)n.breakpoints[i]&&n.breakpoints[i]===t&&n.breakpoints.splice(i,1),i--;n.breakpoints.push(t),n.breakpointSettings[t]=s[e].settings}n.breakpoints.sort(function(e,t){return n.options.mobileFirst?e-t:t-e})}},r.prototype.reinit=function(){var e=this;e.$slides=e.$slideTrack.children(e.options.slide).addClass("slick-slide"),e.slideCount=e.$slides.length,e.currentSlide>=e.slideCount&&0!==e.currentSlide&&(e.currentSlide=e.currentSlide-e.options.slidesToScroll),e.slideCount<=e.options.slidesToShow&&(e.currentSlide=0),e.registerBreakpoints(),e.setProps(),e.setupInfinite(),e.buildArrows(),e.updateArrows(),e.initArrowEvents(),e.buildDots(),e.updateDots(),e.initDotEvents(),e.cleanUpSlideEvents(),e.initSlideEvents(),e.checkResponsive(!1,!0),!0===e.options.focusOnSelect&&l(e.$slideTrack).children().on("click.slick",e.selectHandler),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),e.setPosition(),e.focusHandler(),e.paused=!e.options.autoplay,e.autoPlay(),e.$slider.trigger("reInit",[e])},r.prototype.resize=function(){var e=this;l(window).width()!==e.windowWidth&&(clearTimeout(e.windowDelay),e.windowDelay=window.setTimeout(function(){e.windowWidth=l(window).width(),e.checkResponsive(),e.unslicked||e.setPosition()},50))},r.prototype.removeSlide=r.prototype.slickRemove=function(e,t,i){var n=this;return e="boolean"==typeof e?!0===(t=e)?0:n.slideCount-1:!0===t?--e:e,!(n.slideCount<1||e<0||e>
1n.slideCount-1)&&(n.unload(),(!0===i?n.$slideTrack.children():n.$slideTrack.children(this.options.slide).eq(e)).remove(),n.$slides=n.$slideTrack.children(this.options.slide),n.$slideTrack.children(this.options.slide).detach(),n.$slideTrack.append(n.$slides),n.$slidesCache=n.$slides,void n.reinit())},r.prototype.setCSS=function(e){var t,i,n=this,s={};!0===n.options.rtl&&(e=-e),t="left"==n.positionProp?Math.ceil(e)+"px":"0px",i="top"==n.positionProp?Math.ceil(e)+"px":"0px",s[n.positionProp]=e,!1!==n.transformsEnabled&&(!(s={})===n.cssTransitions?s[n.animType]="translate("+t+", "+i+")":s[n.animType]="translate3d("+t+", "+i+", 0px)"),n.$slideTrack.css(s)},r.prototype.setDimensions=function(){var e=this,t=(!1===e.options.vertical?!0===e.options.centerMode&&e.$list.css({padding:"0px "+e.options.centerPadding}):(e.$list.height(e.$slides.first().outerHeight(!0)*e.options.slidesToShow),!0===e.options.centerMode&&e.$list.css({padding:e.options.centerPadding+" 0px"})),e.listWidth=e.$list.width(),e.listHeight=e.$list.height(),!1===e.options.vertical&&!1===e.options.variableWidth?(e.slideWidth=Math.ceil(e.listWidth/e.options.slidesToShow),e.$slideTrack.width(Math.ceil(e.slideWidth*e.$slideTrack.children(".slick-slide").length))):!0===e.options.variableWidth?e.$slideTrack.width(5e3*e.slideCount):(e.slideWidth=Math.ceil(e.listWidth),e.$slideTrack.height(Math.ceil(e.$slides.first().outerHeight(!0)*e.$slideTrack.children(".slick-slide").length))),e.$slides.first().outerWidth(!0)-e.$slides.first().width());!1===e.options.variableWidth&&e.$slideTrack.children(".slick-slide").width(e.slideWidth-t)},r.prototype.setFade=function(){var i,n=this;n.$slides.each(function(e,t){i=n.slideWidth*e*-1,!0===n.options.rtl?l(t).css({position:"relative",right:i,top:0,zIndex:n.options.zIndex-2,opacity:0}
1):l(t).css({position:"relative",left:i,top:0,zIndex:n.options.zIndex-2,opacity:0})}),n.$slides.eq(n.currentSlide).css({zIndex:n.options.zIndex-1,opacity:1})},r.prototype.setHeight=function(){var e,t=this;1===t.options.slidesToShow&&!0===t.options.adaptiveHeight&&!1===t.options.vertical&&(e=t.$slides.eq(t.currentSlide).outerHeight(!0),t.$list.css("height",e))},r.prototype.setOption=r.prototype.slickSetOption=function(){var e,t,i,n,s,o=this,r=!1;if("object"===l.type(arguments[0])?(i=arguments[0],r=arguments[1],s="multiple"):"string"===l.type(arguments[0])&&(i=arguments[0],n=arguments[1],r=arguments[2],"responsive"===arguments[0]&&"array"===l.type(arguments[1])?s="responsive":void 0!==arguments[1]&&(s="single")),"single"===s)o.options[i]=n;else if("multiple"===s)l.each(i,function(e,t){o.options[e]=t});else if("responsive"===s)for(t in n)if("array"!==l.type(o.options.responsive))o.options.responsive=[n[t]];else{for(e=o.options.responsive.length-1;0<=e;)o.options.responsive[e].breakpoint===n[t].breakpoint&&o.options.responsive.splice(e,1),e--;o.options.responsive.push(n[t])}r&&(o.unload(),o.reinit())},r.prototype.setPosition=function(){var e=this;e.setDimensions(),e.setHeight(),!1===e.options.fade?e.setCSS(e.getLeft(e.currentSlide)):e.setFade(),e.$slider.trigger("setPosition",[e])},r.prototype.setProps=function(){var e=this,t=document.body.style;e.positionProp=!0===e.options.vertical?"top":"left","top"===e.positionProp?e.$slider.addClass("slick-vertical"):e.$slider.removeClass("slick-vertical"),void 0===t.WebkitTransition&&void 0===t.MozTransition&&void 0===t.msTransition||!0!==e.options.useCSS||(e.cssTransitions=!0),e.options.fade&&("number"==typeof e.options.zIndex?e.options.zIndex<3&&(e.options.zIndex=3):e.options.zIndex=e.defaults.zIndex),void 0!==t.OTransform&&(e.animType="OTransform",e.transformType="-o-transform",e.transitionType="OTransition",void 0===t.perspectiveProperty)&&void 0===t.webkitPerspective&&(e.animType=!1),void 0!==t.MozTransform&&(e.animType="MozTransform",e.transformType="-moz-transform",e.transitionType="MozTransition",void 0===t.perspectiveProperty)&&void 0===t.MozPerspective&&(e.animType=!1),void 0!==t.webkitTransform&&(e.animType="webkitTransform",e.transformType="-webkit-transform",e.transitionType="webkitTransition",void 0===t.perspectiveProperty)&&void 0===t.webkitPerspective&&(e.animType=!1),void 0!==t.msTransform&&(e.animType="msTransform",e.transformType="-ms-transform",e.transitionType="msTransition",void 0===t.msTransform)&&(e.animType=!1),void 0!==t.transform&&!1!==e.animType&&(e.animType="transform",e.transformType="transform",e.transitionType="transition"),e.transformsEnabled=e.options.useTransform&&null!==e.animType&&!1!==e.animType},r.prototype.setSlideClasses=function(e){var t,i,n=this,s=n.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true");n.$slides.eq(e).addClass("slick-current"),!0===n.options.centerMode?(i=Math.floor(n.options.slidesToShow/2),!0===n.options.infinite&&((i<=e&&e<=n.slideCount-1-i?n.$slides.slice(e-i,e+i+1):(t=n.options.slidesToShow+e,s.slice(t-i+1,t+i+2))).addClass("slick-active").attr("aria-hidden","false"),0===e?s.eq(s.length-1-n.options.slidesToShow).addClass("slick-center"):e===n.slideCount-1&&s.eq(n.options.slidesToShow).addClass("slick-center")),n.$slides.eq(e).addClass("slick-center")):(0<=e&&e<=n.slideCount-n.options.slidesToShow?n.$slides.slice(e,e+n.options.slidesToShow):s.length<=n.options.slidesToShow?s:(i=n.slideCount%n.options.slidesToShow,t=!0===n.options.infinite?n.options.slidesToShow+e:e,n.options.slidesToShow==n.options.slidesToScroll&&n.slideCount-e<n.options.slidesToShow?s.slice(t-(n.options.slidesToShow-i),t+i):s.slice(t,t+n.options.slidesToShow))).addClass("slick-active").attr("aria-hidden","false"),"ondemand"===n.options.lazyLoad&&n.lazyLoad()},r.prototype.setupInfinite=function(){var e,t,i,n=this;if(!0===n.options.fade&&(n.options.centerMode=!1),!0===n.options.infinite&&!1===n.options.fade&&(t=null,n.slideCount>n.options.slidesToShow)){for(i=!0===n.options.centerMode?n.options.slidesToShow+1:n.options.slidesToShow,e=n.slideCount;e>n.slideCount-i;--e)l(n.$slides[t=e-1]).clone(!0).attr("id","").attr("data-slick-index",t-n.slideCount).prependTo(n.$slideTrack).addClass("slick-cloned");for(e=0;e<i;e+=1)t=e,l(n.$slides[t]).clone(!0).attr("id","").attr("data-slick-index",t+n.slideCount).appendTo(n.$slideTrack).addClass("slick-cloned");n.$slideTrack.find(".slick-cloned").find("[id]").each(function(){l(this).attr("id","")})}},r.prototype.interrupt=function(e){var t=this;e||t.autoPlay(),t.interrupted=e},r.prototype.selectHandler=function(e){var t=this,e=l(e.target).is(".slick-slide")?l(e.target):l(e.target).parents(".slick-slide"),e=(e=parseInt(e.attr("data-slick-index")))||0;return t.slideCount<=t.options.slidesToShow?(t.setSlideClasses(e),void t.asNavFor(e)):void t.slideHandler(e)},r.prototype.slideHandler=function(e,t,i){var n,s,o=null,r=this;return t=t||!1,!0===r.animating&&!0===r.options.waitForAnimate||!0===r.options.fade&&r.currentSlide===e||r.slideCount<=r.options.slidesToShow?void 0:(!1===t&&r.asNavFor(e),n=e,o=r.getLeft(n),t=r.getLeft(r.currentSlide),r.currentLeft=null===r.swipeLeft?t:r.swipeLeft,!1===r.options.infinite&&!1===r.options.centerMode&&(e<0||e>r.getDotCount()*r.options.slidesToScroll)||!1===r.options.infinite&&!0===r.options.centerMode&&(e<0||e>r.slideCount-r.options.slidesToScroll)?void(!1===r.options.fade&&(n=r.currentSlide,!0!==i?r.animateSlide(t,function(){r.postSlide(n)}):r.postSlide(n))):(r.options.autoplay&&clearInterval(r.autoPlayTimer),s=n<0?r.slideCount%r.options.slidesToScroll!=0?r.slideCount-r.slideCount%r.options.slidesToScroll:r.slideCount+n:n>=r.slideCount?r.slideCount%r.options.slidesToScroll!=0?0:n-r.slideCount:n,r.animating=!0,r.$slider.trigger("beforeChange",[r,r.currentSlide,s]),e=r.currentSlide,r.currentSlide=s,r.setSlideClasses(r.currentSlide),r.options.asNavFor&&(t=(t=r.getNavTarget()).slick("getSlick")).slideCount<=t.options.slidesToShow&&t.setSlideClasses(r.currentSlide),r.updateDots(),r.updateArrows(),!0===r.options.fade?(!0!==i?(r.fadeSlideOut(e),r.fadeSlide(s,function(){r.postSlide(s)})):r.postSlide(s),void r.animateHeight()):void(!0!==i?r.animateSlide(o,function(){r.postSlide(s)}):r.postSlide(s))))},r.prototype.startLoad=function(){var e=this;!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.hide(),e.$nextArrow.hide()),!0===e.options.dots&&e.slideCount>e.options.slidesToShow&&e.$dots.hide(),e.$slider.addClass("slick-loading")},r.prototype.swipeDirection=function(){var e=this,t=e.touchObject.startX-e.touchObject.curX,i=e.touchObject.startY-e.touchObject.curY,i=Math.atan2(i,t),t=Math.round(180*i/Math.PI);return(t=t<0?360-Math.abs(t):t)<=45&&0<=t||t<=360&&315<=t?!1===e.options.rtl?"left":"right":135<=t&&t<=225?!1===e.options.rtl?"right":"left":!0===e.options.verticalSwiping?35<=t&&t<=135?"down":"up":"vertical"},r.prototype.swipeEnd=function(e){var t,i,n=this;if(n.dragging=!1,n.interrupted=!1,n.shouldClick=!(10<n.touchObject.swipeLength),void 0===n.touchObject.curX)return!1;if(!0===n.touchObject.edgeHit&&n.$slider.trigger("edge",[n,n.swipeDirection()]),n.touchObject.swipeLength>=n.touchObject.minSwipe){switch(i=n.swipeDirection()){case"left":case"down":t=n.options.swipeToSlide?n.checkNavigable(n.currentSlide+n.getSlideCount()):n.currentSlide+n.getSlideCount(),n.currentDirection=0;break;case"right":case"up":t=n.options.swipeToSlide?n.checkNavigable(n.currentSlide-n.getSlideCount()):n.currentSlide-n.getSlideCount(),n.currentDirection=1}"vertical"!=i&&(n.slideHandler(t),n.touchObject={},n.$slider.trigger("swipe",[n,i]))}else n.touchObject.startX!==n.touchObject.curX&&(n.slideHandler(n.currentSlide),n.touchObject={})},r.prototype.swipeHandler=function(e){var t=this;if(!(!1===t.options.swipe||"ontouchend"in document&&!1===t.options.swipe||!1===t.options.draggable&&-1!==e.type.indexOf("mou
1se")))switch(t.touchObject.fingerCount=e.originalEvent&&void 0!==e.originalEvent.touches?e.originalEvent.touches.length:1,t.touchObject.minSwipe=t.listWidth/t.options.touchThreshold,!0===t.options.verticalSwiping&&(t.touchObject.minSwipe=t.listHeight/t.options.touchThreshold),e.data.action){case"start":t.swipeStart(e);break;case"move":t.swipeMove(e);break;case"end":t.swipeEnd(e)}},r.prototype.swipeMove=function(e){var t,i,n=this,s=void 0!==e.originalEvent?e.originalEvent.touches:null;return!(!n.dragging||s&&1!==s.length)&&(t=n.getLeft(n.currentSlide),n.touchObject.curX=void 0!==s?s[0].pageX:e.clientX,n.touchObject.curY=void 0!==s?s[0].pageY:e.clientY,n.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(n.touchObject.curX-n.touchObject.startX,2))),!0===n.options.verticalSwiping&&(n.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(n.touchObject.curY-n.touchObject.startY,2)))),"vertical"!==(s=n.swipeDirection())?(void 0!==e.originalEvent&&4<n.touchObject.swipeLength&&e.preventDefault(),e=(!1===n.options.rtl?1:-1)*(n.touchObject.curX>n.touchObject.startX?1:-1),!0===n.options.verticalSwiping&&(e=n.touchObject.curY>n.touchObject.startY?1:-1),i=n.touchObject.swipeLength,(n.touchObject.edgeHit=!1)===n.options.infinite&&(0===n.currentSlide&&"right"===s||n.currentSlide>=n.getDotCount()&&"left"===s)&&(i=n.touchObject.swipeLength*n.options.edgeFriction,n.touchObject.edgeHit=!0),!1===n.options.vertical?n.swipeLeft=t+i*e:n.swipeLeft=t+i*(n.$list.height()/n.listWidth)*e,!0===n.options.verticalSwiping&&(n.swipeLeft=t+i*e),!0!==n.options.fade&&!1!==n.options.touchMove&&(!0===n.animating?(n.swipeLeft=null,!1):void n.setCSS(n.swipeLeft))):void 0)},r.prototype.swipeStart=function(e){var t,i=this;return i.interrupted=!0,1!==i.touchObject.fingerCount||i.slideCount<=i.options.slidesToShow?!(i.touchObject={}):(void 0!==e.originalEvent&&void 0!==e.originalEvent.touches&&(t=e.originalEvent.touches[0]),i.touchObject.startX=i.touchObject.curX=void 0!==t?t.pageX:e.clientX,i.touchObject.startY=i.touchObject.curY=void 0!==t?t.pageY:e.clientY,void(i.dragging=!0))},r.prototype.unfilterSlides=r.prototype.slickUnfilter=function(){var e=this;null!==e.$slidesCache&&(e.unload(),e.$slideTrack.children(this.options.slide).detach(),e.$slidesCache.appendTo(e.$slideTrack),e.reinit())},r.prototype.unload=function(){var e=this;l(".slick-cloned",e.$slider).remove(),e.$dots&&e.$dots.remove(),e.$prevArrow&&e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.remove(),e.$nextArrow&&e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.remove(),e.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")},r.prototype.unslick=function(e){var t=this;t.$slider.trigger("unslick",[t,e]),t.destroy()},r.prototype.updateArrows=function(){var e=this;Math.floor(e.options.slidesToShow/2);!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&!e.options.infinite&&(e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===e.currentSlide?(e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):(e.currentSlide>=e.slideCount-e.options.slidesToShow&&!1===e.options.centerMode||e.currentSlide>=e.slideCount-1&&!0===e.options.centerMode)&&(e.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},r.prototype.updateDots=function(){var e=this;null!==e.$dots&&(e.$dots.find("li").removeClass("slick-active").attr("aria-hidden","true"),e.$dots.find("li").eq(Math.floor(e.currentSlide/e.options.slidesToScroll)).addClass("slick-active").attr("aria-hidden","false"))},r.prototype.visibility=function(){var e=this;e.options.autoplay&&(document[e.hidden]?e.interrupted=!0:e.interrupted=!1)},l.fn.slick=function(){for(var e,t=this,i=arguments[0],n=Array.prototype.slice.call(arguments,1),s=t.length,o=0;o<s;o++)if("object"==typeof i||void 0===i?t[o].slick=new r(t[o],i):e=t[o].slick[i].apply(t[o].slick,n),void 0!==e)return e;return t}}),!function(t){t(function(){var e=t(".adminzone_slider");0!=e.length&&e.slick({infinite:!0,slidesToShow:1,slidesToScroll:1,arrows:!1,dots:!0})})}(jQuery),$(document).ready(function(){$("a.fancy_video").click(function(){return $.fancybox({padding:0,autoScale:!0,transitionIn:"none",transitionOut:"none",title:this.title,width:1e3,height:564,href:this.href.replace(new RegExp("watch\\?v=","i"),"v/"),type:"swf",swf:{wmode:"transparent",allowfullscreen:"true"}}),!1}),$("#fancybox-wrap").addClass("custom_fancy")}),$(document).ready(function(){initFintech(window._api_call,$,window.location.hostname,window);var c,l,i=getUrlVars(),e=$('#LoginWnd input[name="Login"]'),t=(document.location.hostname,adjustAjaxLoader(),placeLoginContainer(),$(window).resize(placeLoginContainer),{autologin:function(){$("#ajax_loader").removeClass("hidden"),placeLoginContainer();var e=i;e.host=window.location.hostname,callToApi("autologin",e,e.host,function(e){1==e.result?(extendMixpanelCookieTime(),e.info&&e.info.redirect?document.location.href=e.info.redirect:document.location.reload()):($("#ajax_loader").addClass("hidden"),$("#LoginWnd").removeClass("hidden"),placeLoginContainer())})},login_password:function(){$("#ajax_loader").removeClass("hidden"),placeLoginContainer();var e={Login:i.login,Password:i.password};callToApi("login",e,i.login,function(e){1==e.result?(extendMixpanelCookieTime(),e.info&&e.info.redirect?document.location.href=e.info.redirect:document.location.reload()):($("#ajax_loader").addClass("hidden"),$("#LoginWnd").removeClass("hidden"),placeLoginContainer())})},session_id:function(){$("#ajax_loader").removeClass("hidden"),placeLoginContainer();var e={login:i.login,session_id:i.session_id};callToApi("loginsession",e,i.login,function(e){1==e.result?(extendMixpanelCookieTime(),e.info&&e.info.redirect?document.location.href=e.info.redirect:document.location.reload()):($("#ajax_loader").addClass("hidden"),$("#LoginWnd").removeClass("hidden"),placeLoginContainer())})},login_password_hash:function(){$("#ajax_loader").removeClass("hidden");var e={Login:i.ul,Password:i.up,Flag:i.f,Host:window.location.hostname};0<$(".login_message").length&&$(".login_message").hasClass("simpleregister")?$(".login_message").hide():$(".login_message").html(umihost_lang.i18n("az_scripts.login.processing_install_site")),placeLoginContainer(),callToApi("loginbypass",e,e.Host,function(e){if(1==e.result)return extendMixpanelCookieTime(),e.info&&e.info.redirect?document.location.href=e.info.redirect:document.location.reload(),!1;$("#ajax_loader").addClass("hidden"),$("#LoginWnd").removeClass("hidden"),placeLoginContainer()})},login_password_loginza_hash:function(e,t){$(".login_message").hide(),$("#ajax_loader").removeClass("hidden"),placeLoginContainer();e={Token:e,Host:window.location.hostname};callToApi("loginza",e,window.location.hostname.split(".",1).toString(),function(e){1==e.result?(extendMixpanelCookieTime(),e.info&&e.info.redirect?document.location.href=e.info.redirect:document.location.reload()):($("#ajax_loader").addClass("hidden"),$(".login_message").show(),$("#LoginWnd").removeClass("hidden"),placeLoginContainer())})}});"autologin"in i&&i.autologin?t.autologin():"login"in i&&i.login&&"password"in i&&i.password?t.login_password():"login"in i&&i.login&&"session_id"in i&&i.session_id?t.session_id():"l"in i&&i.l?t.login_password_loginza_hash(i.l):"ul"in i&&i.ul&&"up"in i&&i.up?t.login_password_hash():($("#LoginWnd").removeClass("hidden"),placeLoginContainer(),(0<e.length?e:$('#LoginWnd input[name="Password"]')).focus(),$("a.loginza").click(function(){return loginzaProxy.Frame.frameSrc="http://"+__currentHostName+"/loginproxy.php/?return_url="+window.location.href,loginzaProxy.Frame.provider=$(this).attr("rel"),loginzaProxy.Frame.create(),loginzaProxy.Frame.setCallback(LoginzaCallback),!1}),l=c=null,document.querySelectorAll("ul.social > li:not(#uLogin)").forEach(function(e){const t=e.dataset.provider,i=e.dataset.host;e.addEventListener("click",function(){c=t,l=i,$("form.login_from").trigger("submit")})}),$("form.login_from").submit(function(){$(".login_fail").remove();var e={Mode:0,__CURRENT_HOSTNAME__:$("#curDomain").attr("rel")};function t(p,f){return new Promise(function(i,n){if(!p)return n(umihost_lang.i18n("az_scripts.login.auth_provider_not_found_error"));const e="undefined"!=typeof serverHost?serverHost:window.location.host,t="https://"+e+"/auth_callback.php",s=f?"&host="+f:"",o="&origin="+encodeURI(window.location.origin),r="?provider="+p;function a(e){const t=e.data||{};t&&t.host&&t.login&&t.up?(c(),i(t)):"error"===t.status&&(c(),n(t.message||umihost_lang.i18n("az_scripts.login.auth_error")))}function c(){window.removeEventListener("message",a),clearInterval(u),clearTimeout(d)}window.addEventListener("message",a);const l=window.open(t+r+s+o,"_new","width=800,height=600,scrollbars=yes");if(!l)return c(),n(umihost_lang.i18n("az_scripts.login.auth_open_window_error"));const u=setInterval(function(){l.closed&&c()},500),d=setTimeout(function(){c(),n(umihost_lang.i18n("az_scripts.login.auth_timeout_error")+p
1)},3e5)})}if(null!=c)t(c,l).then(function(e){const t=window.location.protocol+"//"+e.host;window.location.href=t+"/adminzone/?ul="+e.login+"&up="+e.up+"&f=0"}).catch(function(e){console.log(e),_adminzone_error(e)});else if(e.Login="",$('input[name="Login"]').length?e.Login=$('input[name="Login"]').val():$("#presetLogin").length&&(e.Login=$("#presetLogin").text()),0===e.Login.length)_adminzone_error(umihost_lang.i18n("az_scripts.login.must_input_address_site"));else if($('input[name="Password"]').val().length){if(e.Password=$('input[name="Password"]').val(),e.Remember=0<$('input[name="Remember"]:checked').length,0<$('input[name="FirstName"]').length){if(!$('input[name="FirstName"]').val().length)return _adminzone_error(umihost_lang.i18n("az_scripts.login.must_input_name")),!1;e.FirstName=$('input[name="FirstName"]').val()}if(0<$('input[name="LastName"]').length){if(!$('input[name="LastName"]').val().length)return _adminzone_error(umihost_lang.i18n("az_scripts.login.must_input_family")),!1;e.LastName=$('input[name="LastName"]').val()}var i=$(".login_message").html(),n=$('select[name="hostDomain"]'),s=0<n.length?n.val():"",o=!!s&&s!==window.location.hostname,r={ul:e.Login,up:e.Password,f:0},a=o?"?"+$.param(r):"",o=(e.Login+=s?"."+s:"",s?e.Login:e.Login+"."+__currentHostName);callToApi("login",e,o,function(e){1==e.result?$("#loginFormWrapper").length?showLoginWindow(!0):(extendMixpanelCookieTime(),e.info&&e.info.redirect?document.location.href=e.info.redirect+a:document.location.reload()):(e.info&&0<n.length&&showLoginFailMessage(e.info),$(".login_message").html(i),$(".login_message").show(),$("#LoginWnd").show(),$("#ajax_loader").hide(),placeLoginContainer())},function(){0<$(".login_message").length&&$(".login_message").hasClass("simpleregister")&&$(".login_message").hide(),$(".login_message").html(umihost_lang.i18n("az_scripts.login.processing_install_site")),$("#ajax_loader").show(),$("#LoginWnd").hide(),placeLoginContainer()})}else _adminzone_error(umihost_lang.i18n("az_scripts.login.must_input_password"));return!1}),$("#request_password").click(function(){$(".login_fail").remove();var e,t="";return $('input[name="Login"]').length?t=$('input[name="Login"]').val():$("#presetLogin").length&&(t=$("#presetLogin").text()),t.length&&""!=t?confirm(umihost_lang.i18n("az_scripts.login.now_request_change_password"))&&(e=0<(e=$('select[name="hostDomain"]')).length?e.val():__currentHostName,callToApi("change_password_auto",{Login:t,__CURRENT_HOSTNAME__:e},t+"."+e,function(e){e.result?_adminzone_error(umihost_lang.i18n("az_scripts.login.email_send")):_adminzone_error(umihost_lang.i18n("az_scripts.login.filed_restore_password")),$(".login_message.rememberpassword").remove(),$("#LoginWnd").show(),$("#ajax_loader").hide(),placeLoginContainer()},function(){$("#LoginWnd").hide(),$("#ajax_loader").after($('<div class="login_message text rememberpassword" />')),$(".login_message").html(umihost_lang.i18n("az_scripts.login.change_password_processing")).show(),$("#ajax_loader").show(),placeLoginContainer()})):_adminzone_error(umihost_lang.i18n("az_scripts.login.must_input_address_site")),!1}),$(".repeat_request").click(function(){var t,e="";return $('input[name="Login"]').length?e=$('input[name="Login"]').val():$("#presetLogin").length?e=$("#presetLogin").text():i.host&&(e=i.host),e.length&&""!=e?(t=$(this),callToApi("host_requestinstall_repeat",{Code:i.Code,HostName:e,Time:i.Time},e,function(e){$("#repeat_request_loader").remove(),t.show(),e.result?_adminzone_error(umihost_lang.i18n("az_scripts.login.email_send")):_adminzone_error(umihost_lang.i18n("az_scripts.login.filed_retrieve_send"))},function(){t.hide().after('<img src="/adminzone/images/loader.gif" id="repeat_request_loader" />')})):_adminzone_error(umihost_lang.i18n("az_scripts.login.must_input_address_site")),!1}),i.changepassword&&1==i.changepassword&&i.token&&i.time&&callToApi("change_password_confirm",{Host:window.location.hostname,Rel:i.token,Time:i.time},window.location.hostname,function(e){e.result?(_adminzone_error(umihost_lang.i18n("az_scripts.login.new_password_send")),document.location.href="/adminzone/"):(_adminzone_error(umihost_lang.i18n("az_scripts.login.error_change_password")),$("#LoginWnd").show(),$("#ajax_loader").hide(),$(".login_message").hide())},function(){$("#LoginWnd").hide(),$("#ajax_loader").show(),$(".login_message").html(umihost_lang.i18n("az_scripts.login.change_password_processing")).show()}),i.mpass&&$('input[name="Password"]').val(i.mpass))});var extendMixpanelCookieTime=function(){var e="mx_distinct_id",t=63072e3,i="undefined"!=typeof Cookies&&Cookies.getCookie(e);
1i&&Cookies.setCookie(e,i,t,"/",window.location.hostname)},showLoginFailMessage=function(e){var t=document.createElement("p");t.setAttribute("class","login_fail"),t.textContent=e,$(t.outerHTML).insertBefore("#login_button")},LoginzaCallback=function(e){$("#ajax_loader").removeClass("hidden");var t=$(".login_message").html(),e={Token:e,CheckToken:!0,Host:window.location.hostname};loginzaProxy.Frame.close(),callToApi("loginza",e,window.location.hostname.split(".",1).toString(),function(e){if(1==e.result)return e.info&&e.info.redirect?document.location.href=e.info.redirect:document.location.reload(),!1;$(".login_message").html(t),$(".login_message").show(),$("#LoginWnd").show(),$("#ajax_loader").hide(),placeLoginContainer()},function(){0<$(".login_message").length&&$(".login_message").hasClass("simpleregister")&&$(".login_message").hide(),$(".login_message").html(umihost_lang.i18n("az_scripts.login.processing_install_site")),$("#ajax_loader").show(),$("#LoginWnd").hide(),placeLoginContainer()})},callToApi=function(t,i,e,n,s){if("function"==typeof s&&s(),"undefined"!=typeof hostFilesServerId)return _api_call(t,i,n,void 0,void 0,!0,void 0,parseInt(hostFilesServerId));_api_call("host_getfilesserverid",{HostName:e},function(e){if(!1!==e.result)return _api_call(t,i,n,void 0,void 0,!0,void 0,parseInt(e.result));"function"==typeof n&&n({result:!1,info:umihost_lang.i18n("az_scripts.login.check_domain")})})};function initFintech(e,t,i,n){function s(e){return e.preventDefault(),t.getScript("//"+n.__currentHostName+"/fintech/js/app.js").then(function(){var e=n.fintech.adminzone;e.saveAction("login",{HostName:i}).then(e.auth.bind(e))})}e("fintech_sitepresent",{HostName:i},function(e){e.result&&t("#fintech_login").show().on("click",s)})}function uloginLastSite(e){_api_call("ulogin_last_site",{token:e},function(e){e.result&&(document.location.href=e.result)})}window.ulogin=function(e){$("#ajax_loader").removeClass("hidden");e={token:e,hostName:window.location.hostname};callToApi("ulogin",e,window.location.hostname.split(".",1).toString(),function(e){if(e.result)return extendMixpanelCookieTime(),e.info&&e.info.redirect?document.location.href=e.info.redirect:document.location.reload(),!1;$(".login_message").html($(".login_message").html()),$(".login_message").show(),$("#LoginWnd").show(),$("#ajax_loader").hide(),placeLoginContainer()},function(){0<$(".login_message").length&&$(".login_message").hasClass("simpleregister")&&$(".login_message").hide(),$(".login_message").html(umihost_lang.i18n("az_scripts.login.processing_install_site")),$("#ajax_loader").show(),$("#LoginWnd").hide(),placeLoginContainer()})},!function(s){s(function(){var t,i,n=s("#unsubscribeForm");s("#unsubscribeSubmit").click(function(e){e.preventDefault(),t=n.serialize(),s.ajax({type:"POST",data:t,dataType:"json",url:"/dispatches/deleteSubscription",success:function(e){e.error&&(i=n.html(),n.html(e.error),setTimeout(function(){n.html(i)},5e3)),e.success&&(n[0].reset(),n.html(e.success))},error:function(e,t,i){console.log(e),console.log(t),console.log(i)}})})})}(jQuery),!function(c,l){c(function(){var e=c("#mobileNav");function t(e,t){e.bind("click",function(){t.slideToggle(),c(this).toggleClass("close")})}t(c("#navToggle"),e);var e=window.location.pathname,e=c('#selectCategory li:not(:first-child) a[href="'+e+'"]'),i=(e.length&&c("#selectCategory > span").text(e.text().trim()),c("#selectCategory").on("click",function(){c(this).children(".select_content").slideToggle()}),c("#mobile_search").on("click",function(){c("#design_search").slideToggle(),c('#design_search input[type="search"]').val("")}),c("#design_search>img").on("click",function(){c('#design_search input[type="search"]').val(""),c("#design_search button").click()}),c(".doc_left .level-1 > li")),n=(i.each(function(){c(this).find("ul.level-2").length&&(c(this).addClass("baby"),c(this).prepend('<div class="list_btn"></div>'))}),c(".doc_left .level-1 > li.baby .list_btn").on("click",function(){c(this).closest(i).toggleClass("open")}),c("a.fancybox-create, [data-create-site-button]")),s={};function o(e){for(var t,i={},n=window.location.href.indexOf("#"),s=((!n||n<0)&&(n=window.location.href.length),window.location.href.slice(window.location.href.indexOf("?")+1,n).split("&")),o=0;o<s.length;o++)(t=s[o].split("=")).length=2,i[t[0]]=t[1];return e?i[e]||null:i}function r(){"object"==typeof yaCounter5426581&&(yaCounter5426581.reachGoal("Click_button_sozdat_sait"),l.utilites.sendYandexGoal("_mod_okno"))}function a(){return l.popupRegistrationOptions(s,function(){},r)}c(".big_red_button.fancybox-create").bind("click",function(){var e="red_button_";c(this).parents(".index_promo").length?e+="mainpage_up":e+="mainpage_down","object"==typeof yaCounter5426581&&yaCounter5426581.reachGoal("Click_button_sozdat_sait_seaychas"),"undefined"!=typeof ga&&ga("send","event","site","click_create",e)}),o("site_create_win")&&(e=0==(e=n.eq(0)).length?c('<a href="/create/domain/?only_register=true"></a>'):e).fancybox(a()).trigger("click"),n.fancybox(a()),n.on("click",function(){l.utilites.sendYandexGoal()}),createWithBonus=function(){l.haveBonus=1,n.eq(0).trigger("click")}})}(jQuery,SITE);var cookieName="cookiesAccepted",cookieDaysLifeTime=365;
1function init(){getCookiesAccepted()||showNotification(),document.getElementById("accept-cookies").addEventListener("click",function(){setCookiesAccepted(),hideNotification()})}function getCookiesAccepted(){for(var e=document.cookie.split("; "),t=0;t<e.length;t++)if(e[t].split("=")[0]===cookieName)return!0;return!1}function setCookiesAccepted(){var e=new Date;e.setTime(e.getTime()+24*cookieDaysLifeTime*60*60*1e3),document.cookie=cookieName+"=1; expires="+e.toUTCString()+"; Path=/"}function showNotification(){document.getElementById("cookie-notification").style.display="flex"}function hideNotification(){document.getElementById("cookie-notification").style.display="none"}window.addEventListener("DOMContentLoaded",function(){init()});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.