Commit b419bd4f by Orine Matsui

WPのテーマを追加

/public_html/achievement.co.jp/wp-content/themes/
parent da89d65e
Showing with 5100 additions and 0 deletions
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset=UTF-8>
<title><?php bloginfo('name'); ?></title>
<meta http-equiv="refresh" content="0;URL=<?php echo home_url(); ?>">
</head>
<body>
&nbsp;
</body>
</html>
\ No newline at end of file
<?php include(get_template_directory() . '/assets/include/header.php'); ?>
<?php include(get_template_directory() . '/assets/include/footer.php'); ?>
\ No newline at end of file
<?php $pageid = "news"; ?>
<?php include(get_template_directory() . '/assets/include/header.php'); ?>
<div class="p-news">
<section class="c-mainvisual">
<div class="c-breadcrumb pc-only">
<ul class="c-breadcrumb__inner">
<?php if (function_exists('bcn_display')) {
bcn_display();
} ?>
</ul>
</div>
<div class="c-mainvisual__inner">
<h2 class="c-mainvisual__title">ニュース</h2>
</div>
</section>
<div class="container">
<aside class="side pc-only">
<div class="side__box">
<h3 class="side__mainttl">ニュース</h3>
<ul class="side__list">
<?php
$terms = get_terms("news_tax", $args = array(
'hide_empty' => false,
'orderby' => 'count',
'order' => 'DESC',
));
foreach ($terms as $term) {
$term_link = get_term_link($term);
if ($term->count > 0) { ?>
<li class="side__item">
<?php $clActive = ((get_queried_object()->slug) == ($term->slug)) ? "is-active" : ""; ?>
<a class="side__txt <?php echo $clActive; ?>" href="<?php echo esc_url($term_link); ?>"><?php echo $term->name; ?></a>
</li>
<?php } elseif ($term->count !== 0) { ?>
<li class="side__item"><?php echo $term->name; ?></li>
<?php }
} ?>
</ul>
</div>
</aside>
<main class="content">
<ul class="list">
<?php
// $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
// $args = array(
// 'post_type' => 'news',
// 'post_status' => 'publish',
// 'posts_per_page' => 1,
// 'tax_query' => array(array(
// 'taxonomy' => 'news_tax',
// 'field' => 'slug',
// 'terms' => get_queried_object()->slug,
// )),
// 'order' => 'ASC',
// 'paged' => $paged,
// );
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
parse_str($query_string, $args);
$args += array(
'posts_per_page' => 10,
'paged' => $paged
);
$the_query = new WP_Query($args);
?>
<?php if ($the_query->have_posts()) :
while ($the_query->have_posts()) : $the_query->the_post(); ?>
<li class="list_item">
<a class="list_link" href="<?php the_permalink(); ?>">
<div class="list_info">
<div class="list_heading">
<p class="list_date"><?php echo get_the_date("Y.m.d"); ?> </p>
<?php
$terms = wp_get_post_terms($post->ID, 'news_tax', array('order' => 'DESC', 'orderby' => 'count'));
if ($terms && !is_wp_error($terms)) :
foreach ($terms as $term) { ?>
<p class="list_cat <?php echo $term->slug; ?>"><?php echo $term->name; ?></p>
<?php }
endif; ?>
</div>
<h3 class="list_title"><?php the_title(); ?></h3>
<div class="list_text">
<?php $content = get_the_content();
$input = strip_tags($content);
$output = strip_tags($content, "<a>");
echo $input; ?>
</div>
</div>
<div class="list_image">
<?php if (has_post_thumbnail()) {
the_post_thumbnail();
} else { ?>
<img src="/assets/img/news/img-news.jpg" alt="">
<?php } ?>
</div>
</a>
</li>
<?php
endwhile;
else : ?>
<p class="p-news__noevent">まだイベントはありません</p>
<?php endif;
wp_reset_postdata();
?>
</ul>
<?php wp_pagenavi(array(
'wrapper_class' => 'paging',
'query' => $the_query,
)); ?>
</main>
</div>
</div>
<script src="/common_previous/js/news.min.js"></script>
<?php include(get_template_directory() . '/assets/include/footer.php'); ?>
\ No newline at end of file
<?php include(get_template_directory() . '/assets/include/header.php'); ?>
<?php include(get_template_directory() . '/assets/include/footer.php'); ?>
\ No newline at end of file
<?php include(get_template_directory() . '/assets/include/header.php'); ?>
<?php include(get_template_directory() . '/assets/include/footer.php'); ?>
\ No newline at end of file
<?php /*========================================
btn
================================================*/ ?>
<div class="c-dev-title1">btn</div>
<?php /*----------------------------------------*/ ?>
<div class="c-dev-title2"></div>
<?php /*========================================
title
================================================*/ ?>
<div class="c-dev-title1">title</div>
<?php /*----------------------------------------*/ ?>
<div class="c-dev-title2"></div>
<?php /*========================================
icon
================================================*/ ?>
<div class="c-dev-title1">icon</div>
<?php /*----------------------------------------*/ ?>
<div class="c-dev-title2"></div>
<?php /*========================================
form
================================================*/ ?>
<div class="c-dev-title1">form</div>
<?php /*----------------------------------------*/ ?>
<div class="c-dev-title2"></div>
<?php /*========================================
text
================================================*/ ?>
<div class="c-dev-title1">text</div>
<?php /*----------------------------------------*/ ?>
<div class="c-dev-title2"></div>
<?php /*========================================
navi
================================================*/ ?>
<div class="c-dev-title1">navi</div>
<?php /*----------------------------------------*/ ?>
<div class="c-dev-title2"></div>
<?php /*========================================
img
================================================*/ ?>
<div class="c-dev-title1">img</div>
<?php /*----------------------------------------*/ ?>
<div class="c-dev-title2"></div>
<?php /*========================================
list
================================================*/ ?>
<div class="c-dev-title1">list</div>
<?php /*----------------------------------------*/ ?>
<div class="c-dev-title2"></div>
<?php /*========================================
table
================================================*/ ?>
<div class="c-dev-title1">table</div>
<?php /*----------------------------------------*/ ?>
<div class="c-dev-title2"></div>
<?php /*========================================
line
================================================*/ ?>
<div class="c-dev-title1">line</div>
<?php /*----------------------------------------*/ ?>
<div class="c-dev-title2"></div>
<?php /*========================================
video
================================================*/ ?>
<div class="c-dev-title1">video</div>
<?php /*----------------------------------------*/ ?>
<div class="c-dev-title2"></div>
<?php /*========================================
slide
================================================*/ ?>
<div class="c-dev-title1">slide</div>
<?php /*----------------------------------------*/ ?>
<div class="c-dev-title2"></div>
<?php /*========================================
other
================================================*/ ?>
<div class="c-dev-title1">other</div>
<?php /*----------------------------------------*/ ?>
<div class="c-dev-title2"></div>
<footer class="c-footer">
<div class="c-footer__inner">
<div class="c-footer__block">
<div class="c-footer__info">
<div class="c-footer__logo">
<a href="/"><img src="/assets/img/common/logo_footer.png" alt="ACHIEVEMENT" width="100" height="84"></a>
</div>
<div class="c-footer__phone">
<p class="pc-only">0120-000-638</p>
<a href="tel:0120000638" class="sp-only">0120-000-638</a>
<span>受付時間:10:30-17:00(月~土曜日)</span>
</div>
<ul class="c-footer__sns">
<li><a href="https://www.facebook.com/achievementcorp/" target="_blank"><img src="/assets/img/common/icon_facebook.png" alt="FACEBOOK" width="50" height="50"></a></li>
<li><a href="https://www.youtube.com/user/achievementCH" target="_blank"><img src="/assets/img/common/icon_youtube.png" alt="YOUTUBE" width="44" height="50"></a></li>
</ul>
</div>
<nav class="c-footer__nav">
<ul class="c-footer__list">
<li>
<a href="/service/" class="showSp">サービス</a>
<ul class="c-footer__listsub">
<li><a href="/service/top/">『頂点への道』講座</a></li>
<li><a href="/service/penetration/">理念浸透・組織変革</a></li>
<li><a href="/service/management/">マネジメント</a></li>
<li><a href="/service/sales/">営業力強化</a></li>
<li><a href="/service/rt/">人間関係</a></li>
</ul>
</li>
<li><a href="/faq/">よくある質問</a></li>
</ul>
<ul class="c-footer__list">
<li><a href="/beginner/">初めての方へ</a></li>
<li><a href="/pub/schedule#seminar">体験セミナー</a></li>
<li><a href="/case/">お客様事例</a></li>
<li><a href="/trainer/">講師一覧</a></li>
<li><a href="https://recruit.achievement.co.jp/">採用情報</a></li>
</ul>
<ul class="c-footer__list">
<li>
<a href="/company/" class="showSp">会社情報</a>
<ul class="c-footer__listsub">
<li><a href="/company/philosophy/">企業理念</a></li>
<li><a href="/company/ceo/">代表メッセージ</a></li>
<li><a href="/company/outline/">会社概要</a></li>
<li><a href="/company/officer/">役員紹介</a></li>
<li><a href="/company/csr/">SDGsについての取り組み</a></li>
<li><a href="/company/group/">グループ会社紹介</a></li>
<li><a href="/company/history/">企業沿革</a></li>
<li><a href="/company/access/">アクセス</a></li>
</ul>
</li>
</ul>
</nav>
</div>
<ul class="c-footer__list2">
<li>
<a href="https://shop.achievement.co.jp/" target="_blank"><img src="/assets/img/common/bnr_footer01.jpg" alt="" width="230" height="66"></a>
</li>
<li>
<a href="https://www.jpsa.net/" target="_blank"><img src="/assets/img/common/bnr_footer02.jpg" alt="" width="230" height="66"></a>
</li>
<li>
<a href="http://www.aokisatoshi.com/" target="_blank"><img src="/assets/img/common/bnr_footer03.jpg" alt="" width="230" height="66"></a>
</li>
<li>
<a href="https://my.ebook5.net/achievement30/" target="_blank"><img src="/assets/img/common/bnr_footer04.jpg" alt="" width="230" height="66"></a>
</li>
<li>
<a href="http://www.koushihaken.jp/" target="_blank"><img src="/assets/img/common/bnr_footer05.jpg" alt="" width="230" height="66"></a>
</li>
<li>
<a href="http://business-ct.net/" target="_blank"><img src="/assets/img/common/bnr_footer06.jpg" alt="" width="230" height="66"></a>
</li>
<li>
<a href="https://www.joshi-kai.jp/" target="_blank"><img src="/assets/img/common/bnr_footer07.jpg" alt="" width="230" height="66"></a>
</li>
<li>
<a href="https://leaders-lounge.achievement.co.jp/" target="_blank"><img src="/assets/img/common/bnr_footer08.jpg" alt="" width="230" height="66"></a>
</li>
</ul>
<ul class="c-footer__list3">
<li><a href="/member/">アチーブメントクラブ会員のご案内</a></li>
<li><a href="/marc/">会員サイトMARC</a></li>
<li><a href="/business_partner/">月刊ビジネスパートナー</a></li>
<li><a href="/sitemap/">サイトマップ</a></li>
<li><a href="/privacy/">個人情報保護取扱いについて</a></li>
<li><a href="/policy/">プライバシーポリシー</a></li>
<li><a href="/trademark/">商標について</a></li>
<li><a href="/en/">English</a></li>
</ul>
<p class="c-footer__copy">©2020 Achievement Corp.</p>
</div>
<div class="c-toTop"></div>
</footer>
<script src="/assets/js/functions.min.js"></script>
</body>
</html>
<!DOCTYPE html>
<html lang="ja" id="pagetop">
<head>
<meta charset="UTF-8">
<meta name="format-detection" content="telephone=no">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<?php include('meta.php'); ?>
<link href="/assets/css/style.css" rel="stylesheet">
<script src="/assets/js/jquery-3.3.1.min.js"></script>
<script src="/assets/js/jquery-migrate-3.0.1.min.js"></script>
<?php if($pageid == "top") { ?>
<link rel="stylesheet" href="/common_previous/css/slick.css">
<link rel="stylesheet" href="/common_previous/css/top.css">
<script type="text/javascript" src="/common_previous/js/lib/slick.min.js" charset="utf-8"></script>
<script type="text/javascript" src="/common_previous/js/lib/jquery.matchHeight-min.js" charset="utf-8"></script>
<script>
$(document).ready(function() {
$.ajax({
url: "/pub/api/experiences",
type: 'GET',
async: true,
data: {},
dataType: 'json',
success: function(response) {
$.each(response['data'], function(key, val) {
var appendItem = '' +
' <div class="c-slide1__item">\n' +
' <a href="' + val['link_url'] + '" target="_blank">\n' +
' <div class="c-slide1__img">\n' +
' <img src="' + val['img_path'] + '" alt="">\n' +
' </div>\n' +
' <div class="c-slide1__info">\n' +
' <p class="c-slide1__txt">\n' +
' <span>' + val['top_description'] + '</span>\n' +
' </p>\n' +
' </div>\n' +
' </a>\n' +
' </div>\n';
$('.c-slide1__inner').append(appendItem);
});
$('.c-slide1__inner').slick({
autoplay: true,
autoplaySpeed: 5000,
dots: false,
centerMode: true,
centerPadding: '30px',
arrows: true,
prevArrow: '<a href="javascript:void(0);" style="position: absolute; top: 50%; left: 20px; transform: translateY(-50%); -webkit-transform: translateY(-50%); z-index: 1;"><img src="/assets/img/common/icon-slick-arrow-left.png"></a>',
nextArrow: '<a href="javascript:void(0);" style="position: absolute; top: 50%; right: 20px; transform: translateY(-50%); -webkit-transform: translateY(-50%); z-index: 1;"><img src="/assets/img/common/icon-slick-arrow-right.png"></a>',
slidesToShow: 3,
slidesToScroll: 1,
infinite: true,
responsive: [{
breakpoint: 768,
settings: {
slidesToShow: 2,
}
}]
});
},
error: function(data) {
var response = $.parseJSON(data.responseText);
console.log(response.message);
}
});
$(".c-list2__info").matchHeight();
});
</script>
<?php } ?>
<?php if($pageid == "trainer-aoki") { ?>
<link rel="stylesheet" href="/common_previous/css/trainer.css">
<link rel="stylesheet" href="/common_previous/css/indivisual-base.css">
<link rel="stylesheet" type="text/css" href="/common_previous/js/lightcase/css/lightcase.css">
<script type="text/javascript" src="/common_previous/js/lightcase/js/lightcase.js"></script>
<script type="text/javascript">
jQuery(document).ready(function($) {
$('a[data-rel^=lightcase]').lightcase({
transition: 'fade',
showSequenceInfo: false,
showCaption: false
});
});
</script>
<?php } ?>
<?php if($pageid == "trainer" || $pageid == "trainer-sato" || $pageid == "trainer-ohtaka" || $pageid == "trainer-shimamura" || $pageid == "trainer-maruyama" || $pageid == "trainer-takagi" || $pageid == "trainer-nakano" || $pageid == "trainer-hashimoto" || $pageid == "trainer-sakata" || $pageid == "trainer-hayase" || $pageid == "trainer-kakitani" || $pageid == "trainer-murata" || $pageid == "trainer-shigetomi" || $pageid == "trainer-izumi" || $pageid == "trainer-nagisa" || $pageid == "trainer-sakakura" || $pageid == "trainer-hariu" || $pageid == "trainer-jito" || $pageid == "trainer-okamoto") { ?>
<link rel="stylesheet" href="/common_previous/css/trainer.css">
<link rel="stylesheet" href="/common_previous/css/indivisual-base.css">
<?php } ?>
<?php if($pageid == "schedule") { ?>
<link rel="stylesheet" href="/common_previous/css/indivisual-base.css">
<link rel="stylesheet" href="/common_previous/css/schedule.css">
<?php } ?>
<?php if($pageid == "management" || $pageid == "rt" || $pageid == "sales" || $pageid == "penetration") { ?>
<link rel="stylesheet" href="/common_previous/css/management.css">
<link rel="stylesheet" href="/common_previous/css/indivisual-base.css">
<?php } ?>
<?php if($pageid == "strategy") { ?>
<link rel="stylesheet" href="/common_previous/css/indivisual-base.css">
<link rel="stylesheet" href="/common_previous/css/strategy.css">
<?php } ?>
<?php if($pageid == "seminar") { ?>
<link rel="stylesheet" href="/common_previous/css/indivisual-base.css">
<link rel="stylesheet" href="/common_previous/css/seminar.css">
<?php } ?>
<?php if($pageid == "service") { ?>
<link rel="stylesheet" href="/common_previous/css/indivisual-base.css">
<link rel="stylesheet" href="/common_previous/css/service.css">
<script src="/common_previous/js/lib/jquery.matchHeight-min.js"></script>
<script type="text/javascript">
$(".c-list2__img").matchHeight();
</script>
<?php } ?>
<?php if($pageid == "case-kita" || $pageid == "case-kanai" || $pageid == "case-iwata" || $pageid == "case-kobayashi" || $pageid == "case-kurose" || $pageid == "case-mihara" || $pageid == "case-nagasawa" || $pageid == "case-watanabe") { ?>
<link rel="stylesheet" href="/common_previous/css/trainer.css">
<link rel="stylesheet" href="/common_previous/css/case.css">
<link rel="stylesheet" href="/common_previous/css/indivisual-base.css">
<?php } ?>
<?php if($pageid == "case") { ?>
<link rel="stylesheet" href="/common_previous/css/trainer.css">
<link rel="stylesheet" href="/common_previous/css/case.css">
<link rel="stylesheet" href="/common_previous/css/indivisual-base.css">
<script src="/common_previous/js/lib/jquery.matchHeight-min.js"></script>
<?php } ?>
<?php if($pageid == "atc" || $pageid == "course" || $pageid == "workshop" || $pageid == "follow" || $pageid == "cpsp" || $pageid == "bwms" || $pageid == "access-tokyo" || $pageid == "access-osaka" || $pageid == "access-fukuoka" || $pageid == "access-aichi" || $pageid == "access-yokohama") { ?>
<link rel="stylesheet" href="/common_previous/css/trainer.css">
<?php } ?>
<?php if($pageid == "philosophy" || $pageid == "ceo" || $pageid == "outline" || $pageid == "officer" || $pageid == "csr" || $pageid == "group" || $pageid == "history" || $pageid == "news") { ?>
<link rel="stylesheet" href="/common_previous/css/trainer.css">
<link rel="stylesheet" href="/common_previous/css/indivisual-base.css">
<?php } ?>
<?php if($pageid == "news" || $pageid == "news-info" || $pageid == "news-20200413" || $pageid == "news-20200407" || $pageid == "news-20200401" || $pageid == "news-20200328" || $pageid == "news-20200327" || $pageid == "news-20200326" || $pageid == "news-20200324" || $pageid == "news-20200320" || $pageid == "news-20200310" || $pageid == "news-20200302" || $pageid == "news-20200227" || $pageid == "news-20200226" || $pageid == "news-20200221" || $pageid == "news-20200217" || $pageid == "category-news") { ?>
<link rel="stylesheet" href="/common_previous/css/trainer.css">
<link rel="stylesheet" href="/common_previous/css/indivisual-base.css">
<link rel="stylesheet" href="/common_previous/css/news.css">
<?php } ?>
<?php if($pageid == "company-access") { ?>
<link rel="stylesheet" href="/common_previous/css/trainer.css">
<script src="/common_previous/js/lib/jquery.matchHeight-min.js"></script>
<?php } ?>
<?php if($pageid == "beginner" || $pageid == "choicetheory" || $pageid == "technology") { ?>
<link rel="stylesheet" href="/common_previous/css/service.css">
<?php } ?>
<?php if($pageid == "other" || $pageid == "faq" || $pageid == "marc" || $pageid == "privacy" || $pageid == "policy" || $pageid == "member" || $pageid == "trademark" || $pageid == "sitemap" || $pageid == "business_partner") { ?>
<link rel="stylesheet" href="/common_previous/css/other.css">
<?php } ?>
<?php if($pageid == "contact" || $pageid == "catalogue") { ?>
<link rel="stylesheet" href="/common_previous/css/other.css">
<link rel="stylesheet" href="/common_previous/css/contact.css">
<?php } ?>
<?php if($pageid == "contact-form") { ?>
<link rel="stylesheet" href="/common_previous/css/other.css">
<link rel="stylesheet" href="/common_previous/css/contact.css">
<link rel="stylesheet" href="/common_previous/css/form.css">
<?php } ?>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-3405083-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'UA-3405083-1');
</script>
</head>
<body class="page-<?php echo $pageid; ?>">
<header class="c-header">
<div class="c-header1">
<h1 class="c-header1-logo">
<a href="/" class="c-header1-logoLink">
<img src="/assets/img/common/logo.png" alt="">
</a>
</h1>
<div class="c-header1-link">
<a href="/contact/" class="c-header1-link1">お問い合わせ</a>
<a href="/catalogue/" class="c-header1-link1">資料ダウンロード</a>
</div>
<div class="c-header1-btn">
<a href="/schedule/" class="c-header1-btn1">
<img class="pc-only" src="/assets/img/common/icon-calendar.png" alt="">
<img class="sp-only" src="/assets/img/common/calendar-sp.png" alt="">
<span class="c-header1-btn1-text">講座日程一覧</span>
</a>
<a href="https://marc2.achievement.co.jp/" class="c-header1-btn1 c-header1-btn1--red" target="_blank">
<img class="pc-only" src="/assets/img/common/icon-door.png" alt="">
<img class="sp-only" src="/assets/img/common/door-sp.png" alt="">
<span class="c-header1-btn1-text">ログイン</span>
</a>
</div>
<div class="menu-icon">
<span></span>
<span></span>
<span></span>
</div>
</div>
<div class="c-header2 sp-only">
<a href="/strategy/" class="c-header2-link1"><span>『頂点への道』講座</span><br>体験説明会</a>
<a href="/pub/schedule/#seminar" class="c-header2-link2">講演会</a>
<a href="/catalogue/" class="c-header2-link3">資料請求</a>
</div>
<nav class="c-nav nav-sp">
<ul class="c-nav-menu1">
<li><a href="/" class="c-nav-link1">トップ</a></li>
<li><a href="/schedule/" class="c-nav-link1">公開講座 日程一覧</a></li>
<li><a href="/pub/schedule/#seminar" class="c-nav-link1">体験セミナー</a></li>
<li>
<p class="c-nav-link1">サービス</p>
<div class="c-navSP">
<ul class="c-navSP-menu">
<li><a href="/service/" class="c-nav-link1">サービストップ</a></li>
<li><a href="/service/top/" class="c-nav-link1">『頂点への道』講座</a></li>
<li><a href="/service/penetration/" class="c-nav-link1">理念浸透・組織変革</a></li>
<li><a href="/service/management/" class="c-nav-link1">マネジメント</a></li>
<li><a href="/service/sales/" class="c-nav-link1">営業力強化</a></li>
<li><a href="/service/rt/" class="c-nav-link1">人間関係</a></li>
</ul>
</div>
</li>
<li>
<p class="c-nav-link1">初めての方へ</p>
<div class="c-navSP">
<ul class="c-navSP-menu">
<li><a href="/beginner/" class="c-nav-link1">初めての方へトップ</a></li>
<li><a href="/beginner/choicetheory/" class="c-nav-link1">選択理論</a></li>
<li><a href="/beginner/technology/" class="c-nav-link1">目標達成の技術</a></li>
</ul>
</div>
</li>
<li><a href="/case/" class="c-nav-link1">お客様事例</a></li>
<li>
<p class="c-nav-link1">講師紹介</p>
<div class="c-navSP">
<ul class="c-navSP-menu">
<li><a href="/trainer/" class="c-nav-link1">講師紹介トップ</a></li>
<li><a href="/trainer/aoki/" class="c-nav-link1">青木 仁志</a></li>
<li><a href="/trainer/sato/" class="c-nav-link1">佐藤 英郎</a></li>
<li><a href="/trainer/ohtaka/" class="c-nav-link1">大高 弘之</a></li>
<li><a href="/trainer/shimamura/" class="c-nav-link1">嶌村 武男</a></li>
<li><a href="/trainer/maruyama/" class="c-nav-link1">丸山 直樹</a></li>
<li><a href="/trainer/takagi/" class="c-nav-link1">高木 謙治</a></li>
<li><a href="/trainer/nakano/" class="c-nav-link1">中野 銀次郎</a></li>
<li><a href="/trainer/hashimoto/" class="c-nav-link1">橋本 拓也</a></li>
<li><a href="/trainer/sakata/" class="c-nav-link1">坂田 健</a></li>
<li><a href="/trainer/kakitani/" class="c-nav-link1">柿谷 正期</a></li>
<li><a href="/trainer/murata/" class="c-nav-link1">村田 泉</a></li>
<li><a href="/trainer/shigetomi/" class="c-nav-link1">重富 雅晴</a></li>
<li><a href="/trainer/izumi/" class="c-nav-link1">和泉 大</a></li>
<li><a href="/trainer/nagisa/" class="c-nav-link1">渚 知子</a></li>
<li><a href="/trainer/sakakura/" class="c-nav-link1">坂倉 央樹</a></li>
<li><a href="/trainer/hariu/" class="c-nav-link1">針生 栄司</a></li>
</ul>
</div>
</li>
<li>
<p class="c-nav-link1">会社情報</p>
<div class="c-navSP">
<ul class="c-navSP-menu">
<li><a href="/company/" class="c-nav-link1">会社情報トップ</a></li>
<li><a href="/company/philosophy/" class="c-nav-link1">企業理念</a></li>
<li><a href="/company/ceo/" class="c-nav-link1">代表メッセージ</a></li>
<li><a href="/company/outline/" class="c-nav-link1">会社概要</a></li>
<li><a href="/company/officer/" class="c-nav-link1">役員紹介</a></li>
<li><a href="/company/csr/" class="c-nav-link1">SDGsについての取り組み</a></li>
<li><a href="/company/group/" class="c-nav-link1">グループ会社紹介</a></li>
<li><a href="/company/history/" class="c-nav-link1">企業沿革</a></li>
</ul>
</div>
</li>
<li>
<p class="c-nav-link1">アクセス</p>
<div class="c-navSP">
<ul class="c-navSP-menu">
<li><a href="/company/access/" class="c-nav-link1">アクセストップ</a></li>
<li><a href="/company/access/tokyo/" class="c-nav-link1">東京本社</a></li>
<li><a href="/company/access/osaka/" class="c-nav-link1">大阪支社</a></li>
<li><a href="/company/access/fukuoka/" class="c-nav-link1">福岡支店</a></li>
<li><a href="/company/access/aichi/" class="c-nav-link1">名古屋営業所</a></li>
<li><a href="/company/access/yokohama/" class="c-nav-link1">横浜営業所</a></li>
</ul>
</div>
</li>
<li>
<p class="c-nav-link1">その他</p>
<div class="c-navSP">
<ul class="c-navSP-menu">
<li><a href="/news/" class="c-nav-link1">ニュース一覧</a></li>
<li><a href="/member/" class="c-nav-link1">アチーブメントクラブ会員のご案内</a></li>
<li><a href="/partner/" class="c-nav-link1">月刊ビジネスパートナー</a></li>
<li><a href="/contact/" class="c-nav-link1">お問い合わせ</a></li>
<li><a href="/catalogue/" class="c-nav-link1">資料ダウンロード</a></li>
<li><a href="/faq/" class="c-nav-link1">よくある質問</a></li>
<li><a href="/sitemap/" class="c-nav-link1">サイトマップ</a></li>
<li><a href="/en/" class="c-nav-link1">English</a></li>
<li><a href="https://achievement-hrs.co.jp/" class="c-nav-link1">組織変革コンサルティング</a></li>
<li><a href="/youth/" class="c-nav-link1">学生キャリア支援</a></li>
<li><a href="/recruit/" class="c-nav-link1">採用情報</a></li>
</ul>
</div>
</li>
</ul>
</nav>
<nav class="c-nav">
<ul class="c-nav-menu1">
<li data-target="home1" class="sv">
<a href="/service/" class="c-nav-link1"><span class="c-nav-text-service">サービス</span></a>
<div class="c-navService">
<ul class="c-nav-sab">
<li><a href="/service/top/" class="c-nav-sab-link1"><span class="c-nav-sab-img"><img src="/assets/img/common/img_top_tmb.jpg" alt=""></span><span class="c-nav-sab-text">『頂点への道』講座</span></a></li>
<li><a href="/service/penetration/" class="c-nav-sab-link1"><span class="c-nav-sab-img"><img src="/assets/img/common/img_penetration_tmb.jpg" alt=""></span><span class="c-nav-sab-text">理念浸透・組織変革</span></a></li>
<li><a href="/service/management/" class="c-nav-sab-link1"><span class="c-nav-sab-img"><img src="/assets/img/common/img_management_tmb.jpg" alt=""></span><span class="c-nav-sab-text">マネジメント</span></a></li>
<li><a href="/service/sales/" class="c-nav-sab-link1"><span class="c-nav-sab-img"><img src="/assets/img/common/img_sales_tmb.jpg" alt=""></span><span class="c-nav-sab-text">営業力強化</span></a></li>
<li><a href="/service/rt/" class="c-nav-sab-link1"><span class="c-nav-sab-img"><img src="/assets/img/common/img_rt_tmb.jpg" alt=""></span><span class="c-nav-sab-text">人間関係</span></a></li>
</ul>
</div>
</li>
<li data-target="home2">
<a href="/pub/schedule#seminar" class="c-nav-link1"><span class="c-nav-text">体験セミナー</span></a>
</li>
<li data-target="home3">
<a href="/beginner/" class="c-nav-link1"><span class="c-nav-text">初めての方へ</span></a>
</li>
<li data-target="home4">
<a href="/case/" class="c-nav-link1"><span class="c-nav-text">お客様事例</span></a>
</li>
<li data-target="home5">
<a href="/company/" class="c-nav-link1"><span class="c-nav-text">会社情報</span></a>
</li>
<li data-target="home6">
<a href="/company/access/" class="c-nav-link1"><span class="c-nav-text">アクセス</span></a>
</li>
</ul>
</nav>
</header>
<?php
//default
$title = "sitename";
$description = "description";
$pageurl = "https://achievement.co.jp/xxxxxx/";
$sitetype = "article";
if ($pageid == "top") {
$title = "人材教育コンサルティングのアチーブメント株式会社";
$description = "アチーブメント株式会社は個人の目標達成を支援する人材教育コンサルティング会社です。選択理論心理学を基礎理論としたプログラムで、経営者、プロフェッショナル職の目標達成を支援しています。";
$pageurl = "https://achievement.co.jp/";
}
if ($pageid == "schedule") {
$title = "公開講座日程一覧 | アチーブメント株式会社";
$description = "人材教育・個人コンサルティングのアチーブメントは選択理論を基礎理論とした教育で、お客様の目標達成を支援します。公開講座日程一覧について掲載しています。";
$pageurl = "https://achievement.co.jp/schedule/";
}
if ($pageid == "strategy") {
$title = "『頂点への道』講座 体験説明会 | アチーブメント株式会社";
$description = "戦略的目標達成プログラム『頂点への道』講座 体験説明会のご案内です。人材教育・個人コンサルティングのアチーブメントは、選択理論を基礎理論とした教育で、お客様の目標達成を支援します。";
$pageurl = "https://achievement.co.jp/strategy/";
}
if ($pageid == "service") {
$title = "サービス | アチーブメント株式会社";
$description = "人材教育コンサルティングサービスを提供するアチーブメント株式会社の公式ウェブサイト。アチーブメントのサービスについて掲載しています。";
$pageurl = "https://achievement.co.jp/service/";
}
if ($pageid == "service_top") {
$title = "『頂点への道』講座 | アチーブメント株式会社";
$description = "人材教育・個人コンサルティングのアチーブメントは『頂点への道』講座、営業力強化、管理職・マネジメント研修、経営者サービスなど、選択理論を基礎理論とした教育で、お客様の目標達成を支援します。";
$pageurl = "https://achievement.co.jp/service_top/";
}
if ($pageid == "atc") {
$title = "『頂点への道』講座 アチーブメントテクノロジーコース特別講座 | アチーブメント株式会社";
$description = "人材教育・個人コンサルティングのアチーブメントは選択理論を基礎理論とした教育で、お客様の目標達成を支援します。『頂点への道』講座 アチーブメントテクノロジーコース特別講座について掲載しています。";
$pageurl = "https://achievement.co.jp/service/top/atc_sp/";
}
if ($pageid == "follow") {
$title = "『頂点への道』講座フォローアップ 成功する計画の立て方、実行の仕方セミナー | アチーブメント株式会社";
$description = "人材教育・個人コンサルティングのアチーブメントは選択理論を基礎理論とした教育で、お客様の目標達成を支援します。『頂点への道』講座フォローアップ 成功する計画の立て方、実行の仕方セミナーについて掲載しています。";
$pageurl = "https://achievement.co.jp/service/top/follow/";
}
if ($pageid == "penetration") {
$title = "理念浸透・組織変革 | アチーブメント株式会社";
$description = "人材教育・個人コンサルティングのアチーブメントは選択理論を基礎理論とした教育で、お客様の目標達成を支援します。理念浸透・組織変革について掲載しています。";
$pageurl = "https://achievement.co.jp/service/penetration/";
}
if ($pageid == "cpsp") {
$title = "理念浸透プログラム実践講座 | アチーブメント株式会社";
$description = "人材教育・個人コンサルティングのアチーブメントは選択理論を基礎理論とした教育で、お客様の目標達成を支援します。理念浸透プログラム実践講座について掲載しています。";
$pageurl = "https://achievement.co.jp/service/penetration/cpsp/";
}
if ($pageid == "management") {
$title = "マネジメント | アチーブメント株式会社";
$description = "人材教育・個人コンサルティングのアチーブメントは選択理論を基礎理論とした教育で、お客様の目標達成を支援します。マネジメントについて掲載しています。";
$pageurl = "https://achievement.co.jp/service/management/";
}
if ($pageid == "bwms") {
$title = "ボース・ウィン・マネジメント シリーズ | アチーブメント株式会社";
$description = "人材教育・個人コンサルティングのアチーブメントは選択理論を基礎理論とした教育で、お客様の目標達成を支援します。ボース・ウィン・マネジメント シリーズについて掲載しています。";
$pageurl = "https://achievement.co.jp/service/management/bwms/";
}
if ($pageid == "sales") {
$title = "営業力強化 | アチーブメント株式会社";
$description = "人材教育・個人コンサルティングのアチーブメントは選択理論を基礎理論とした教育で、お客様の目標達成を支援します。営業力強化について掲載しています。";
$pageurl = "https://achievement.co.jp/service/sales/";
}
if ($pageid == "rt") {
$title = "人間関係 | アチーブメント株式会社";
$description = "人材教育・個人コンサルティングのアチーブメントは選択理論を基礎理論とした教育で、お客様の目標達成を支援します。人間関係について掲載しています。";
$pageurl = "https://achievement.co.jp/service/rt/";
}
if ($pageid == "course") {
$title = "選択理論(リアリティセラピー) | アチーブメント株式会社";
$description = "人材教育・個人コンサルティングのアチーブメントは選択理論を基礎理論とした教育で、お客様の目標達成を支援します。選択理論(リアリティセラピー)について掲載しています。";
$pageurl = "https://achievement.co.jp/service/rt/course/";
}
if ($pageid == "workshop") {
$title = "リアリティセラピー研究会 | アチーブメント株式会社";
$description = "人材教育・個人コンサルティングのアチーブメントは選択理論を基礎理論とした教育で、お客様の目標達成を支援します。リアリティセラピー研究会について掲載しています。";
$pageurl = "https://achievement.co.jp/service/rt/workshop/";
}
if ($pageid == "beginner") {
$title = "初めての方へ | アチーブメント株式会社";
$description = "人材教育・個人コンサルティングのアチーブメントは選択理論を基礎理論とした教育で、お客様の目標達成を支援します。初めての方へについて掲載しています。";
$pageurl = "https://achievement.co.jp/beginner/";
}
if ($pageid == "choicetheory") {
$title = "選択理論 | アチーブメント株式会社";
$description = "人材教育・個人コンサルティングのアチーブメントは選択理論を基礎理論とした教育で、お客様の目標達成を支援します。選択理論について掲載しています。";
$pageurl = "https://achievement.co.jp/beginner/choicetheory/";
}
if ($pageid == "technology") {
$title = "目標達成の技術 | アチーブメント株式会社";
$description = "人材教育・個人コンサルティングのアチーブメントは選択理論を基礎理論とした教育で、お客様の目標達成を支援します。目標達成の技術(アチーブメントテクノロジー)について掲載しています。";
$pageurl = "https://achievement.co.jp/beginner/technology/";
}
if ($pageid == "case") {
$title = "お客様事例 | アチーブメント株式会社";
$description = "アチーブメントのセミナーやサービスを活用し、成果をあげるビジネススキル・ノウハウを体得された方の事例をご紹介します。";
$pageurl = "https://achievement.co.jp/case/";
}
if ($pageid == "case-kita") {
$title = "顧問先を7倍に増やした「双方勝利」の職業観 | アチーブメント株式会社";
$description = "【喜多 英博(喜多法律事務所 代表弁護士)|お客様事例】1973年福岡県生まれ。慶應義塾大学法学部卒。大学卒業の年に弁護士資格を得る。30歳のときには、昭和46年の最高裁判決以";
$pageurl = "https://achievement.co.jp/case/kita/";
}
if ($pageid == "case-iwata") {
$title = "「離職0」と「最高収益」を両立した自己概念と人間関係の変革 | アチーブメント株式会社";
$description = "【岩田龍裕(岩田建設株式会社 代表取締役)|お客様事例】26歳で建設会社経営の道に進み、受け継いだ会社が抱えた多額の借金を完済。成果を出し続けるなか社内の人間関係が崩れるも立て";
$pageurl = "https://achievement.co.jp/case/iwata/";
}
if ($pageid == "case-watanabe") {
$title = "自分中心からの脱却、誰も負かせない全体勝利への道 | アチーブメント株式会社";
$description = "【渡邊勝也 (税理士法人TAXGYM 代表社員)|お客様事例】1973年生まれ。学生の頃はアメリカンフットボールに打ち込み、卒業後は専門職業人としての道を歩む傍らで、ベンチプレッサー";
$pageurl = "https://achievement.co.jp/case/watanabe/";
}
if ($pageid == "case-mihara") {
$title = "理念浸透・全国の店舗の人材育成を行い、売上は3か月で5倍、1年で10倍に | アチーブメント株式会社";
$description = "【三原 孔明(レナード株式会社 代表取締役)|お客様事例】前職の国産美容機器メーカー営業部長、50店舗のエステサロン取締役社長を経て、2012年に独立。サロンの成功・失敗事例を元";
$pageurl = "https://achievement.co.jp/case/mihara/";
}
if ($pageid == "case-kobayashi") {
$title = "スポーツトレーナーとして夢をかなえ、選択理論に基づく業界の地位向上へ | アチーブメント株式会社";
$description = "【小林英健(学校法人近畿医療学園 近畿医療専門学校 理事長 株式会社KMC 小林整骨院グループ 総院長)|お客様事例】1958年生まれ。さまざまな療法の長所を取り入れ進化させた「小林式背骨矯正法」を確立し、続々と整骨院を開院。小林整骨院グ";
$pageurl = "https://achievement.co.jp/case/kobayashi/";
}
if ($pageid == "case-nagasawa") {
$title = "『理念』がすべてを繋ぎ、理念浸透が劇的に促進 | アチーブメント株式会社";
$description = "【長澤貢多(ナサ工業株式会社 代表取締役)|お客様事例】大学卒業後、住宅メーカーにて勤務後、1969年創業の父の会社を事業承継する。『頂点への道』講座を受講後、理念体系のもとに";
$pageurl = "https://achievement.co.jp/case/nagasawa/";
}
if ($pageid == "case-kanai") {
$title = "未来を拓いたのは事前対応と素直な実践 | アチーブメント株式会社";
$description = "【金井稔(外資系生命保険会社  部長)|お客様事例】1973年北海道生まれ。大学卒業後、外資系製薬会社を経て、医療機器専門商社にて11年間勤務。最年少で課長に昇進し、地方拠";
$pageurl = "https://achievement.co.jp/case/kanai/";
}
if ($pageid == "case-kurose") {
$title = "職場に「楽しい」の声が生まれるまで | アチーブメント株式会社";
$description = "【黒瀬基尋(医療法人参方善さくら会 さくら歯科 理事長)|お客様事例】1973年岐阜県岐阜市生まれ。1998年日本大学松戸歯学部卒業後、2005年にさくら歯科開業。その後も、さくら歯科を拡張";
$pageurl = "https://achievement.co.jp/case/kurose/";
}
if ($pageid == "trainer") {
$title = "講師紹介 | アチーブメント株式会社";
$description = "人材教育・個人コンサルティングのアチーブメントは選択理論を基礎理論とした教育で、お客様の目標達成を支援します。講師紹介について掲載しています。";
$pageurl = "https://achievement.co.jp/trainer/";
}
if ($pageid == "trainer-aoki") {
$title = "青木 仁志 | アチーブメント株式会社";
$description = "人材教育・個人コンサルティングのアチーブメントは選択理論を基礎理論とした教育で、お客様の目標達成を支援します。青木仁志について掲載しています。";
$pageurl = "https://achievement.co.jp/trainer/aoki/";
}
if ($pageid == "trainer-sato") {
$title = "佐藤 英郎 | アチーブメント株式会社";
$description = "人材教育・個人コンサルティングのアチーブメントは選択理論を基礎理論とした教育で、お客様の目標達成を支援します。佐藤英郎について掲載しています。";
$pageurl = "https://achievement.co.jp/trainer/sato/";
}
if ($pageid == "trainer-ohtaka") {
$title = "大高 弘之 | アチーブメント株式会社";
$description = "人材教育・個人コンサルティングのアチーブメントは選択理論を基礎理論とした教育で、お客様の目標達成を支援します。大高弘之について掲載しています。";
$pageurl = "https://achievement.co.jp/trainer/ohtaka/";
}
if ($pageid == "trainer-shimamura") {
$title = "嶌村 武男 | アチーブメント株式会社";
$description = "人材教育・個人コンサルティングのアチーブメントは選択理論を基礎理論とした教育で、お客様の目標達成を支援します。嶌村武男について掲載しています。";
$pageurl = "https://achievement.co.jp/trainer/shimamura/";
}
if ($pageid == "trainer-maruyama") {
$title = "丸山 直樹 | アチーブメント株式会社";
$description = "人材教育・個人コンサルティングのアチーブメントは選択理論を基礎理論とした教育で、お客様の目標達成を支援します。丸山直樹について掲載しています。";
$pageurl = "https://achievement.co.jp/trainer/maruyama/";
}
if ($pageid == "trainer-takagi") {
$title = "高木 謙治 | アチーブメント株式会社";
$description = "人材教育・個人コンサルティングのアチーブメントは選択理論を基礎理論とした教育で、お客様の目標達成を支援します。高木謙治について掲載しています。";
$pageurl = "https://achievement.co.jp/trainer/takagi/";
}
if ($pageid == "trainer-nakano") {
$title = "中野 銀次郎 | アチーブメント株式会社";
$description = "人材教育・個人コンサルティングのアチーブメントは選択理論を基礎理論とした教育で、お客様の目標達成を支援します。中野銀次郎について掲載しています。";
$pageurl = "https://achievement.co.jp/trainer/nakano/";
}
if ($pageid == "trainer-hashimoto") {
$title = "橋本 拓也 | アチーブメント株式会社";
$description = "人材教育・個人コンサルティングのアチーブメントは選択理論を基礎理論とした教育で、お客様の目標達成を支援します。橋本拓也について掲載しています。";
$pageurl = "https://achievement.co.jp/trainer/hashimoto/";
}
if ($pageid == "trainer-sakata") {
$title = "坂田 健 | アチーブメント株式会社";
$description = "人材教育・個人コンサルティングのアチーブメントは選択理論を基礎理論とした教育で、お客様の目標達成を支援します。坂田健について掲載しています。";
$pageurl = "https://achievement.co.jp/trainer/sakata/";
}
if ($pageid == "trainer-kakitani") {
$title = "柿谷 正期 | アチーブメント株式会社";
$description = "人材教育・個人コンサルティングのアチーブメントは選択理論を基礎理論とした教育で、お客様の目標達成を支援します。柿谷正期について掲載しています。";
$pageurl = "https://achievement.co.jp/trainer/kakitani/";
}
if ($pageid == "trainer-murata") {
$title = "村田 泉 | アチーブメント株式会社";
$description = "人材教育・個人コンサルティングのアチーブメントは選択理論を基礎理論とした教育で、お客様の目標達成を支援します。村田泉について掲載しています。";
$pageurl = "https://achievement.co.jp/trainer/murata/";
}
if ($pageid == "trainer-shigetomi") {
$title = "重富 雅晴 | アチーブメント株式会社";
$description = "人材教育・個人コンサルティングのアチーブメントは選択理論を基礎理論とした教育で、お客様の目標達成を支援します。重富雅晴について掲載しています。";
$pageurl = "https://achievement.co.jp/trainer/shigetomi/";
}
if ($pageid == "trainer-izumi") {
$title = "和泉 大 | アチーブメント株式会社";
$description = "人材教育・個人コンサルティングのアチーブメントは選択理論を基礎理論とした教育で、お客様の目標達成を支援します。和泉大について掲載しています。";
$pageurl = "https://achievement.co.jp/trainer/izumi/";
}
if ($pageid == "trainer-nagisa") {
$title = "渚 知子 | アチーブメント株式会社";
$description = "人材教育・個人コンサルティングのアチーブメントは選択理論を基礎理論とした教育で、お客様の目標達成を支援します。渚知子について掲載しています。";
$pageurl = "https://achievement.co.jp/trainer/nagisa/";
}
if ($pageid == "trainer-sakakura") {
$title = "坂倉 央樹 | アチーブメント株式会社";
$description = "人材教育・個人コンサルティングのアチーブメントは選択理論を基礎理論とした教育で、お客様の目標達成を支援します。坂倉央樹について掲載しています。";
$pageurl = "https://achievement.co.jp/trainer/sakakura/";
}
if ($pageid == "trainer-hariu") {
$title = "針生 栄司 | アチーブメント株式会社";
$description = "人材教育・個人コンサルティングのアチーブメントは選択理論を基礎理論とした教育で、お客様の目標達成を支援します。針生栄司について掲載しています。";
$pageurl = "https://achievement.co.jp/trainer/hariu/";
}
if ($pageid == "company") {
$title = "会社情報 | アチーブメント株式会社";
$description = "人材教育コンサルティングサービスを提供するアチーブメント株式会社の公式ウェブサイト。会社情報について掲載しています。";
$pageurl = "https://achievement.co.jp/company/";
}
if ($pageid == "philosophy") {
$title = "企業理念 | アチーブメント株式会社";
$description = "人材教育コンサルティングサービスを提供するアチーブメント株式会社の公式ウェブサイト。企業理念について掲載しています。";
$pageurl = "https://achievement.co.jp/company/philosophy/";
}
if ($pageid == "ceo") {
$title = "代表メッセージ | アチーブメント株式会社";
$description = "人材教育コンサルティングサービスを提供するアチーブメント株式会社の公式ウェブサイト。代表メッセージについて掲載しています。";
$pageurl = "https://achievement.co.jp/company/ceo/";
}
if ($pageid == "outline") {
$title = "会社概要 | アチーブメント株式会社";
$description = "人材教育コンサルティングサービスを提供するアチーブメント株式会社の公式ウェブサイト。会社概要について掲載しています。";
$pageurl = "https://achievement.co.jp/company/outline/";
}
if ($pageid == "officer") {
$title = "役員紹介 | アチーブメント株式会社";
$description = "人材教育コンサルティングサービスを提供するアチーブメント株式会社の公式ウェブサイト。役員情報について掲載しています。";
$pageurl = "https://achievement.co.jp/company/officer/";
}
if ($pageid == "csr") {
$title = "SDGsについての取り組み | アチーブメント株式会社";
$description = "人材教育コンサルティングサービスを提供するアチーブメント株式会社の公式ウェブサイト。SDGsについての取り組みについて掲載しています。";
$pageurl = "https://achievement.co.jp/company/csr/";
}
if ($pageid == "group") {
$title = "グループ会社紹介 | アチーブメント株式会社";
$description = "人材教育コンサルティングサービスを提供するアチーブメント株式会社の公式ウェブサイト。グループ会社紹介について掲載しています。";
$pageurl = "https://achievement.co.jp/company/group/";
}
if ($pageid == "history") {
$title = "企業沿革 | アチーブメント株式会社";
$description = "人材教育コンサルティングサービスを提供するアチーブメント株式会社の公式ウェブサイト。企業沿革について掲載しています。";
$pageurl = "https://achievement.co.jp/company/history/";
}
if ($pageid == "company-access") {
$title = "アクセス | アチーブメント株式会社";
$description = "人材教育コンサルティングサービスを提供するアチーブメント株式会社の公式ウェブサイト。アクセスについて掲載しています。";
$pageurl = "https://achievement.co.jp/company/access/";
}
if ($pageid == "access-tokyo") {
$title = "東京本社 | アチーブメント株式会社";
$description = "アチーブメント株式会社本社(アチーブメント東京研修センター)の会場までの地図を掲載しています。";
$pageurl = "https://achievement.co.jp/company/access/tokyo/";
}
if ($pageid == "access-osaka") {
$title = "大阪支社 | アチーブメント株式会社";
$description = "アチーブメント株式会社大阪支社(大阪研修センター)の会場までのアクセス情報を掲載しています。";
$pageurl = "https://achievement.co.jp/company/access/osaka/";
}
if ($pageid == "access-fukuoka") {
$title = "福岡支店 | アチーブメント株式会社";
$description = "アチーブメント株式会社福岡支店(サットンホテル博多シティ4F)の会場までのアクセス情報を掲載しています。";
$pageurl = "https://achievement.co.jp/company/access/fukuoka/";
}
if ($pageid == "access-aichi") {
$title = "名古屋営業所 | アチーブメント株式会社";
$description = "アチーブメント株式会社名古屋営業所(昭和ビル1F)の会場までのアクセス情報を掲載しています。";
$pageurl = "https://achievement.co.jp/company/access/aichi/";
}
if ($pageid == "access-yokohama") {
$title = "横浜営業所 | アチーブメント株式会社";
$description = "アチーブメント株式会社本社横浜営業所(三共横浜ビル)の会場までのアクセス情報を掲載しています。";
$pageurl = "https://achievement.co.jp/company/access/yokohama/";
}
if ($pageid == "news") {
$title = "ニュース一覧 | アチーブメント株式会社";
$description = "人材教育コンサルティングサービスを提供するアチーブメント株式会社の公式ウェブサイト。ニュースについて掲載しています。";
$pageurl = "https://achievement.co.jp/news/";
}
if ($pageid == "news-info") {
$title = "お知らせ | アチーブメント株式会社";
$description = "人材教育コンサルティングサービスを提供するアチーブメント株式会社の公式ウェブサイト。ニュースについて掲載しています。";
$pageurl = "https://achievement.co.jp/news/info/";
}
if (get_queried_object()->slug == "info") {
$title = "会社情報 | アチーブメント株式会社";
$description = "人材教育コンサルティングサービスを提供するアチーブメント株式会社の公式ウェブサイト。ニュースについて掲載しています。";
$pageurl = "https://achievement.co.jp/news/info/";
}
if (get_queried_object()->slug == "publicity") {
$title = "パブリシティ | アチーブメント株式会社";
$description = "人材教育コンサルティングサービスを提供するアチーブメント株式会社の公式ウェブサイト。ニュースについて掲載しています。";
$pageurl = "https://achievement.co.jp/news/publicity/";
}
if (get_queried_object()->slug == "press") {
$title = "プレスリリース | アチーブメント株式会社";
$description = "人材教育コンサルティングサービスを提供するアチーブメント株式会社の公式ウェブサイト。ニュースについて掲載しています。";
$pageurl = "https://achievement.co.jp/news/press/";
}
if ($pageid == "news-20200409") {
$title = "セミナー開催日程の追加と、一部中止のお知らせ | アチーブメント株式会社";
$description = "セミナー開催日程の追加と、一部中止のお知らせ";
$pageurl = "https://achievement.co.jp/news/info/details/20200409/";
}
if ($pageid == "news-20200407") {
$title = "新型コロナウイルス感染対策に伴う、各種講座・セミナー開催中止のお知らせ(4月7日更新) | アチーブメント株式会社";
$description = "新型コロナウイルス感染対策に伴う、各種講座・セミナー開催中止のお知らせ(4月7日更新)";
$pageurl = "https://achievement.co.jp/news/info/details/20200407/";
}
if ($pageid == "news-20200401") {
$title = "新型コロナウイルス感染対策に伴う、各種講座・セミナー開催中止のお知らせ(4月1日更新) | アチーブメント株式会社";
$description = "新型コロナウイルス感染対策に伴う、各種講座・セミナー開催中止のお知らせ(4月1日更新)";
$pageurl = "https://achievement.co.jp/news/info/details/20200401/";
}
if ($pageid == "news-20200328") {
$title = "東京都外出自粛要請に伴う、在宅勤務切り替えのお知らせ | アチーブメント株式会社";
$description = "東京都外出自粛要請に伴う、在宅勤務切り替えのお知らせ";
$pageurl = "https://achievement.co.jp/news/info/details/20200328/";
}
if ($pageid == "news-20200327") {
$title = "基本的欲求サーベイWeb版システムメンテナンスのお知らせ | アチーブメント株式会社";
$description = "基本的欲求サーベイWeb版システムメンテナンスのお知らせ";
$pageurl = "https://achievement.co.jp/news/info/details/20200327/";
}
if ($pageid == "news-20200326") {
$title = "新型コロナウイルス感染対策に伴う、各種講座・セミナー開催中止のお知らせ(3月26日更新) | アチーブメント株式会社";
$description = "新型コロナウイルス感染対策に伴う、各種講座・セミナー開催中止のお知らせ(3月26日更新)";
$pageurl = "https://achievement.co.jp/news/info/details/20200326/";
}
if ($pageid == "news-20200324") {
$title = "5月休業日のお知らせ | アチーブメント株式会社";
$description = "5月休業日のお知らせ";
$pageurl = "https://achievement.co.jp/news/info/details/20200324/";
}
if ($pageid == "news-20200320") {
$title = "新型コロナウイルス感染対策に伴う、各種講座・セミナー開催中止のお知らせ(3月20日更新) | アチーブメント株式会社";
$description = "新型コロナウイルス感染対策に伴う、各種講座・セミナー開催中止のお知らせ(3月20日更新)";
$pageurl = "https://achievement.co.jp/news/info/details/20200320/";
}
if ($pageid == "news-20200310") {
$title = "新型コロナウイルス感染対策に伴う、各種講座・セミナー開催中止のお知らせ(3月10日更新) | アチーブメント株式会社";
$description = "新型コロナウイルス感染対策に伴う、各種講座・セミナー開催中止のお知らせ(3月10日更新)";
$pageurl = "https://achievement.co.jp/news/info/details/20200310/";
}
if ($pageid == "news-20200302") {
$title = "Webサイトをリニューアルしました | アチーブメント株式会社";
$description = "Webサイトをリニューアルしました。";
$pageurl = "https://achievement.co.jp/news/info/details/20200302/";
}
if ($pageid == "news-20200227") {
$title = "働きがいのある会社ランキング5年連続ベストカンパニーに選出! | アチーブメント株式会社";
$description = "この度、アチーブメントグループは、Great Place To Work® Institute Japanが主催する2020年版「働きがいのある会社(従業員100-999人部門)」ランキングにて、ベストカンパニーとして8位ランクインをさせていただきました。2016年から、5年連続のベストカンパニー選出となり、表彰いただきました。";
$pageurl = "https://achievement.co.jp/news/info/details/20200227/";
}
if ($pageid == "news-20200226") {
$title = "新型コロナウイルス感染対策に伴う、各種講座・セミナー開催中止のお知らせ | アチーブメント株式会社";
$description = "現在、大きく報道等で取り上げられております新型コロナウイルスの感染拡大に際し、本日の政府の方針発表も鑑みて、皆さまの健康や安全面等を第一に協議した結果以下の期間の講座・セミナーの開催を自粛し、中止させていただく判断にいたりました。";
$pageurl = "https://achievement.co.jp/news/info/details/20200226/";
}
if ($pageid == "news-20200221") {
$title = "4月休業日のお知らせ | アチーブメント株式会社";
$description = "誠に勝手ではございますが、アチーブメント株式会社は、東京本社、大阪支社、福岡支店、名古屋営業所、横浜営業所共に、4月1日(水)、2日(木)、18日(土)を休業とさせていただきます。 本期間中の各セミナーのキャンセル・日程変更などのお申し出は、休業日の翌営業日からの受付となります。";
$pageurl = "https://achievement.co.jp/news/info/details/20200221/";
}
if ($pageid == "news-20200217") {
$title = "新型コロナウィルスの対策について(更新) | アチーブメント株式会社";
$description = "ニュース等で報じられている通り、中華人民共和国 湖北省武漢市を中心として新型コロナウイルスによる肺炎患者が発生しています。皆様の命を守るために、スタッフはじめ弊社オフィスにお越しのお客様のご協力のもと対策を行っています。ご理解とご協力のほどよろしくお願いいたします。";
$pageurl = "https://achievement.co.jp/news/info/details/20200217/";
}
if ($pageid == "contact") {
$title = "お問い合わせ | アチーブメント株式会社";
$description = "人材教育コンサルティングサービスを提供するアチーブメント株式会社の公式ウェブサイト。お問い合わせについて掲載しています。";
$pageurl = "https://achievement.co.jp/contact/";
}
if ($pageid == "catalogue") {
$title = "資料ダウンロード | アチーブメント株式会社";
$description = "人材教育コンサルティングサービスを提供するアチーブメント株式会社の公式ウェブサイト。資料ダウンロードについて掲載しています。";
$pageurl = "https://achievement.co.jp/catalogue/";
}
if ($pageid == "faq") {
$title = "よくある質問 | アチーブメント株式会社";
$description = "人材教育コンサルティングサービスを提供するアチーブメント株式会社の公式ウェブサイト。よくあるご質問について掲載しています。";
$pageurl = "https://achievement.co.jp/faq/";
}
if ($pageid == "member") {
$title = "アチーブメントクラブ会員のご案内 | アチーブメント株式会社";
$description = "人材教育・個人コンサルティングのアチーブメントは選択理論を基礎理論とした教育で、お客様の目標達成を支援します。アチーブメントクラブ会員のご案内について掲載しています。";
$pageurl = "https://achievement.co.jp/member/";
}
if ($pageid == "marc") {
$title = "会員サイトMARC(マーク)のご案内 | アチーブメント株式会社";
$description = "人材教育・個人コンサルティングのアチーブメントは選択理論を基礎理論とした教育で、お客様の目標達成を支援します。会員サイトMARC(マーク)のご案内について掲載しています。";
$pageurl = "https://achievement.co.jp/marc/";
}
if ($pageid == "business_partner") {
$title = "月刊ビジネスパートナー | アチーブメント株式会社";
$description = "人材教育・個人コンサルティングのアチーブメントは選択理論を基礎理論とした教育で、お客様の目標達成を支援します。月刊ビジネスパートナーについて掲載しています。";
$pageurl = "https://achievement.co.jp/business_partner/";
}
if ($pageid == "privacy") {
$title = "個人情報保護取扱いについて | アチーブメント株式会社";
$description = "人材教育コンサルティングサービスを提供するアチーブメント株式会社の公式ウェブサイト。個人情報保護取扱いについて掲載しています。";
$pageurl = "https://achievement.co.jp/privacy/";
}
if ($pageid == "policy") {
$title = "プライバシーポリシー | アチーブメント株式会社";
$description = "人材教育コンサルティングサービスを提供するアチーブメント株式会社の公式ウェブサイト。プライバシーポリシーについて掲載しています。";
$pageurl = "https://achievement.co.jp/policy/";
}
if ($pageid == "trademark") {
$title = "商標について | アチーブメント株式会社";
$description = "人材教育コンサルティングサービスを提供するアチーブメント株式会社の公式ウェブサイト。商標について掲載しています。";
$pageurl = "https://achievement.co.jp/trademark/";
}
if ($pageid == "sitemap") {
$title = "サイトマップ | アチーブメント株式会社";
$description = "人材教育コンサルティングサービスを提供するアチーブメント株式会社の公式ウェブサイト。サイトマップについて掲載しています。";
$pageurl = "https://achievement.co.jp/sitemap/";
}
?>
<title><?php echo $title; ?></title>
<meta name="description" content="<?php echo $description; ?>">
<!-- og_Area -->
<meta property="og:title" content="<?php echo $title; ?>">
<meta property="og:type" content="<?php echo $sitetype; ?>">
<meta property="og:description" content="<?php echo $description; ?>">
<meta property="og:url" content="<?php echo $pageurl; ?>">
\ No newline at end of file
// menu pc
$(function () {
$(".p-faq-Q").on("click", function () {
$(this).next().slideToggle();
$(this).toggleClass("active"); //追加部分
});
var $container = $(".content");
var $input = $(".search__input").find('input[type=text]');
var $items = $container.find("h4");
var $item = $();
var itemsIndexed = [];
$items.each(function () {
//正規表現でキーワードを抽出
itemsIndexed.push($(this).text().replace(/\s{2,}/g, ' ').toLowerCase());
});
$input.on('keyup', function (e) {
$items.each(function () {
$item = $(this);
//spanで括ってハイライト
$item.html($item.html().replace(/<span class="highlight">([^<]+)<\/span>/gi, '$1'));
});
var searchVal = $.trim($input.val()).toLowerCase();
if (searchVal.length) {
for (var i in itemsIndexed) {
$item = $items.eq(i);
if (itemsIndexed[i].indexOf(searchVal) != -1) {
$item.html($item.html().replace(new RegExp(searchVal + '(?!([^<]+)?>)', 'gi'), '<span class="highlight">$&</span>'));
$item.parent().parent().css("display", "block");
} else {
$item.parent().parent().css("display", "none");
var len1 = $('#sect1 .p-faq-Box').filter(':visible').length;
var len2 = $('#sect2 .p-faq-Box').filter(':visible').length;
var len3 = $('#sect3 .p-faq-Box').filter(':visible').length;
var len4 = $('#sect4 .p-faq-Box').filter(':visible').length;
var len5 = $('#sect5 .p-faq-Box').filter(':visible').length;
var len6 = $('#sect6 .p-faq-Box').filter(':visible').length;
if (len1 == 0) {
$("#faq-01").css("display", "none");
} else {
$("#faq-01").css("display", "block");
}
if (len2 == 0) {
$("#faq-02").css("display", "none");
} else {
$("#faq-02").css("display", "block");
}
if (len3 == 0) {
$("#faq-03").css("display", "none");
} else {
$("#faq-03").css("display", "block");
}
if (len4 == 0) {
$("#faq-04").css("display", "none");
} else {
$("#faq-04").css("display", "block");
}
if (len5 == 0) {
$("#faq-05").css("display", "none");
} else {
$("#faq-05").css("display", "block");
}
if (len6 == 0) {
$("#faq-06").css("display", "none");
} else {
$("#faq-06").css("display", "block");
}
if (len1 == 0 && len2 == 0 && len3 == 0 && len4 == 0 && len5 == 0 && len6 == 0) {
$(".faq-notfound").css("display", "block");
} else {
$(".faq-notfound").css("display", "none");
}
}
}
} else {
$items.parent().parent().css("display", "block");
$("#faq-01").css("display", "block");
$("#faq-02").css("display", "block");
$("#faq-03").css("display", "block");
$("#faq-04").css("display", "block");
$("#faq-05").css("display", "block");
$("#faq-06").css("display", "block");
}
});
});
$(function(){$(".p-faq-Q").on("click",function(){$(this).next().slideToggle(),$(this).toggleClass("active")});var e=$(".content"),t=$(".search__input").find("input[type=text]"),o=e.find("h4"),n=$(),i=[];o.each(function(){i.push($(this).text().replace(/\s{2,}/g," ").toLowerCase())}),t.on("keyup",function(){o.each(function(){n=$(this),n.html(n.html().replace(/<span class="highlight">([^<]+)<\/span>/gi,"$1"))});var s=$.trim(t.val()).toLowerCase();if(s.length)for(var a in i)if(n=o.eq(a),-1!=i[a].indexOf(s))n.html(n.html().replace(new RegExp(s+"(?!([^<]+)?>)","gi"),'<span class="highlight">$&</span>')),n.parent().parent().css("display","block");else{n.parent().parent().css("display","none");var l=$("#sect1 .p-faq-Box").filter(":visible").length,c=$("#sect2 .p-faq-Box").filter(":visible").length,f=$("#sect3 .p-faq-Box").filter(":visible").length,r=$("#sect4 .p-faq-Box").filter(":visible").length,d=$("#sect5 .p-faq-Box").filter(":visible").length,u=$("#sect6 .p-faq-Box").filter(":visible").length;0==l?$("#faq-01").css("display","none"):$("#faq-01").css("display","block"),0==c?$("#faq-02").css("display","none"):$("#faq-02").css("display","block"),0==f?$("#faq-03").css("display","none"):$("#faq-03").css("display","block"),0==r?$("#faq-04").css("display","none"):$("#faq-04").css("display","block"),0==d?$("#faq-05").css("display","none"):$("#faq-05").css("display","block"),0==u?$("#faq-06").css("display","none"):$("#faq-06").css("display","block"),0==l&&0==c&&0==f&&0==r&&0==d&&0==u?$(".faq-notfound").css("display","block"):$(".faq-notfound").css("display","none")}else o.parent().parent().css("display","block"),$("#faq-01").css("display","block"),$("#faq-02").css("display","block"),$("#faq-03").css("display","block"),$("#faq-04").css("display","block"),$("#faq-05").css("display","block"),$("#faq-06").css("display","block")})});
\ No newline at end of file
// menu pc
$(function () {
var megaMenu = (function () {
return {
option: '.c-nav-menu1 li',
init: function () {
var $trigger = $(this.option);
var $this = this;
$(document).off("mouseenter.megaMenuOpen");
$(document).on("mouseenter.megaMenuOpen", this.option, function (event) {
var $target = $(this).data("target");
if (!$target) {
$(".c-nav2").hide();
$trigger.removeClass('is-open');
}
if (!$target || $(this).hasClass('is-open')) return false;
$trigger.removeClass('is-open');
$(this).addClass('is-open');
$(".c-nav2").hide();
$(".c-nav2-" + $target).fadeIn('normal');
$(document).off("mouseenter.megaMenuClose");
$this.menuClose();
});
},
menuClose: function () {
var $trigger = $(this.option);
var $this = this;
$(document).on("mouseenter.megaMenuClose", "div", function (event) {
if (!$(event.target).hasClass("c-nav1") && !$(event.target).parents(".c-nav")[0] && !$(event.target).parents(".c-nav2")[0] && !$(event.target).hasClass("c-nav2")) {
$(".c-nav2").hide();
$(".bg-nav").remove();
$trigger.removeClass('is-open');
$(document).off("mouseenter.megaMenuClose");
}
});
},
destroy: function () {
$(document).off("mouseenter.megaMenuOpen");
}
}
}());
megaMenu.init();
});
// menu sp
$(window).on('load resize', function () {
if ($(window).width() <= 767) {
$(".menu-icon").off('click').on('click', function () {
$(this).toggleClass("is-active");
$(this).parent().next().next().slideToggle();
});
$(".nav-sp .c-nav-link1").off('click').on('click', function () {
if ($(this).hasClass("open")) {
$(this).removeClass("open");
$(this).next().slideToggle();
} else {
$(this).addClass("open");
$(this).next().slideToggle();
}
});
// ----------------
// footer sp
// ----------------
$(".c-footer__list >li > .showSp").off('click').on('click', function (e) {
e.preventDefault();
$(this).next(".c-footer__listsub").slideToggle();
});
$(".c-nav2").removeAttr('style');
} else {
$(".menu-icon").off('click');
$(".menu-icon").removeClass('is-active');
$(".nav-sp").removeAttr('style');
// -----------------------
$(".nav-sp .c-nav-link1").off('click');
$(".nav-sp .c-navSP").removeAttr('style');
// ----------------
// footer sp
$(".c-footer__list >li > .showSp").off('click');
$(".c-footer__listsub").removeAttr('style');
}
});
/* ======================================
back to top
====================================== */
if ($('.c-toTop').length) {
var scrollTrigger = 10,
backToTop = function () {
var scrollTop = $(window).scrollTop();
if (scrollTop > scrollTrigger) {
$('.c-toTop').fadeIn();
} else {
$('.c-toTop').fadeOut();
}
};
backToTop();
$(window).on('scroll', function () {
backToTop();
});
$('.c-toTop').on('click', function (e) {
e.preventDefault();
$('html,body').animate({
scrollTop: 0
}, 400);
});
}
/* ======================================
video youtube /service/top/atc_sp/
====================================== */
jQuery(document).ready(function () {
$(".box-video").click(function () {
$('iframe', this)[0].src += "&amp;autoplay=1";
$(this).addClass('open');
});
});
// タブ切り替え(scheduleページ)
$(function () {
$('.tab').click(function () {
$('.is-active').removeClass('is-active');
$(this).addClass('is-active');
$('.is-show').removeClass('is-show');
const index = $(this).index();
$('.tabCont').eq(index).addClass('is-show');
$(window).scroll();
});
});
// リンク無効クラス
$(function () {
$('a.btn--stop ,.reserveStop a').click(function () {
return false;
});
});
// ヘッダ固定
$(function () {
var ua = navigator.userAgent;
if (ua.indexOf('iPhone') > 0 || ua.indexOf('Android') > 0 && ua.indexOf('Mobile') > 0) {
// SPではメニュークリックでダイレクト遷移しない
} else {
var $win = $(window),
$cloneNav = $('header').clone().addClass('fixed-nav').appendTo('body'),
showClass = 'is-show';
$win.on('load scroll', function () {
var value = $(this).scrollTop();
if (value > 300) {
$cloneNav.addClass(showClass);
} else {
$cloneNav.removeClass(showClass);
}
});
}
var headerHight = 50;
var spHeaderHight = 100;
$('a[href^=#]').click(function () {
var ua = navigator.userAgent;
if (ua.indexOf('iPhone') > 0 || ua.indexOf('Android') > 0 && ua.indexOf('Mobile') > 0) {
var href = $(this).attr("href");
var target = $(href == "#" || href == "" ? 'html' : href);
var position = target.offset().top - spHeaderHight;
$("html, body").animate({
scrollTop: position
}, 500, "swing");
return false;
} else {
var href = $(this).attr("href");
var target = $(href == "#" || href == "" ? 'html' : href);
var position = target.offset().top - headerHight;
$("html, body").animate({
scrollTop: position
}, 500, "swing");
return false;
}
});
$(".sv").on("mouseover", function () {
$(this).addClass("c-nav-sab-active");
});
$(".sv").on("mouseout", function () {
$(this).removeClass("c-nav-sab-active");
});
});
/*----------------------------
schedule scroll
----------------------------*/
(function ($) {
$.fn.fixMe = function () {
return this.each(function () {
var $this = $(this),
$t_fixed;
function init() {
$t_fixed = $this.clone();
$t_fixed.find("tbody").remove().end().addClass("fixed").insertBefore($this);
resizeFixed();
}
function resizeFixed() {
$t_fixed.width($this.outerWidth());
$t_fixed.find("th").each(function (index) {
$(this).css("width", $this.find("th").eq(index).outerWidth() + "px");
});
}
function scrollFixed() {
var offsetY = $(this).scrollTop(),
offsetX = $(this).scrollLeft();
var ua = navigator.userAgent;
if (ua.indexOf('iPhone') > 0 || ua.indexOf('Android') > 0 && ua.indexOf('Mobile') > 0) {
heightOfHeader = 100;
} else {
heightOfHeader = 50;
}
tableOffsetTop = $this.offset().top - heightOfHeader,
tableOffsetBottom = tableOffsetTop + $this.height() - $this.find("thead").height(),
tableOffsetLeft = $this.offset().left;
if (offsetY < tableOffsetTop || offsetY > tableOffsetBottom)
$t_fixed.hide();
else if (offsetY >= tableOffsetTop && offsetY <= tableOffsetBottom && $t_fixed.is(":hidden"))
$t_fixed.show();
$t_fixed.css({
"left": tableOffsetLeft - offsetX + "px",
"top": heightOfHeader,
"position": "sticky",
"z-index": 2
});
}
$(window).resize(resizeFixed);
$(window).scroll(scrollFixed);
init();
});
};
})(jQuery);
$(window).on('load', function () {
if (screen.width > 767) {
$(".schedule-table").fixMe();
}
});
jQuery(window).load(function () {
function goToByScroll(id) {
$('#seminar').trigger('click');
jQuery("html, body").animate({
scrollTop: 0
}, 0);
}
if (window.location.hash != '') {
goToByScroll(window.location.hash.substr(1));
}
});
$(function () {
$(".page-schedule .c-nav-link1, .c-footer__list li a").on("click", function () {
$('#seminar').trigger('click');
});
$(".search__input").submit(function (e) {
e.preventDefault();
});
});
if($(function(){var e=function(){return{option:".c-nav-menu1 li",init:function(){var e=$(this.option),t=this;$(document).off("mouseenter.megaMenuOpen"),$(document).on("mouseenter.megaMenuOpen",this.option,function(){var i=$(this).data("target");return i||($(".c-nav2").hide(),e.removeClass("is-open")),!i||$(this).hasClass("is-open")?!1:(e.removeClass("is-open"),$(this).addClass("is-open"),$(".c-nav2").hide(),$(".c-nav2-"+i).fadeIn("normal"),$(document).off("mouseenter.megaMenuClose"),void t.menuClose())})},menuClose:function(){var e=$(this.option);$(document).on("mouseenter.megaMenuClose","div",function(t){$(t.target).hasClass("c-nav1")||$(t.target).parents(".c-nav")[0]||$(t.target).parents(".c-nav2")[0]||$(t.target).hasClass("c-nav2")||($(".c-nav2").hide(),$(".bg-nav").remove(),e.removeClass("is-open"),$(document).off("mouseenter.megaMenuClose"))})},destroy:function(){$(document).off("mouseenter.megaMenuOpen")}}}();e.init()}),$(window).on("load resize",function(){$(window).width()<=767?($(".menu-icon").off("click").on("click",function(){$(this).toggleClass("is-active"),$(this).parent().next().next().slideToggle()}),$(".nav-sp .c-nav-link1").off("click").on("click",function(){$(this).hasClass("open")?($(this).removeClass("open"),$(this).next().slideToggle()):($(this).addClass("open"),$(this).next().slideToggle())}),$(".c-footer__list >li > .showSp").off("click").on("click",function(e){e.preventDefault(),$(this).next(".c-footer__listsub").slideToggle()}),$(".c-nav2").removeAttr("style")):($(".menu-icon").off("click"),$(".menu-icon").removeClass("is-active"),$(".nav-sp").removeAttr("style"),$(".nav-sp .c-nav-link1").off("click"),$(".nav-sp .c-navSP").removeAttr("style"),$(".c-footer__list >li > .showSp").off("click"),$(".c-footer__listsub").removeAttr("style"))}),$(".c-toTop").length){var scrollTrigger=10,backToTop=function(){var e=$(window).scrollTop();e>scrollTrigger?$(".c-toTop").fadeIn():$(".c-toTop").fadeOut()};backToTop(),$(window).on("scroll",function(){backToTop()}),$(".c-toTop").on("click",function(e){e.preventDefault(),$("html,body").animate({scrollTop:0},400)})}jQuery(document).ready(function(){$(".box-video").click(function(){$("iframe",this)[0].src+="&amp;autoplay=1",$(this).addClass("open")})}),$(function(){$(".tab").click(function(){$(".is-active").removeClass("is-active"),$(this).addClass("is-active"),$(".is-show").removeClass("is-show");const e=$(this).index();$(".tabCont").eq(e).addClass("is-show"),$(window).scroll()})}),$(function(){$("a.btn--stop ,.reserveStop a").click(function(){return!1})}),$(function(){var e=navigator.userAgent;if(e.indexOf("iPhone")>0||e.indexOf("Android")>0&&e.indexOf("Mobile")>0);else{var t=$(window),n=$("header").clone().addClass("fixed-nav").appendTo("body"),i="is-show";t.on("load scroll",function(){var e=$(this).scrollTop();e>300?n.addClass(i):n.removeClass(i)})}var o=50,r=100;$("a[href^=#]").click(function(){var e=navigator.userAgent;if(e.indexOf("iPhone")>0||e.indexOf("Android")>0&&e.indexOf("Mobile")>0){var t=$(this).attr("href"),n=$("#"==t||""==t?"html":t),i=n.offset().top-r;return $("html, body").animate({scrollTop:i},500,"swing"),!1}var t=$(this).attr("href"),n=$("#"==t||""==t?"html":t),i=n.offset().top-o;return $("html, body").animate({scrollTop:i},500,"swing"),!1}),$(".sv").on("mouseover",function(){$(this).addClass("c-nav-sab-active")}),$(".sv").on("mouseout",function(){$(this).removeClass("c-nav-sab-active")})}),function(e){e.fn.fixMe=function(){return this.each(function(){function i(){n=t.clone(),n.find("tbody").remove().end().addClass("fixed").insertBefore(t),o()}function o(){n.width(t.outerWidth()),n.find("th").each(function(n){e(this).css("width",t.find("th").eq(n).outerWidth()+"px")})}function r(){var i=e(this).scrollTop(),o=e(this).scrollLeft(),r=navigator.userAgent;heightOfHeader=r.indexOf("iPhone")>0||r.indexOf("Android")>0&&r.indexOf("Mobile")>0?100:50,tableOffsetTop=t.offset().top-heightOfHeader,tableOffsetBottom=tableOffsetTop+t.height()-t.find("thead").height(),tableOffsetLeft=t.offset().left,tableOffsetTop>i||i>tableOffsetBottom?n.hide():i>=tableOffsetTop&&tableOffsetBottom>=i&&n.is(":hidden")&&n.show(),n.css({left:tableOffsetLeft-o+"px",top:heightOfHeader,position:"sticky","z-index":2})}var n,t=e(this);e(window).resize(o),e(window).scroll(r),i()})}}(jQuery),$(window).on("load",function(){screen.width>767&&$(".schedule-table").fixMe()}),jQuery(window).load(function(){function e(){$("#seminar").trigger("click"),jQuery("html, body").animate({scrollTop:0},0)}""!=window.location.hash&&e(window.location.hash.substr(1))}),$(function(){$(".page-schedule .c-nav-link1, .c-footer__list li a").on("click",function(){$("#seminar").trigger("click")}),$(".search__input").submit(function(e){e.preventDefault()})});
\ No newline at end of file
/*! jQuery v3.3.1 | (c) JS Foundation and other contributors | jquery.org/license */
!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){"use strict";var n=[],r=e.document,i=Object.getPrototypeOf,o=n.slice,a=n.concat,s=n.push,u=n.indexOf,l={},c=l.toString,f=l.hasOwnProperty,p=f.toString,d=p.call(Object),h={},g=function e(t){return"function"==typeof t&&"number"!=typeof t.nodeType},y=function e(t){return null!=t&&t===t.window},v={type:!0,src:!0,noModule:!0};function m(e,t,n){var i,o=(t=t||r).createElement("script");if(o.text=e,n)for(i in v)n[i]&&(o[i]=n[i]);t.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?l[c.call(e)]||"object":typeof e}var b="3.3.1",w=function(e,t){return new w.fn.init(e,t)},T=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;w.fn=w.prototype={jquery:"3.3.1",constructor:w,length:0,toArray:function(){return o.call(this)},get:function(e){return null==e?o.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=w.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return w.each(this,e)},map:function(e){return this.pushStack(w.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(o.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:s,sort:n.sort,splice:n.splice},w.extend=w.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||g(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)n=a[t],a!==(r=e[t])&&(l&&r&&(w.isPlainObject(r)||(i=Array.isArray(r)))?(i?(i=!1,o=n&&Array.isArray(n)?n:[]):o=n&&w.isPlainObject(n)?n:{},a[t]=w.extend(l,o,r)):void 0!==r&&(a[t]=r));return a},w.extend({expando:"jQuery"+("3.3.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==c.call(e))&&(!(t=i(e))||"function"==typeof(n=f.call(t,"constructor")&&t.constructor)&&p.call(n)===d)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e){m(e)},each:function(e,t){var n,r=0;if(C(e)){for(n=e.length;r<n;r++)if(!1===t.call(e[r],r,e[r]))break}else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},trim:function(e){return null==e?"":(e+"").replace(T,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(C(Object(e))?w.merge(n,"string"==typeof e?[e]:e):s.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:u.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r,i=[],o=0,a=e.length,s=!n;o<a;o++)(r=!t(e[o],o))!==s&&i.push(e[o]);return i},map:function(e,t,n){var r,i,o=0,s=[];if(C(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&s.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&s.push(i);return a.apply([],s)},guid:1,support:h}),"function"==typeof Symbol&&(w.fn[Symbol.iterator]=n[Symbol.iterator]),w.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){l["[object "+t+"]"]=t.toLowerCase()});function C(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!g(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}var E=function(e){var t,n,r,i,o,a,s,u,l,c,f,p,d,h,g,y,v,m,x,b="sizzle"+1*new Date,w=e.document,T=0,C=0,E=ae(),k=ae(),S=ae(),D=function(e,t){return e===t&&(f=!0),0},N={}.hasOwnProperty,A=[],j=A.pop,q=A.push,L=A.push,H=A.slice,O=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},P="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",R="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",I="\\["+M+"*("+R+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+R+"))|)"+M+"*\\]",W=":("+R+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+I+")*)|.*)\\)|)",$=new RegExp(M+"+","g"),B=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),F=new RegExp("^"+M+"*,"+M+"*"),_=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),z=new RegExp("="+M+"*([^\\]'\"]*?)"+M+"*\\]","g"),X=new RegExp(W),U=new RegExp("^"+R+"$"),V={ID:new RegExp("^#("+R+")"),CLASS:new RegExp("^\\.("+R+")"),TAG:new RegExp("^("+R+"|[*])"),ATTR:new RegExp("^"+I),PSEUDO:new RegExp("^"+W),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+P+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},G=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,K=/[+~]/,Z=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),ee=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},te=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ne=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},re=function(){p()},ie=me(function(e){return!0===e.disabled&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{L.apply(A=H.call(w.childNodes),w.childNodes),A[w.childNodes.length].nodeType}catch(e){L={apply:A.length?function(e,t){q.apply(e,H.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function oe(e,t,r,i){var o,s,l,c,f,h,v,m=t&&t.ownerDocument,T=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==T&&9!==T&&11!==T)return r;if(!i&&((t?t.ownerDocument||t:w)!==d&&p(t),t=t||d,g)){if(11!==T&&(f=J.exec(e)))if(o=f[1]){if(9===T){if(!(l=t.getElementById(o)))return r;if(l.id===o)return r.push(l),r}else if(m&&(l=m.getElementById(o))&&x(t,l)&&l.id===o)return r.push(l),r}else{if(f[2])return L.apply(r,t.getElementsByTagName(e)),r;if((o=f[3])&&n.getElementsByClassName&&t.getElementsByClassName)return L.apply(r,t.getElementsByClassName(o)),r}if(n.qsa&&!S[e+" "]&&(!y||!y.test(e))){if(1!==T)m=t,v=e;else if("object"!==t.nodeName.toLowerCase()){(c=t.getAttribute("id"))?c=c.replace(te,ne):t.setAttribute("id",c=b),s=(h=a(e)).length;while(s--)h[s]="#"+c+" "+ve(h[s]);v=h.join(","),m=K.test(e)&&ge(t.parentNode)||t}if(v)try{return L.apply(r,m.querySelectorAll(v)),r}catch(e){}finally{c===b&&t.removeAttribute("id")}}}return u(e.replace(B,"$1"),t,r,i)}function ae(){var e=[];function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}return t}function se(e){return e[b]=!0,e}function ue(e){var t=d.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function le(e,t){var n=e.split("|"),i=n.length;while(i--)r.attrHandle[n[i]]=t}function ce(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function fe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function pe(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function de(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ie(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function he(e){return se(function(t){return t=+t,se(function(n,r){var i,o=e([],n.length,t),a=o.length;while(a--)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function ge(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}n=oe.support={},o=oe.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},p=oe.setDocument=function(e){var t,i,a=e?e.ownerDocument||e:w;return a!==d&&9===a.nodeType&&a.documentElement?(d=a,h=d.documentElement,g=!o(d),w!==d&&(i=d.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",re,!1):i.attachEvent&&i.attachEvent("onunload",re)),n.attributes=ue(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=ue(function(e){return e.appendChild(d.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=Q.test(d.getElementsByClassName),n.getById=ue(function(e){return h.appendChild(e).id=b,!d.getElementsByName||!d.getElementsByName(b).length}),n.getById?(r.filter.ID=function(e){var t=e.replace(Z,ee);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&g){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(Z,ee);return function(e){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&g){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=n.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&g)return t.getElementsByClassName(e)},v=[],y=[],(n.qsa=Q.test(d.querySelectorAll))&&(ue(function(e){h.appendChild(e).innerHTML="<a id='"+b+"'></a><select id='"+b+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&y.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||y.push("\\["+M+"*(?:value|"+P+")"),e.querySelectorAll("[id~="+b+"-]").length||y.push("~="),e.querySelectorAll(":checked").length||y.push(":checked"),e.querySelectorAll("a#"+b+"+*").length||y.push(".#.+[+~]")}),ue(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=d.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&y.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&y.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&y.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),y.push(",.*:")})),(n.matchesSelector=Q.test(m=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&ue(function(e){n.disconnectedMatch=m.call(e,"*"),m.call(e,"[s!='']:x"),v.push("!=",W)}),y=y.length&&new RegExp(y.join("|")),v=v.length&&new RegExp(v.join("|")),t=Q.test(h.compareDocumentPosition),x=t||Q.test(h.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return f=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e===d||e.ownerDocument===w&&x(w,e)?-1:t===d||t.ownerDocument===w&&x(w,t)?1:c?O(c,e)-O(c,t):0:4&r?-1:1)}:function(e,t){if(e===t)return f=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===d?-1:t===d?1:i?-1:o?1:c?O(c,e)-O(c,t):0;if(i===o)return ce(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?ce(a[r],s[r]):a[r]===w?-1:s[r]===w?1:0},d):d},oe.matches=function(e,t){return oe(e,null,null,t)},oe.matchesSelector=function(e,t){if((e.ownerDocument||e)!==d&&p(e),t=t.replace(z,"='$1']"),n.matchesSelector&&g&&!S[t+" "]&&(!v||!v.test(t))&&(!y||!y.test(t)))try{var r=m.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return oe(t,d,null,[e]).length>0},oe.contains=function(e,t){return(e.ownerDocument||e)!==d&&p(e),x(e,t)},oe.attr=function(e,t){(e.ownerDocument||e)!==d&&p(e);var i=r.attrHandle[t.toLowerCase()],o=i&&N.call(r.attrHandle,t.toLowerCase())?i(e,t,!g):void 0;return void 0!==o?o:n.attributes||!g?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},oe.escape=function(e){return(e+"").replace(te,ne)},oe.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},oe.uniqueSort=function(e){var t,r=[],i=0,o=0;if(f=!n.detectDuplicates,c=!n.sortStable&&e.slice(0),e.sort(D),f){while(t=e[o++])t===e[o]&&(i=r.push(o));while(i--)e.splice(r[i],1)}return c=null,e},i=oe.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===o||4===o)return e.nodeValue}else while(t=e[r++])n+=i(t);return n},(r=oe.selectors={cacheLength:50,createPseudo:se,match:V,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(Z,ee),e[3]=(e[3]||e[4]||e[5]||"").replace(Z,ee),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||oe.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&oe.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return V.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=a(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(Z,ee).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=E[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&E(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=oe.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace($," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var l,c,f,p,d,h,g=o!==a?"nextSibling":"previousSibling",y=t.parentNode,v=s&&t.nodeName.toLowerCase(),m=!u&&!s,x=!1;if(y){if(o){while(g){p=t;while(p=p[g])if(s?p.nodeName.toLowerCase()===v:1===p.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?y.firstChild:y.lastChild],a&&m){x=(d=(l=(c=(f=(p=y)[b]||(p[b]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]||[])[0]===T&&l[1])&&l[2],p=d&&y.childNodes[d];while(p=++d&&p&&p[g]||(x=d=0)||h.pop())if(1===p.nodeType&&++x&&p===t){c[e]=[T,d,x];break}}else if(m&&(x=d=(l=(c=(f=(p=t)[b]||(p[b]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]||[])[0]===T&&l[1]),!1===x)while(p=++d&&p&&p[g]||(x=d=0)||h.pop())if((s?p.nodeName.toLowerCase()===v:1===p.nodeType)&&++x&&(m&&((c=(f=p[b]||(p[b]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]=[T,x]),p===t))break;return(x-=i)===r||x%r==0&&x/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||oe.error("unsupported pseudo: "+e);return i[b]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?se(function(e,n){var r,o=i(e,t),a=o.length;while(a--)e[r=O(e,o[a])]=!(n[r]=o[a])}):function(e){return i(e,0,n)}):i}},pseudos:{not:se(function(e){var t=[],n=[],r=s(e.replace(B,"$1"));return r[b]?se(function(e,t,n,i){var o,a=r(e,null,i,[]),s=e.length;while(s--)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}}),has:se(function(e){return function(t){return oe(e,t).length>0}}),contains:se(function(e){return e=e.replace(Z,ee),function(t){return(t.textContent||t.innerText||i(t)).indexOf(e)>-1}}),lang:se(function(e){return U.test(e||"")||oe.error("unsupported lang: "+e),e=e.replace(Z,ee).toLowerCase(),function(t){var n;do{if(n=g?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===d.activeElement&&(!d.hasFocus||d.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:de(!1),disabled:de(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return Y.test(e.nodeName)},input:function(e){return G.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:he(function(){return[0]}),last:he(function(e,t){return[t-1]}),eq:he(function(e,t,n){return[n<0?n+t:n]}),even:he(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:he(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:he(function(e,t,n){for(var r=n<0?n+t:n;--r>=0;)e.push(r);return e}),gt:he(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=r.pseudos.eq;for(t in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=fe(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=pe(t);function ye(){}ye.prototype=r.filters=r.pseudos,r.setFilters=new ye,a=oe.tokenize=function(e,t){var n,i,o,a,s,u,l,c=k[e+" "];if(c)return t?0:c.slice(0);s=e,u=[],l=r.preFilter;while(s){n&&!(i=F.exec(s))||(i&&(s=s.slice(i[0].length)||s),u.push(o=[])),n=!1,(i=_.exec(s))&&(n=i.shift(),o.push({value:n,type:i[0].replace(B," ")}),s=s.slice(n.length));for(a in r.filter)!(i=V[a].exec(s))||l[a]&&!(i=l[a](i))||(n=i.shift(),o.push({value:n,type:a,matches:i}),s=s.slice(n.length));if(!n)break}return t?s.length:s?oe.error(e):k(e,u).slice(0)};function ve(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function me(e,t,n){var r=t.dir,i=t.next,o=i||r,a=n&&"parentNode"===o,s=C++;return t.first?function(t,n,i){while(t=t[r])if(1===t.nodeType||a)return e(t,n,i);return!1}:function(t,n,u){var l,c,f,p=[T,s];if(u){while(t=t[r])if((1===t.nodeType||a)&&e(t,n,u))return!0}else while(t=t[r])if(1===t.nodeType||a)if(f=t[b]||(t[b]={}),c=f[t.uniqueID]||(f[t.uniqueID]={}),i&&i===t.nodeName.toLowerCase())t=t[r]||t;else{if((l=c[o])&&l[0]===T&&l[1]===s)return p[2]=l[2];if(c[o]=p,p[2]=e(t,n,u))return!0}return!1}}function xe(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function be(e,t,n){for(var r=0,i=t.length;r<i;r++)oe(e,t[r],n);return n}function we(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function Te(e,t,n,r,i,o){return r&&!r[b]&&(r=Te(r)),i&&!i[b]&&(i=Te(i,o)),se(function(o,a,s,u){var l,c,f,p=[],d=[],h=a.length,g=o||be(t||"*",s.nodeType?[s]:s,[]),y=!e||!o&&t?g:we(g,p,e,s,u),v=n?i||(o?e:h||r)?[]:a:y;if(n&&n(y,v,s,u),r){l=we(v,d),r(l,[],s,u),c=l.length;while(c--)(f=l[c])&&(v[d[c]]=!(y[d[c]]=f))}if(o){if(i||e){if(i){l=[],c=v.length;while(c--)(f=v[c])&&l.push(y[c]=f);i(null,v=[],l,u)}c=v.length;while(c--)(f=v[c])&&(l=i?O(o,f):p[c])>-1&&(o[l]=!(a[l]=f))}}else v=we(v===a?v.splice(h,v.length):v),i?i(null,a,v,u):L.apply(a,v)})}function Ce(e){for(var t,n,i,o=e.length,a=r.relative[e[0].type],s=a||r.relative[" "],u=a?1:0,c=me(function(e){return e===t},s,!0),f=me(function(e){return O(t,e)>-1},s,!0),p=[function(e,n,r){var i=!a&&(r||n!==l)||((t=n).nodeType?c(e,n,r):f(e,n,r));return t=null,i}];u<o;u++)if(n=r.relative[e[u].type])p=[me(xe(p),n)];else{if((n=r.filter[e[u].type].apply(null,e[u].matches))[b]){for(i=++u;i<o;i++)if(r.relative[e[i].type])break;return Te(u>1&&xe(p),u>1&&ve(e.slice(0,u-1).concat({value:" "===e[u-2].type?"*":""})).replace(B,"$1"),n,u<i&&Ce(e.slice(u,i)),i<o&&Ce(e=e.slice(i)),i<o&&ve(e))}p.push(n)}return xe(p)}function Ee(e,t){var n=t.length>0,i=e.length>0,o=function(o,a,s,u,c){var f,h,y,v=0,m="0",x=o&&[],b=[],w=l,C=o||i&&r.find.TAG("*",c),E=T+=null==w?1:Math.random()||.1,k=C.length;for(c&&(l=a===d||a||c);m!==k&&null!=(f=C[m]);m++){if(i&&f){h=0,a||f.ownerDocument===d||(p(f),s=!g);while(y=e[h++])if(y(f,a||d,s)){u.push(f);break}c&&(T=E)}n&&((f=!y&&f)&&v--,o&&x.push(f))}if(v+=m,n&&m!==v){h=0;while(y=t[h++])y(x,b,a,s);if(o){if(v>0)while(m--)x[m]||b[m]||(b[m]=j.call(u));b=we(b)}L.apply(u,b),c&&!o&&b.length>0&&v+t.length>1&&oe.uniqueSort(u)}return c&&(T=E,l=w),x};return n?se(o):o}return s=oe.compile=function(e,t){var n,r=[],i=[],o=S[e+" "];if(!o){t||(t=a(e)),n=t.length;while(n--)(o=Ce(t[n]))[b]?r.push(o):i.push(o);(o=S(e,Ee(i,r))).selector=e}return o},u=oe.select=function(e,t,n,i){var o,u,l,c,f,p="function"==typeof e&&e,d=!i&&a(e=p.selector||e);if(n=n||[],1===d.length){if((u=d[0]=d[0].slice(0)).length>2&&"ID"===(l=u[0]).type&&9===t.nodeType&&g&&r.relative[u[1].type]){if(!(t=(r.find.ID(l.matches[0].replace(Z,ee),t)||[])[0]))return n;p&&(t=t.parentNode),e=e.slice(u.shift().value.length)}o=V.needsContext.test(e)?0:u.length;while(o--){if(l=u[o],r.relative[c=l.type])break;if((f=r.find[c])&&(i=f(l.matches[0].replace(Z,ee),K.test(u[0].type)&&ge(t.parentNode)||t))){if(u.splice(o,1),!(e=i.length&&ve(u)))return L.apply(n,i),n;break}}}return(p||s(e,d))(i,t,!g,n,!t||K.test(e)&&ge(t.parentNode)||t),n},n.sortStable=b.split("").sort(D).join("")===b,n.detectDuplicates=!!f,p(),n.sortDetached=ue(function(e){return 1&e.compareDocumentPosition(d.createElement("fieldset"))}),ue(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||le("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&ue(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||le("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ue(function(e){return null==e.getAttribute("disabled")})||le(P,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),oe}(e);w.find=E,w.expr=E.selectors,w.expr[":"]=w.expr.pseudos,w.uniqueSort=w.unique=E.uniqueSort,w.text=E.getText,w.isXMLDoc=E.isXML,w.contains=E.contains,w.escapeSelector=E.escape;var k=function(e,t,n){var r=[],i=void 0!==n;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(i&&w(e).is(n))break;r.push(e)}return r},S=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},D=w.expr.match.needsContext;function N(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var A=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,t,n){return g(t)?w.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?w.grep(e,function(e){return e===t!==n}):"string"!=typeof t?w.grep(e,function(e){return u.call(t,e)>-1!==n}):w.filter(t,e,n)}w.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?w.find.matchesSelector(r,e)?[r]:[]:w.find.matches(e,w.grep(t,function(e){return 1===e.nodeType}))},w.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(w(e).filter(function(){for(t=0;t<r;t++)if(w.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)w.find(e,i[t],n);return r>1?w.uniqueSort(n):n},filter:function(e){return this.pushStack(j(this,e||[],!1))},not:function(e){return this.pushStack(j(this,e||[],!0))},is:function(e){return!!j(this,"string"==typeof e&&D.test(e)?w(e):e||[],!1).length}});var q,L=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(w.fn.init=function(e,t,n){var i,o;if(!e)return this;if(n=n||q,"string"==typeof e){if(!(i="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:L.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof w?t[0]:t,w.merge(this,w.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:r,!0)),A.test(i[1])&&w.isPlainObject(t))for(i in t)g(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(o=r.getElementById(i[2]))&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):g(e)?void 0!==n.ready?n.ready(e):e(w):w.makeArray(e,this)}).prototype=w.fn,q=w(r);var H=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};w.fn.extend({has:function(e){var t=w(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(w.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&w(e);if(!D.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&w.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?w.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?u.call(w(e),this[0]):u.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(w.uniqueSort(w.merge(this.get(),w(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}});function P(e,t){while((e=e[t])&&1!==e.nodeType);return e}w.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return k(e,"parentNode")},parentsUntil:function(e,t,n){return k(e,"parentNode",n)},next:function(e){return P(e,"nextSibling")},prev:function(e){return P(e,"previousSibling")},nextAll:function(e){return k(e,"nextSibling")},prevAll:function(e){return k(e,"previousSibling")},nextUntil:function(e,t,n){return k(e,"nextSibling",n)},prevUntil:function(e,t,n){return k(e,"previousSibling",n)},siblings:function(e){return S((e.parentNode||{}).firstChild,e)},children:function(e){return S(e.firstChild)},contents:function(e){return N(e,"iframe")?e.contentDocument:(N(e,"template")&&(e=e.content||e),w.merge([],e.childNodes))}},function(e,t){w.fn[e]=function(n,r){var i=w.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=w.filter(r,i)),this.length>1&&(O[e]||w.uniqueSort(i),H.test(e)&&i.reverse()),this.pushStack(i)}});var M=/[^\x20\t\r\n\f]+/g;function R(e){var t={};return w.each(e.match(M)||[],function(e,n){t[n]=!0}),t}w.Callbacks=function(e){e="string"==typeof e?R(e):w.extend({},e);var t,n,r,i,o=[],a=[],s=-1,u=function(){for(i=i||e.once,r=t=!0;a.length;s=-1){n=a.shift();while(++s<o.length)!1===o[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=o.length,n=!1)}e.memory||(n=!1),t=!1,i&&(o=n?[]:"")},l={add:function(){return o&&(n&&!t&&(s=o.length-1,a.push(n)),function t(n){w.each(n,function(n,r){g(r)?e.unique&&l.has(r)||o.push(r):r&&r.length&&"string"!==x(r)&&t(r)})}(arguments),n&&!t&&u()),this},remove:function(){return w.each(arguments,function(e,t){var n;while((n=w.inArray(t,o,n))>-1)o.splice(n,1),n<=s&&s--}),this},has:function(e){return e?w.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=a=[],n||t||(o=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||u()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l};function I(e){return e}function W(e){throw e}function $(e,t,n,r){var i;try{e&&g(i=e.promise)?i.call(e).done(t).fail(n):e&&g(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}w.extend({Deferred:function(t){var n=[["notify","progress",w.Callbacks("memory"),w.Callbacks("memory"),2],["resolve","done",w.Callbacks("once memory"),w.Callbacks("once memory"),0,"resolved"],["reject","fail",w.Callbacks("once memory"),w.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},"catch":function(e){return i.then(null,e)},pipe:function(){var e=arguments;return w.Deferred(function(t){w.each(n,function(n,r){var i=g(e[r[4]])&&e[r[4]];o[r[1]](function(){var e=i&&i.apply(this,arguments);e&&g(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[r[0]+"With"](this,i?[e]:arguments)})}),e=null}).promise()},then:function(t,r,i){var o=0;function a(t,n,r,i){return function(){var s=this,u=arguments,l=function(){var e,l;if(!(t<o)){if((e=r.apply(s,u))===n.promise())throw new TypeError("Thenable self-resolution");l=e&&("object"==typeof e||"function"==typeof e)&&e.then,g(l)?i?l.call(e,a(o,n,I,i),a(o,n,W,i)):(o++,l.call(e,a(o,n,I,i),a(o,n,W,i),a(o,n,I,n.notifyWith))):(r!==I&&(s=void 0,u=[e]),(i||n.resolveWith)(s,u))}},c=i?l:function(){try{l()}catch(e){w.Deferred.exceptionHook&&w.Deferred.exceptionHook(e,c.stackTrace),t+1>=o&&(r!==W&&(s=void 0,u=[e]),n.rejectWith(s,u))}};t?c():(w.Deferred.getStackHook&&(c.stackTrace=w.Deferred.getStackHook()),e.setTimeout(c))}}return w.Deferred(function(e){n[0][3].add(a(0,e,g(i)?i:I,e.notifyWith)),n[1][3].add(a(0,e,g(t)?t:I)),n[2][3].add(a(0,e,g(r)?r:W))}).promise()},promise:function(e){return null!=e?w.extend(e,i):i}},o={};return w.each(n,function(e,t){var a=t[2],s=t[5];i[t[1]]=a.add,s&&a.add(function(){r=s},n[3-e][2].disable,n[3-e][3].disable,n[0][2].lock,n[0][3].lock),a.add(t[3].fire),o[t[0]]=function(){return o[t[0]+"With"](this===o?void 0:this,arguments),this},o[t[0]+"With"]=a.fireWith}),i.promise(o),t&&t.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),i=o.call(arguments),a=w.Deferred(),s=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?o.call(arguments):n,--t||a.resolveWith(r,i)}};if(t<=1&&($(e,a.done(s(n)).resolve,a.reject,!t),"pending"===a.state()||g(i[n]&&i[n].then)))return a.then();while(n--)$(i[n],s(n),a.reject);return a.promise()}});var B=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;w.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&B.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},w.readyException=function(t){e.setTimeout(function(){throw t})};var F=w.Deferred();w.fn.ready=function(e){return F.then(e)["catch"](function(e){w.readyException(e)}),this},w.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--w.readyWait:w.isReady)||(w.isReady=!0,!0!==e&&--w.readyWait>0||F.resolveWith(r,[w]))}}),w.ready.then=F.then;function _(){r.removeEventListener("DOMContentLoaded",_),e.removeEventListener("load",_),w.ready()}"complete"===r.readyState||"loading"!==r.readyState&&!r.documentElement.doScroll?e.setTimeout(w.ready):(r.addEventListener("DOMContentLoaded",_),e.addEventListener("load",_));var z=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===x(n)){i=!0;for(s in n)z(e,t,s,n[s],!0,o,a)}else if(void 0!==r&&(i=!0,g(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(w(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):u?t(e[0],n):o},X=/^-ms-/,U=/-([a-z])/g;function V(e,t){return t.toUpperCase()}function G(e){return e.replace(X,"ms-").replace(U,V)}var Y=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function Q(){this.expando=w.expando+Q.uid++}Q.uid=1,Q.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Y(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[G(t)]=n;else for(r in t)i[G(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][G(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(G):(t=G(t))in r?[t]:t.match(M)||[]).length;while(n--)delete r[t[n]]}(void 0===t||w.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!w.isEmptyObject(t)}};var J=new Q,K=new Q,Z=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ee=/[A-Z]/g;function te(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:Z.test(e)?JSON.parse(e):e)}function ne(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(ee,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=te(n)}catch(e){}K.set(e,t,n)}else n=void 0;return n}w.extend({hasData:function(e){return K.hasData(e)||J.hasData(e)},data:function(e,t,n){return K.access(e,t,n)},removeData:function(e,t){K.remove(e,t)},_data:function(e,t,n){return J.access(e,t,n)},_removeData:function(e,t){J.remove(e,t)}}),w.fn.extend({data:function(e,t){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===e){if(this.length&&(i=K.get(o),1===o.nodeType&&!J.get(o,"hasDataAttrs"))){n=a.length;while(n--)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=G(r.slice(5)),ne(o,r,i[r]));J.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each(function(){K.set(this,e)}):z(this,function(t){var n;if(o&&void 0===t){if(void 0!==(n=K.get(o,e)))return n;if(void 0!==(n=ne(o,e)))return n}else this.each(function(){K.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){K.remove(this,e)})}}),w.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=J.get(e,t),n&&(!r||Array.isArray(n)?r=J.access(e,t,w.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=w.queue(e,t),r=n.length,i=n.shift(),o=w._queueHooks(e,t),a=function(){w.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return J.get(e,n)||J.access(e,n,{empty:w.Callbacks("once memory").add(function(){J.remove(e,[t+"queue",n])})})}}),w.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?w.queue(this[0],e):void 0===t?this:this.each(function(){var n=w.queue(this,e,t);w._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&w.dequeue(this,e)})},dequeue:function(e){return this.each(function(){w.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=w.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};"string"!=typeof e&&(t=e,e=void 0),e=e||"fx";while(a--)(n=J.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var re=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ie=new RegExp("^(?:([+-])=|)("+re+")([a-z%]*)$","i"),oe=["Top","Right","Bottom","Left"],ae=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&w.contains(e.ownerDocument,e)&&"none"===w.css(e,"display")},se=function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=a[o];return i};function ue(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return w.css(e,t,"")},u=s(),l=n&&n[3]||(w.cssNumber[t]?"":"px"),c=(w.cssNumber[t]||"px"!==l&&+u)&&ie.exec(w.css(e,t));if(c&&c[3]!==l){u/=2,l=l||c[3],c=+u||1;while(a--)w.style(e,t,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,w.style(e,t,c+l),n=n||[]}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}var le={};function ce(e){var t,n=e.ownerDocument,r=e.nodeName,i=le[r];return i||(t=n.body.appendChild(n.createElement(r)),i=w.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),le[r]=i,i)}function fe(e,t){for(var n,r,i=[],o=0,a=e.length;o<a;o++)(r=e[o]).style&&(n=r.style.display,t?("none"===n&&(i[o]=J.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&ae(r)&&(i[o]=ce(r))):"none"!==n&&(i[o]="none",J.set(r,"display",n)));for(o=0;o<a;o++)null!=i[o]&&(e[o].style.display=i[o]);return e}w.fn.extend({show:function(){return fe(this,!0)},hide:function(){return fe(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ae(this)?w(this).show():w(this).hide()})}});var pe=/^(?:checkbox|radio)$/i,de=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,he=/^$|^module$|\/(?:java|ecma)script/i,ge={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};ge.optgroup=ge.option,ge.tbody=ge.tfoot=ge.colgroup=ge.caption=ge.thead,ge.th=ge.td;function ye(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&N(e,t)?w.merge([e],n):n}function ve(e,t){for(var n=0,r=e.length;n<r;n++)J.set(e[n],"globalEval",!t||J.get(t[n],"globalEval"))}var me=/<|&#?\w+;/;function xe(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d<h;d++)if((o=e[d])||0===o)if("object"===x(o))w.merge(p,o.nodeType?[o]:o);else if(me.test(o)){a=a||f.appendChild(t.createElement("div")),s=(de.exec(o)||["",""])[1].toLowerCase(),u=ge[s]||ge._default,a.innerHTML=u[1]+w.htmlPrefilter(o)+u[2],c=u[0];while(c--)a=a.lastChild;w.merge(p,a.childNodes),(a=f.firstChild).textContent=""}else p.push(t.createTextNode(o));f.textContent="",d=0;while(o=p[d++])if(r&&w.inArray(o,r)>-1)i&&i.push(o);else if(l=w.contains(o.ownerDocument,o),a=ye(f.appendChild(o),"script"),l&&ve(a),n){c=0;while(o=a[c++])he.test(o.type||"")&&n.push(o)}return f}!function(){var e=r.createDocumentFragment().appendChild(r.createElement("div")),t=r.createElement("input");t.setAttribute("type","radio"),t.setAttribute("checked","checked"),t.setAttribute("name","t"),e.appendChild(t),h.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="<textarea>x</textarea>",h.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var be=r.documentElement,we=/^key/,Te=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ce=/^([^.]*)(?:\.(.+)|)/;function Ee(){return!0}function ke(){return!1}function Se(){try{return r.activeElement}catch(e){}}function De(e,t,n,r,i,o){var a,s;if("object"==typeof t){"string"!=typeof n&&(r=r||n,n=void 0);for(s in t)De(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=ke;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return w().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=w.guid++)),e.each(function(){w.event.add(this,t,i,r,n)})}w.event={global:{},add:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,y=J.get(e);if(y){n.handler&&(n=(o=n).handler,i=o.selector),i&&w.find.matchesSelector(be,i),n.guid||(n.guid=w.guid++),(u=y.events)||(u=y.events={}),(a=y.handle)||(a=y.handle=function(t){return"undefined"!=typeof w&&w.event.triggered!==t.type?w.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(M)||[""]).length;while(l--)d=g=(s=Ce.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=w.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=w.event.special[d]||{},c=w.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&w.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(d,a)),f.add&&(f.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),w.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,y=J.hasData(e)&&J.get(e);if(y&&(u=y.events)){l=(t=(t||"").match(M)||[""]).length;while(l--)if(s=Ce.exec(t[l])||[],d=g=s[1],h=(s[2]||"").split(".").sort(),d){f=w.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,y.handle)||w.removeEvent(e,d,y.handle),delete u[d])}else for(d in u)w.event.remove(e,d+t[l],n,r,!0);w.isEmptyObject(u)&&J.remove(e,"handle events")}},dispatch:function(e){var t=w.event.fix(e),n,r,i,o,a,s,u=new Array(arguments.length),l=(J.get(this,"events")||{})[t.type]||[],c=w.event.special[t.type]||{};for(u[0]=t,n=1;n<arguments.length;n++)u[n]=arguments[n];if(t.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,t)){s=w.event.handlers.call(this,t,l),n=0;while((o=s[n++])&&!t.isPropagationStopped()){t.currentTarget=o.elem,r=0;while((a=o.handlers[r++])&&!t.isImmediatePropagationStopped())t.rnamespace&&!t.rnamespace.test(a.namespace)||(t.handleObj=a,t.data=a.data,void 0!==(i=((w.event.special[a.origType]||{}).handle||a.handler).apply(o.elem,u))&&!1===(t.result=i)&&(t.preventDefault(),t.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,t),t.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&e.button>=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n<u;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?w(i,this).index(l)>-1:w.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(e,t){Object.defineProperty(w.Event.prototype,e,{enumerable:!0,configurable:!0,get:g(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[w.expando]?e:new w.Event(e)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==Se()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===Se()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&N(this,"input"))return this.click(),!1},_default:function(e){return N(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},w.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},w.Event=function(e,t){if(!(this instanceof w.Event))return new w.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ee:ke,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&w.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[w.expando]=!0},w.Event.prototype={constructor:w.Event,isDefaultPrevented:ke,isPropagationStopped:ke,isImmediatePropagationStopped:ke,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ee,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ee,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ee,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},w.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&we.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&Te.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},w.event.addProp),w.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){w.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return i&&(i===r||w.contains(r,i))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),w.fn.extend({on:function(e,t,n,r){return De(this,e,t,n,r)},one:function(e,t,n,r){return De(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,w(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=ke),this.each(function(){w.event.remove(this,e,n,t)})}});var Ne=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,Ae=/<script|<style|<link/i,je=/checked\s*(?:[^=]|=\s*.checked.)/i,qe=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Le(e,t){return N(e,"table")&&N(11!==t.nodeType?t:t.firstChild,"tr")?w(e).children("tbody")[0]||e:e}function He(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Oe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Pe(e,t){var n,r,i,o,a,s,u,l;if(1===t.nodeType){if(J.hasData(e)&&(o=J.access(e),a=J.set(t,o),l=o.events)){delete a.handle,a.events={};for(i in l)for(n=0,r=l[i].length;n<r;n++)w.event.add(t,i,l[i][n])}K.hasData(e)&&(s=K.access(e),u=w.extend({},s),K.set(t,u))}}function Me(e,t){var n=t.nodeName.toLowerCase();"input"===n&&pe.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function Re(e,t,n,r){t=a.apply([],t);var i,o,s,u,l,c,f=0,p=e.length,d=p-1,y=t[0],v=g(y);if(v||p>1&&"string"==typeof y&&!h.checkClone&&je.test(y))return e.each(function(i){var o=e.eq(i);v&&(t[0]=y.call(this,i,o.html())),Re(o,t,n,r)});if(p&&(i=xe(t,e[0].ownerDocument,!1,e,r),o=i.firstChild,1===i.childNodes.length&&(i=o),o||r)){for(u=(s=w.map(ye(i,"script"),He)).length;f<p;f++)l=i,f!==d&&(l=w.clone(l,!0,!0),u&&w.merge(s,ye(l,"script"))),n.call(e[f],l,f);if(u)for(c=s[s.length-1].ownerDocument,w.map(s,Oe),f=0;f<u;f++)l=s[f],he.test(l.type||"")&&!J.access(l,"globalEval")&&w.contains(c,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?w._evalUrl&&w._evalUrl(l.src):m(l.textContent.replace(qe,""),c,l))}return e}function Ie(e,t,n){for(var r,i=t?w.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||w.cleanData(ye(r)),r.parentNode&&(n&&w.contains(r.ownerDocument,r)&&ve(ye(r,"script")),r.parentNode.removeChild(r));return e}w.extend({htmlPrefilter:function(e){return e.replace(Ne,"<$1></$2>")},clone:function(e,t,n){var r,i,o,a,s=e.cloneNode(!0),u=w.contains(e.ownerDocument,e);if(!(h.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||w.isXMLDoc(e)))for(a=ye(s),r=0,i=(o=ye(e)).length;r<i;r++)Me(o[r],a[r]);if(t)if(n)for(o=o||ye(e),a=a||ye(s),r=0,i=o.length;r<i;r++)Pe(o[r],a[r]);else Pe(e,s);return(a=ye(s,"script")).length>0&&ve(a,!u&&ye(e,"script")),s},cleanData:function(e){for(var t,n,r,i=w.event.special,o=0;void 0!==(n=e[o]);o++)if(Y(n)){if(t=n[J.expando]){if(t.events)for(r in t.events)i[r]?w.event.remove(n,r):w.removeEvent(n,r,t.handle);n[J.expando]=void 0}n[K.expando]&&(n[K.expando]=void 0)}}}),w.fn.extend({detach:function(e){return Ie(this,e,!0)},remove:function(e){return Ie(this,e)},text:function(e){return z(this,function(e){return void 0===e?w.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return Re(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Le(this,e).appendChild(e)})},prepend:function(){return Re(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Le(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Re(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Re(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(w.cleanData(ye(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return w.clone(this,e,t)})},html:function(e){return z(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ae.test(e)&&!ge[(de.exec(e)||["",""])[1].toLowerCase()]){e=w.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(w.cleanData(ye(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return Re(this,arguments,function(t){var n=this.parentNode;w.inArray(this,e)<0&&(w.cleanData(ye(this)),n&&n.replaceChild(t,this))},e)}}),w.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){w.fn[e]=function(e){for(var n,r=[],i=w(e),o=i.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),w(i[a])[t](n),s.apply(r,n.get());return this.pushStack(r)}});var We=new RegExp("^("+re+")(?!px)[a-z%]+$","i"),$e=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},Be=new RegExp(oe.join("|"),"i");!function(){function t(){if(c){l.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",be.appendChild(l).appendChild(c);var t=e.getComputedStyle(c);i="1%"!==t.top,u=12===n(t.marginLeft),c.style.right="60%",s=36===n(t.right),o=36===n(t.width),c.style.position="absolute",a=36===c.offsetWidth||"absolute",be.removeChild(l),c=null}}function n(e){return Math.round(parseFloat(e))}var i,o,a,s,u,l=r.createElement("div"),c=r.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",h.clearCloneStyle="content-box"===c.style.backgroundClip,w.extend(h,{boxSizingReliable:function(){return t(),o},pixelBoxStyles:function(){return t(),s},pixelPosition:function(){return t(),i},reliableMarginLeft:function(){return t(),u},scrollboxSize:function(){return t(),a}}))}();function Fe(e,t,n){var r,i,o,a,s=e.style;return(n=n||$e(e))&&(""!==(a=n.getPropertyValue(t)||n[t])||w.contains(e.ownerDocument,e)||(a=w.style(e,t)),!h.pixelBoxStyles()&&We.test(a)&&Be.test(t)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o)),void 0!==a?a+"":a}function _e(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}var ze=/^(none|table(?!-c[ea]).+)/,Xe=/^--/,Ue={position:"absolute",visibility:"hidden",display:"block"},Ve={letterSpacing:"0",fontWeight:"400"},Ge=["Webkit","Moz","ms"],Ye=r.createElement("div").style;function Qe(e){if(e in Ye)return e;var t=e[0].toUpperCase()+e.slice(1),n=Ge.length;while(n--)if((e=Ge[n]+t)in Ye)return e}function Je(e){var t=w.cssProps[e];return t||(t=w.cssProps[e]=Qe(e)||e),t}function Ke(e,t,n){var r=ie.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function Ze(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(u+=w.css(e,n+oe[a],!0,i)),r?("content"===n&&(u-=w.css(e,"padding"+oe[a],!0,i)),"margin"!==n&&(u-=w.css(e,"border"+oe[a]+"Width",!0,i))):(u+=w.css(e,"padding"+oe[a],!0,i),"padding"!==n?u+=w.css(e,"border"+oe[a]+"Width",!0,i):s+=w.css(e,"border"+oe[a]+"Width",!0,i));return!r&&o>=0&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))),u}function et(e,t,n){var r=$e(e),i=Fe(e,t,r),o="border-box"===w.css(e,"boxSizing",!1,r),a=o;if(We.test(i)){if(!n)return i;i="auto"}return a=a&&(h.boxSizingReliable()||i===e.style[t]),("auto"===i||!parseFloat(i)&&"inline"===w.css(e,"display",!1,r))&&(i=e["offset"+t[0].toUpperCase()+t.slice(1)],a=!0),(i=parseFloat(i)||0)+Ze(e,t,n||(o?"border":"content"),a,r,i)+"px"}w.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Fe(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=G(t),u=Xe.test(t),l=e.style;if(u||(t=Je(s)),a=w.cssHooks[t]||w.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:l[t];"string"==(o=typeof n)&&(i=ie.exec(n))&&i[1]&&(n=ue(e,t,i),o="number"),null!=n&&n===n&&("number"===o&&(n+=i&&i[3]||(w.cssNumber[s]?"":"px")),h.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o,a,s=G(t);return Xe.test(t)||(t=Je(s)),(a=w.cssHooks[t]||w.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=Fe(e,t,r)),"normal"===i&&t in Ve&&(i=Ve[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),w.each(["height","width"],function(e,t){w.cssHooks[t]={get:function(e,n,r){if(n)return!ze.test(w.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?et(e,t,r):se(e,Ue,function(){return et(e,t,r)})},set:function(e,n,r){var i,o=$e(e),a="border-box"===w.css(e,"boxSizing",!1,o),s=r&&Ze(e,t,r,a,o);return a&&h.scrollboxSize()===o.position&&(s-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-Ze(e,t,"border",!1,o)-.5)),s&&(i=ie.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=w.css(e,t)),Ke(e,n,s)}}}),w.cssHooks.marginLeft=_e(h.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Fe(e,"marginLeft"))||e.getBoundingClientRect().left-se(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),w.each({margin:"",padding:"",border:"Width"},function(e,t){w.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+oe[r]+t]=o[r]||o[r-2]||o[0];return i}},"margin"!==e&&(w.cssHooks[e+t].set=Ke)}),w.fn.extend({css:function(e,t){return z(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=$e(e),i=t.length;a<i;a++)o[t[a]]=w.css(e,t[a],!1,r);return o}return void 0!==n?w.style(e,t,n):w.css(e,t)},e,t,arguments.length>1)}});function tt(e,t,n,r,i){return new tt.prototype.init(e,t,n,r,i)}w.Tween=tt,tt.prototype={constructor:tt,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||w.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(w.cssNumber[n]?"":"px")},cur:function(){var e=tt.propHooks[this.prop];return e&&e.get?e.get(this):tt.propHooks._default.get(this)},run:function(e){var t,n=tt.propHooks[this.prop];return this.options.duration?this.pos=t=w.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):tt.propHooks._default.set(this),this}},tt.prototype.init.prototype=tt.prototype,tt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=w.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){w.fx.step[e.prop]?w.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[w.cssProps[e.prop]]&&!w.cssHooks[e.prop]?e.elem[e.prop]=e.now:w.style(e.elem,e.prop,e.now+e.unit)}}},tt.propHooks.scrollTop=tt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},w.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},w.fx=tt.prototype.init,w.fx.step={};var nt,rt,it=/^(?:toggle|show|hide)$/,ot=/queueHooks$/;function at(){rt&&(!1===r.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(at):e.setTimeout(at,w.fx.interval),w.fx.tick())}function st(){return e.setTimeout(function(){nt=void 0}),nt=Date.now()}function ut(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=oe[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function lt(e,t,n){for(var r,i=(pt.tweeners[t]||[]).concat(pt.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function ct(e,t,n){var r,i,o,a,s,u,l,c,f="width"in t||"height"in t,p=this,d={},h=e.style,g=e.nodeType&&ae(e),y=J.get(e,"fxshow");n.queue||(null==(a=w._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,p.always(function(){p.always(function(){a.unqueued--,w.queue(e,"fx").length||a.empty.fire()})}));for(r in t)if(i=t[r],it.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!y||void 0===y[r])continue;g=!0}d[r]=y&&y[r]||w.style(e,r)}if((u=!w.isEmptyObject(t))||!w.isEmptyObject(d)){f&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(l=y&&y.display)&&(l=J.get(e,"display")),"none"===(c=w.css(e,"display"))&&(l?c=l:(fe([e],!0),l=e.style.display||l,c=w.css(e,"display"),fe([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===w.css(e,"float")&&(u||(p.done(function(){h.display=l}),null==l&&(c=h.display,l="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",p.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),u=!1;for(r in d)u||(y?"hidden"in y&&(g=y.hidden):y=J.access(e,"fxshow",{display:l}),o&&(y.hidden=!g),g&&fe([e],!0),p.done(function(){g||fe([e]),J.remove(e,"fxshow");for(r in d)w.style(e,r,d[r])})),u=lt(g?y[r]:0,r,p),r in y||(y[r]=u.start,g&&(u.end=u.start,u.start=0))}}function ft(e,t){var n,r,i,o,a;for(n in e)if(r=G(n),i=t[r],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=w.cssHooks[r])&&"expand"in a){o=a.expand(o),delete e[r];for(n in o)n in e||(e[n]=o[n],t[n]=i)}else t[r]=i}function pt(e,t,n){var r,i,o=0,a=pt.prefilters.length,s=w.Deferred().always(function(){delete u.elem}),u=function(){if(i)return!1;for(var t=nt||st(),n=Math.max(0,l.startTime+l.duration-t),r=1-(n/l.duration||0),o=0,a=l.tweens.length;o<a;o++)l.tweens[o].run(r);return s.notifyWith(e,[l,r,n]),r<1&&a?n:(a||s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l]),!1)},l=s.promise({elem:e,props:w.extend({},t),opts:w.extend(!0,{specialEasing:{},easing:w.easing._default},n),originalProperties:t,originalOptions:n,startTime:nt||st(),duration:n.duration,tweens:[],createTween:function(t,n){var r=w.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)l.tweens[n].run(1);return t?(s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l,t])):s.rejectWith(e,[l,t]),this}}),c=l.props;for(ft(c,l.opts.specialEasing);o<a;o++)if(r=pt.prefilters[o].call(l,e,c,l.opts))return g(r.stop)&&(w._queueHooks(l.elem,l.opts.queue).stop=r.stop.bind(r)),r;return w.map(c,lt,l),g(l.opts.start)&&l.opts.start.call(e,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),w.fx.timer(w.extend(u,{elem:e,anim:l,queue:l.opts.queue})),l}w.Animation=w.extend(pt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return ue(n.elem,e,ie.exec(t),n),n}]},tweener:function(e,t){g(e)?(t=e,e=["*"]):e=e.match(M);for(var n,r=0,i=e.length;r<i;r++)n=e[r],pt.tweeners[n]=pt.tweeners[n]||[],pt.tweeners[n].unshift(t)},prefilters:[ct],prefilter:function(e,t){t?pt.prefilters.unshift(e):pt.prefilters.push(e)}}),w.speed=function(e,t,n){var r=e&&"object"==typeof e?w.extend({},e):{complete:n||!n&&t||g(e)&&e,duration:e,easing:n&&t||t&&!g(t)&&t};return w.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in w.fx.speeds?r.duration=w.fx.speeds[r.duration]:r.duration=w.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){g(r.old)&&r.old.call(this),r.queue&&w.dequeue(this,r.queue)},r},w.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ae).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=w.isEmptyObject(e),o=w.speed(t,n,r),a=function(){var t=pt(this,w.extend({},e),o);(i||J.get(this,"finish"))&&t.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&!1!==e&&this.queue(e||"fx",[]),this.each(function(){var t=!0,i=null!=e&&e+"queueHooks",o=w.timers,a=J.get(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&ot.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1));!t&&n||w.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=J.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=w.timers,a=r?r.length:0;for(n.finish=!0,w.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),w.each(["toggle","show","hide"],function(e,t){var n=w.fn[t];w.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ut(t,!0),e,r,i)}}),w.each({slideDown:ut("show"),slideUp:ut("hide"),slideToggle:ut("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){w.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),w.timers=[],w.fx.tick=function(){var e,t=0,n=w.timers;for(nt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||w.fx.stop(),nt=void 0},w.fx.timer=function(e){w.timers.push(e),w.fx.start()},w.fx.interval=13,w.fx.start=function(){rt||(rt=!0,at())},w.fx.stop=function(){rt=null},w.fx.speeds={slow:600,fast:200,_default:400},w.fn.delay=function(t,n){return t=w.fx?w.fx.speeds[t]||t:t,n=n||"fx",this.queue(n,function(n,r){var i=e.setTimeout(n,t);r.stop=function(){e.clearTimeout(i)}})},function(){var e=r.createElement("input"),t=r.createElement("select").appendChild(r.createElement("option"));e.type="checkbox",h.checkOn=""!==e.value,h.optSelected=t.selected,(e=r.createElement("input")).value="t",e.type="radio",h.radioValue="t"===e.value}();var dt,ht=w.expr.attrHandle;w.fn.extend({attr:function(e,t){return z(this,w.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){w.removeAttr(this,e)})}}),w.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?w.prop(e,t,n):(1===o&&w.isXMLDoc(e)||(i=w.attrHooks[t.toLowerCase()]||(w.expr.match.bool.test(t)?dt:void 0)),void 0!==n?null===n?void w.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=w.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!h.radioValue&&"radio"===t&&N(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(M);if(i&&1===e.nodeType)while(n=i[r++])e.removeAttribute(n)}}),dt={set:function(e,t,n){return!1===t?w.removeAttr(e,n):e.setAttribute(n,n),n}},w.each(w.expr.match.bool.source.match(/\w+/g),function(e,t){var n=ht[t]||w.find.attr;ht[t]=function(e,t,r){var i,o,a=t.toLowerCase();return r||(o=ht[a],ht[a]=i,i=null!=n(e,t,r)?a:null,ht[a]=o),i}});var gt=/^(?:input|select|textarea|button)$/i,yt=/^(?:a|area)$/i;w.fn.extend({prop:function(e,t){return z(this,w.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[w.propFix[e]||e]})}}),w.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&w.isXMLDoc(e)||(t=w.propFix[t]||t,i=w.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=w.find.attr(e,"tabindex");return t?parseInt(t,10):gt.test(e.nodeName)||yt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),h.optSelected||(w.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),w.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){w.propFix[this.toLowerCase()]=this});function vt(e){return(e.match(M)||[]).join(" ")}function mt(e){return e.getAttribute&&e.getAttribute("class")||""}function xt(e){return Array.isArray(e)?e:"string"==typeof e?e.match(M)||[]:[]}w.fn.extend({addClass:function(e){var t,n,r,i,o,a,s,u=0;if(g(e))return this.each(function(t){w(this).addClass(e.call(this,t,mt(this)))});if((t=xt(e)).length)while(n=this[u++])if(i=mt(n),r=1===n.nodeType&&" "+vt(i)+" "){a=0;while(o=t[a++])r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(s=vt(r))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,i,o,a,s,u=0;if(g(e))return this.each(function(t){w(this).removeClass(e.call(this,t,mt(this)))});if(!arguments.length)return this.attr("class","");if((t=xt(e)).length)while(n=this[u++])if(i=mt(n),r=1===n.nodeType&&" "+vt(i)+" "){a=0;while(o=t[a++])while(r.indexOf(" "+o+" ")>-1)r=r.replace(" "+o+" "," ");i!==(s=vt(r))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):g(e)?this.each(function(n){w(this).toggleClass(e.call(this,n,mt(this),t),t)}):this.each(function(){var t,i,o,a;if(r){i=0,o=w(this),a=xt(e);while(t=a[i++])o.hasClass(t)?o.removeClass(t):o.addClass(t)}else void 0!==e&&"boolean"!==n||((t=mt(this))&&J.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":J.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;t=" "+e+" ";while(n=this[r++])if(1===n.nodeType&&(" "+vt(mt(n))+" ").indexOf(t)>-1)return!0;return!1}});var bt=/\r/g;w.fn.extend({val:function(e){var t,n,r,i=this[0];{if(arguments.length)return r=g(e),this.each(function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,w(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=w.map(i,function(e){return null==e?"":e+""})),(t=w.valHooks[this.type]||w.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))});if(i)return(t=w.valHooks[i.type]||w.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(bt,""):null==n?"":n}}}),w.extend({valHooks:{option:{get:function(e){var t=w.find.attr(e,"value");return null!=t?t:vt(w.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r<u;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!N(n.parentNode,"optgroup"))){if(t=w(n).val(),a)return t;s.push(t)}return s},set:function(e,t){var n,r,i=e.options,o=w.makeArray(t),a=i.length;while(a--)((r=i[a]).selected=w.inArray(w.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),w.each(["radio","checkbox"],function(){w.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=w.inArray(w(e).val(),t)>-1}},h.checkOn||(w.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),h.focusin="onfocusin"in e;var wt=/^(?:focusinfocus|focusoutblur)$/,Tt=function(e){e.stopPropagation()};w.extend(w.event,{trigger:function(t,n,i,o){var a,s,u,l,c,p,d,h,v=[i||r],m=f.call(t,"type")?t.type:t,x=f.call(t,"namespace")?t.namespace.split("."):[];if(s=h=u=i=i||r,3!==i.nodeType&&8!==i.nodeType&&!wt.test(m+w.event.triggered)&&(m.indexOf(".")>-1&&(m=(x=m.split(".")).shift(),x.sort()),c=m.indexOf(":")<0&&"on"+m,t=t[w.expando]?t:new w.Event(m,"object"==typeof t&&t),t.isTrigger=o?2:3,t.namespace=x.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+x.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),n=null==n?[t]:w.makeArray(n,[t]),d=w.event.special[m]||{},o||!d.trigger||!1!==d.trigger.apply(i,n))){if(!o&&!d.noBubble&&!y(i)){for(l=d.delegateType||m,wt.test(l+m)||(s=s.parentNode);s;s=s.parentNode)v.push(s),u=s;u===(i.ownerDocument||r)&&v.push(u.defaultView||u.parentWindow||e)}a=0;while((s=v[a++])&&!t.isPropagationStopped())h=s,t.type=a>1?l:d.bindType||m,(p=(J.get(s,"events")||{})[t.type]&&J.get(s,"handle"))&&p.apply(s,n),(p=c&&s[c])&&p.apply&&Y(s)&&(t.result=p.apply(s,n),!1===t.result&&t.preventDefault());return t.type=m,o||t.isDefaultPrevented()||d._default&&!1!==d._default.apply(v.pop(),n)||!Y(i)||c&&g(i[m])&&!y(i)&&((u=i[c])&&(i[c]=null),w.event.triggered=m,t.isPropagationStopped()&&h.addEventListener(m,Tt),i[m](),t.isPropagationStopped()&&h.removeEventListener(m,Tt),w.event.triggered=void 0,u&&(i[c]=u)),t.result}},simulate:function(e,t,n){var r=w.extend(new w.Event,n,{type:e,isSimulated:!0});w.event.trigger(r,null,t)}}),w.fn.extend({trigger:function(e,t){return this.each(function(){w.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return w.event.trigger(e,t,n,!0)}}),h.focusin||w.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){w.event.simulate(t,e.target,w.event.fix(e))};w.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=J.access(r,t);i||r.addEventListener(e,n,!0),J.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=J.access(r,t)-1;i?J.access(r,t,i):(r.removeEventListener(e,n,!0),J.remove(r,t))}}});var Ct=e.location,Et=Date.now(),kt=/\?/;w.parseXML=function(t){var n;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(e){n=void 0}return n&&!n.getElementsByTagName("parsererror").length||w.error("Invalid XML: "+t),n};var St=/\[\]$/,Dt=/\r?\n/g,Nt=/^(?:submit|button|image|reset|file)$/i,At=/^(?:input|select|textarea|keygen)/i;function jt(e,t,n,r){var i;if(Array.isArray(t))w.each(t,function(t,i){n||St.test(e)?r(e,i):jt(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)});else if(n||"object"!==x(t))r(e,t);else for(i in t)jt(e+"["+i+"]",t[i],n,r)}w.param=function(e,t){var n,r=[],i=function(e,t){var n=g(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(Array.isArray(e)||e.jquery&&!w.isPlainObject(e))w.each(e,function(){i(this.name,this.value)});else for(n in e)jt(n,e[n],t,i);return r.join("&")},w.fn.extend({serialize:function(){return w.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=w.prop(this,"elements");return e?w.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!w(this).is(":disabled")&&At.test(this.nodeName)&&!Nt.test(e)&&(this.checked||!pe.test(e))}).map(function(e,t){var n=w(this).val();return null==n?null:Array.isArray(n)?w.map(n,function(e){return{name:t.name,value:e.replace(Dt,"\r\n")}}):{name:t.name,value:n.replace(Dt,"\r\n")}}).get()}});var qt=/%20/g,Lt=/#.*$/,Ht=/([?&])_=[^&]*/,Ot=/^(.*?):[ \t]*([^\r\n]*)$/gm,Pt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Mt=/^(?:GET|HEAD)$/,Rt=/^\/\//,It={},Wt={},$t="*/".concat("*"),Bt=r.createElement("a");Bt.href=Ct.href;function Ft(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(M)||[];if(g(n))while(r=o[i++])"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function _t(e,t,n,r){var i={},o=e===Wt;function a(s){var u;return i[s]=!0,w.each(e[s]||[],function(e,s){var l=s(t,n,r);return"string"!=typeof l||o||i[l]?o?!(u=l):void 0:(t.dataTypes.unshift(l),a(l),!1)}),u}return a(t.dataTypes[0])||!i["*"]&&a("*")}function zt(e,t){var n,r,i=w.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&w.extend(!0,e,r),e}function Xt(e,t,n){var r,i,o,a,s=e.contents,u=e.dataTypes;while("*"===u[0])u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}function Ut(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];o=c.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}w.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ct.href,type:"GET",isLocal:Pt.test(Ct.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":$t,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":w.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?zt(zt(e,w.ajaxSettings),t):zt(w.ajaxSettings,e)},ajaxPrefilter:Ft(It),ajaxTransport:Ft(Wt),ajax:function(t,n){"object"==typeof t&&(n=t,t=void 0),n=n||{};var i,o,a,s,u,l,c,f,p,d,h=w.ajaxSetup({},n),g=h.context||h,y=h.context&&(g.nodeType||g.jquery)?w(g):w.event,v=w.Deferred(),m=w.Callbacks("once memory"),x=h.statusCode||{},b={},T={},C="canceled",E={readyState:0,getResponseHeader:function(e){var t;if(c){if(!s){s={};while(t=Ot.exec(a))s[t[1].toLowerCase()]=t[2]}t=s[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return c?a:null},setRequestHeader:function(e,t){return null==c&&(e=T[e.toLowerCase()]=T[e.toLowerCase()]||e,b[e]=t),this},overrideMimeType:function(e){return null==c&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)E.always(e[E.status]);else for(t in e)x[t]=[x[t],e[t]];return this},abort:function(e){var t=e||C;return i&&i.abort(t),k(0,t),this}};if(v.promise(E),h.url=((t||h.url||Ct.href)+"").replace(Rt,Ct.protocol+"//"),h.type=n.method||n.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(M)||[""],null==h.crossDomain){l=r.createElement("a");try{l.href=h.url,l.href=l.href,h.crossDomain=Bt.protocol+"//"+Bt.host!=l.protocol+"//"+l.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=w.param(h.data,h.traditional)),_t(It,h,n,E),c)return E;(f=w.event&&h.global)&&0==w.active++&&w.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Mt.test(h.type),o=h.url.replace(Lt,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(qt,"+")):(d=h.url.slice(o.length),h.data&&(h.processData||"string"==typeof h.data)&&(o+=(kt.test(o)?"&":"?")+h.data,delete h.data),!1===h.cache&&(o=o.replace(Ht,"$1"),d=(kt.test(o)?"&":"?")+"_="+Et+++d),h.url=o+d),h.ifModified&&(w.lastModified[o]&&E.setRequestHeader("If-Modified-Since",w.lastModified[o]),w.etag[o]&&E.setRequestHeader("If-None-Match",w.etag[o])),(h.data&&h.hasContent&&!1!==h.contentType||n.contentType)&&E.setRequestHeader("Content-Type",h.contentType),E.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+$t+"; q=0.01":""):h.accepts["*"]);for(p in h.headers)E.setRequestHeader(p,h.headers[p]);if(h.beforeSend&&(!1===h.beforeSend.call(g,E,h)||c))return E.abort();if(C="abort",m.add(h.complete),E.done(h.success),E.fail(h.error),i=_t(Wt,h,n,E)){if(E.readyState=1,f&&y.trigger("ajaxSend",[E,h]),c)return E;h.async&&h.timeout>0&&(u=e.setTimeout(function(){E.abort("timeout")},h.timeout));try{c=!1,i.send(b,k)}catch(e){if(c)throw e;k(-1,e)}}else k(-1,"No Transport");function k(t,n,r,s){var l,p,d,b,T,C=n;c||(c=!0,u&&e.clearTimeout(u),i=void 0,a=s||"",E.readyState=t>0?4:0,l=t>=200&&t<300||304===t,r&&(b=Xt(h,E,r)),b=Ut(h,b,E,l),l?(h.ifModified&&((T=E.getResponseHeader("Last-Modified"))&&(w.lastModified[o]=T),(T=E.getResponseHeader("etag"))&&(w.etag[o]=T)),204===t||"HEAD"===h.type?C="nocontent":304===t?C="notmodified":(C=b.state,p=b.data,l=!(d=b.error))):(d=C,!t&&C||(C="error",t<0&&(t=0))),E.status=t,E.statusText=(n||C)+"",l?v.resolveWith(g,[p,C,E]):v.rejectWith(g,[E,C,d]),E.statusCode(x),x=void 0,f&&y.trigger(l?"ajaxSuccess":"ajaxError",[E,h,l?p:d]),m.fireWith(g,[E,C]),f&&(y.trigger("ajaxComplete",[E,h]),--w.active||w.event.trigger("ajaxStop")))}return E},getJSON:function(e,t,n){return w.get(e,t,n,"json")},getScript:function(e,t){return w.get(e,void 0,t,"script")}}),w.each(["get","post"],function(e,t){w[t]=function(e,n,r,i){return g(n)&&(i=i||r,r=n,n=void 0),w.ajax(w.extend({url:e,type:t,dataType:i,data:n,success:r},w.isPlainObject(e)&&e))}}),w._evalUrl=function(e){return w.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,"throws":!0})},w.fn.extend({wrapAll:function(e){var t;return this[0]&&(g(e)&&(e=e.call(this[0])),t=w(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstElementChild)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return g(e)?this.each(function(t){w(this).wrapInner(e.call(this,t))}):this.each(function(){var t=w(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=g(e);return this.each(function(n){w(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){w(this).replaceWith(this.childNodes)}),this}}),w.expr.pseudos.hidden=function(e){return!w.expr.pseudos.visible(e)},w.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},w.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(e){}};var Vt={0:200,1223:204},Gt=w.ajaxSettings.xhr();h.cors=!!Gt&&"withCredentials"in Gt,h.ajax=Gt=!!Gt,w.ajaxTransport(function(t){var n,r;if(h.cors||Gt&&!t.crossDomain)return{send:function(i,o){var a,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)s[a]=t.xhrFields[a];t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");for(a in i)s.setRequestHeader(a,i[a]);n=function(e){return function(){n&&(n=r=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(Vt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=n(),r=s.onerror=s.ontimeout=n("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&e.setTimeout(function(){n&&r()})},n=n("abort");try{s.send(t.hasContent&&t.data||null)}catch(e){if(n)throw e}},abort:function(){n&&n()}}}),w.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),w.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return w.globalEval(e),e}}}),w.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),w.ajaxTransport("script",function(e){if(e.crossDomain){var t,n;return{send:function(i,o){t=w("<script>").prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&o("error"===e.type?404:200,e.type)}),r.head.appendChild(t[0])},abort:function(){n&&n()}}}});var Yt=[],Qt=/(=)\?(?=&|$)|\?\?/;w.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Yt.pop()||w.expando+"_"+Et++;return this[e]=!0,e}}),w.ajaxPrefilter("json jsonp",function(t,n,r){var i,o,a,s=!1!==t.jsonp&&(Qt.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Qt.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=g(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(Qt,"$1"+i):!1!==t.jsonp&&(t.url+=(kt.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return a||w.error(i+" was not called"),a[0]},t.dataTypes[0]="json",o=e[i],e[i]=function(){a=arguments},r.always(function(){void 0===o?w(e).removeProp(i):e[i]=o,t[i]&&(t.jsonpCallback=n.jsonpCallback,Yt.push(i)),a&&g(o)&&o(a[0]),a=o=void 0}),"script"}),h.createHTMLDocument=function(){var e=r.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",2===e.childNodes.length}(),w.parseHTML=function(e,t,n){if("string"!=typeof e)return[];"boolean"==typeof t&&(n=t,t=!1);var i,o,a;return t||(h.createHTMLDocument?((i=(t=r.implementation.createHTMLDocument("")).createElement("base")).href=r.location.href,t.head.appendChild(i)):t=r),o=A.exec(e),a=!n&&[],o?[t.createElement(o[1])]:(o=xe([e],t,a),a&&a.length&&w(a).remove(),w.merge([],o.childNodes))},w.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return s>-1&&(r=vt(e.slice(s)),e=e.slice(0,s)),g(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),a.length>0&&w.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?w("<div>").append(w.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},w.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){w.fn[t]=function(e){return this.on(t,e)}}),w.expr.pseudos.animated=function(e){return w.grep(w.timers,function(t){return e===t.elem}).length},w.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l,c=w.css(e,"position"),f=w(e),p={};"static"===c&&(e.style.position="relative"),s=f.offset(),o=w.css(e,"top"),u=w.css(e,"left"),(l=("absolute"===c||"fixed"===c)&&(o+u).indexOf("auto")>-1)?(a=(r=f.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),g(t)&&(t=t.call(e,n,w.extend({},s))),null!=t.top&&(p.top=t.top-s.top+a),null!=t.left&&(p.left=t.left-s.left+i),"using"in t?t.using.call(e,p):f.css(p)}},w.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){w.offset.setOffset(this,e,t)});var t,n,r=this[0];if(r)return r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===w.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===w.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=w(e).offset()).top+=w.css(e,"borderTopWidth",!0),i.left+=w.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-w.css(r,"marginTop",!0),left:t.left-i.left-w.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===w.css(e,"position"))e=e.offsetParent;return e||be})}}),w.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;w.fn[e]=function(r){return z(this,function(e,r,i){var o;if(y(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===i)return o?o[t]:e[r];o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):e[r]=i},e,r,arguments.length)}}),w.each(["top","left"],function(e,t){w.cssHooks[t]=_e(h.pixelPosition,function(e,n){if(n)return n=Fe(e,t),We.test(n)?w(e).position()[t]+"px":n})}),w.each({Height:"height",Width:"width"},function(e,t){w.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){w.fn[r]=function(i,o){var a=arguments.length&&(n||"boolean"!=typeof i),s=n||(!0===i||!0===o?"margin":"border");return z(this,function(t,n,i){var o;return y(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===i?w.css(t,n,s):w.style(t,n,i,s)},t,a?i:void 0,a)}})}),w.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){w.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),w.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),w.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),w.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),g(e))return r=o.call(arguments,2),i=function(){return e.apply(t||this,r.concat(o.call(arguments)))},i.guid=e.guid=e.guid||w.guid++,i},w.holdReady=function(e){e?w.readyWait++:w.ready(!0)},w.isArray=Array.isArray,w.parseJSON=JSON.parse,w.nodeName=N,w.isFunction=g,w.isWindow=y,w.camelCase=G,w.type=x,w.now=Date.now,w.isNumeric=function(e){var t=w.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},"function"==typeof define&&define.amd&&define("jquery",[],function(){return w});var Jt=e.jQuery,Kt=e.$;return w.noConflict=function(t){return e.$===w&&(e.$=Kt),t&&e.jQuery===w&&(e.jQuery=Jt),w},t||(e.jQuery=e.$=w),w});
/*! jQuery Migrate v3.0.1 | (c) jQuery Foundation and other contributors | jquery.org/license */
void 0 === jQuery.migrateMute && (jQuery.migrateMute = !0), function(e) {
"function" == typeof define && define.amd ? define([ "jquery" ], window, e) : "object" == typeof module && module.exports ? module.exports = e(require("jquery"), window) : e(jQuery, window);
}(function(e, t) {
"use strict";
function r(r) {
var n = t.console;
o[r] || (o[r] = !0, e.migrateWarnings.push(r), n && n.warn && !e.migrateMute && (n.warn("JQMIGRATE: " + r),
e.migrateTrace && n.trace && n.trace()));
}
function n(e, t, n, a) {
Object.defineProperty(e, t, {
configurable: !0,
enumerable: !0,
get: function() {
return r(a), n;
},
set: function(e) {
r(a), n = e;
}
});
}
function a(e, t, n, a) {
e[t] = function() {
return r(a), n.apply(this, arguments);
};
}
e.migrateVersion = "3.0.1", function() {
var r = /^[12]\./;
t.console && t.console.log && (e && !r.test(e.fn.jquery) || t.console.log("JQMIGRATE: jQuery 3.0.0+ REQUIRED"),
e.migrateWarnings && t.console.log("JQMIGRATE: Migrate plugin loaded multiple times"),
t.console.log("JQMIGRATE: Migrate is installed" + (e.migrateMute ? "" : " with logging active") + ", version " + e.migrateVersion));
}();
var o = {};
e.migrateWarnings = [], void 0 === e.migrateTrace && (e.migrateTrace = !0), e.migrateReset = function() {
o = {}, e.migrateWarnings.length = 0;
}, "BackCompat" === t.document.compatMode && r("jQuery is not compatible with Quirks Mode");
var i = e.fn.init, s = e.isNumeric, u = e.find, c = /\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/, l = /\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/g;
e.fn.init = function(e) {
var t = Array.prototype.slice.call(arguments);
return "string" == typeof e && "#" === e && (r("jQuery( '#' ) is not a valid selector"),
t[0] = []), i.apply(this, t);
}, e.fn.init.prototype = e.fn, e.find = function(e) {
var n = Array.prototype.slice.call(arguments);
if ("string" == typeof e && c.test(e)) try {
t.document.querySelector(e);
} catch (a) {
e = e.replace(l, function(e, t, r, n) {
return "[" + t + r + '"' + n + '"]';
});
try {
t.document.querySelector(e), r("Attribute selector with '#' must be quoted: " + n[0]),
n[0] = e;
} catch (e) {
r("Attribute selector with '#' was not fixed: " + n[0]);
}
}
return u.apply(this, n);
};
var d;
for (d in u) Object.prototype.hasOwnProperty.call(u, d) && (e.find[d] = u[d]);
e.fn.size = function() {
return r("jQuery.fn.size() is deprecated and removed; use the .length property"),
this.length;
}, e.parseJSON = function() {
return r("jQuery.parseJSON is deprecated; use JSON.parse"), JSON.parse.apply(null, arguments);
}, e.isNumeric = function(t) {
var n = s(t), a = function(t) {
var r = t && t.toString();
return !e.isArray(t) && r - parseFloat(r) + 1 >= 0;
}(t);
return n !== a && r("jQuery.isNumeric() should not be called on constructed objects"),
a;
}, a(e, "holdReady", e.holdReady, "jQuery.holdReady is deprecated"), a(e, "unique", e.uniqueSort, "jQuery.unique is deprecated; use jQuery.uniqueSort"),
n(e.expr, "filters", e.expr.pseudos, "jQuery.expr.filters is deprecated; use jQuery.expr.pseudos"),
n(e.expr, ":", e.expr.pseudos, "jQuery.expr[':'] is deprecated; use jQuery.expr.pseudos");
var p = e.ajax;
e.ajax = function() {
var e = p.apply(this, arguments);
return e.promise && (a(e, "success", e.done, "jQXHR.success is deprecated and removed"),
a(e, "error", e.fail, "jQXHR.error is deprecated and removed"), a(e, "complete", e.always, "jQXHR.complete is deprecated and removed")),
e;
};
var f = e.fn.removeAttr, y = e.fn.toggleClass, m = /\S+/g;
e.fn.removeAttr = function(t) {
var n = this;
return e.each(t.match(m), function(t, a) {
e.expr.match.bool.test(a) && (r("jQuery.fn.removeAttr no longer sets boolean properties: " + a),
n.prop(a, !1));
}), f.apply(this, arguments);
}, e.fn.toggleClass = function(t) {
return void 0 !== t && "boolean" != typeof t ? y.apply(this, arguments) : (r("jQuery.fn.toggleClass( boolean ) is deprecated"),
this.each(function() {
var r = this.getAttribute && this.getAttribute("class") || "";
r && e.data(this, "__className__", r), this.setAttribute && this.setAttribute("class", r || !1 === t ? "" : e.data(this, "__className__") || "");
}));
};
var h = !1;
e.swap && e.each([ "height", "width", "reliableMarginRight" ], function(t, r) {
var n = e.cssHooks[r] && e.cssHooks[r].get;
n && (e.cssHooks[r].get = function() {
var e;
return h = !0, e = n.apply(this, arguments), h = !1, e;
});
}), e.swap = function(e, t, n, a) {
var o, i, s = {};
h || r("jQuery.swap() is undocumented and deprecated");
for (i in t) s[i] = e.style[i], e.style[i] = t[i];
o = n.apply(e, a || []);
for (i in t) e.style[i] = s[i];
return o;
};
var g = e.data;
e.data = function(t, n, a) {
var o;
if (n && "object" == typeof n && 2 === arguments.length) {
o = e.hasData(t) && g.call(this, t);
var i = {};
for (var s in n) s !== e.camelCase(s) ? (r("jQuery.data() always sets/gets camelCased names: " + s),
o[s] = n[s]) : i[s] = n[s];
return g.call(this, t, i), n;
}
return n && "string" == typeof n && n !== e.camelCase(n) && (o = e.hasData(t) && g.call(this, t)) && n in o ? (r("jQuery.data() always sets/gets camelCased names: " + n),
arguments.length > 2 && (o[n] = a), o[n]) : g.apply(this, arguments);
};
var v = e.Tween.prototype.run, j = function(e) {
return e;
};
e.Tween.prototype.run = function() {
e.easing[this.easing].length > 1 && (r("'jQuery.easing." + this.easing.toString() + "' should use only one argument"),
e.easing[this.easing] = j), v.apply(this, arguments);
}, e.fx.interval = e.fx.interval || 13, t.requestAnimationFrame && n(e.fx, "interval", e.fx.interval, "jQuery.fx.interval is deprecated");
var Q = e.fn.load, b = e.event.add, w = e.event.fix;
e.event.props = [], e.event.fixHooks = {}, n(e.event.props, "concat", e.event.props.concat, "jQuery.event.props.concat() is deprecated and removed"),
e.event.fix = function(t) {
var n, a = t.type, o = this.fixHooks[a], i = e.event.props;
if (i.length) for (r("jQuery.event.props are deprecated and removed: " + i.join()); i.length; ) e.event.addProp(i.pop());
if (o && !o._migrated_ && (o._migrated_ = !0, r("jQuery.event.fixHooks are deprecated and removed: " + a),
(i = o.props) && i.length)) for (;i.length; ) e.event.addProp(i.pop());
return n = w.call(this, t), o && o.filter ? o.filter(n, t) : n;
}, e.event.add = function(e, n) {
return e === t && "load" === n && "complete" === t.document.readyState && r("jQuery(window).on('load'...) called after load event occurred"),
b.apply(this, arguments);
}, e.each([ "load", "unload", "error" ], function(t, n) {
e.fn[n] = function() {
var e = Array.prototype.slice.call(arguments, 0);
return "load" === n && "string" == typeof e[0] ? Q.apply(this, e) : (r("jQuery.fn." + n + "() is deprecated"),
e.splice(0, 0, n), arguments.length ? this.on.apply(this, e) : (this.triggerHandler.apply(this, e),
this));
};
}), e.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "), function(t, n) {
e.fn[n] = function(e, t) {
return r("jQuery.fn." + n + "() event shorthand is deprecated"), arguments.length > 0 ? this.on(n, null, e, t) : this.trigger(n);
};
}), e(function() {
e(t.document).triggerHandler("ready");
}), e.event.special.ready = {
setup: function() {
this === t.document && r("'ready' event is deprecated");
}
}, e.fn.extend({
bind: function(e, t, n) {
return r("jQuery.fn.bind() is deprecated"), this.on(e, null, t, n);
},
unbind: function(e, t) {
return r("jQuery.fn.unbind() is deprecated"), this.off(e, null, t);
},
delegate: function(e, t, n, a) {
return r("jQuery.fn.delegate() is deprecated"), this.on(t, e, n, a);
},
undelegate: function(e, t, n) {
return r("jQuery.fn.undelegate() is deprecated"), 1 === arguments.length ? this.off(e, "**") : this.off(t, e || "**", n);
},
hover: function(e, t) {
return r("jQuery.fn.hover() is deprecated"), this.on("mouseenter", e).on("mouseleave", t || e);
}
});
var x = e.fn.offset;
e.fn.offset = function() {
var n, a = this[0], o = {
top: 0,
left: 0
};
return a && a.nodeType ? (n = (a.ownerDocument || t.document).documentElement, e.contains(n, a) ? x.apply(this, arguments) : (r("jQuery.fn.offset() requires an element connected to a document"),
o)) : (r("jQuery.fn.offset() requires a valid DOM element"), o);
};
var k = e.param;
e.param = function(t, n) {
var a = e.ajaxSettings && e.ajaxSettings.traditional;
return void 0 === n && a && (r("jQuery.param() no longer uses jQuery.ajaxSettings.traditional"),
n = a), k.call(this, t, n);
};
var A = e.fn.andSelf || e.fn.addBack;
e.fn.andSelf = function() {
return r("jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack()"),
A.apply(this, arguments);
};
var S = e.Deferred, q = [ [ "resolve", "done", e.Callbacks("once memory"), e.Callbacks("once memory"), "resolved" ], [ "reject", "fail", e.Callbacks("once memory"), e.Callbacks("once memory"), "rejected" ], [ "notify", "progress", e.Callbacks("memory"), e.Callbacks("memory") ] ];
return e.Deferred = function(t) {
var n = S(), a = n.promise();
return n.pipe = a.pipe = function() {
var t = arguments;
return r("deferred.pipe() is deprecated"), e.Deferred(function(r) {
e.each(q, function(o, i) {
var s = e.isFunction(t[o]) && t[o];
n[i[1]](function() {
var t = s && s.apply(this, arguments);
t && e.isFunction(t.promise) ? t.promise().done(r.resolve).fail(r.reject).progress(r.notify) : r[i[0] + "With"](this === a ? r.promise() : this, s ? [ t ] : arguments);
});
}), t = null;
}).promise();
}, t && t.call(n, n), n;
}, e.Deferred.exceptionHook = S.exceptionHook, e;
});
\ No newline at end of file
/*!
* jQuery FixedTableHeader plugin
*
* Copyright 2014 Hung Nguyen
*
* Date: Tue Nov 4 2014 07:00:00 GMT
*/
/*jslint browser: true, nomen: true, unparam: true, node: true*/
/*global $, jQuery*/
'use strict';
(function ($) {
$.fn.fixedTableHeader = function () {
return this.each(function (key, item) {
var $self = $(this),
$fixedHeader,
$originalHeader,
tableTopOffset,
tableBottomOffset,
headerHeight,
originalWidth = [];
$self.find('thead > tr > th').each(function (key, item) {
originalWidth.push($(item).outerWidth());
});
function init() {
var ua = navigator.userAgent;
if (ua.indexOf('iPhone') > 0 || ua.indexOf('Android') > 0 && ua.indexOf('Mobile') > 0) {
$originalHeader = $self.find('thead:first');
$fixedHeader = $originalHeader.clone();
$fixedHeader.css('position', 'fixed');
$fixedHeader.css('display', 'none');
$fixedHeader.css('height', $self.find('thead').outerHeight());
$fixedHeader.css('width', $self.find('thead').outerWidth());
$fixedHeader.css('top', 100);
$fixedHeader.css('left', $self.find('thead').offset().left);
$fixedHeader.css('margin-top', 0);
$fixedHeader.css('z-index', 1);
$originalHeader.after($fixedHeader);
} else {
$originalHeader = $self.find('thead:first');
$fixedHeader = $originalHeader.clone();
$fixedHeader.css('position', 'fixed');
$fixedHeader.css('display', 'none');
$fixedHeader.css('height', $self.find('thead').outerHeight());
$fixedHeader.css('width', $self.find('thead').outerWidth());
$fixedHeader.css('top', 50);
$fixedHeader.css('left', $self.find('thead').offset().left);
$fixedHeader.css('margin-top', 0);
$fixedHeader.css('z-index', 1);
$originalHeader.after($fixedHeader);
}
}
function left() {
return parseInt($self.offset().left, 10) - parseInt($(window).scrollLeft(), 10);
}
function onResize() {
$fixedHeader.css('left', left());
$fixedHeader.css('width', $self.find('thead').outerWidth());
$fixedHeader.find("th").each(function (index) {
originalWidth[index] = $originalHeader.find("th").eq(index).outerWidth();
$(this).css("min-width", $originalHeader.find("th").eq(index).outerWidth());
$(this).css("max-width", $originalHeader.find("th").eq(index).outerWidth());
});
}
function onScroll() {
tableTopOffset = $self.offset().top;
headerHeight = $fixedHeader.find('tr').height();
tableBottomOffset = tableTopOffset + $self.height() - headerHeight;
$fixedHeader.find('th').each(function (key, item) {
$(item).css('min-width', parseInt(originalWidth[key], 10));
$(item).css('max-width', parseInt(originalWidth[key], 10));
});
$fixedHeader.css('left', left());
if ($(window).scrollTop() > tableTopOffset && $(window).scrollTop() < tableBottomOffset) {
$fixedHeader.show();
} else {
$fixedHeader.hide();
}
}
init();
$(window).resize(onResize);
$(window).scroll(onScroll);
});
};
}(jQuery));
"use strict";!function(e){e.fn.fixedTableHeader=function(){return this.each(function(){function c(){var e=navigator.userAgent;e.indexOf("iPhone")>0||e.indexOf("Android")>0&&e.indexOf("Mobile")>0?(o=i.find("thead:first"),r=o.clone(),r.css("position","fixed"),r.css("display","none"),r.css("height",i.find("thead").outerHeight()),r.css("width",i.find("thead").outerWidth()),r.css("top",100),r.css("left",i.find("thead").offset().left),r.css("margin-top",0),r.css("z-index",1),o.after(r)):(o=i.find("thead:first"),r=o.clone(),r.css("position","fixed"),r.css("display","none"),r.css("height",i.find("thead").outerHeight()),r.css("width",i.find("thead").outerWidth()),r.css("top",50),r.css("left",i.find("thead").offset().left),r.css("margin-top",0),r.css("z-index",1),o.after(r))}function f(){return parseInt(i.offset().left,10)-parseInt(e(window).scrollLeft(),10)}function d(){r.css("left",f()),r.css("width",i.find("thead").outerWidth()),r.find("th").each(function(t){l[t]=o.find("th").eq(t).outerWidth(),e(this).css("min-width",o.find("th").eq(t).outerWidth()),e(this).css("max-width",o.find("th").eq(t).outerWidth())})}function p(){s=i.offset().top,u=r.find("tr").height(),a=s+i.height()-u,r.find("th").each(function(t,n){e(n).css("min-width",parseInt(l[t],10)),e(n).css("max-width",parseInt(l[t],10))}),r.css("left",f()),e(window).scrollTop()>s&&e(window).scrollTop()<a?r.show():r.hide()}var r,o,s,a,u,i=e(this),l=[];i.find("thead > tr > th").each(function(t,n){l.push(e(n).outerWidth())}),c(),e(window).resize(d),e(window).scroll(p)})}}(jQuery);
\ No newline at end of file
<?php
/* ===============================================================================
総合設定ファイル
=============================================================================== */
/* ディレクトリ設定
------------------------------------------------------------------------------- */
$templatepath = get_template_directory();
define('T_LIBS', $templatepath . '/libs/');
define('T_THEME', get_template_directory_uri());
/* カスタム投稿
------------------------------------------------------------------------------- */
add_action('init', 'create_post_type');
function create_post_type()
{
register_post_type('news', [ // 投稿タイプ名の定義
'labels' => [
'name' => 'ニュース', // 管理画面上で表示する投稿タイプ名
'singular_name' => 'news', // カスタム投稿の識別名
],
'public' => true, // 投稿タイプをpublicにするか
'has_archive' => true, // アーカイブ機能ON/OFF
'menu_position' => 4, // 管理画面上での配置場所
'show_in_rest' => true, // 5系から出てきた新エディタ「Gutenberg」を有効にする
'supports' => array('title', 'editor', 'thumbnail'),
'slug' => 'news',
'rewrite' => array('slug' => 'news', 'with_front' => false),
'taxonomy' => 'news_tax',
]);
$args = array(
'label' => __('カテゴリー', 'achievement'),
'public' => true,
'hierarchical' => true,
'rewrite' => array('slug' => 'news', 'with_front' => false),
);
register_taxonomy('news_tax', 'news', $args);
register_post_type('case', [
'labels' => [
'name' => 'お客様事例',
'singular_name' => 'case',
],
'public' => true,
'has_archive' => true,
'menu_position' => 3,
'show_in_rest' => true,
]);
$args = array(
'label' => __('カテゴリー', 'case'),
'public' => true,
'hierarchical' => true,
'rewrite' => array('slug' => 'case', 'with_front' => false),
);
register_taxonomy('case_tax', 'case', $args);
register_post_type('trainer', [
'labels' => [
'name' => '講師紹介',
'singular_name' => 'trainer',
],
'public' => true,
'has_archive' => true,
'menu_position' => 7,
'show_in_rest' => true,
]);
$args = array(
'label' => __('カテゴリー', 'trainer'),
'public' => true,
'hierarchical' => true,
'rewrite' => array('slug' => 'trainer', 'with_front' => false),
);
register_taxonomy('trainer_tax', 'trainer', $args);
register_post_type('experience', [
'labels' => [
'name' => '講演会',
'singular_name' => 'experience',
],
'public' => true,
'has_archive' => true,
'menu_position' => 8,
'show_in_rest' => true,
]);
$args = array(
'label' => __('カテゴリー', 'experience'),
'public' => true,
'hierarchical' => true,
'rewrite' => array('slug' => 'experience', 'with_front' => false),
);
register_taxonomy('experience_tax', 'experience', $args);
register_post_type('faq', [
'labels' => [
'name' => 'よくある質問',
'singular_name' => 'faq',
],
'public' => true,
'has_archive' => true,
'menu_position' => 9,
'show_in_rest' => true,
]);
$args = array(
'label' => __('カテゴリー', 'faq'),
'public' => true,
'hierarchical' => true,
'rewrite' => array('slug' => 'faq', 'with_front' => false),
);
register_taxonomy('faq_tax', 'faq', $args);
register_post_type('seminar', [
'labels' => [
'name' => 'セミナー',
'singular_name' => 'seminar',
],
'public' => true,
'has_archive' => true,
'menu_position' => 10,
'show_in_rest' => true,
]);
$args = array(
'label' => __('カテゴリー', 'seminar'),
'public' => true,
'hierarchical' => true,
'rewrite' => array('slug' => 'seminar', 'with_front' => false),
);
register_taxonomy('seminar_tax', 'seminar', $args);
}
add_theme_support('post-thumbnails');
set_post_thumbnail_size(600, 346, true);
/*【管理画面】ACF Options Page の設定 */
if( function_exists('acf_add_options_page') ) {
acf_add_options_page(array(
'page_title' => 'UpdateText', // ページタイトル
'menu_title' => '一括更新テキスト', // メニュータイトル
'menu_slug' => 'update-text', // メニュースラッグ
'capability' => 'edit_posts',
'redirect' => false
));
}
// 「講演会」本文エディタ削除
function my_remove_post_support() {
remove_post_type_support('experience','editor');
}
add_action('init','my_remove_post_support');
/*===================================
mark new post
===================================*/
function mark_new_post($days)
{
$today = date_i18n('U');
$entry_day = get_the_time('U');
$post_day = date('U', ($today - $entry_day)) / 86400;
if ($days > $post_day) :
echo '<p class="c-list1__tag"><span>会社情報</span></p>';
endif;
}
//auto check taxonomy custom post news
function mfields_set_default_object_terms($post_id, $post)
{
if ('publish' === $post->post_status && $post->post_type === 'news') {
$defaults = array(
'news_tax' => array('info')
);
$taxonomies = get_object_taxonomies($post->post_type);
foreach ((array) $taxonomies as $taxonomy) {
$terms = wp_get_post_terms($post_id, $taxonomy);
if (empty($terms) && array_key_exists($taxonomy, $defaults)) {
wp_set_object_terms($post_id, $defaults[$taxonomy], $taxonomy);
}
}
}
}
add_action('save_post', 'mfields_set_default_object_terms', 100, 2);
// function tax_news($termlink, $term, $taxonomy)
// {
// if ('news_tax' == $taxonomy)
// return home_url() . '/news/' . $term->slug;
// return $termlink;
// }
// add_filter('term_link', 'tax_news', 10, 3);
// add_filter('request', 'rudr_change_term_request', 1, 1);
// add_filter('term_link', 'rudr_term_permalink', 10, 3);
// function rudr_change_term_request($query)
// {
// $tax_name = 'news_tax';
// if ($query['attachment']) :
// $include_children = true;
// $name = $query['attachment'];
// else :
// $include_children = false;
// $name = $query['name'];
// endif;
// $term = get_term_by('slug', $name, $tax_name);
// if (isset($name) && $term && !is_wp_error($term)) :
// if ($include_children) {
// unset($query['attachment']);
// $parent = $term->parent;
// while ($parent) {
// $parent_term = get_term($parent, $tax_name);
// $name = $parent_term->slug . '/' . $name;
// $parent = $parent_term->parent;
// }
// } else {
// unset($query['name']);
// }
// endif;
// return $query;
// }
// function rudr_term_permalink($url, $term, $taxonomy)
// {
// $taxonomy_name = 'news_tax';
// $taxonomy_slug = 'news_tax';
// if (strpos($url, $taxonomy_slug) === FALSE || $taxonomy != $taxonomy_name) return $url;
// $url = str_replace('/' . $taxonomy_slug, '', $url);
// return $url;
// }
/*【管理画面】投稿メニューを非表示 */
function remove_menus()
{
global $menu;
remove_menu_page('edit.php');
}
add_action('admin_menu', 'remove_menus');
// Code viet lai rule cho taxonomy custom post type. Chỉ chạy 1 lần rồi xóa đi.
// Code rewrite rule for taxonomy custom post type. Only run 1 time and then delete.
function generate_taxonomy_rewrite_rules($wp_rewrite)
{
$rules = array();
$post_types = get_post_types(array('public' => true, '_builtin' => false), 'objects');
$taxonomies = get_taxonomies(array('public' => true, '_builtin' => false), 'objects');
foreach ($post_types as $post_type) {
$post_type_name = $post_type->name;
$post_type_slug = $post_type->rewrite['slug'];
foreach ($taxonomies as $taxonomy) {
if ($taxonomy->object_type[0] == $post_type_name) {
$terms = get_categories(array('type' => $post_type_name, 'taxonomy' => $taxonomy->name, 'hide_empty' => 0));
foreach ($terms as $term) {
$rules[$post_type_slug . '/' . $term->slug . '/?$'] = 'index.php?' . $term->taxonomy . '=' . $term->slug;
$rules[$post_type_slug . '/' . $term->slug . '/page/?([0-9]{1,})/?$'] = 'index.php?' . $term->taxonomy . '=' . $term->slug . '&paged=' . $wp_rewrite->preg_index(1);
}
}
}
}
$wp_rewrite->rules = $rules + $wp_rewrite->rules;
}
add_action('generate_rewrite_rules', 'generate_taxonomy_rewrite_rules');
<?php $pageid="top";?>
<?php include(get_template_directory() . '/assets/include/header.php'); ?>
<main class="top">
<div class="top-mainvisual">
<div class="top-mainvisual__video">
<video src="/common_previous/mov/OS_TOP5.mp4" preload="auto" class="movie-player-image" id="movie-preview" height="100%" width="100%" autoplay="" loop="" muted="" playsinline=""></video>
</div>
<div class="top-mainvisual__btn">
<div class="c-btn1">
<a href="/service/" class="c-btn1__txt">サービス一覧</a>
</div>
<div class="c-btn1">
<a href="/strategy/" class="c-btn1__txt">『頂点への道』講座
<br class="sp-only">体験説明会</a>
</div>
</div>
</div>
<section class="top1">
<div class="c-heading">
<div class="c-title1">
<h2 class="c-title1__main">お知らせ</h2>
<p class="c-title1__sub">news</p>
</div>
<div class="c-btn2">
<a href="/news/" class="c-btn2__txt">一覧を見る</a>
</div>
</div>
<div class="top1__wrap">
<div class="container">
<!-- <ul class="c-list1">
<li class="c-list1__item">
<div class="c-list1__intro">
<time datetime="2020-04-09" class="c-list1__date">2020年04月09日</time>
<p class="c-list1__tag">
<span>会社情報</span>
</p>
</div>
<div class="c-list1__link">
<a href="/news/info/details/20200409/" class="c-list1__txt">セミナー開催日程の追加と、一部中止のお知らせ</a>
</div>
</li>
<li class="c-list1__item">
<div class="c-list1__intro">
<time datetime="2020-04-07" class="c-list1__date">2020年04月07日</time>
<p class="c-list1__tag">
<span>会社情報</span>
</p>
</div>
<div class="c-list1__link">
<a href="/news/info/details/20200407/" class="c-list1__txt">新型コロナウイルス感染対策に伴う、各種講座・セミナー開催中止のお知らせ(4月7日更新)</a>
</div>
</li>
<li class="c-list1__item">
<div class="c-list1__intro">
<time datetime="2020-04-01" class="c-list1__date">2020年04月01日</time>
<p class="c-list1__tag">
<span>会社情報</span>
</p>
</div>
<div class="c-list1__link">
<a href="/news/info/details/20200401/" class="c-list1__txt">新型コロナウイルス感染対策に伴う、各種講座・セミナー開催中止のお知らせ(4月1日更新)</a>
</div>
</li>
<li class="c-list1__item">
<div class="c-list1__intro">
<time datetime="2020-03-28" class="c-list1__date">2020年03月28日</time>
<p class="c-list1__tag">
<span>会社情報</span>
</p>
</div>
<div class="c-list1__link">
<a href="/news/info/details/20200328/" class="c-list1__txt">東京都外出自粛要請に伴う、在宅勤務切り替えのお知らせ</a>
</div>
</li>
<li class="c-list1__item">
<div class="c-list1__intro">
<time datetime="2020-03-27" class="c-list1__date">2020年03月27日</time>
<p class="c-list1__tag"><span>会社情報</span></p>
</div>
<div class="c-list1__link">
<a href="/news/info/details/20200327/" class="c-list1__txt">基本的欲求サーベイWeb版システムメンテナンスのお知らせ</a>
</div>
</li>
</ul> -->
<?php
$args = array(
'posts_per_page' => 5,
'post_type' => 'news',
);
$query = new WP_Query( $args );
?>
<?php if( $query->have_posts() ) : ?>
<ul class="c-list1">
<?php while ( $query->have_posts() ) : $query->the_post(); ?>
<li class="c-list1__item">
<div class="c-list1__intro">
<time class="c-list1__date"><?php the_time('Y年m月d日'); ?></time>
<p class="c-list1__tag"><span>会社情報</span></p>
</div>
<div class="c-list1__link">
<a href="<?php the_permalink(); ?>" class="c-list1__txt"><?php the_title(); ?></a>
</div>
</li>
<?php endwhile; ?>
</ul>
<?php endif; ?>
<?php wp_reset_query(); ?>
</div>
</div>
</section>
<section class="top2">
<div class="c-heading">
<div class="c-title1">
<h2 class="c-title1__main">会社情報</h2>
<p class="c-title1__sub">company</p>
</div>
<div class="c-btn2">
<a href="/company/" class="c-btn2__txt">一覧を見る</a>
</div>
</div>
<div class="container">
<div class="top2__wrap">
<div class="c-imgtext1">
<div class="c-imgtext1__img">
<img src="/common_previous/img/img_top_100.jpg" alt="「働きがいのある会社」5年連続選出!">
</div>
<div class="c-imgtext1__info">
<h3 class="c-imgtext1__ttl">「働きがいのある会社」5年連続選出!</h3>
<p class="c-imgtext1__txt">2016年~2020年度版の「働きがいのある会<br class="pc-only">社ランキング」従業員100~999人部門にて、<br class="pc-only">ベストカンパニーに選出されました。</p>
</div>
</div>
<div class="c-imgtext1 c-imgtext1--reverse">
<div class="c-imgtext1__img">
<img src="/common_previous/img/img_top_101.jpg" alt="「働きがいのある会社」5年連続選出!">
</div>
<div class="c-imgtext1__info">
<p class="c-imgtext1__subttl">2014年卒対象・日本経済新聞社調べ</p>
<h3 class="c-imgtext1__ttl">就職希望企業ランキング第93位</h3>
<p class="c-imgtext1__txt">業種別ランキングの「サービス・その他」で13位、<br class="pc-only">社員数300名以下の中小企業の中では最高位</p>
</div>
</div>
</div>
<div class="c-box">
<div class="c-box__img">
<img src="/common_previous/img/img_top_102.png" alt="">
</div>
<div class="c-box__btn">
<div class="c-btn3">
<a href="/company/csr/" class="c-btn3__txt">SDGsについての取り組み</a>
</div>
</div>
</div>
</div>
</section>
<section class="top3">
<div class="c-heading">
<div class="c-title1">
<h2 class="c-title1__main">体験セミナー・講演会</h2>
<p class="c-title1__sub">seminar</p>
</div>
<div class="c-btn2">
<a href="/pub/schedule#seminar" class="c-btn2__txt">一覧を見る</a>
</div>
</div>
<div class="c-slide1">
<div class="c-slide1__inner">
<!--
<div class="c-slide1__item">
<a href="/Impressed/">
<div class="c-slide1__img">
<img src="/common_previous/img/20200605.jpg" alt="">
</div>
<div class="c-slide1__info">
<p class="c-slide1__txt">
<span>東京</span>
<span>2020年06月05日</span>
<span>18:30〜</span>
</p>
</div>
</a>
</div>
<div class="c-slide1__item">
<a href="http://www.achibook.co.jp/chotassei/" target="_blank">
<div class="c-slide1__img">
<img src="/common_previous/img/cc17_0317.jpg" alt="">
</div>
<div class="c-slide1__info">
<p class="c-slide1__txt">
<span>東京・名古屋・大阪・福岡・仙台にて開催</span>
</p>
</div>
</a>
</div>
-->
<!--
<div class="c-slide1__item">
<a href="#">
<div class="c-slide1__img">
<img src="/common_previous/img/img_top_105.jpg" alt="">
</div>
<div class="c-slide1__info">
<p class="c-slide1__txt">
<span>東京</span>
<span>2020年01月01日</span>
<span>14:00〜</span>
</p>
</div>
</a>
</div>
<div class="c-slide1__item">
<a href="#">
<div class="c-slide1__img">
<img src="/common_previous/img/img_top_103.jpg" alt="">
</div>
<div class="c-slide1__info">
<p class="c-slide1__txt">
<span>東京</span>
<span>2020年01月01日</span>
<span>14:00〜</span>
</p>
</div>
</a>
</div>
-->
</div>
</div>
</section>
<!--
<section class="top4">
<div class="c-heading">
<div class="c-title1">
<h2 class="c-title1__main">コラム</h2>
<p class="c-title1__sub">column</p>
</div>
<div class="c-btn2">
<a href="#" class="c-btn2__txt">一覧を見る</a>
</div>
</div>
<div class="container">
<ul class="c-list2">
<li class="c-list2__item">
<a href="/service/case/special05/" class="c-list2__inner">
<p class="c-list2__tag">内山 正宏氏</p>
<div class="c-list2__img">
<img src="/common_previous/img/img_top_106.jpg" alt="">
</div>
<div class="c-list2__info">
<p class="c-list2__ttl">トップリーダーの達成ストーリー</p>
<p class="c-list2__txt">飲食業に惚れ込んだ「原点」 自社と業界の発展への決意</p>
</div>
</a>
</li>
<li class="c-list2__item">
<a href="/service/case/special02/" class="c-list2__inner">
<p class="c-list2__tag">小路 晃氏</p>
<div class="c-list2__img">
<img src="/common_previous/img/img_top_107.jpg" alt="">
</div>
<div class="c-list2__info">
<p class="c-list2__ttl">逆転の秘訣</p>
<p class="c-list2__txt">格闘家の栄光と挫折 第二の人生で見出した光</p>
</div>
</a>
</li>
<li class="c-list2__item">
<a href="/service/case/special03/" class="c-list2__inner">
<p class="c-list2__tag">白井一幸氏</p>
<div class="c-list2__img">
<img src="/common_previous/img/img_top_108.jpg" alt="">
</div>
<div class="c-list2__info">
<p class="c-list2__ttl">組織を勝たせるリーダーの発想法</p>
<p class="c-list2__txt">弱小チームを日本一にした“非常識な指導法”</p>
</div>
</a>
</li>
</ul>
</div>
</section>
-->
</main>
<?php include(get_template_directory() . '/assets/include/footer.php'); ?>
\ No newline at end of file
<?php
/**
* Mobile Detect Library
* =====================
*
* Motto: "Every business should have a mobile detection script to detect mobile readers"
*
* Mobile_Detect is a lightweight PHP class for detecting mobile devices (including tablets).
* It uses the User-Agent string combined with specific HTTP headers to detect the mobile environment.
*
* @author Current authors: Serban Ghita <serbanghita@gmail.com>
* Nick Ilyin <nick.ilyin@gmail.com>
*
* Original author: Victor Stanciu <vic.stanciu@gmail.com>
*
* @license Code and contributions have 'MIT License'
* More details: https://github.com/serbanghita/Mobile-Detect/blob/master/LICENSE.txt
*
* @link Homepage: http://mobiledetect.net
* GitHub Repo: https://github.com/serbanghita/Mobile-Detect
* Google Code: http://code.google.com/p/php-mobile-detect/
* README: https://github.com/serbanghita/Mobile-Detect/blob/master/README.md
* HOWTO: https://github.com/serbanghita/Mobile-Detect/wiki/Code-examples
*
* @version 2.8.15
*/
class Mobile_Detect
{
/**
* Mobile detection type.
*
* @deprecated since version 2.6.9
*/
const DETECTION_TYPE_MOBILE = 'mobile';
/**
* Extended detection type.
*
* @deprecated since version 2.6.9
*/
const DETECTION_TYPE_EXTENDED = 'extended';
/**
* A frequently used regular expression to extract version #s.
*
* @deprecated since version 2.6.9
*/
const VER = '([\w._\+]+)';
/**
* Top-level device.
*/
const MOBILE_GRADE_A = 'A';
/**
* Mid-level device.
*/
const MOBILE_GRADE_B = 'B';
/**
* Low-level device.
*/
const MOBILE_GRADE_C = 'C';
/**
* Stores the version number of the current release.
*/
const VERSION = '2.8.15';
/**
* A type for the version() method indicating a string return value.
*/
const VERSION_TYPE_STRING = 'text';
/**
* A type for the version() method indicating a float return value.
*/
const VERSION_TYPE_FLOAT = 'float';
/**
* A cache for resolved matches
* @var array
*/
protected $cache = array();
/**
* The User-Agent HTTP header is stored in here.
* @var string
*/
protected $userAgent = null;
/**
* HTTP headers in the PHP-flavor. So HTTP_USER_AGENT and SERVER_SOFTWARE.
* @var array
*/
protected $httpHeaders = array();
/**
* CloudFront headers. E.g. CloudFront-Is-Desktop-Viewer, CloudFront-Is-Mobile-Viewer & CloudFront-Is-Tablet-Viewer.
* @var array
*/
protected $cloudfrontHeaders = array();
/**
* The matching Regex.
* This is good for debug.
* @var string
*/
protected $matchingRegex = null;
/**
* The matches extracted from the regex expression.
* This is good for debug.
* @var string
*/
protected $matchesArray = null;
/**
* The detection type, using self::DETECTION_TYPE_MOBILE or self::DETECTION_TYPE_EXTENDED.
*
* @deprecated since version 2.6.9
*
* @var string
*/
protected $detectionType = self::DETECTION_TYPE_MOBILE;
/**
* HTTP headers that trigger the 'isMobile' detection
* to be true.
*
* @var array
*/
protected static $mobileHeaders = array(
'HTTP_ACCEPT' => array('matches' => array(
// Opera Mini; @reference: http://dev.opera.com/articles/view/opera-binary-markup-language/
'application/x-obml2d',
// BlackBerry devices.
'application/vnd.rim.html',
'text/vnd.wap.wml',
'application/vnd.wap.xhtml+xml'
)),
'HTTP_X_WAP_PROFILE' => null,
'HTTP_X_WAP_CLIENTID' => null,
'HTTP_WAP_CONNECTION' => null,
'HTTP_PROFILE' => null,
// Reported by Opera on Nokia devices (eg. C3).
'HTTP_X_OPERAMINI_PHONE_UA' => null,
'HTTP_X_NOKIA_GATEWAY_ID' => null,
'HTTP_X_ORANGE_ID' => null,
'HTTP_X_VODAFONE_3GPDPCONTEXT' => null,
'HTTP_X_HUAWEI_USERID' => null,
// Reported by Windows Smartphones.
'HTTP_UA_OS' => null,
// Reported by Verizon, Vodafone proxy system.
'HTTP_X_MOBILE_GATEWAY' => null,
// Seen this on HTC Sensation. SensationXE_Beats_Z715e.
'HTTP_X_ATT_DEVICEID' => null,
// Seen this on a HTC.
'HTTP_UA_CPU' => array('matches' => array('ARM')),
);
/**
* List of mobile devices (phones).
*
* @var array
*/
protected static $phoneDevices = array(
'iPhone' => '\biPhone\b|\biPod\b', // |\biTunes
'BlackBerry' => 'BlackBerry|\bBB10\b|rim[0-9]+',
'HTC' => 'HTC|HTC.*(Sensation|Evo|Vision|Explorer|6800|8100|8900|A7272|S510e|C110e|Legend|Desire|T8282)|APX515CKT|Qtek9090|APA9292KT|HD_mini|Sensation.*Z710e|PG86100|Z715e|Desire.*(A8181|HD)|ADR6200|ADR6400L|ADR6425|001HT|Inspire 4G|Android.*\bEVO\b|T-Mobile G1|Z520m',
'Nexus' => 'Nexus One|Nexus S|Galaxy.*Nexus|Android.*Nexus.*Mobile|Nexus 4|Nexus 5|Nexus 6',
// @todo: Is 'Dell Streak' a tablet or a phone? ;)
'Dell' => 'Dell.*Streak|Dell.*Aero|Dell.*Venue|DELL.*Venue Pro|Dell Flash|Dell Smoke|Dell Mini 3iX|XCD28|XCD35|\b001DL\b|\b101DL\b|\bGS01\b',
'Motorola' => 'Motorola|DROIDX|DROID BIONIC|\bDroid\b.*Build|Android.*Xoom|HRI39|MOT-|A1260|A1680|A555|A853|A855|A953|A955|A956|Motorola.*ELECTRIFY|Motorola.*i1|i867|i940|MB200|MB300|MB501|MB502|MB508|MB511|MB520|MB525|MB526|MB611|MB612|MB632|MB810|MB855|MB860|MB861|MB865|MB870|ME501|ME502|ME511|ME525|ME600|ME632|ME722|ME811|ME860|ME863|ME865|MT620|MT710|MT716|MT720|MT810|MT870|MT917|Motorola.*TITANIUM|WX435|WX445|XT300|XT301|XT311|XT316|XT317|XT319|XT320|XT390|XT502|XT530|XT531|XT532|XT535|XT603|XT610|XT611|XT615|XT681|XT701|XT702|XT711|XT720|XT800|XT806|XT860|XT862|XT875|XT882|XT883|XT894|XT901|XT907|XT909|XT910|XT912|XT928|XT926|XT915|XT919|XT925|XT1021|\bMoto E\b',
'Samsung' => 'Samsung|SM-G9250|GT-19300|SGH-I337|BGT-S5230|GT-B2100|GT-B2700|GT-B2710|GT-B3210|GT-B3310|GT-B3410|GT-B3730|GT-B3740|GT-B5510|GT-B5512|GT-B5722|GT-B6520|GT-B7300|GT-B7320|GT-B7330|GT-B7350|GT-B7510|GT-B7722|GT-B7800|GT-C3010|GT-C3011|GT-C3060|GT-C3200|GT-C3212|GT-C3212I|GT-C3262|GT-C3222|GT-C3300|GT-C3300K|GT-C3303|GT-C3303K|GT-C3310|GT-C3322|GT-C3330|GT-C3350|GT-C3500|GT-C3510|GT-C3530|GT-C3630|GT-C3780|GT-C5010|GT-C5212|GT-C6620|GT-C6625|GT-C6712|GT-E1050|GT-E1070|GT-E1075|GT-E1080|GT-E1081|GT-E1085|GT-E1087|GT-E1100|GT-E1107|GT-E1110|GT-E1120|GT-E1125|GT-E1130|GT-E1160|GT-E1170|GT-E1175|GT-E1180|GT-E1182|GT-E1200|GT-E1210|GT-E1225|GT-E1230|GT-E1390|GT-E2100|GT-E2120|GT-E2121|GT-E2152|GT-E2220|GT-E2222|GT-E2230|GT-E2232|GT-E2250|GT-E2370|GT-E2550|GT-E2652|GT-E3210|GT-E3213|GT-I5500|GT-I5503|GT-I5700|GT-I5800|GT-I5801|GT-I6410|GT-I6420|GT-I7110|GT-I7410|GT-I7500|GT-I8000|GT-I8150|GT-I8160|GT-I8190|GT-I8320|GT-I8330|GT-I8350|GT-I8530|GT-I8700|GT-I8703|GT-I8910|GT-I9000|GT-I9001|GT-I9003|GT-I9010|GT-I9020|GT-I9023|GT-I9070|GT-I9082|GT-I9100|GT-I9103|GT-I9220|GT-I9250|GT-I9300|GT-I9305|GT-I9500|GT-I9505|GT-M3510|GT-M5650|GT-M7500|GT-M7600|GT-M7603|GT-M8800|GT-M8910|GT-N7000|GT-S3110|GT-S3310|GT-S3350|GT-S3353|GT-S3370|GT-S3650|GT-S3653|GT-S3770|GT-S3850|GT-S5210|GT-S5220|GT-S5229|GT-S5230|GT-S5233|GT-S5250|GT-S5253|GT-S5260|GT-S5263|GT-S5270|GT-S5300|GT-S5330|GT-S5350|GT-S5360|GT-S5363|GT-S5369|GT-S5380|GT-S5380D|GT-S5560|GT-S5570|GT-S5600|GT-S5603|GT-S5610|GT-S5620|GT-S5660|GT-S5670|GT-S5690|GT-S5750|GT-S5780|GT-S5830|GT-S5839|GT-S6102|GT-S6500|GT-S7070|GT-S7200|GT-S7220|GT-S7230|GT-S7233|GT-S7250|GT-S7500|GT-S7530|GT-S7550|GT-S7562|GT-S7710|GT-S8000|GT-S8003|GT-S8500|GT-S8530|GT-S8600|SCH-A310|SCH-A530|SCH-A570|SCH-A610|SCH-A630|SCH-A650|SCH-A790|SCH-A795|SCH-A850|SCH-A870|SCH-A890|SCH-A930|SCH-A950|SCH-A970|SCH-A990|SCH-I100|SCH-I110|SCH-I400|SCH-I405|SCH-I500|SCH-I510|SCH-I515|SCH-I600|SCH-I730|SCH-I760|SCH-I770|SCH-I830|SCH-I910|SCH-I920|SCH-I959|SCH-LC11|SCH-N150|SCH-N300|SCH-R100|SCH-R300|SCH-R351|SCH-R400|SCH-R410|SCH-T300|SCH-U310|SCH-U320|SCH-U350|SCH-U360|SCH-U365|SCH-U370|SCH-U380|SCH-U410|SCH-U430|SCH-U450|SCH-U460|SCH-U470|SCH-U490|SCH-U540|SCH-U550|SCH-U620|SCH-U640|SCH-U650|SCH-U660|SCH-U700|SCH-U740|SCH-U750|SCH-U810|SCH-U820|SCH-U900|SCH-U940|SCH-U960|SCS-26UC|SGH-A107|SGH-A117|SGH-A127|SGH-A137|SGH-A157|SGH-A167|SGH-A177|SGH-A187|SGH-A197|SGH-A227|SGH-A237|SGH-A257|SGH-A437|SGH-A517|SGH-A597|SGH-A637|SGH-A657|SGH-A667|SGH-A687|SGH-A697|SGH-A707|SGH-A717|SGH-A727|SGH-A737|SGH-A747|SGH-A767|SGH-A777|SGH-A797|SGH-A817|SGH-A827|SGH-A837|SGH-A847|SGH-A867|SGH-A877|SGH-A887|SGH-A897|SGH-A927|SGH-B100|SGH-B130|SGH-B200|SGH-B220|SGH-C100|SGH-C110|SGH-C120|SGH-C130|SGH-C140|SGH-C160|SGH-C170|SGH-C180|SGH-C200|SGH-C207|SGH-C210|SGH-C225|SGH-C230|SGH-C417|SGH-C450|SGH-D307|SGH-D347|SGH-D357|SGH-D407|SGH-D415|SGH-D780|SGH-D807|SGH-D980|SGH-E105|SGH-E200|SGH-E315|SGH-E316|SGH-E317|SGH-E335|SGH-E590|SGH-E635|SGH-E715|SGH-E890|SGH-F300|SGH-F480|SGH-I200|SGH-I300|SGH-I320|SGH-I550|SGH-I577|SGH-I600|SGH-I607|SGH-I617|SGH-I627|SGH-I637|SGH-I677|SGH-I700|SGH-I717|SGH-I727|SGH-i747M|SGH-I777|SGH-I780|SGH-I827|SGH-I847|SGH-I857|SGH-I896|SGH-I897|SGH-I900|SGH-I907|SGH-I917|SGH-I927|SGH-I937|SGH-I997|SGH-J150|SGH-J200|SGH-L170|SGH-L700|SGH-M110|SGH-M150|SGH-M200|SGH-N105|SGH-N500|SGH-N600|SGH-N620|SGH-N625|SGH-N700|SGH-N710|SGH-P107|SGH-P207|SGH-P300|SGH-P310|SGH-P520|SGH-P735|SGH-P777|SGH-Q105|SGH-R210|SGH-R220|SGH-R225|SGH-S105|SGH-S307|SGH-T109|SGH-T119|SGH-T139|SGH-T209|SGH-T219|SGH-T229|SGH-T239|SGH-T249|SGH-T259|SGH-T309|SGH-T319|SGH-T329|SGH-T339|SGH-T349|SGH-T359|SGH-T369|SGH-T379|SGH-T409|SGH-T429|SGH-T439|SGH-T459|SGH-T469|SGH-T479|SGH-T499|SGH-T509|SGH-T519|SGH-T539|SGH-T559|SGH-T589|SGH-T609|SGH-T619|SGH-T629|SGH-T639|SGH-T659|SGH-T669|SGH-T679|SGH-T709|SGH-T719|SGH-T729|SGH-T739|SGH-T746|SGH-T749|SGH-T759|SGH-T769|SGH-T809|SGH-T819|SGH-T839|SGH-T919|SGH-T929|SGH-T939|SGH-T959|SGH-T989|SGH-U100|SGH-U200|SGH-U800|SGH-V205|SGH-V206|SGH-X100|SGH-X105|SGH-X120|SGH-X140|SGH-X426|SGH-X427|SGH-X475|SGH-X495|SGH-X497|SGH-X507|SGH-X600|SGH-X610|SGH-X620|SGH-X630|SGH-X700|SGH-X820|SGH-X890|SGH-Z130|SGH-Z150|SGH-Z170|SGH-ZX10|SGH-ZX20|SHW-M110|SPH-A120|SPH-A400|SPH-A420|SPH-A460|SPH-A500|SPH-A560|SPH-A600|SPH-A620|SPH-A660|SPH-A700|SPH-A740|SPH-A760|SPH-A790|SPH-A800|SPH-A820|SPH-A840|SPH-A880|SPH-A900|SPH-A940|SPH-A960|SPH-D600|SPH-D700|SPH-D710|SPH-D720|SPH-I300|SPH-I325|SPH-I330|SPH-I350|SPH-I500|SPH-I600|SPH-I700|SPH-L700|SPH-M100|SPH-M220|SPH-M240|SPH-M300|SPH-M305|SPH-M320|SPH-M330|SPH-M350|SPH-M360|SPH-M370|SPH-M380|SPH-M510|SPH-M540|SPH-M550|SPH-M560|SPH-M570|SPH-M580|SPH-M610|SPH-M620|SPH-M630|SPH-M800|SPH-M810|SPH-M850|SPH-M900|SPH-M910|SPH-M920|SPH-M930|SPH-N100|SPH-N200|SPH-N240|SPH-N300|SPH-N400|SPH-Z400|SWC-E100|SCH-i909|GT-N7100|GT-N7105|SCH-I535|SM-N900A|SGH-I317|SGH-T999L|GT-S5360B|GT-I8262|GT-S6802|GT-S6312|GT-S6310|GT-S5312|GT-S5310|GT-I9105|GT-I8510|GT-S6790N|SM-G7105|SM-N9005|GT-S5301|GT-I9295|GT-I9195|SM-C101|GT-S7392|GT-S7560|GT-B7610|GT-I5510|GT-S7582|GT-S7530E|GT-I8750|SM-G9006V|SM-G9008V|SM-G9009D|SM-G900A|SM-G900D|SM-G900F|SM-G900H|SM-G900I|SM-G900J|SM-G900K|SM-G900L|SM-G900M|SM-G900P|SM-G900R4|SM-G900S|SM-G900T|SM-G900V|SM-G900W8|SHV-E160K|SCH-P709|SCH-P729|SM-T2558|GT-I9205',
'LG' => '\bLG\b;|LG[- ]?(C800|C900|E400|E610|E900|E-900|F160|F180K|F180L|F180S|730|855|L160|LS740|LS840|LS970|LU6200|MS690|MS695|MS770|MS840|MS870|MS910|P500|P700|P705|VM696|AS680|AS695|AX840|C729|E970|GS505|272|C395|E739BK|E960|L55C|L75C|LS696|LS860|P769BK|P350|P500|P509|P870|UN272|US730|VS840|VS950|LN272|LN510|LS670|LS855|LW690|MN270|MN510|P509|P769|P930|UN200|UN270|UN510|UN610|US670|US740|US760|UX265|UX840|VN271|VN530|VS660|VS700|VS740|VS750|VS910|VS920|VS930|VX9200|VX11000|AX840A|LW770|P506|P925|P999|E612|D955|D802)',
'Sony' => 'SonyST|SonyLT|SonyEricsson|SonyEricssonLT15iv|LT18i|E10i|LT28h|LT26w|SonyEricssonMT27i|C5303|C6902|C6903|C6906|C6943|D2533',
'Asus' => 'Asus.*Galaxy|PadFone.*Mobile',
// http://www.micromaxinfo.com/mobiles/smartphones
// Added because the codes might conflict with Acer Tablets.
'Micromax' => 'Micromax.*\b(A210|A92|A88|A72|A111|A110Q|A115|A116|A110|A90S|A26|A51|A35|A54|A25|A27|A89|A68|A65|A57|A90)\b',
// @todo Complete the regex.
'Palm' => 'PalmSource|Palm', // avantgo|blazer|elaine|hiptop|plucker|xiino ;
'Vertu' => 'Vertu|Vertu.*Ltd|Vertu.*Ascent|Vertu.*Ayxta|Vertu.*Constellation(F|Quest)?|Vertu.*Monika|Vertu.*Signature', // Just for fun ;)
// http://www.pantech.co.kr/en/prod/prodList.do?gbrand=VEGA (PANTECH)
// Most of the VEGA devices are legacy. PANTECH seem to be newer devices based on Android.
'Pantech' => 'PANTECH|IM-A850S|IM-A840S|IM-A830L|IM-A830K|IM-A830S|IM-A820L|IM-A810K|IM-A810S|IM-A800S|IM-T100K|IM-A725L|IM-A780L|IM-A775C|IM-A770K|IM-A760S|IM-A750K|IM-A740S|IM-A730S|IM-A720L|IM-A710K|IM-A690L|IM-A690S|IM-A650S|IM-A630K|IM-A600S|VEGA PTL21|PT003|P8010|ADR910L|P6030|P6020|P9070|P4100|P9060|P5000|CDM8992|TXT8045|ADR8995|IS11PT|P2030|P6010|P8000|PT002|IS06|CDM8999|P9050|PT001|TXT8040|P2020|P9020|P2000|P7040|P7000|C790',
// http://www.fly-phone.com/devices/smartphones/ ; Included only smartphones.
'Fly' => 'IQ230|IQ444|IQ450|IQ440|IQ442|IQ441|IQ245|IQ256|IQ236|IQ255|IQ235|IQ245|IQ275|IQ240|IQ285|IQ280|IQ270|IQ260|IQ250',
// http://fr.wikomobile.com
'Wiko' => 'KITE 4G|HIGHWAY|GETAWAY|STAIRWAY|DARKSIDE|DARKFULL|DARKNIGHT|DARKMOON|SLIDE|WAX 4G|RAINBOW|BLOOM|SUNSET|GOA|LENNY|BARRY|IGGY|OZZY|CINK FIVE|CINK PEAX|CINK PEAX 2|CINK SLIM|CINK SLIM 2|CINK +|CINK KING|CINK PEAX|CINK SLIM|SUBLIM',
'iMobile' => 'i-mobile (IQ|i-STYLE|idea|ZAA|Hitz)',
// Added simvalley mobile just for fun. They have some interesting devices.
// http://www.simvalley.fr/telephonie---gps-_22_telephonie-mobile_telephones_.html
'SimValley' => '\b(SP-80|XT-930|SX-340|XT-930|SX-310|SP-360|SP60|SPT-800|SP-120|SPT-800|SP-140|SPX-5|SPX-8|SP-100|SPX-8|SPX-12)\b',
// Wolfgang - a brand that is sold by Aldi supermarkets.
// http://www.wolfgangmobile.com/
'Wolfgang' => 'AT-B24D|AT-AS50HD|AT-AS40W|AT-AS55HD|AT-AS45q2|AT-B26D|AT-AS50Q',
'Alcatel' => 'Alcatel',
'Nintendo' => 'Nintendo 3DS',
// http://en.wikipedia.org/wiki/Amoi
'Amoi' => 'Amoi',
// http://en.wikipedia.org/wiki/INQ
'INQ' => 'INQ',
// @Tapatalk is a mobile app; http://support.tapatalk.com/threads/smf-2-0-2-os-and-browser-detection-plugin-and-tapatalk.15565/#post-79039
'GenericPhone' => 'Tapatalk|PDA;|SAGEM|\bmmp\b|pocket|\bpsp\b|symbian|Smartphone|smartfon|treo|up.browser|up.link|vodafone|\bwap\b|nokia|Series40|Series60|S60|SonyEricsson|N900|MAUI.*WAP.*Browser',
);
/**
* List of tablet devices.
*
* @var array
*/
protected static $tabletDevices = array(
'iPad' => 'iPad|iPad.*Mobile', // @todo: check for mobile friendly emails topic.
'NexusTablet' => 'Android.*Nexus[\s]+(7|9|10)|^.*Android.*Nexus(?:(?!Mobile).)*$',
'SamsungTablet' => 'SAMSUNG.*Tablet|Galaxy.*Tab|SC-01C|GT-P1000|GT-P1003|GT-P1010|GT-P3105|GT-P6210|GT-P6800|GT-P6810|GT-P7100|GT-P7300|GT-P7310|GT-P7500|GT-P7510|SCH-I800|SCH-I815|SCH-I905|SGH-I957|SGH-I987|SGH-T849|SGH-T859|SGH-T869|SPH-P100|GT-P3100|GT-P3108|GT-P3110|GT-P5100|GT-P5110|GT-P6200|GT-P7320|GT-P7511|GT-N8000|GT-P8510|SGH-I497|SPH-P500|SGH-T779|SCH-I705|SCH-I915|GT-N8013|GT-P3113|GT-P5113|GT-P8110|GT-N8010|GT-N8005|GT-N8020|GT-P1013|GT-P6201|GT-P7501|GT-N5100|GT-N5105|GT-N5110|SHV-E140K|SHV-E140L|SHV-E140S|SHV-E150S|SHV-E230K|SHV-E230L|SHV-E230S|SHW-M180K|SHW-M180L|SHW-M180S|SHW-M180W|SHW-M300W|SHW-M305W|SHW-M380K|SHW-M380S|SHW-M380W|SHW-M430W|SHW-M480K|SHW-M480S|SHW-M480W|SHW-M485W|SHW-M486W|SHW-M500W|GT-I9228|SCH-P739|SCH-I925|GT-I9200|GT-P5200|GT-P5210|GT-P5210X|SM-T311|SM-T310|SM-T310X|SM-T210|SM-T210R|SM-T211|SM-P600|SM-P601|SM-P605|SM-P900|SM-P901|SM-T217|SM-T217A|SM-T217S|SM-P6000|SM-T3100|SGH-I467|XE500|SM-T110|GT-P5220|GT-I9200X|GT-N5110X|GT-N5120|SM-P905|SM-T111|SM-T2105|SM-T315|SM-T320|SM-T320X|SM-T321|SM-T520|SM-T525|SM-T530NU|SM-T230NU|SM-T330NU|SM-T900|XE500T1C|SM-P605V|SM-P905V|SM-T337V|SM-T537V|SM-T707V|SM-T807V|SM-P600X|SM-P900X|SM-T210X|SM-T230|SM-T230X|SM-T325|GT-P7503|SM-T531|SM-T330|SM-T530|SM-T705C|SM-T535|SM-T331|SM-T800|SM-T700|SM-T537|SM-T807|SM-P907A|SM-T337A|SM-T537A|SM-T707A|SM-T807A|SM-T237|SM-T807P|SM-P607T|SM-T217T|SM-T337T|SM-T807T|SM-T116NQ|SM-P550|SM-T350|SM-T550|SM-T9000|SM-P9000|SM-T705Y|SM-T805', // SCH-P709|SCH-P729|SM-T2558|GT-I9205 - Samsung Mega - treat them like a regular phone.
// http://docs.aws.amazon.com/silk/latest/developerguide/user-agent.html
'Kindle' => 'Kindle|Silk.*Accelerated|Android.*\b(KFOT|KFTT|KFJWI|KFJWA|KFOTE|KFSOWI|KFTHWI|KFTHWA|KFAPWI|KFAPWA|WFJWAE|KFSAWA|KFSAWI|KFASWI)\b',
// Only the Surface tablets with Windows RT are considered mobile.
// http://msdn.microsoft.com/en-us/library/ie/hh920767(v=vs.85).aspx
'SurfaceTablet' => 'Windows NT [0-9.]+; ARM;.*(Tablet|ARMBJS)',
// http://shopping1.hp.com/is-bin/INTERSHOP.enfinity/WFS/WW-USSMBPublicStore-Site/en_US/-/USD/ViewStandardCatalog-Browse?CatalogCategoryID=JfIQ7EN5lqMAAAEyDcJUDwMT
'HPTablet' => 'HP Slate (7|8|10)|HP ElitePad 900|hp-tablet|EliteBook.*Touch|HP 8|Slate 21|HP SlateBook 10',
// Watch out for PadFone, see #132.
// http://www.asus.com/de/Tablets_Mobile/Memo_Pad_Products/
'AsusTablet' => '^.*PadFone((?!Mobile).)*$|Transformer|TF101|TF101G|TF300T|TF300TG|TF300TL|TF700T|TF700KL|TF701T|TF810C|ME171|ME301T|ME302C|ME371MG|ME370T|ME372MG|ME172V|ME173X|ME400C|Slider SL101|\bK00F\b|\bK00C\b|\bK00E\b|\bK00L\b|TX201LA|ME176C|ME102A|\bM80TA\b|ME372CL|ME560CG|ME372CG|ME302KL| K010 | K017 |ME572C|ME103K|ME170C|ME171C|\bME70C\b|ME581C|ME581CL|ME8510C|ME181C',
'BlackBerryTablet' => 'PlayBook|RIM Tablet',
'HTCtablet' => 'HTC_Flyer_P512|HTC Flyer|HTC Jetstream|HTC-P715a|HTC EVO View 4G|PG41200|PG09410',
'MotorolaTablet' => 'xoom|sholest|MZ615|MZ605|MZ505|MZ601|MZ602|MZ603|MZ604|MZ606|MZ607|MZ608|MZ609|MZ615|MZ616|MZ617',
'NookTablet' => 'Android.*Nook|NookColor|nook browser|BNRV200|BNRV200A|BNTV250|BNTV250A|BNTV400|BNTV600|LogicPD Zoom2',
// http://www.acer.ro/ac/ro/RO/content/drivers
// http://www.packardbell.co.uk/pb/en/GB/content/download (Packard Bell is part of Acer)
// http://us.acer.com/ac/en/US/content/group/tablets
// http://www.acer.de/ac/de/DE/content/models/tablets/
// Can conflict with Micromax and Motorola phones codes.
'AcerTablet' => 'Android.*; \b(A100|A101|A110|A200|A210|A211|A500|A501|A510|A511|A700|A701|W500|W500P|W501|W501P|W510|W511|W700|G100|G100W|B1-A71|B1-710|B1-711|A1-810|A1-811|A1-830)\b|W3-810|\bA3-A10\b|\bA3-A11\b',
// http://eu.computers.toshiba-europe.com/innovation/family/Tablets/1098744/banner_id/tablet_footerlink/
// http://us.toshiba.com/tablets/tablet-finder
// http://www.toshiba.co.jp/regza/tablet/
'ToshibaTablet' => 'Android.*(AT100|AT105|AT200|AT205|AT270|AT275|AT300|AT305|AT1S5|AT500|AT570|AT700|AT830)|TOSHIBA.*FOLIO',
// http://www.nttdocomo.co.jp/english/service/developer/smart_phone/technical_info/spec/index.html
// http://www.lg.com/us/tablets
'LGTablet' => '\bL-06C|LG-V909|LG-V900|LG-V700|LG-V510|LG-V500|LG-V410|LG-V400|LG-VK810\b',
'FujitsuTablet' => 'Android.*\b(F-01D|F-02F|F-05E|F-10D|M532|Q572)\b',
// Prestigio Tablets http://www.prestigio.com/support
'PrestigioTablet' => 'PMP3170B|PMP3270B|PMP3470B|PMP7170B|PMP3370B|PMP3570C|PMP5870C|PMP3670B|PMP5570C|PMP5770D|PMP3970B|PMP3870C|PMP5580C|PMP5880D|PMP5780D|PMP5588C|PMP7280C|PMP7280C3G|PMP7280|PMP7880D|PMP5597D|PMP5597|PMP7100D|PER3464|PER3274|PER3574|PER3884|PER5274|PER5474|PMP5097CPRO|PMP5097|PMP7380D|PMP5297C|PMP5297C_QUAD',
// http://support.lenovo.com/en_GB/downloads/default.page?#
'LenovoTablet' => 'Idea(Tab|Pad)( A1|A10| K1|)|ThinkPad([ ]+)?Tablet|Lenovo.*(S2109|S2110|S5000|S6000|K3011|A3000|A3500|A1000|A2107|A2109|A1107|A5500|A7600|B6000|B8000|B8080)(-|)(FL|F|HV|H|)',
// http://www.dell.com/support/home/us/en/04/Products/tab_mob/tablets
'DellTablet' => 'Venue 11|Venue 8|Venue 7|Dell Streak 10|Dell Streak 7',
// http://www.yarvik.com/en/matrix/tablets/
'YarvikTablet' => 'Android.*\b(TAB210|TAB211|TAB224|TAB250|TAB260|TAB264|TAB310|TAB360|TAB364|TAB410|TAB411|TAB420|TAB424|TAB450|TAB460|TAB461|TAB464|TAB465|TAB467|TAB468|TAB07-100|TAB07-101|TAB07-150|TAB07-151|TAB07-152|TAB07-200|TAB07-201-3G|TAB07-210|TAB07-211|TAB07-212|TAB07-214|TAB07-220|TAB07-400|TAB07-485|TAB08-150|TAB08-200|TAB08-201-3G|TAB08-201-30|TAB09-100|TAB09-211|TAB09-410|TAB10-150|TAB10-201|TAB10-211|TAB10-400|TAB10-410|TAB13-201|TAB274EUK|TAB275EUK|TAB374EUK|TAB462EUK|TAB474EUK|TAB9-200)\b',
'MedionTablet' => 'Android.*\bOYO\b|LIFE.*(P9212|P9514|P9516|S9512)|LIFETAB',
'ArnovaTablet' => 'AN10G2|AN7bG3|AN7fG3|AN8G3|AN8cG3|AN7G3|AN9G3|AN7dG3|AN7dG3ST|AN7dG3ChildPad|AN10bG3|AN10bG3DT|AN9G2',
// http://www.intenso.de/kategorie_en.php?kategorie=33
// @todo: http://www.nbhkdz.com/read/b8e64202f92a2df129126bff.html - investigate
'IntensoTablet' => 'INM8002KP|INM1010FP|INM805ND|Intenso Tab|TAB1004',
// IRU.ru Tablets http://www.iru.ru/catalog/soho/planetable/
'IRUTablet' => 'M702pro',
'MegafonTablet' => 'MegaFon V9|\bZTE V9\b|Android.*\bMT7A\b',
// http://www.e-boda.ro/tablete-pc.html
'EbodaTablet' => 'E-Boda (Supreme|Impresspeed|Izzycomm|Essential)',
// http://www.allview.ro/produse/droseries/lista-tablete-pc/
'AllViewTablet' => 'Allview.*(Viva|Alldro|City|Speed|All TV|Frenzy|Quasar|Shine|TX1|AX1|AX2)',
// http://wiki.archosfans.com/index.php?title=Main_Page
'ArchosTablet' => '\b(101G9|80G9|A101IT)\b|Qilive 97R|Archos5|\bARCHOS (70|79|80|90|97|101|FAMILYPAD|)(b|)(G10| Cobalt| TITANIUM(HD|)| Xenon| Neon|XSK| 2| XS 2| PLATINUM| CARBON|GAMEPAD)\b',
// http://www.ainol.com/plugin.php?identifier=ainol&module=product
'AinolTablet' => 'NOVO7|NOVO8|NOVO10|Novo7Aurora|Novo7Basic|NOVO7PALADIN|novo9-Spark',
// @todo: inspect http://esupport.sony.com/US/p/select-system.pl?DIRECTOR=DRIVER
// Readers http://www.atsuhiro-me.net/ebook/sony-reader/sony-reader-web-browser
// http://www.sony.jp/support/tablet/
'SonyTablet' => 'Sony.*Tablet|Xperia Tablet|Sony Tablet S|SO-03E|SGPT12|SGPT13|SGPT114|SGPT121|SGPT122|SGPT123|SGPT111|SGPT112|SGPT113|SGPT131|SGPT132|SGPT133|SGPT211|SGPT212|SGPT213|SGP311|SGP312|SGP321|EBRD1101|EBRD1102|EBRD1201|SGP351|SGP341|SGP511|SGP512|SGP521|SGP541|SGP551|SGP621|SGP612',
// http://www.support.philips.com/support/catalog/worldproducts.jsp?userLanguage=en&userCountry=cn&categoryid=3G_LTE_TABLET_SU_CN_CARE&title=3G%20tablets%20/%20LTE%20range&_dyncharset=UTF-8
'PhilipsTablet' => '\b(PI2010|PI3000|PI3100|PI3105|PI3110|PI3205|PI3210|PI3900|PI4010|PI7000|PI7100)\b',
// db + http://www.cube-tablet.com/buy-products.html
'CubeTablet' => 'Android.*(K8GT|U9GT|U10GT|U16GT|U17GT|U18GT|U19GT|U20GT|U23GT|U30GT)|CUBE U8GT',
// http://www.cobyusa.com/?p=pcat&pcat_id=3001
'CobyTablet' => 'MID1042|MID1045|MID1125|MID1126|MID7012|MID7014|MID7015|MID7034|MID7035|MID7036|MID7042|MID7048|MID7127|MID8042|MID8048|MID8127|MID9042|MID9740|MID9742|MID7022|MID7010',
// http://www.match.net.cn/products.asp
'MIDTablet' => 'M9701|M9000|M9100|M806|M1052|M806|T703|MID701|MID713|MID710|MID727|MID760|MID830|MID728|MID933|MID125|MID810|MID732|MID120|MID930|MID800|MID731|MID900|MID100|MID820|MID735|MID980|MID130|MID833|MID737|MID960|MID135|MID860|MID736|MID140|MID930|MID835|MID733',
// http://www.msi.com/support
// @todo Research the Windows Tablets.
'MSITablet' => 'MSI \b(Primo 73K|Primo 73L|Primo 81L|Primo 77|Primo 93|Primo 75|Primo 76|Primo 73|Primo 81|Primo 91|Primo 90|Enjoy 71|Enjoy 7|Enjoy 10)\b',
// @todo http://www.kyoceramobile.com/support/drivers/
// 'KyoceraTablet' => null,
// @todo http://intexuae.com/index.php/category/mobile-devices/tablets-products/
// 'IntextTablet' => null,
// http://pdadb.net/index.php?m=pdalist&list=SMiT (NoName Chinese Tablets)
// http://www.imp3.net/14/show.php?itemid=20454
'SMiTTablet' => 'Android.*(\bMID\b|MID-560|MTV-T1200|MTV-PND531|MTV-P1101|MTV-PND530)',
// http://www.rock-chips.com/index.php?do=prod&pid=2
'RockChipTablet' => 'Android.*(RK2818|RK2808A|RK2918|RK3066)|RK2738|RK2808A',
// http://www.fly-phone.com/devices/tablets/ ; http://www.fly-phone.com/service/
'FlyTablet' => 'IQ310|Fly Vision',
// http://www.bqreaders.com/gb/tablets-prices-sale.html
'bqTablet' => '(bq)?.*(Elcano|Curie|Edison|Maxwell|Kepler|Pascal|Tesla|Hypatia|Platon|Newton|Livingstone|Cervantes|Avant|Aquaris E10)|Maxwell.*Lite|Maxwell.*Plus',
// http://www.huaweidevice.com/worldwide/productFamily.do?method=index&directoryId=5011&treeId=3290
// http://www.huaweidevice.com/worldwide/downloadCenter.do?method=index&directoryId=3372&treeId=0&tb=1&type=software (including legacy tablets)
'HuaweiTablet' => 'MediaPad|MediaPad 7 Youth|IDEOS S7|S7-201c|S7-202u|S7-101|S7-103|S7-104|S7-105|S7-106|S7-201|S7-Slim',
// Nec or Medias Tab
'NecTablet' => '\bN-06D|\bN-08D',
// Pantech Tablets: http://www.pantechusa.com/phones/
'PantechTablet' => 'Pantech.*P4100',
// Broncho Tablets: http://www.broncho.cn/ (hard to find)
'BronchoTablet' => 'Broncho.*(N701|N708|N802|a710)',
// http://versusuk.com/support.html
'VersusTablet' => 'TOUCHPAD.*[78910]|\bTOUCHTAB\b',
// http://www.zync.in/index.php/our-products/tablet-phablets
'ZyncTablet' => 'z1000|Z99 2G|z99|z930|z999|z990|z909|Z919|z900',
// http://www.positivoinformatica.com.br/www/pessoal/tablet-ypy/
'PositivoTablet' => 'TB07STA|TB10STA|TB07FTA|TB10FTA',
// https://www.nabitablet.com/
'NabiTablet' => 'Android.*\bNabi',
'KoboTablet' => 'Kobo Touch|\bK080\b|\bVox\b Build|\bArc\b Build',
// French Danew Tablets http://www.danew.com/produits-tablette.php
'DanewTablet' => 'DSlide.*\b(700|701R|702|703R|704|802|970|971|972|973|974|1010|1012)\b',
// Texet Tablets and Readers http://www.texet.ru/tablet/
'TexetTablet' => 'NaviPad|TB-772A|TM-7045|TM-7055|TM-9750|TM-7016|TM-7024|TM-7026|TM-7041|TM-7043|TM-7047|TM-8041|TM-9741|TM-9747|TM-9748|TM-9751|TM-7022|TM-7021|TM-7020|TM-7011|TM-7010|TM-7023|TM-7025|TM-7037W|TM-7038W|TM-7027W|TM-9720|TM-9725|TM-9737W|TM-1020|TM-9738W|TM-9740|TM-9743W|TB-807A|TB-771A|TB-727A|TB-725A|TB-719A|TB-823A|TB-805A|TB-723A|TB-715A|TB-707A|TB-705A|TB-709A|TB-711A|TB-890HD|TB-880HD|TB-790HD|TB-780HD|TB-770HD|TB-721HD|TB-710HD|TB-434HD|TB-860HD|TB-840HD|TB-760HD|TB-750HD|TB-740HD|TB-730HD|TB-722HD|TB-720HD|TB-700HD|TB-500HD|TB-470HD|TB-431HD|TB-430HD|TB-506|TB-504|TB-446|TB-436|TB-416|TB-146SE|TB-126SE',
// Avoid detecting 'PLAYSTATION 3' as mobile.
'PlaystationTablet' => 'Playstation.*(Portable|Vita)',
// http://www.trekstor.de/surftabs.html
'TrekstorTablet' => 'ST10416-1|VT10416-1|ST70408-1|ST702xx-1|ST702xx-2|ST80208|ST97216|ST70104-2|VT10416-2|ST10216-2A|SurfTab',
// http://www.pyleaudio.com/Products.aspx?%2fproducts%2fPersonal-Electronics%2fTablets
'PyleAudioTablet' => '\b(PTBL10CEU|PTBL10C|PTBL72BC|PTBL72BCEU|PTBL7CEU|PTBL7C|PTBL92BC|PTBL92BCEU|PTBL9CEU|PTBL9CUK|PTBL9C)\b',
// http://www.advandigital.com/index.php?link=content-product&jns=JP001
// because of the short codenames we have to include whitespaces to reduce the possible conflicts.
'AdvanTablet' => 'Android.* \b(E3A|T3X|T5C|T5B|T3E|T3C|T3B|T1J|T1F|T2A|T1H|T1i|E1C|T1-E|T5-A|T4|E1-B|T2Ci|T1-B|T1-D|O1-A|E1-A|T1-A|T3A|T4i)\b ',
// http://www.danytech.com/category/tablet-pc
'DanyTechTablet' => 'Genius Tab G3|Genius Tab S2|Genius Tab Q3|Genius Tab G4|Genius Tab Q4|Genius Tab G-II|Genius TAB GII|Genius TAB GIII|Genius Tab S1',
// http://www.galapad.net/product.html
'GalapadTablet' => 'Android.*\bG1\b',
// http://www.micromaxinfo.com/tablet/funbook
'MicromaxTablet' => 'Funbook|Micromax.*\b(P250|P560|P360|P362|P600|P300|P350|P500|P275)\b',
// http://www.karbonnmobiles.com/products_tablet.php
'KarbonnTablet' => 'Android.*\b(A39|A37|A34|ST8|ST10|ST7|Smart Tab3|Smart Tab2)\b',
// http://www.myallfine.com/Products.asp
'AllFineTablet' => 'Fine7 Genius|Fine7 Shine|Fine7 Air|Fine8 Style|Fine9 More|Fine10 Joy|Fine11 Wide',
// http://www.proscanvideo.com/products-search.asp?itemClass=TABLET&itemnmbr=
'PROSCANTablet' => '\b(PEM63|PLT1023G|PLT1041|PLT1044|PLT1044G|PLT1091|PLT4311|PLT4311PL|PLT4315|PLT7030|PLT7033|PLT7033D|PLT7035|PLT7035D|PLT7044K|PLT7045K|PLT7045KB|PLT7071KG|PLT7072|PLT7223G|PLT7225G|PLT7777G|PLT7810K|PLT7849G|PLT7851G|PLT7852G|PLT8015|PLT8031|PLT8034|PLT8036|PLT8080K|PLT8082|PLT8088|PLT8223G|PLT8234G|PLT8235G|PLT8816K|PLT9011|PLT9045K|PLT9233G|PLT9735|PLT9760G|PLT9770G)\b',
// http://www.yonesnav.com/products/products.php
'YONESTablet' => 'BQ1078|BC1003|BC1077|RK9702|BC9730|BC9001|IT9001|BC7008|BC7010|BC708|BC728|BC7012|BC7030|BC7027|BC7026',
// http://www.cjshowroom.com/eproducts.aspx?classcode=004001001
// China manufacturer makes tablets for different small brands (eg. http://www.zeepad.net/index.html)
'ChangJiaTablet' => 'TPC7102|TPC7103|TPC7105|TPC7106|TPC7107|TPC7201|TPC7203|TPC7205|TPC7210|TPC7708|TPC7709|TPC7712|TPC7110|TPC8101|TPC8103|TPC8105|TPC8106|TPC8203|TPC8205|TPC8503|TPC9106|TPC9701|TPC97101|TPC97103|TPC97105|TPC97106|TPC97111|TPC97113|TPC97203|TPC97603|TPC97809|TPC97205|TPC10101|TPC10103|TPC10106|TPC10111|TPC10203|TPC10205|TPC10503',
// http://www.gloryunion.cn/products.asp
// http://www.allwinnertech.com/en/apply/mobile.html
// http://www.ptcl.com.pk/pd_content.php?pd_id=284 (EVOTAB)
// @todo: Softwiner tablets?
// aka. Cute or Cool tablets. Not sure yet, must research to avoid collisions.
'GUTablet' => 'TX-A1301|TX-M9002|Q702|kf026', // A12R|D75A|D77|D79|R83|A95|A106C|R15|A75|A76|D71|D72|R71|R73|R77|D82|R85|D92|A97|D92|R91|A10F|A77F|W71F|A78F|W78F|W81F|A97F|W91F|W97F|R16G|C72|C73E|K72|K73|R96G
// http://www.pointofview-online.com/showroom.php?shop_mode=product_listing&category_id=118
'PointOfViewTablet' => 'TAB-P506|TAB-navi-7-3G-M|TAB-P517|TAB-P-527|TAB-P701|TAB-P703|TAB-P721|TAB-P731N|TAB-P741|TAB-P825|TAB-P905|TAB-P925|TAB-PR945|TAB-PL1015|TAB-P1025|TAB-PI1045|TAB-P1325|TAB-PROTAB[0-9]+|TAB-PROTAB25|TAB-PROTAB26|TAB-PROTAB27|TAB-PROTAB26XL|TAB-PROTAB2-IPS9|TAB-PROTAB30-IPS9|TAB-PROTAB25XXL|TAB-PROTAB26-IPS10|TAB-PROTAB30-IPS10',
// http://www.overmax.pl/pl/katalog-produktow,p8/tablety,c14/
// @todo: add more tests.
'OvermaxTablet' => 'OV-(SteelCore|NewBase|Basecore|Baseone|Exellen|Quattor|EduTab|Solution|ACTION|BasicTab|TeddyTab|MagicTab|Stream|TB-08|TB-09)',
// http://hclmetablet.com/India/index.php
'HCLTablet' => 'HCL.*Tablet|Connect-3G-2.0|Connect-2G-2.0|ME Tablet U1|ME Tablet U2|ME Tablet G1|ME Tablet X1|ME Tablet Y2|ME Tablet Sync',
// http://www.edigital.hu/Tablet_es_e-book_olvaso/Tablet-c18385.html
'DPSTablet' => 'DPS Dream 9|DPS Dual 7',
// http://www.visture.com/index.asp
'VistureTablet' => 'V97 HD|i75 3G|Visture V4( HD)?|Visture V5( HD)?|Visture V10',
// http://www.mijncresta.nl/tablet
'CrestaTablet' => 'CTP(-)?810|CTP(-)?818|CTP(-)?828|CTP(-)?838|CTP(-)?888|CTP(-)?978|CTP(-)?980|CTP(-)?987|CTP(-)?988|CTP(-)?989',
// MediaTek - http://www.mediatek.com/_en/01_products/02_proSys.php?cata_sn=1&cata1_sn=1&cata2_sn=309
'MediatekTablet' => '\bMT8125|MT8389|MT8135|MT8377\b',
// Concorde tab
'ConcordeTablet' => 'Concorde([ ]+)?Tab|ConCorde ReadMan',
// GoClever Tablets - http://www.goclever.com/uk/products,c1/tablet,c5/
'GoCleverTablet' => 'GOCLEVER TAB|A7GOCLEVER|M1042|M7841|M742|R1042BK|R1041|TAB A975|TAB A7842|TAB A741|TAB A741L|TAB M723G|TAB M721|TAB A1021|TAB I921|TAB R721|TAB I720|TAB T76|TAB R70|TAB R76.2|TAB R106|TAB R83.2|TAB M813G|TAB I721|GCTA722|TAB I70|TAB I71|TAB S73|TAB R73|TAB R74|TAB R93|TAB R75|TAB R76.1|TAB A73|TAB A93|TAB A93.2|TAB T72|TAB R83|TAB R974|TAB R973|TAB A101|TAB A103|TAB A104|TAB A104.2|R105BK|M713G|A972BK|TAB A971|TAB R974.2|TAB R104|TAB R83.3|TAB A1042',
// Modecom Tablets - http://www.modecom.eu/tablets/portal/
'ModecomTablet' => 'FreeTAB 9000|FreeTAB 7.4|FreeTAB 7004|FreeTAB 7800|FreeTAB 2096|FreeTAB 7.5|FreeTAB 1014|FreeTAB 1001 |FreeTAB 8001|FreeTAB 9706|FreeTAB 9702|FreeTAB 7003|FreeTAB 7002|FreeTAB 1002|FreeTAB 7801|FreeTAB 1331|FreeTAB 1004|FreeTAB 8002|FreeTAB 8014|FreeTAB 9704|FreeTAB 1003',
// Vonino Tablets - http://www.vonino.eu/tablets
'VoninoTablet' => '\b(Argus[ _]?S|Diamond[ _]?79HD|Emerald[ _]?78E|Luna[ _]?70C|Onyx[ _]?S|Onyx[ _]?Z|Orin[ _]?HD|Orin[ _]?S|Otis[ _]?S|SpeedStar[ _]?S|Magnet[ _]?M9|Primus[ _]?94[ _]?3G|Primus[ _]?94HD|Primus[ _]?QS|Android.*\bQ8\b|Sirius[ _]?EVO[ _]?QS|Sirius[ _]?QS|Spirit[ _]?S)\b',
// ECS Tablets - http://www.ecs.com.tw/ECSWebSite/Product/Product_Tablet_List.aspx?CategoryID=14&MenuID=107&childid=M_107&LanID=0
'ECSTablet' => 'V07OT2|TM105A|S10OT1|TR10CS1',
// Storex Tablets - http://storex.fr/espace_client/support.html
// @note: no need to add all the tablet codes since they are guided by the first regex.
'StorexTablet' => 'eZee[_\']?(Tab|Go)[0-9]+|TabLC7|Looney Tunes Tab',
// Generic Vodafone tablets.
'VodafoneTablet' => 'SmartTab([ ]+)?[0-9]+|SmartTabII10|SmartTabII7',
// French tablets - Essentiel B http://www.boulanger.fr/tablette_tactile_e-book/tablette_tactile_essentiel_b/cl_68908.htm?multiChoiceToDelete=brand&mc_brand=essentielb
// Aka: http://www.essentielb.fr/
'EssentielBTablet' => 'Smart[ \']?TAB[ ]+?[0-9]+|Family[ \']?TAB2',
// Ross & Moor - http://ross-moor.ru/
'RossMoorTablet' => 'RM-790|RM-997|RMD-878G|RMD-974R|RMT-705A|RMT-701|RME-601|RMT-501|RMT-711',
// i-mobile http://product.i-mobilephone.com/Mobile_Device
'iMobileTablet' => 'i-mobile i-note',
// http://www.tolino.de/de/vergleichen/
'TolinoTablet' => 'tolino tab [0-9.]+|tolino shine',
// AudioSonic - a Kmart brand
// http://www.kmart.com.au/webapp/wcs/stores/servlet/Search?langId=-1&storeId=10701&catalogId=10001&categoryId=193001&pageSize=72&currentPage=1&searchCategory=193001%2b4294965664&sortBy=p_MaxPrice%7c1
'AudioSonicTablet' => '\bC-22Q|T7-QC|T-17B|T-17P\b',
// AMPE Tablets - http://www.ampe.com.my/product-category/tablets/
// @todo: add them gradually to avoid conflicts.
'AMPETablet' => 'Android.* A78 ',
// Skk Mobile - http://skkmobile.com.ph/product_tablets.php
'SkkTablet' => 'Android.* (SKYPAD|PHOENIX|CYCLOPS)',
// Tecno Mobile (only tablet) - http://www.tecno-mobile.com/index.php/product?filterby=smart&list_order=all&page=1
'TecnoTablet' => 'TECNO P9',
// JXD (consoles & tablets) - http://jxd.hk/products.asp?selectclassid=009008&clsid=3
'JXDTablet' => 'Android.*\b(F3000|A3300|JXD5000|JXD3000|JXD2000|JXD300B|JXD300|S5800|S7800|S602b|S5110b|S7300|S5300|S602|S603|S5100|S5110|S601|S7100a|P3000F|P3000s|P101|P200s|P1000m|P200m|P9100|P1000s|S6600b|S908|P1000|P300|S18|S6600|S9100)\b',
// i-Joy tablets - http://www.i-joy.es/en/cat/products/tablets/
'iJoyTablet' => 'Tablet (Spirit 7|Essentia|Galatea|Fusion|Onix 7|Landa|Titan|Scooby|Deox|Stella|Themis|Argon|Unique 7|Sygnus|Hexen|Finity 7|Cream|Cream X2|Jade|Neon 7|Neron 7|Kandy|Scape|Saphyr 7|Rebel|Biox|Rebel|Rebel 8GB|Myst|Draco 7|Myst|Tab7-004|Myst|Tadeo Jones|Tablet Boing|Arrow|Draco Dual Cam|Aurix|Mint|Amity|Revolution|Finity 9|Neon 9|T9w|Amity 4GB Dual Cam|Stone 4GB|Stone 8GB|Andromeda|Silken|X2|Andromeda II|Halley|Flame|Saphyr 9,7|Touch 8|Planet|Triton|Unique 10|Hexen 10|Memphis 4GB|Memphis 8GB|Onix 10)',
// http://www.intracon.eu/tablet
'FX2Tablet' => 'FX2 PAD7|FX2 PAD10',
// http://www.xoro.de/produkte/
// @note: Might be the same brand with 'Simply tablets'
'XoroTablet' => 'KidsPAD 701|PAD[ ]?712|PAD[ ]?714|PAD[ ]?716|PAD[ ]?717|PAD[ ]?718|PAD[ ]?720|PAD[ ]?721|PAD[ ]?722|PAD[ ]?790|PAD[ ]?792|PAD[ ]?900|PAD[ ]?9715D|PAD[ ]?9716DR|PAD[ ]?9718DR|PAD[ ]?9719QR|PAD[ ]?9720QR|TelePAD1030|Telepad1032|TelePAD730|TelePAD731|TelePAD732|TelePAD735Q|TelePAD830|TelePAD9730|TelePAD795|MegaPAD 1331|MegaPAD 1851|MegaPAD 2151',
// http://www1.viewsonic.com/products/computing/tablets/
'ViewsonicTablet' => 'ViewPad 10pi|ViewPad 10e|ViewPad 10s|ViewPad E72|ViewPad7|ViewPad E100|ViewPad 7e|ViewSonic VB733|VB100a',
// http://www.odys.de/web/internet-tablet_en.html
'OdysTablet' => 'LOOX|XENO10|ODYS[ -](Space|EVO|Xpress|NOON)|\bXELIO\b|Xelio10Pro|XELIO7PHONETAB|XELIO10EXTREME|XELIOPT2|NEO_QUAD10',
// http://www.captiva-power.de/products.html#tablets-en
'CaptivaTablet' => 'CAPTIVA PAD',
// IconBIT - http://www.iconbit.com/products/tablets/
'IconbitTablet' => 'NetTAB|NT-3702|NT-3702S|NT-3702S|NT-3603P|NT-3603P|NT-0704S|NT-0704S|NT-3805C|NT-3805C|NT-0806C|NT-0806C|NT-0909T|NT-0909T|NT-0907S|NT-0907S|NT-0902S|NT-0902S',
// http://www.teclast.com/topic.php?channelID=70&topicID=140&pid=63
'TeclastTablet' => 'T98 4G|\bP80\b|\bX90HD\b|X98 Air|X98 Air 3G|\bX89\b|P80 3G|\bX80h\b|P98 Air|\bX89HD\b|P98 3G|\bP90HD\b|P89 3G|X98 3G|\bP70h\b|P79HD 3G|G18d 3G|\bP79HD\b|\bP89s\b|\bA88\b|\bP10HD\b|\bP19HD\b|G18 3G|\bP78HD\b|\bA78\b|\bP75\b|G17s 3G|G17h 3G|\bP85t\b|\bP90\b|\bP11\b|\bP98t\b|\bP98HD\b|\bG18d\b|\bP85s\b|\bP11HD\b|\bP88s\b|\bA80HD\b|\bA80se\b|\bA10h\b|\bP89\b|\bP78s\b|\bG18\b|\bP85\b|\bA70h\b|\bA70\b|\bG17\b|\bP18\b|\bA80s\b|\bA11s\b|\bP88HD\b|\bA80h\b|\bP76s\b|\bP76h\b|\bP98\b|\bA10HD\b|\bP78\b|\bP88\b|\bA11\b|\bA10t\b|\bP76a\b|\bP76t\b|\bP76e\b|\bP85HD\b|\bP85a\b|\bP86\b|\bP75HD\b|\bP76v\b|\bA12\b|\bP75a\b|\bA15\b|\bP76Ti\b|\bP81HD\b|\bA10\b|\bT760VE\b|\bT720HD\b|\bP76\b|\bP73\b|\bP71\b|\bP72\b|\bT720SE\b|\bC520Ti\b|\bT760\b|\bT720VE\b|T720-3GE|T720-WiFi',
// Onda - http://www.onda-tablet.com/buy-android-onda.html?dir=desc&limit=all&order=price
'OndaTablet' => '\b(V975i|Vi30|VX530|V701|Vi60|V701s|Vi50|V801s|V719|Vx610w|VX610W|V819i|Vi10|VX580W|Vi10|V711s|V813|V811|V820w|V820|Vi20|V711|VI30W|V712|V891w|V972|V819w|V820w|Vi60|V820w|V711|V813s|V801|V819|V975s|V801|V819|V819|V818|V811|V712|V975m|V101w|V961w|V812|V818|V971|V971s|V919|V989|V116w|V102w|V973|Vi40)\b[\s]+',
'JaytechTablet' => 'TPC-PA762',
'BlaupunktTablet' => 'Endeavour 800NG|Endeavour 1010',
// http://www.digma.ru/support/download/
// @todo: Ebooks also (if requested)
'DigmaTablet' => '\b(iDx10|iDx9|iDx8|iDx7|iDxD7|iDxD8|iDsQ8|iDsQ7|iDsQ8|iDsD10|iDnD7|3TS804H|iDsQ11|iDj7|iDs10)\b',
// http://www.evolioshop.com/ro/tablete-pc.html
// http://www.evolio.ro/support/downloads_static.html?cat=2
// @todo: Research some more
'EvolioTablet' => 'ARIA_Mini_wifi|Aria[ _]Mini|Evolio X10|Evolio X7|Evolio X8|\bEvotab\b|\bNeura\b',
// @todo http://www.lavamobiles.com/tablets-data-cards
'LavaTablet' => 'QPAD E704|\bIvoryS\b|E-TAB IVORY|\bE-TAB\b',
// https://www.celkonmobiles.com/?_a=categoryphones&sid=2
'CelkonTablet' => 'CT695|CT888|CT[\s]?910|CT7 Tab|CT9 Tab|CT3 Tab|CT2 Tab|CT1 Tab|C820|C720|\bCT-1\b',
// http://www.wolderelectronics.com/productos/manuales-y-guias-rapidas/categoria-2-miTab
'WolderTablet' => 'miTab \b(DIAMOND|SPACE|BROOKLYN|NEO|FLY|MANHATTAN|FUNK|EVOLUTION|SKY|GOCAR|IRON|GENIUS|POP|MINT|EPSILON|BROADWAY|JUMP|HOP|LEGEND|NEW AGE|LINE|ADVANCE|FEEL|FOLLOW|LIKE|LINK|LIVE|THINK|FREEDOM|CHICAGO|CLEVELAND|BALTIMORE-GH|IOWA|BOSTON|SEATTLE|PHOENIX|DALLAS|IN 101|MasterChef)\b',
// http://www.mi.com/en
'MiTablet' => '\bMI PAD\b|\bHM NOTE 1W\b',
// http://www.nbru.cn/index.html
'NibiruTablet' => 'Nibiru M1|Nibiru Jupiter One',
// http://navroad.com/products/produkty/tablety/
'NexoTablet' => 'NEXO NOVA|NEXO 10|NEXO AVIO|NEXO FREE|NEXO GO|NEXO EVO|NEXO 3G|NEXO SMART|NEXO KIDDO|NEXO MOBI',
// http://www.datawind.com/ubislate/
'UbislateTablet' => 'UbiSlate[\s]?7C',
// http://www.pocketbook-int.com/ru/support
'PocketBookTablet' => 'Pocketbook',
// http://www.tesco.com/direct/hudl/
'Hudl' => 'Hudl HT7S3',
// http://www.telstra.com.au/home-phone/thub-2/
'TelstraTablet' => 'T-Hub2',
'GenericTablet' => 'Android.*\b97D\b|Tablet(?!.*PC)|BNTV250A|MID-WCDMA|LogicPD Zoom2|\bA7EB\b|CatNova8|A1_07|CT704|CT1002|\bM721\b|rk30sdk|\bEVOTAB\b|M758A|ET904|ALUMIUM10|Smartfren Tab|Endeavour 1010|Tablet-PC-4|Tagi Tab|\bM6pro\b|CT1020W|arc 10HD|\bJolla\b'
);
/**
* List of mobile Operating Systems.
*
* @var array
*/
protected static $operatingSystems = array(
'AndroidOS' => 'Android',
'BlackBerryOS' => 'blackberry|\bBB10\b|rim tablet os',
'PalmOS' => 'PalmOS|avantgo|blazer|elaine|hiptop|palm|plucker|xiino',
'SymbianOS' => 'Symbian|SymbOS|Series60|Series40|SYB-[0-9]+|\bS60\b',
// @reference: http://en.wikipedia.org/wiki/Windows_Mobile
'WindowsMobileOS' => 'Windows CE.*(PPC|Smartphone|Mobile|[0-9]{3}x[0-9]{3})|Window Mobile|Windows Phone [0-9.]+|WCE;',
// @reference: http://en.wikipedia.org/wiki/Windows_Phone
// http://wifeng.cn/?r=blog&a=view&id=106
// http://nicksnettravels.builttoroam.com/post/2011/01/10/Bogus-Windows-Phone-7-User-Agent-String.aspx
// http://msdn.microsoft.com/library/ms537503.aspx
'WindowsPhoneOS' => 'Windows Phone 8.1|Windows Phone 8.0|Windows Phone OS|XBLWP7|ZuneWP7|Windows NT 6.[23]; ARM;',
'iOS' => '\biPhone.*Mobile|\biPod|\biPad',
// http://en.wikipedia.org/wiki/MeeGo
// @todo: research MeeGo in UAs
'MeeGoOS' => 'MeeGo',
// http://en.wikipedia.org/wiki/Maemo
// @todo: research Maemo in UAs
'MaemoOS' => 'Maemo',
'JavaOS' => 'J2ME/|\bMIDP\b|\bCLDC\b', // '|Java/' produces bug #135
'webOS' => 'webOS|hpwOS',
'badaOS' => '\bBada\b',
'BREWOS' => 'BREW',
);
/**
* List of mobile User Agents.
*
* @var array
*/
protected static $browsers = array(
// @reference: https://developers.google.com/chrome/mobile/docs/user-agent
'Chrome' => '\bCrMo\b|CriOS|Android.*Chrome/[.0-9]* (Mobile)?',
'Dolfin' => '\bDolfin\b',
'Opera' => 'Opera.*Mini|Opera.*Mobi|Android.*Opera|Mobile.*OPR/[0-9.]+|Coast/[0-9.]+',
'Skyfire' => 'Skyfire',
'IE' => 'IEMobile|MSIEMobile', // |Trident/[.0-9]+
'Firefox' => 'fennec|firefox.*maemo|(Mobile|Tablet).*Firefox|Firefox.*Mobile',
'Bolt' => 'bolt',
'TeaShark' => 'teashark',
'Blazer' => 'Blazer',
// @reference: http://developer.apple.com/library/safari/#documentation/AppleApplications/Reference/SafariWebContent/OptimizingforSafarioniPhone/OptimizingforSafarioniPhone.html#//apple_ref/doc/uid/TP40006517-SW3
'Safari' => 'Version.*Mobile.*Safari|Safari.*Mobile|MobileSafari',
// http://en.wikipedia.org/wiki/Midori_(web_browser)
//'Midori' => 'midori',
'Tizen' => 'Tizen',
'UCBrowser' => 'UC.*Browser|UCWEB',
'baiduboxapp' => 'baiduboxapp',
'baidubrowser' => 'baidubrowser',
// https://github.com/serbanghita/Mobile-Detect/issues/7
'DiigoBrowser' => 'DiigoBrowser',
// http://www.puffinbrowser.com/index.php
'Puffin' => 'Puffin',
// http://mercury-browser.com/index.html
'Mercury' => '\bMercury\b',
// http://en.wikipedia.org/wiki/Obigo_Browser
'ObigoBrowser' => 'Obigo',
// http://en.wikipedia.org/wiki/NetFront
'NetFront' => 'NF-Browser',
// @reference: http://en.wikipedia.org/wiki/Minimo
// http://en.wikipedia.org/wiki/Vision_Mobile_Browser
'GenericBrowser' => 'NokiaBrowser|OviBrowser|OneBrowser|TwonkyBeamBrowser|SEMC.*Browser|FlyFlow|Minimo|NetFront|Novarra-Vision|MQQBrowser|MicroMessenger',
);
/**
* Utilities.
*
* @var array
*/
protected static $utilities = array(
// Experimental. When a mobile device wants to switch to 'Desktop Mode'.
// http://scottcate.com/technology/windows-phone-8-ie10-desktop-or-mobile/
// https://github.com/serbanghita/Mobile-Detect/issues/57#issuecomment-15024011
// https://developers.facebook.com/docs/sharing/best-practices
'Bot' => 'Googlebot|facebookexternalhit|AdsBot-Google|Google Keyword Suggestion|Facebot|YandexBot|bingbot|ia_archiver|AhrefsBot|Ezooms|GSLFbot|WBSearchBot|Twitterbot|TweetmemeBot|Twikle|PaperLiBot|Wotbox|UnwindFetchor',
'MobileBot' => 'Googlebot-Mobile|AdsBot-Google-Mobile|YahooSeeker/M1A1-R2D2',
'DesktopMode' => 'WPDesktop',
'TV' => 'SonyDTV|HbbTV', // experimental
'WebKit' => '(webkit)[ /]([\w.]+)',
// @todo: Include JXD consoles.
'Console' => '\b(Nintendo|Nintendo WiiU|Nintendo 3DS|PLAYSTATION|Xbox)\b',
'Watch' => 'SM-V700',
);
/**
* All possible HTTP headers that represent the
* User-Agent string.
*
* @var array
*/
protected static $uaHttpHeaders = array(
// The default User-Agent string.
'HTTP_USER_AGENT',
// Header can occur on devices using Opera Mini.
'HTTP_X_OPERAMINI_PHONE_UA',
// Vodafone specific header: http://www.seoprinciple.com/mobile-web-community-still-angry-at-vodafone/24/
'HTTP_X_DEVICE_USER_AGENT',
'HTTP_X_ORIGINAL_USER_AGENT',
'HTTP_X_SKYFIRE_PHONE',
'HTTP_X_BOLT_PHONE_UA',
'HTTP_DEVICE_STOCK_UA',
'HTTP_X_UCBROWSER_DEVICE_UA'
);
/**
* The individual segments that could exist in a User-Agent string. VER refers to the regular
* expression defined in the constant self::VER.
*
* @var array
*/
protected static $properties = array(
// Build
'Mobile' => 'Mobile/[VER]',
'Build' => 'Build/[VER]',
'Version' => 'Version/[VER]',
'VendorID' => 'VendorID/[VER]',
// Devices
'iPad' => 'iPad.*CPU[a-z ]+[VER]',
'iPhone' => 'iPhone.*CPU[a-z ]+[VER]',
'iPod' => 'iPod.*CPU[a-z ]+[VER]',
//'BlackBerry' => array('BlackBerry[VER]', 'BlackBerry [VER];'),
'Kindle' => 'Kindle/[VER]',
// Browser
'Chrome' => array('Chrome/[VER]', 'CriOS/[VER]', 'CrMo/[VER]'),
'Coast' => array('Coast/[VER]'),
'Dolfin' => 'Dolfin/[VER]',
// @reference: https://developer.mozilla.org/en-US/docs/User_Agent_Strings_Reference
'Firefox' => 'Firefox/[VER]',
'Fennec' => 'Fennec/[VER]',
// http://msdn.microsoft.com/en-us/library/ms537503(v=vs.85).aspx
// https://msdn.microsoft.com/en-us/library/ie/hh869301(v=vs.85).aspx
'IE' => array('IEMobile/[VER];', 'IEMobile [VER]', 'MSIE [VER];', 'Trident/[0-9.]+;.*rv:[VER]'),
// http://en.wikipedia.org/wiki/NetFront
'NetFront' => 'NetFront/[VER]',
'NokiaBrowser' => 'NokiaBrowser/[VER]',
'Opera' => array( ' OPR/[VER]', 'Opera Mini/[VER]', 'Version/[VER]' ),
'Opera Mini' => 'Opera Mini/[VER]',
'Opera Mobi' => 'Version/[VER]',
'UC Browser' => 'UC Browser[VER]',
'MQQBrowser' => 'MQQBrowser/[VER]',
'MicroMessenger' => 'MicroMessenger/[VER]',
'baiduboxapp' => 'baiduboxapp/[VER]',
'baidubrowser' => 'baidubrowser/[VER]',
'Iron' => 'Iron/[VER]',
// @note: Safari 7534.48.3 is actually Version 5.1.
// @note: On BlackBerry the Version is overwriten by the OS.
'Safari' => array( 'Version/[VER]', 'Safari/[VER]' ),
'Skyfire' => 'Skyfire/[VER]',
'Tizen' => 'Tizen/[VER]',
'Webkit' => 'webkit[ /][VER]',
// Engine
'Gecko' => 'Gecko/[VER]',
'Trident' => 'Trident/[VER]',
'Presto' => 'Presto/[VER]',
// OS
'iOS' => ' \bi?OS\b [VER][ ;]{1}',
'Android' => 'Android [VER]',
'BlackBerry' => array('BlackBerry[\w]+/[VER]', 'BlackBerry.*Version/[VER]', 'Version/[VER]'),
'BREW' => 'BREW [VER]',
'Java' => 'Java/[VER]',
// @reference: http://windowsteamblog.com/windows_phone/b/wpdev/archive/2011/08/29/introducing-the-ie9-on-windows-phone-mango-user-agent-string.aspx
// @reference: http://en.wikipedia.org/wiki/Windows_NT#Releases
'Windows Phone OS' => array( 'Windows Phone OS [VER]', 'Windows Phone [VER]'),
'Windows Phone' => 'Windows Phone [VER]',
'Windows CE' => 'Windows CE/[VER]',
// http://social.msdn.microsoft.com/Forums/en-US/windowsdeveloperpreviewgeneral/thread/6be392da-4d2f-41b4-8354-8dcee20c85cd
'Windows NT' => 'Windows NT [VER]',
'Symbian' => array('SymbianOS/[VER]', 'Symbian/[VER]'),
'webOS' => array('webOS/[VER]', 'hpwOS/[VER];'),
);
/**
* Construct an instance of this class.
*
* @param array $headers Specify the headers as injection. Should be PHP _SERVER flavored.
* If left empty, will use the global _SERVER['HTTP_*'] vars instead.
* @param string $userAgent Inject the User-Agent header. If null, will use HTTP_USER_AGENT
* from the $headers array instead.
*/
public function __construct(
array $headers = null,
$userAgent = null
) {
$this->setHttpHeaders($headers);
$this->setUserAgent($userAgent);
}
/**
* Get the current script version.
* This is useful for the demo.php file,
* so people can check on what version they are testing
* for mobile devices.
*
* @return string The version number in semantic version format.
*/
public static function getScriptVersion()
{
return self::VERSION;
}
/**
* Set the HTTP Headers. Must be PHP-flavored. This method will reset existing headers.
*
* @param array $httpHeaders The headers to set. If null, then using PHP's _SERVER to extract
* the headers. The default null is left for backwards compatibilty.
*/
public function setHttpHeaders($httpHeaders = null)
{
// use global _SERVER if $httpHeaders aren't defined
if (!is_array($httpHeaders) || !count($httpHeaders)) {
$httpHeaders = $_SERVER;
}
// clear existing headers
$this->httpHeaders = array();
// Only save HTTP headers. In PHP land, that means only _SERVER vars that
// start with HTTP_.
foreach ($httpHeaders as $key => $value) {
if (substr($key, 0, 5) === 'HTTP_') {
$this->httpHeaders[$key] = $value;
}
}
// In case we're dealing with CloudFront, we need to know.
$this->setCfHeaders($httpHeaders);
}
/**
* Retrieves the HTTP headers.
*
* @return array
*/
public function getHttpHeaders()
{
return $this->httpHeaders;
}
/**
* Retrieves a particular header. If it doesn't exist, no exception/error is caused.
* Simply null is returned.
*
* @param string $header The name of the header to retrieve. Can be HTTP compliant such as
* "User-Agent" or "X-Device-User-Agent" or can be php-esque with the
* all-caps, HTTP_ prefixed, underscore seperated awesomeness.
*
* @return string|null The value of the header.
*/
public function getHttpHeader($header)
{
// are we using PHP-flavored headers?
if (strpos($header, '_') === false) {
$header = str_replace('-', '_', $header);
$header = strtoupper($header);
}
// test the alternate, too
$altHeader = 'HTTP_' . $header;
//Test both the regular and the HTTP_ prefix
if (isset($this->httpHeaders[$header])) {
return $this->httpHeaders[$header];
} elseif (isset($this->httpHeaders[$altHeader])) {
return $this->httpHeaders[$altHeader];
}
return null;
}
public function getMobileHeaders()
{
return self::$mobileHeaders;
}
/**
* Get all possible HTTP headers that
* can contain the User-Agent string.
*
* @return array List of HTTP headers.
*/
public function getUaHttpHeaders()
{
return self::$uaHttpHeaders;
}
/**
* Set CloudFront headers
* http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/header-caching.html#header-caching-web-device
*
* @param array $cfHeaders List of HTTP headers
*
* @return boolean If there were CloudFront headers to be set
*/
public function setCfHeaders($cfHeaders = null) {
// use global _SERVER if $cfHeaders aren't defined
if (!is_array($cfHeaders) || !count($cfHeaders)) {
$cfHeaders = $_SERVER;
}
// clear existing headers
$this->cloudfrontHeaders = array();
// Only save CLOUDFRONT headers. In PHP land, that means only _SERVER vars that
// start with cloudfront-.
$response = false;
foreach ($cfHeaders as $key => $value) {
if (substr(strtolower($key), 0, 16) === 'http_cloudfront_') {
$this->cloudfrontHeaders[strtoupper($key)] = $value;
$response = true;
}
}
return $response;
}
/**
* Retrieves the cloudfront headers.
*
* @return array
*/
public function getCfHeaders()
{
return $this->cloudfrontHeaders;
}
/**
* Set the User-Agent to be used.
*
* @param string $userAgent The user agent string to set.
*
* @return string|null
*/
public function setUserAgent($userAgent = null)
{
// Invalidate cache due to #375
$this->cache = array();
if (false === empty($userAgent)) {
return $this->userAgent = $userAgent;
} else {
$this->userAgent = null;
foreach ($this->getUaHttpHeaders() as $altHeader) {
if (false === empty($this->httpHeaders[$altHeader])) { // @todo: should use getHttpHeader(), but it would be slow. (Serban)
$this->userAgent .= $this->httpHeaders[$altHeader] . " ";
}
}
if (!empty($this->userAgent)) {
return $this->userAgent = trim($this->userAgent);
}
}
if (count($this->getCfHeaders()) > 0) {
return $this->userAgent = 'Amazon CloudFront';
}
return $this->userAgent = null;
}
/**
* Retrieve the User-Agent.
*
* @return string|null The user agent if it's set.
*/
public function getUserAgent()
{
return $this->userAgent;
}
/**
* Set the detection type. Must be one of self::DETECTION_TYPE_MOBILE or
* self::DETECTION_TYPE_EXTENDED. Otherwise, nothing is set.
*
* @deprecated since version 2.6.9
*
* @param string $type The type. Must be a self::DETECTION_TYPE_* constant. The default
* parameter is null which will default to self::DETECTION_TYPE_MOBILE.
*/
public function setDetectionType($type = null)
{
if ($type === null) {
$type = self::DETECTION_TYPE_MOBILE;
}
if ($type !== self::DETECTION_TYPE_MOBILE && $type !== self::DETECTION_TYPE_EXTENDED) {
return;
}
$this->detectionType = $type;
}
public function getMatchingRegex()
{
return $this->matchingRegex;
}
public function getMatchesArray()
{
return $this->matchesArray;
}
/**
* Retrieve the list of known phone devices.
*
* @return array List of phone devices.
*/
public static function getPhoneDevices()
{
return self::$phoneDevices;
}
/**
* Retrieve the list of known tablet devices.
*
* @return array List of tablet devices.
*/
public static function getTabletDevices()
{
return self::$tabletDevices;
}
/**
* Alias for getBrowsers() method.
*
* @return array List of user agents.
*/
public static function getUserAgents()
{
return self::getBrowsers();
}
/**
* Retrieve the list of known browsers. Specifically, the user agents.
*
* @return array List of browsers / user agents.
*/
public static function getBrowsers()
{
return self::$browsers;
}
/**
* Retrieve the list of known utilities.
*
* @return array List of utilities.
*/
public static function getUtilities()
{
return self::$utilities;
}
/**
* Method gets the mobile detection rules. This method is used for the magic methods $detect->is*().
*
* @deprecated since version 2.6.9
*
* @return array All the rules (but not extended).
*/
public static function getMobileDetectionRules()
{
static $rules;
if (!$rules) {
$rules = array_merge(
self::$phoneDevices,
self::$tabletDevices,
self::$operatingSystems,
self::$browsers
);
}
return $rules;
}
/**
* Method gets the mobile detection rules + utilities.
* The reason this is separate is because utilities rules
* don't necessary imply mobile. This method is used inside
* the new $detect->is('stuff') method.
*
* @deprecated since version 2.6.9
*
* @return array All the rules + extended.
*/
public function getMobileDetectionRulesExtended()
{
static $rules;
if (!$rules) {
// Merge all rules together.
$rules = array_merge(
self::$phoneDevices,
self::$tabletDevices,
self::$operatingSystems,
self::$browsers,
self::$utilities
);
}
return $rules;
}
/**
* Retrieve the current set of rules.
*
* @deprecated since version 2.6.9
*
* @return array
*/
public function getRules()
{
if ($this->detectionType == self::DETECTION_TYPE_EXTENDED) {
return self::getMobileDetectionRulesExtended();
} else {
return self::getMobileDetectionRules();
}
}
/**
* Retrieve the list of mobile operating systems.
*
* @return array The list of mobile operating systems.
*/
public static function getOperatingSystems()
{
return self::$operatingSystems;
}
/**
* Check the HTTP headers for signs of mobile.
* This is the fastest mobile check possible; it's used
* inside isMobile() method.
*
* @return bool
*/
public function checkHttpHeadersForMobile()
{
foreach ($this->getMobileHeaders() as $mobileHeader => $matchType) {
if (isset($this->httpHeaders[$mobileHeader])) {
if (is_array($matchType['matches'])) {
foreach ($matchType['matches'] as $_match) {
if (strpos($this->httpHeaders[$mobileHeader], $_match) !== false) {
return true;
}
}
return false;
} else {
return true;
}
}
}
return false;
}
/**
* Magic overloading method.
*
* @method boolean is[...]()
* @param string $name
* @param array $arguments
* @return mixed
* @throws BadMethodCallException when the method doesn't exist and doesn't start with 'is'
*/
public function __call($name, $arguments)
{
// make sure the name starts with 'is', otherwise
if (substr($name, 0, 2) !== 'is') {
throw new BadMethodCallException("No such method exists: $name");
}
$this->setDetectionType(self::DETECTION_TYPE_MOBILE);
$key = substr($name, 2);
return $this->matchUAAgainstKey($key);
}
/**
* Find a detection rule that matches the current User-agent.
*
* @param null $userAgent deprecated
* @return boolean
*/
protected function matchDetectionRulesAgainstUA($userAgent = null)
{
// Begin general search.
foreach ($this->getRules() as $_regex) {
if (empty($_regex)) {
continue;
}
if ($this->match($_regex, $userAgent)) {
return true;
}
}
return false;
}
/**
* Search for a certain key in the rules array.
* If the key is found the try to match the corresponding
* regex against the User-Agent.
*
* @param string $key
*
* @return boolean
*/
protected function matchUAAgainstKey($key)
{
// Make the keys lowercase so we can match: isIphone(), isiPhone(), isiphone(), etc.
$key = strtolower($key);
if (false === isset($this->cache[$key])) {
// change the keys to lower case
$_rules = array_change_key_case($this->getRules());
if (false === empty($_rules[$key])) {
$this->cache[$key] = $this->match($_rules[$key]);
}
if (false === isset($this->cache[$key])) {
$this->cache[$key] = false;
}
}
return $this->cache[$key];
}
/**
* Check if the device is mobile.
* Returns true if any type of mobile device detected, including special ones
* @param null $userAgent deprecated
* @param null $httpHeaders deprecated
* @return bool
*/
public function isMobile($userAgent = null, $httpHeaders = null)
{
if ($httpHeaders) {
$this->setHttpHeaders($httpHeaders);
}
if ($userAgent) {
$this->setUserAgent($userAgent);
}
// Check specifically for cloudfront headers if the useragent === 'Amazon CloudFront'
if ($this->getUserAgent() === 'Amazon CloudFront') {
$cfHeaders = $this->getCfHeaders();
if(array_key_exists('HTTP_CLOUDFRONT_IS_MOBILE_VIEWER', $cfHeaders) && $cfHeaders['HTTP_CLOUDFRONT_IS_MOBILE_VIEWER'] === 'true') {
return true;
}
}
$this->setDetectionType(self::DETECTION_TYPE_MOBILE);
if ($this->checkHttpHeadersForMobile()) {
return true;
} else {
return $this->matchDetectionRulesAgainstUA();
}
}
/**
* Check if the device is a tablet.
* Return true if any type of tablet device is detected.
*
* @param string $userAgent deprecated
* @param array $httpHeaders deprecated
* @return bool
*/
public function isTablet($userAgent = null, $httpHeaders = null)
{
// Check specifically for cloudfront headers if the useragent === 'Amazon CloudFront'
if ($this->getUserAgent() === 'Amazon CloudFront') {
$cfHeaders = $this->getCfHeaders();
if(array_key_exists('HTTP_CLOUDFRONT_IS_TABLET_VIEWER', $cfHeaders) && $cfHeaders['HTTP_CLOUDFRONT_IS_TABLET_VIEWER'] === 'true') {
return true;
}
}
$this->setDetectionType(self::DETECTION_TYPE_MOBILE);
foreach (self::$tabletDevices as $_regex) {
if ($this->match($_regex, $userAgent)) {
return true;
}
}
return false;
}
/**
* This method checks for a certain property in the
* userAgent.
* @todo: The httpHeaders part is not yet used.
*
* @param string $key
* @param string $userAgent deprecated
* @param string $httpHeaders deprecated
* @return bool|int|null
*/
public function is($key, $userAgent = null, $httpHeaders = null)
{
// Set the UA and HTTP headers only if needed (eg. batch mode).
if ($httpHeaders) {
$this->setHttpHeaders($httpHeaders);
}
if ($userAgent) {
$this->setUserAgent($userAgent);
}
$this->setDetectionType(self::DETECTION_TYPE_EXTENDED);
return $this->matchUAAgainstKey($key);
}
/**
* Some detection rules are relative (not standard),
* because of the diversity of devices, vendors and
* their conventions in representing the User-Agent or
* the HTTP headers.
*
* This method will be used to check custom regexes against
* the User-Agent string.
*
* @param $regex
* @param string $userAgent
* @return bool
*
* @todo: search in the HTTP headers too.
*/
public function match($regex, $userAgent = null)
{
$match = (bool) preg_match(sprintf('#%s#is', $regex), (false === empty($userAgent) ? $userAgent : $this->userAgent), $matches);
// If positive match is found, store the results for debug.
if ($match) {
$this->matchingRegex = $regex;
$this->matchesArray = $matches;
}
return $match;
}
/**
* Get the properties array.
*
* @return array
*/
public static function getProperties()
{
return self::$properties;
}
/**
* Prepare the version number.
*
* @todo Remove the error supression from str_replace() call.
*
* @param string $ver The string version, like "2.6.21.2152";
*
* @return float
*/
public function prepareVersionNo($ver)
{
$ver = str_replace(array('_', ' ', '/'), '.', $ver);
$arrVer = explode('.', $ver, 2);
if (isset($arrVer[1])) {
$arrVer[1] = @str_replace('.', '', $arrVer[1]); // @todo: treat strings versions.
}
return (float) implode('.', $arrVer);
}
/**
* Check the version of the given property in the User-Agent.
* Will return a float number. (eg. 2_0 will return 2.0, 4.3.1 will return 4.31)
*
* @param string $propertyName The name of the property. See self::getProperties() array
* keys for all possible properties.
* @param string $type Either self::VERSION_TYPE_STRING to get a string value or
* self::VERSION_TYPE_FLOAT indicating a float value. This parameter
* is optional and defaults to self::VERSION_TYPE_STRING. Passing an
* invalid parameter will default to the this type as well.
*
* @return string|float The version of the property we are trying to extract.
*/
public function version($propertyName, $type = self::VERSION_TYPE_STRING)
{
if (empty($propertyName)) {
return false;
}
// set the $type to the default if we don't recognize the type
if ($type !== self::VERSION_TYPE_STRING && $type !== self::VERSION_TYPE_FLOAT) {
$type = self::VERSION_TYPE_STRING;
}
$properties = self::getProperties();
// Check if the property exists in the properties array.
if (true === isset($properties[$propertyName])) {
// Prepare the pattern to be matched.
// Make sure we always deal with an array (string is converted).
$properties[$propertyName] = (array) $properties[$propertyName];
foreach ($properties[$propertyName] as $propertyMatchString) {
$propertyPattern = str_replace('[VER]', self::VER, $propertyMatchString);
// Identify and extract the version.
preg_match(sprintf('#%s#is', $propertyPattern), $this->userAgent, $match);
if (false === empty($match[1])) {
$version = ($type == self::VERSION_TYPE_FLOAT ? $this->prepareVersionNo($match[1]) : $match[1]);
return $version;
}
}
}
return false;
}
/**
* Retrieve the mobile grading, using self::MOBILE_GRADE_* constants.
*
* @return string One of the self::MOBILE_GRADE_* constants.
*/
public function mobileGrade()
{
$isMobile = $this->isMobile();
if (
// Apple iOS 4-7.0 – Tested on the original iPad (4.3 / 5.0), iPad 2 (4.3 / 5.1 / 6.1), iPad 3 (5.1 / 6.0), iPad Mini (6.1), iPad Retina (7.0), iPhone 3GS (4.3), iPhone 4 (4.3 / 5.1), iPhone 4S (5.1 / 6.0), iPhone 5 (6.0), and iPhone 5S (7.0)
$this->is('iOS') && $this->version('iPad', self::VERSION_TYPE_FLOAT) >= 4.3 ||
$this->is('iOS') && $this->version('iPhone', self::VERSION_TYPE_FLOAT) >= 4.3 ||
$this->is('iOS') && $this->version('iPod', self::VERSION_TYPE_FLOAT) >= 4.3 ||
// Android 2.1-2.3 - Tested on the HTC Incredible (2.2), original Droid (2.2), HTC Aria (2.1), Google Nexus S (2.3). Functional on 1.5 & 1.6 but performance may be sluggish, tested on Google G1 (1.5)
// Android 3.1 (Honeycomb) - Tested on the Samsung Galaxy Tab 10.1 and Motorola XOOM
// Android 4.0 (ICS) - Tested on a Galaxy Nexus. Note: transition performance can be poor on upgraded devices
// Android 4.1 (Jelly Bean) - Tested on a Galaxy Nexus and Galaxy 7
( $this->version('Android', self::VERSION_TYPE_FLOAT)>2.1 && $this->is('Webkit') ) ||
// Windows Phone 7.5-8 - Tested on the HTC Surround (7.5), HTC Trophy (7.5), LG-E900 (7.5), Nokia 800 (7.8), HTC Mazaa (7.8), Nokia Lumia 520 (8), Nokia Lumia 920 (8), HTC 8x (8)
$this->version('Windows Phone OS', self::VERSION_TYPE_FLOAT) >= 7.5 ||
// Tested on the Torch 9800 (6) and Style 9670 (6), BlackBerry® Torch 9810 (7), BlackBerry Z10 (10)
$this->is('BlackBerry') && $this->version('BlackBerry', self::VERSION_TYPE_FLOAT) >= 6.0 ||
// Blackberry Playbook (1.0-2.0) - Tested on PlayBook
$this->match('Playbook.*Tablet') ||
// Palm WebOS (1.4-3.0) - Tested on the Palm Pixi (1.4), Pre (1.4), Pre 2 (2.0), HP TouchPad (3.0)
( $this->version('webOS', self::VERSION_TYPE_FLOAT) >= 1.4 && $this->match('Palm|Pre|Pixi') ) ||
// Palm WebOS 3.0 - Tested on HP TouchPad
$this->match('hp.*TouchPad') ||
// Firefox Mobile 18 - Tested on Android 2.3 and 4.1 devices
( $this->is('Firefox') && $this->version('Firefox', self::VERSION_TYPE_FLOAT) >= 18 ) ||
// Chrome for Android - Tested on Android 4.0, 4.1 device
( $this->is('Chrome') && $this->is('AndroidOS') && $this->version('Android', self::VERSION_TYPE_FLOAT) >= 4.0 ) ||
// Skyfire 4.1 - Tested on Android 2.3 device
( $this->is('Skyfire') && $this->version('Skyfire', self::VERSION_TYPE_FLOAT) >= 4.1 && $this->is('AndroidOS') && $this->version('Android', self::VERSION_TYPE_FLOAT) >= 2.3 ) ||
// Opera Mobile 11.5-12: Tested on Android 2.3
( $this->is('Opera') && $this->version('Opera Mobi', self::VERSION_TYPE_FLOAT) >= 11.5 && $this->is('AndroidOS') ) ||
// Meego 1.2 - Tested on Nokia 950 and N9
$this->is('MeeGoOS') ||
// Tizen (pre-release) - Tested on early hardware
$this->is('Tizen') ||
// Samsung Bada 2.0 - Tested on a Samsung Wave 3, Dolphin browser
// @todo: more tests here!
$this->is('Dolfin') && $this->version('Bada', self::VERSION_TYPE_FLOAT) >= 2.0 ||
// UC Browser - Tested on Android 2.3 device
( ($this->is('UC Browser') || $this->is('Dolfin')) && $this->version('Android', self::VERSION_TYPE_FLOAT) >= 2.3 ) ||
// Kindle 3 and Fire - Tested on the built-in WebKit browser for each
( $this->match('Kindle Fire') ||
$this->is('Kindle') && $this->version('Kindle', self::VERSION_TYPE_FLOAT) >= 3.0 ) ||
// Nook Color 1.4.1 - Tested on original Nook Color, not Nook Tablet
$this->is('AndroidOS') && $this->is('NookTablet') ||
// Chrome Desktop 16-24 - Tested on OS X 10.7 and Windows 7
$this->version('Chrome', self::VERSION_TYPE_FLOAT) >= 16 && !$isMobile ||
// Safari Desktop 5-6 - Tested on OS X 10.7 and Windows 7
$this->version('Safari', self::VERSION_TYPE_FLOAT) >= 5.0 && !$isMobile ||
// Firefox Desktop 10-18 - Tested on OS X 10.7 and Windows 7
$this->version('Firefox', self::VERSION_TYPE_FLOAT) >= 10.0 && !$isMobile ||
// Internet Explorer 7-9 - Tested on Windows XP, Vista and 7
$this->version('IE', self::VERSION_TYPE_FLOAT) >= 7.0 && !$isMobile ||
// Opera Desktop 10-12 - Tested on OS X 10.7 and Windows 7
$this->version('Opera', self::VERSION_TYPE_FLOAT) >= 10 && !$isMobile
){
return self::MOBILE_GRADE_A;
}
if (
$this->is('iOS') && $this->version('iPad', self::VERSION_TYPE_FLOAT)<4.3 ||
$this->is('iOS') && $this->version('iPhone', self::VERSION_TYPE_FLOAT)<4.3 ||
$this->is('iOS') && $this->version('iPod', self::VERSION_TYPE_FLOAT)<4.3 ||
// Blackberry 5.0: Tested on the Storm 2 9550, Bold 9770
$this->is('Blackberry') && $this->version('BlackBerry', self::VERSION_TYPE_FLOAT) >= 5 && $this->version('BlackBerry', self::VERSION_TYPE_FLOAT)<6 ||
//Opera Mini (5.0-6.5) - Tested on iOS 3.2/4.3 and Android 2.3
($this->version('Opera Mini', self::VERSION_TYPE_FLOAT) >= 5.0 && $this->version('Opera Mini', self::VERSION_TYPE_FLOAT) <= 7.0 &&
($this->version('Android', self::VERSION_TYPE_FLOAT) >= 2.3 || $this->is('iOS')) ) ||
// Nokia Symbian^3 - Tested on Nokia N8 (Symbian^3), C7 (Symbian^3), also works on N97 (Symbian^1)
$this->match('NokiaN8|NokiaC7|N97.*Series60|Symbian/3') ||
// @todo: report this (tested on Nokia N71)
$this->version('Opera Mobi', self::VERSION_TYPE_FLOAT) >= 11 && $this->is('SymbianOS')
){
return self::MOBILE_GRADE_B;
}
if (
// Blackberry 4.x - Tested on the Curve 8330
$this->version('BlackBerry', self::VERSION_TYPE_FLOAT) <= 5.0 ||
// Windows Mobile - Tested on the HTC Leo (WinMo 5.2)
$this->match('MSIEMobile|Windows CE.*Mobile') || $this->version('Windows Mobile', self::VERSION_TYPE_FLOAT) <= 5.2 ||
// Tested on original iPhone (3.1), iPhone 3 (3.2)
$this->is('iOS') && $this->version('iPad', self::VERSION_TYPE_FLOAT) <= 3.2 ||
$this->is('iOS') && $this->version('iPhone', self::VERSION_TYPE_FLOAT) <= 3.2 ||
$this->is('iOS') && $this->version('iPod', self::VERSION_TYPE_FLOAT) <= 3.2 ||
// Internet Explorer 7 and older - Tested on Windows XP
$this->version('IE', self::VERSION_TYPE_FLOAT) <= 7.0 && !$isMobile
){
return self::MOBILE_GRADE_C;
}
// All older smartphone platforms and featurephones - Any device that doesn't support media queries
// will receive the basic, C grade experience.
return self::MOBILE_GRADE_C;
}
}
<?php if(!is_home()){?>
<ul class="c-breadcrumb">
<li><a href="<?php echo home_url(); ?>">home</a></li>
<?php /*=======================================
custom post
===============================================*/ ?>
<?php if(is_singular("xxxx")){ ?>
<?php /*=======================================
single
===============================================*/ ?>
<?php }elseif((is_single()&&get_post_type()=="post")){ ?>
<?php /*=======================================
single
===============================================*/ ?>
<?php }elseif(is_single()){ ?>
<?php /*=======================================
pages
===============================================*/ ?>
<?php }elseif(is_page()){ ?>
<?php /*=======================================
other
===============================================*/ ?>
<?php }else{ ?>
<?php } ?>
<li><?php the_title(); ?></li>
</ul>
<?php } ?>
<?php /*========================================
btn
================================================*/ ?>
<div class="c-dev-title1">btn</div>
<?php /*----------------------------------------*/ ?>
<div class="c-dev-title2"></div>
<?php /*========================================
title
================================================*/ ?>
<div class="c-dev-title1">title</div>
<?php /*----------------------------------------*/ ?>
<div class="c-dev-title2"></div>
<?php /*========================================
icon
================================================*/ ?>
<div class="c-dev-title1">icon</div>
<?php /*----------------------------------------*/ ?>
<div class="c-dev-title2"></div>
<?php /*========================================
form
================================================*/ ?>
<div class="c-dev-title1">form</div>
<?php /*----------------------------------------*/ ?>
<div class="c-dev-title2"></div>
<?php /*========================================
text
================================================*/ ?>
<div class="c-dev-title1">text</div>
<?php /*----------------------------------------*/ ?>
<div class="c-dev-title2"></div>
<?php /*========================================
navi
================================================*/ ?>
<div class="c-dev-title1">navi</div>
<?php /*----------------------------------------*/ ?>
<div class="c-dev-title2"></div>
<?php /*========================================
img
================================================*/ ?>
<div class="c-dev-title1">img</div>
<?php /*----------------------------------------*/ ?>
<div class="c-dev-title2"></div>
<?php /*========================================
list
================================================*/ ?>
<div class="c-dev-title1">list</div>
<?php /*----------------------------------------*/ ?>
<div class="c-dev-title2"></div>
<?php /*========================================
table
================================================*/ ?>
<div class="c-dev-title1">table</div>
<?php /*----------------------------------------*/ ?>
<div class="c-dev-title2"></div>
<?php /*========================================
line
================================================*/ ?>
<div class="c-dev-title1">line</div>
<?php /*----------------------------------------*/ ?>
<div class="c-dev-title2"></div>
<?php /*========================================
video
================================================*/ ?>
<div class="c-dev-title1">video</div>
<?php /*----------------------------------------*/ ?>
<div class="c-dev-title2"></div>
<?php /*========================================
slide
================================================*/ ?>
<div class="c-dev-title1">slide</div>
<?php /*----------------------------------------*/ ?>
<div class="c-dev-title2"></div>
<?php /*========================================
other
================================================*/ ?>
<div class="c-dev-title1">other</div>
<?php /*----------------------------------------*/ ?>
<div class="c-dev-title2"></div>
<?php if(is_home()){ ?>
<title><?php bloginfo('name'); ?></title>
<?php }else{ ?>
<title><?php echo trim(wp_title('', false)); ?><?php if(!is_home()){ ?> | <?php } ?><?php bloginfo('name'); ?></title>
<?php } ?>
<meta name="description" content="">
<meta name="keywords" content="">
<?php
/*
<?php
$title = "";
$description = "";
$keyword = "";
?>
<title><?php echo $title; ?></title>
<meta name="description" content="<?php echo $description; ?>">
<meta name="keywords" content="<?php echo $keyword; ?>">
*/ ?>
\ No newline at end of file
<?php include(get_template_directory() . '/assets/include/header.php'); ?>
<?php
//管理画面で編集するページ
if(
is_page("xxx")
) {
while (have_posts()){ the_post();the_content();}
//テンプレート埋め込み
}else{
include(get_template_directory().'/libs/page/'.get_page($page_id)->post_name.'.php');
}?>
<?php include(get_template_directory() . '/assets/include/footer.php'); ?>
\ No newline at end of file
<?php include(get_template_directory() . '/assets/include/header.php'); ?>
<?php the_title(); ?>
<?php the_time('Y.n.j'); ?>
<?php while (have_posts()){ the_post();the_content();} ?>
<?php include(get_template_directory() . '/assets/include/footer.php'); ?>
<?php $pageid="seminar";?>
<?php include($_SERVER['DOCUMENT_ROOT'] . '/assets/include/header.php'); ?>
<?php if( have_rows('themes') ): while( have_rows('themes') ): the_row();
$option = get_sub_field('option');
$theme_1 = get_sub_field('theme_1');
$theme_2= get_sub_field('theme_2');
?>
<main class="p-seminar p-seminar-01">
<?php if( have_rows('mainvisual') ): while( have_rows('mainvisual') ): the_row();
$display = get_sub_field('display');
if($display == "option1"){
if( have_rows('option_1') ): while( have_rows('option_1') ): the_row();
$experience_mv_pc = get_sub_field('experience_mv_pc');
$experience_mv_sp = get_sub_field('experience_mv_sp');
?>
<div class="c-mainvisual c-mainvisual-bg-01 pc-only" style="background-image: url(<?php echo $experience_mv_pc;?>);"></div>
<div class="c-mainvisual c-mainvisual-bg-01 sp-only" style="background-image: url(<?php echo $experience_mv_sp;?>);"></div>
<?php endwhile; endif; } else {
if( have_rows('option_2') ): while( have_rows('option_2') ): the_row();
$experience_mv_img = get_sub_field('experience_mv_img');
$experience_mv_ttl = get_sub_field('experience_mv_ttl');
if($experience_mv_img != "none") {
?>
<div class="c-mainvisual c-mainvisual-bg-01"
<?php if($experience_mv_img == "blue") {
echo 'style="background-image: url(/assets/img/seminar/img_seminar_mv_NVY.gif);"';
}elseif($experience_mv_img == "red"){
echo 'style="background-image: url(/assets/img/seminar/img_seminar_mv_RED.gif);"';
}
elseif($experience_mv_img== "green"){
echo 'style="background-image: url(/assets/img/seminar/img_seminar_mv_GRN.gif);"';
}
elseif($experience_mv_img == "lightblue"){
echo 'style="background-image: url(/assets/img/seminar/img_seminar_mv_BLU.gif);"';
}
elseif($experience_mv_img == "gray"){
echo 'style="background-image: url(/assets/img/seminar/img_seminar_mv_BLK.gif);"';
}
?> >
<h2 class="c-mainvisual__ttl"><?php echo $experience_mv_ttl;?></h2>
</div>
<?php } elseif ($experience_mv_img == "none"){ ?>
<div class="c-mainvisual c-mainvisual-bg-01"
<?php if($theme_2 == "1f3563") {
echo 'style="background-image: url(/assets/img/seminar/img_seminar_mv_NVY.gif);"';
}elseif($theme_2 == "812727"){
echo 'style="background-image: url(/assets/img/seminar/img_seminar_mv_RED.gif);"';
}
elseif($theme_2 == "2e4e34"){
echo 'style="background-image: url(/assets/img/seminar/img_seminar_mv_GRN.gif);"';
}
elseif($theme_2 == "1e5169"){
echo 'style="background-image: url(/assets/img/seminar/img_seminar_mv_BLU.gif);"';
}
elseif($theme_2 == "363636"){
echo 'style="background-image: url(/assets/img/seminar/img_seminar_mv_BLK.gif);"';
}
?> >
<h2 class="c-mainvisual__ttl"><?php echo $experience_mv_ttl;?></h2>
</div>
<?php } ; endwhile; endif; } ; endwhile; endif; ?>
<section class="seminar1">
<div class="c-mainttl container">
<?php $experience_lead = get_field("experience_lead")?>
<h3 class="c-mainttl__txt"><?php echo $experience_lead;?></h3>
</div>
</section>
<section class="seminar2">
<div class="container">
<div class="c-imgtext1 c-maintxt1">
<?php $experience_maintext = get_field("experience_maintext")?>
<p class="c-imgtext1__txt"><?php echo $experience_maintext;?></p>
<?php $experience_attention = get_field("experience_attention")?>
<?php if(!empty($experience_attention)){ ?>
<div class="c-list1 c-list1-ma">
<?php echo $experience_attention;?>
</div>
<?php } ?>
</div>
</div>
</section>
<?php
if( have_rows('list_people')) : while( have_rows('list_people') ): the_row();
$displayflg = get_sub_field("text_list_people");
?>
<?php endwhile; endif;?>
<?php
if(!empty($displayflg)){
?>
<section class="seminar3" style="background-color:#<?php if($option == 'theme1'){ echo $theme_1; } else { echo $theme_2; }?>">
<div class="c-title1">
<?php $section3_ttl = get_field("section3_ttl")?>
<?php if(!empty($section3_ttl)){ ?>
<h3 class="c-title1__txt"><?php echo $section3_ttl; ?></h3>
<?php } ?>
<div class="container">
<?php
$count = count(get_field('list_people'));
if($count <= 3){
?>
<ul class="c-list2">
<?php if( have_rows('list_people')) : while( have_rows('list_people') ): the_row();
$text_list_people = get_sub_field("text_list_people");
?>
<li class="c-list2__item"><p class="c-list2__txt"><?php echo $text_list_people; ?></p></li>
<?php endwhile; endif;?>
</ul>
<?php } else { ?>
<ul class="c-list3">
<?php if( have_rows('list_people')) : while( have_rows('list_people') ): the_row();
$text_list_people = get_sub_field("text_list_people");
?>
<li class="c-list3__item"><p class="c-list2__txt"><?php echo $text_list_people; ?></p></li>
<?php endwhile; endif;?>
</ul>
<?php }; ?>
</div>
</div>
<div class="container">
</div>
</section>
<?php }; ?>
<?php if( have_rows('organiz_pro')) :
?>
<section class="seminar4">
<div class="c-title1">
<?php $section4_ttl = get_field("section4_ttl")?>
<?php if(!empty($section4_ttl)){ ?>
<h3 class="c-title1__txt"><?php echo $section4_ttl; ?></h3>
<?php } ?>
<div class="container">
</div>
</div>
<div class="container">
<?php while( have_rows('organiz_pro') ): the_row();
$organiz_pro_img = get_sub_field("organiz_pro_img");
$organiz_pro_name = get_sub_field("organiz_pro_name");
$organiz_pro_intoro = get_sub_field("organiz_pro_intoro");
$organiz_pro_txt = get_sub_field("organiz_pro_txt");?>
<div class="c-imgtext1">
<div class="c-imgtext1__image"><img src="<?php echo $organiz_pro_img;?>" alt="" width="300" height="300"></div>
<div class="c-imgtext1__info">
<p class="c-imgtext1__title"><?php echo $organiz_pro_name;?></p>
<p class="c-imgtext1__title2"><?php echo $organiz_pro_intoro;?></p>
<div><?php echo $organiz_pro_txt;?></div>
<?php while (have_posts()){ the_post(); if( have_rows('trainer_book') ): ?>
<ul class="c-list4">
<?php while( have_rows('trainer_book') ): the_row();
$trainer_book_img = get_sub_field('trainer_book_img');
$trainer_book_ttl = get_sub_field('trainer_book_ttl');
$trainer_book_txt = get_sub_field('trainer_book_txt');
$trainer_book_url = get_sub_field('trainer_book_url');
?>
<li class="c-list4__item">
<a href="<?php echo $trainer_book_url ?>" target="_blank" class="c-list4__inner">
<div class="c-list4__img">
<img src="<?php echo $trainer_book_img['url']?>" alt="<?php echo $trainer_book_ttl?>">
</div>
<div class="c-list4__info">
<h4 class="c-list4__ttl"><?php echo $trainer_book_ttl?></h4>
<p class="c-list4__txt"><?php echo $trainer_book_txt?></p>
</div>
</a>
</li>
<?php endwhile; ?>
</ul>
<?php endif;} ?>
</div>
</div>
<?php endwhile;?>
<!-- <div class="c-imgtext1">
<div class="c-imgtext1__image"><img src="/assets/img/trainer/img_trainer_shimamura.png" alt="" width="300" height="300"></div>
<div class="c-imgtext1__info">
<p class="c-imgtext1__title">嶌村 武男</p>
<p class="c-imgtext1__title2">アチーブメント株式会社 トレーナー</p>
<p class="c-imgtext1__text">1970年、熊本県八代市生まれ。日本航空株式会社に航空機のエンジニアとして18年間勤務。<br>
その後、営業組織においてトップクラスの成績を収め、リーダーとして5000名以上の人材育成や講演に携わる。<br>
2007年よりアチーブメント株式会社入社。<br>
現在は、チームリーダーとして部下育成を行うと同時に、営業力強化セミナーや時間管理セミナーなどの公開講座でトレーナーを務め、<br>
経営者をはじめ営業職、専門職の方々の成長に寄与している。<br>
また、企業研修においては、選択理論心理学をベースとした体験型のチームビルディングやモチベーション・マネジメント研修を担当。<br>
技術職と営業職の両方のキャリアがあり、営業職のみならず研究職や技術職といった<br>
理系受講生からも高い共感値と満足度を得ている。</p>
</div>
</div> -->
</div>
</section>
<?php ; endif;?>
<?php if(!empty(get_field('section5_ttl'))|| (!empty(get_field('list_seminar')))){ ?>
<section class="seminar5" style="background-color:#<?php if($option == 'theme1'){ echo $theme_1; } else { echo $theme_2; }?>">
<div class="c-title1">
<?php $section5_ttl = get_field("section5_ttl")?>
<?php if(!empty($section5_ttl)){ ?>
<h3 class="c-title1__txt"><?php echo $section5_ttl; ?></h3>
<?php } ?>
<div class="container">
<?php
if(!empty(get_field('list_seminar'))){
$count = count(get_field('list_seminar'));
}
if($count <= 3){
?>
<ul class="c-list2">
<?php if( have_rows('list_seminar')) : while( have_rows('list_seminar') ): the_row();
$number_list_seminar = get_sub_field("number_list_seminar");
$text_list_seminar = get_sub_field("text_list_seminar");
?>
<li class="c-list2__item"><h4 class="c-list2__ttl"><?php echo $number_list_seminar?></h4><p class="c-list2__txt"><?php echo $text_list_seminar;?></p></li>
<?php endwhile; endif;?>
</ul>
<?php } else { ?>
<ul class="c-list3">
<?php if( have_rows('list_seminar')) : while( have_rows('list_seminar') ): the_row();
$number_list_seminar = get_sub_field("number_list_seminar");
$text_list_seminar = get_sub_field("text_list_seminar");
?>
<li class="c-list3__item"><h4 class="c-list3__ttl"><?php echo $number_list_seminar?></h4><p class="c-list3__txt"><?php echo $text_list_seminar;?></p></li>
<?php endwhile; endif;?>
</ul>
<?php }; ?>
</div>
</div>
</section>
<?php } ?>
<section class="seminar6">
<div class="c-title1">
<?php $section6_ttl = get_field("section6_ttl")?>
<?php if(!empty($section6_ttl)){ ?>
<h3 class="c-title1__txt"><?php echo $section6_ttl; ?></h3>
<?php } ?>
<div class="container">
<div class="c-table2">
<?php if( have_rows('table_experience')) : while( have_rows('table_experience') ): the_row();
$title_experience = get_sub_field("title_experience");
$text_experience = get_sub_field("text_experience");
?>
<dl>
<dt><?php echo $title_experience; ?></dt>
<dd>
<p><?php echo $text_experience; ?></p>
</dd>
</dl>
<?php endwhile; endif;?>
</div>
</div>
</div>
</section>
<?php if( have_rows('button_group')) : while( have_rows('button_group') ): the_row(); ?>
<section class="seminar-btnset">
<div class="container">
<?php if( have_rows('button')) : while( have_rows('button') ): the_row();
$text_button = get_sub_field("text_button");
$note_text_button = get_sub_field("note_text_button");
$display_note_text = get_sub_field("display_note_text");
$color_btn = get_sub_field("color_btn");
$url_btn = get_sub_field("url_btn");
?>
<div class="l-btn l-btn--center">
<div class="c-btn1 <?php if($color_btn == "red") { echo "c-btn1-red"; }?>">
<a target="_blank" href="<?php echo $url_btn;?>" class="c-btn1__txt"><?php echo $text_button; ?>
<?php if($display_note_text[0] == "true") {?>
<span><?php echo $note_text_button;?></span>
<?php }?>
</a>
</div>
</div>
<?php endwhile; endif;?>
</div>
</section>
<?php endwhile; endif;?>
</main>
<?php endwhile; endif;?>
<?php include($_SERVER['DOCUMENT_ROOT'] . '/assets/include/footer.php'); ?>
<?php $pageid = "news"; ?>
<?php include(get_template_directory() . '/assets/include/header.php'); ?>
<?php //the_title();
?>
<?php //the_time('Y.n.j');
?>
<?php //while (have_posts()){ the_post();the_content();}
?>
<div class="p-news">
<section class="c-mainvisual">
<!-- <div class="c-breadcrumb pc-only">
<ul class="c-breadcrumb__inner">
<li class="c-breadcrumb__item">
<a href="/"><span>TOP</span></a>
</li>
<li class="c-breadcrumb__item">
<a href="/news/"><span>ニュース</span></a>
</li>
<li class="c-breadcrumb__item">
<a href="/news/info/"><span>お知らせ</span></a>
</li>
<li class="c-breadcrumb__item">
<span>セミナー開催日程の追加と、一部中止のお知らせ</span>
</li>
</ul>
</div> -->
<div class="c-breadcrumb pc-only">
<ul class="c-breadcrumb__inner">
<?php if (function_exists('bcn_display')) {
bcn_display();
} ?>
</ul>
</div>
<div class="c-mainvisual__inner">
<h2 class="c-mainvisual__title">ニュース</h2>
</div>
</section>
<div class="container">
<aside class="side pc-only">
<div class="side__box">
<h3 class="side__mainttl">ニュース</h3>
<ul class="side__list">
<?php
$terms = get_terms("news_tax", $args = array(
'hide_empty' => false,
'orderby' => 'count',
'order' => 'DESC',
));
foreach ($terms as $term) {
$term_link = get_term_link($term);
if ($term->count > 0) { ?>
<li class="side__item">
<?php $clActive = ((get_queried_object()->slug) == ($term->slug)) ? "is-active" : ""; ?>
<a class="side__txt <?php echo $clActive; ?>" href="<?php echo esc_url($term_link); ?>"><?php echo $term->name; ?></a>
</li>
<?php } elseif ($term->count !== 0) { ?>
<li class="side__item"><?php echo $term->name; ?></li>
<?php }
} ?>
</ul>
</div>
<!--
<div class="search">
<h3 class="search__title">記事検索</h3>
<form class="search__input">
<input type="text" name="search" placeholder="キーワードで検索する">
<input type="submit" name="submit" value="">
</form>
<div class="search_select">
<select>
<option value="cat00">情報カテゴリを選択</option>
<option value="cat01">お知らせ</option>
<option value="cat02">会社情報</option>
</select>
</div>
<div class="search_select">
<select>
<option value="00">月を選択</option>
<option value="01">01</option>
<option value="02">02</option>
<option value="03">03</option>
<option value="04">04</option>
<option value="05">05</option>
<option value="06">06</option>
<option value="07">07</option>
<option value="08">08</option>
<option value="09">09</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
</select>
</div>l
</div>
-->
</aside>
<main class="content details">
<div class="detailsInfo">
<p class="detailsInfo_date"><?php the_time('Y.m.d'); ?></p>
<?php
$terms = wp_get_post_terms($post->ID, 'news_tax', array('order' => 'DESC', 'orderby' => 'count'));
if ($terms && !is_wp_error($terms)) :
foreach ($terms as $term) { ?>
<p class="list_cat <?php echo $term->slug; ?>"><?php echo $term->name; ?></p>
<?php }
endif; ?>
<!-- <p class="detailsInfo_cat color2">会社情報</p> -->
</div>
<h3 class="detailsTtl"><?php the_title(); ?></h3>
<div class="detailsImg">
<?php if (has_post_thumbnail()) {
the_post_thumbnail();
} else { ?>
<img src="/assets/img/news/img-news-details.png" alt="">
<?php } ?>
</div>
<div class="detailsCont">
<?php
if (have_posts()) {
while (have_posts()) {
the_post();
the_content();
}
}
?>
</div>
<!-- <p class="detailsTxt">この度、国内での新型コロナウイルスの感染拡大を踏まえて<br>
お客様に確実かつ安全な継続学習の環境をお届けするために<br>
下記の通り、セミナー開催日程の追加と、一部中止の判断をさせていただきました。<br>
<br>
開催中止のセミナーをお申込みくださったお客様には<br>
手数料免除での日程変更をご案内させていただいておりますが<br>
<br>
変更先の候補となっていた直近のセミナー日程だけでは、<br>
感染収束の確実な見通しは立っておらず、ご不便をおかけしておりました。<br>
<br>
さらに先の開催日程を追加させていただくことで<br>
学習計画のお役立ていただきたいと考えております。<br>
<br>
その他セミナーにつきましても<br>
日程を追加できるよう調整を進めておりますので<br>
確定次第ご連絡をさせていただきます。</p>
<br>
<br>
<p class="detailsTxt"><b>■お申込受付を開始するセミナー</b><br>
下記日程の『頂点への道』講座 アチーブメントテクノロジーコース特別講座(講師:青木仁志)<br>
<br>
2020年10月14日(水)-16日(金) 東京開催<br>
2020年11月26日(木)-28日(土) 東京開催<br>
2020年12月9日(水)-11日(金) 福岡開催<br>
2021年1月20日(水)-22日(金) 大阪開催<br>
2021年2月3日(水)-5日(金) 東京開催<br>
2021年3月25日(木)-27日(土) 東京開催</p>
<br>
<p class="detailsTxt">詳細・お申込みは<a href="https://achievement.co.jp/pub/schedule?m_course=2&m_area=&e_area=" target="_blank" class="news_link">こちら</a>から</p>
<br>
<br>
<br>
<p class="detailsTxt">また、下記セミナーについては中止とさせていただきます。</p>
<br>
<p class="detailsTxt"><b>■開催中止するセミナー</b>
<br>
下記日程の『頂点への道』講座 ダイナミックコース(講師:佐藤英郎)<br>
2020年5月12日(火)-14日(木) 東京開催<br>
2020年5月20日(水)-22日(金) 東京開催<br>
2020年5月28日(木)-30日(土) 大阪開催</p>
<br>
<p class="detailsTxt">ダイナミックコースの開催日程は<a href="https://achievement.co.jp/pub/schedule?m_course=3&m_area=&e_area" target="_blank" class="news_link">こちら</a></p>
<br>
<br>
<p class="detailsTxt"><b>■開催を中止したセミナーの日程変更について</b>
<br>
以前からご案内させていただきました通り、<br>
手数料免除での日程変更をご案内させていただいております。<br>
<br>
本期間でのご受講を予定されているお客様には<br>
順次、担当コンサルタントからご連絡をさせていただきます。<br>
なお、Webフォームにて講座日程の変更を受け付けしております。<br>
<br>
日程変更および その他お問い合わせにつきましては、<br>
担当コンサルタントまたは、<br>
アチーブメント株式会社 カスタマーサービスセンター<br>
[フリーダイヤル:0120-000-638 受付時間 10:30-17:00(月~土曜日)]<br>
までご連絡ください。</p>
<br>
<p class="detailsTxt">今後も国内での感染状況などを踏まえて<br>
講座開催に関して追加のご案内をさせていただく可能性もございます。<br>
改めて、その際にはご連絡をさせていただきます。</p>
<br>
<p class="detailsTxt">※追加日程での開催を予定しているセミナーは、詳細決定次第改めてご連絡差し上げます。</p> -->
</main>
</div>
</div>
<?php include(get_template_directory() . '/assets/include/footer.php'); ?>
\ No newline at end of file
<?php include(get_template_directory() . '/assets/include/header.php'); ?>
<?php the_title(); ?>
<?php the_time('Y.n.j'); ?>
<?php while (have_posts()){ the_post();the_content();} ?>
<?php include(get_template_directory() . '/assets/include/footer.php'); ?>
<?php include(get_template_directory() . '/assets/include/header.php'); ?>
<?php the_title(); ?>
<?php the_time('Y.n.j'); ?>
<?php while (have_posts()){ the_post();the_content();} ?>
<?php include(get_template_directory() . '/assets/include/footer.php'); ?>
@charset "UTF-8";/*! Theme Name: wp */abbr,address,article,aside,audio,b,blockquote,body,caption,cite,code,dd,del,dfn,dialog,div,dl,dt,em,fieldset,figure,footer,form,h1,h2,h3,h4,h5,h6,header,html,i,iframe,img,ins,kbd,label,legend,li,mark,nav,object,ol,p,pre,q,samp,section,small,span,strong,sub,sup,table,tbody,td,tfoot,th,thead,time,tr,ul,var,video{font-size:1em;margin:0;padding:0;border:0;outline:0;-webkit-box-sizing:border-box;box-sizing:border-box}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section{display:block}html{font-size:62.5%}body{-webkit-text-size-adjust:100%}body,h1,h2,h3,h4,h5,h6,input,option,select,table,textarea{font-family:"ヒラギノ角ゴ Pro","Hiragino Kaku Gothic Pro","メイリオ",Meiryo,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}h1,h2,h3,h4,h5,h6{font-weight:700}input,option,select,table,textarea{line-height:1.1}ol,ul{list-style:none}blockquote,q{quotes:none}:focus{outline:0}ins{text-decoration:none}del{text-decoration:line-through}img{vertical-align:top}a{-webkit-transition:.3s ease-in-out;transition:.3s ease-in-out}a:hover{opacity:.8;-ms-filter:"alpha(opacity=80)"}#__bs_notify__{opacity:.3!important;font-size:5px!important;line-height:100%!important;padding:0 5px 0 5px!important;border-radius:0!important}.c-dev-title1{background:#000;color:#fff;line-height:1;padding:6px 0 6px 15px;font-size:1.6rem;margin:60px 0 20px 0}.c-dev-title2{background:#888;color:#fff;line-height:1;padding:6px 0 6px 30px;font-size:1.3rem;margin:50px 0 10px 0}.c-dev-message1{top:0;left:0;background:red;color:#fff;z-index:9999;position:fixed;line-height:1;padding:3px 6px;opacity:.6;font-size:8px}@media (min-width:768px){.sp-only{display:none}}@media screen and (max-width:767px){.pc-only{display:none}img{max-width:100%;height:auto}}
/*# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInN0eWxlLnNjc3MiLCIwX2Jhc2UvX3Jlc2V0LnNjc3MiLCIwX2Jhc2UvX2RldmVsb3Auc2NzcyIsIjBfYmFzZS9fbWl4aW4uc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiaUJBRUEscUJDaUJBLEtBQ0EsUUFvQ0EsUUFDQSxNQVNBLE1BOUJBLEVBbkJBLFdBWkEsS0E0Q0EsUUE1QkEsS0FDQSxLQWtCQSxHQWpCQSxJQUNBLElBa0NBLE9BcERBLElBZ0NBLEdBQ0EsR0FkQSxHQW1CQSxTQWVBLE9BQ0EsT0FmQSxLQW5DQSxHQUNBLEdBQ0EsR0FDQSxHQUNBLEdBQ0EsR0E4Q0EsT0F6REEsS0FpQ0EsRUE1QkEsT0FpQkEsSUFDQSxJQUNBLElBa0JBLE1BQ0EsT0FKQSxHQXNCQSxLQUhBLElBdERBLE9BaUNBLEdBekJBLEVBRUEsSUFXQSxFQUNBLEtBaUNBLFFBaENBLE1BeEJBLEtBeUJBLE9BQ0EsSUFDQSxJQWNBLE1BRUEsTUFLQSxHQUpBLE1BR0EsR0FGQSxNQVlBLEtBWEEsR0FYQSxHQVBBLElBZ0NBLE1BQ0MsVUFBVyxJQUNYLE9BQVEsRUFDUixRQUFTLEVBQ1QsT0FBUSxFQUNSLFFBQVMsRUFDVCxXQUFZLFdBR2IsUUFDQSxNQUNBLFFBQ0EsV0FDQSxPQUNBLE9BQ0EsT0FDQSxPQUlBLEtBSEEsS0FDQSxJQUNBLFFBRUMsUUFBUyxNQUdWLEtBQ0MsVUFBVyxNQUdaLEtBQ0MseUJBQTBCLEtBRzNCLEtBTUEsR0FDQSxHQUNBLEdBQ0EsR0FDQSxHQUNBLEdBVEEsTUFHQSxPQURBLE9BSEEsTUFFQSxTQVNDLFlBQWEsWUFBQSxDQUFBLDBCQUFBLENBQUEsTUFBQSxDQUFBLE1BQUEsQ0FBQSxXQUNiLHVCQUF3QixZQUN4Qix3QkFBeUIsVUFHMUIsR0FDQSxHQUNBLEdBQ0EsR0FDQSxHQUNBLEdBQ0MsWUFBYSxJQUlkLE1BR0EsT0FEQSxPQUhBLE1BRUEsU0FHQyxZQUFhLElBR2QsR0FDQSxHQUNDLFdBQVksS0FHYixXQUNBLEVBQ0MsT0FBUSxLQUdULE9BQ0MsUUFBUyxFQUdWLElBQ0MsZ0JBQWlCLEtBR2xCLElBQ0MsZ0JBQWlCLGFBR2xCLElBQ0MsZUFBZ0IsSUFHakIsRUFDQyxXQUFZLElBQUEsWUFFYixRQUNDLFFBQVMsR0FFVCxXQUFZLG9CQ2xLYixlQUNDLFFBQVMsYUFDVCxVQUFXLGNBQ1gsWUFBYSxlQUNiLFFBQVMsRUFBQSxJQUFBLEVBQUEsY0FDVCxzQkFBdUIsWUFDdkIsY0FBZSxZQUdoQixjQUNDLFdBQVksS0FDWixNQUFPLEtBQ1AsWUFBYSxFQUNiLFFBQVMsSUFBQSxFQUFBLElBQUEsS0FDVCxVQUFXLE9BQ1gsT0FBUSxLQUFBLEVBQUEsS0FBQSxFQUdULGNBQ0MsV0FBWSxLQUNaLE1BQU8sS0FDUCxZQUFhLEVBQ2IsUUFBUyxJQUFBLEVBQUEsSUFBQSxLQUNULFVBQVcsT0FDWCxPQUFRLEtBQUEsRUFBQSxLQUFBLEVBR1QsZ0JBQ0MsSUFBSyxFQUNMLEtBQU0sRUFDTixXQUFZLElBQ1osTUFBTyxLQUNQLFFBQVMsS0FDVCxTQUFVLE1BQ1YsWUFBYSxFQUNiLFFBQVMsSUFBQSxJQUNULFFBQVMsR0FDVCxVQUFXLElGNUJaLHlCQUNDLFNBQ0MsUUFBUyxNR2tCVixvQ0hiQSxTQUNDLFFBQVMsS0FFVixJQUNDLFVBQVcsS0FDWCxPQUFRIiwiZmlsZSI6InN0eWxlLmNzcyJ9 */
/*# sourceMappingURL=style.css.map */
{"version":3,"sources":["style.css"],"names":[],"mappings":"AAAA,iBAEA,qBAiBA,wTAiDC,cACA,SACA,UACA,SACA,UACA,8BAAA,AAAY,qBAAA,CAGb,mFAYC,aAAS,CAGV,KACC,eAAW,CAGZ,KACC,6BAA0B,CAG3B,0DAYC,6EACA,mCACA,iCAAyB,CAG1B,kBAMC,eAAa,CAId,mCAIC,eAAa,CAGd,MAEC,eAAY,CAGb,aAEC,WAAQ,CAGT,OACC,SAAS,CAGV,IACC,oBAAiB,CAGlB,IACC,4BAAiB,CAGlB,IACC,kBAAgB,CAGjB,EACC,mCAAA,AAAY,0BAAA,CAEb,QACC,WAEA,8BAAY,CAlKb,eACC,qBACA,wBACA,2BACA,8BACA,AACA,yBAAe,CAGhB,cACC,gBACA,WACA,cACA,uBACA,iBACA,oBAAQ,CAGT,cACC,gBACA,WACA,cACA,uBACA,iBACA,oBAAQ,CAGT,gBACC,MACA,OACA,eACA,WACA,aACA,eACA,cACA,gBACA,WACA,aAAW,CA5BZ,yBACC,SACC,YAAS,CAAA,CAkBV,oCAbA,SACC,YAAS,CAEV,IACC,eACA,WAAQ,CAAA,CAAA;AAvBV,8/DAA8/D","file":"style.css","sourcesContent":[]}
\ No newline at end of file
<?php $pageid = "category-news"; ?>
<?php include(get_template_directory() . '/assets/include/header.php'); ?>
<div class="p-news">
<section class="c-mainvisual">
<div class="c-breadcrumb pc-only">
<ul class="c-breadcrumb__inner">
<?php if (function_exists('bcn_display')) {
bcn_display();
} ?>
</ul>
</div>
<div class="c-mainvisual__inner">
<h2 class="c-mainvisual__title">ニュース</h2>
</div>
</section>
<div class="container">
<aside class="side pc-only">
<div class="side__box">
<h3 class="side__mainttl">ニュース</h3>
<ul class="side__list">
<?php
$terms = get_terms("news_tax", $args = array(
'hide_empty' => false,
'orderby' => 'count',
'order' => 'DESC',
));
foreach ($terms as $term) {
$term_link = get_term_link($term);
if ($term->count > 0) { ?>
<li class="side__item">
<?php $clActive = ((get_queried_object()->slug) == ($term->slug)) ? "is-active" : ""; ?>
<a class="side__txt <?php echo $clActive; ?>" href="<?php echo esc_url($term_link); ?>"><?php echo $term->name; ?></a>
</li>
<?php } elseif ($term->count !== 0) { ?>
<li class="side__item"><?php echo $term->name; ?></li>
<?php }
} ?>
</ul>
</div>
</aside>
<main class="content">
<ul class="list">
<?php
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
$args = array(
'post_type' => 'news',
'post_status' => 'publish',
'posts_per_page' => 10,
'tax_query' => array(array(
'taxonomy' => 'news_tax',
'field' => 'slug',
'terms' => get_queried_object()->slug,
)),
'order' => 'DESC',
'paged' => $paged,
);
$the_query = new WP_Query($args);
?>
<?php if ($the_query->have_posts()) :
while ($the_query->have_posts()) : $the_query->the_post(); ?>
<li class="list_item">
<a class="list_link" href="<?php the_permalink(); ?>">
<div class="list_info">
<div class="list_heading">
<p class="list_date"><?php echo get_the_date("Y.m.d"); ?> </p>
<?php
//$terms = get_the_terms(get_the_ID(), 'news_tax');
$terms = wp_get_post_terms($post->ID, 'news_tax', array('order' => 'DESC', 'orderby' => 'count'));
if ($terms && !is_wp_error($terms)) :
foreach ($terms as $term) { ?>
<p class="list_cat <?php echo $term->slug; ?>"><?php echo $term->name; ?></p>
<?php }
endif; ?>
</div>
<h3 class="list_title"><?php the_title(); ?></h3>
<div class="list_text">
<?php $content = get_the_content();
$input = strip_tags($content);
$output = strip_tags($content, "<a>");
echo $input; ?>
</div>
</div>
<div class="list_image">
<?php if (has_post_thumbnail()) {
the_post_thumbnail();
} else { ?>
<img src="/assets/img/news/img-news.jpg" alt="">
<?php } ?>
</div>
</a>
</li>
<?php
endwhile;
else : ?>
<p class="p-news__noevent">まだイベントはありません</p>
<?php endif;
wp_reset_postdata();
?>
</ul>
<?php wp_pagenavi(array(
'wrapper_class' => 'paging',
'query' => $the_query,
)); ?>
</main>
</div>
</div>
<script src="/common_previous/js/news.min.js"></script>
<?php include(get_template_directory() . '/assets/include/footer.php'); ?>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment