text
stringlengths
14
1.37M
meta
dict
We all recognize the importance of well-being. It's really essential to be physically healthy. But it's like nurturing only the outer layer of fruit. If the seed is not healthy, then that nourishment goes in vain. Likewise, living with just a physically fit body without spiritual fitness won't make us lead a life of a complete well-being. When there is a lack of spirituality in the society, mental impurity begins to build up in the environment. This is known as Psychological Pollution. And this depletes the 'spiritual energy'. Meditation is a spiritual union that allows the higher consciousness of ours to bond with the collective energy of the universe. Hence, in order to reveal the secret of spiritually fit body, mind and soul and to make people feel the magic of spiritual nourishment in their life, Divya Jyoti Jagrati Sansthan (DJJS) - a non-profit, non-government and a leading spiritual organization, head and founded by His Holiness Shri Ashutosh Maharaj Ji, organized a program of Monthly Spiritual Congregation on Sunday, June 12th, 2016 at Nurmahal Ashram, Punjab. The program was commenced with holy prayer at the lotus feet of Lord. Devotional bhajans and songs sung with utmost dedication mesmerized the audience. The profound sense of devoting the life for a supreme cause filled the surrounding with divinity. Thousands of people sitting in meditation generated multitudes of positivity in the environment. The spiritual discoursers from the dais shared the necessity of spirituality by making people realize the loss by not making it a part of our life. Today when the universe is full of negative energies, it becomes our prime duty to meditate and purify it as much as we can. Don't let even a single minute of your life go waste. If you wile away this time and do not meditate, its value will be gone as your soul will miss out the most divine experiences of the Lord. On the other hand, if you meditate hard during this time, then you will become the brightest gems.
{ "redpajama_set_name": "RedPajamaC4" }
The Moon in Gemini is sextile Uranus in Aries today. A perfect day to chuck everything and to do something fun. Something different! A day of unexpected news and ideas, but alas ... Mercury in Capricorn is square on Uranus in Aries. We want so much, we make plans, but plans and meetings go wrong or have to be canceled.
{ "redpajama_set_name": "RedPajamaC4" }
Firehouse Tales Firehouse Tales is an animated television series, produced by Warner Bros. Animation, which premiered on Cartoon Network's Tickle-U preschool television programming block in the United States on March 4, 2005. It is about three anthropomorphic fire trucks. Skådespelare: Jesse Moss, Richard Ian Cox TV Status: Återkommande serie Tin Man is a 2007 four and a half hour miniseries co-produced by RHI Entertainment and Sci Fi Channel original pictures that was broadcast in the United States on the… THIS JUST IN is a brand-new youth oriented single camera comedy that is best described as "zany with a heart" Elizabeth Stanton stars as a socially repressed teenager who arrives… MechaNick Famous Cathcher in Kanto Pop-Up Video Pop Up Video is a VH1 television show that "pops up" bubbles — officially called "info nuggets" — containing trivia, witticisms and borderline sexual innuendos throughout music videos. The show… Quentin Durgens, M.P. Quentin Durgens, M.P. was a Canadian dramatic television series, which aired on CBC Television from 1965 to 1969. Rescue 911 Rescue 911 is an informational reality-based television series that premiered on April 18, 1989 and ended on August 27, 1996. The series was hosted by William Shatner and featured reenactments… Passion knows no limits. Doomed tells the story of Leandro (Cauã Reymond), a sophisticated sommelier and a real Don Juan. After returning to his native city, he has a romance… Jeopardy is a BAFTA award-winning British television series which ran for three seasons, from 2002 to 2004, on BBC One. It was created by Tim O'Mara who also directed, and… Young Drunk Punk Ian McKay and his best friend Shinky are two young punks searching for their great destinies in the back alleys of Calgary Alberta, circa 1980. Together, these friends will face… Plasmo is an Australian children's science fiction claymation TV series that consisted of a half-hour short film made in 1989 followed by thirteen 5-minute episodes made in 1997 which aired… Enlightened follows the story of Amy, a self-destructive executive, who, after a very public breakdown and a subsequent philosophical awakening in rehabilitation, tries to get her life back together.
{ "redpajama_set_name": "RedPajamaCommonCrawl" }
Featherlite Trailers is a North American leader in high quality aluminum specialty race trailers and transporters as well as custom vending, hospitality and marketing trailers. A supporter of racing and racing sanctions for decades, Featherlite engineers lighter, stronger trailers for optimum payload capacity with the latest innovations that race teams prefer. Noted for its unique manufacturing and customization program, Featherlite builds all its aluminum transporters and trailers from the ground up in one factory complex. This allows for optimum control and efficiency so that car hauler and race trailer customers are assured of extraordinary quality and extreme durability. In addition to racing, Featherlite manufactures hundreds of semi, gooseneck and bumper pull trailer models for horse, livestock, car, recreation and commercial markets, available through a network of 190 dealers in the U.S. and Canada. Visit www.featherlitespecialty.com or www.fthr.com, or call 800-800-1230 for more information.
{ "redpajama_set_name": "RedPajamaC4" }
Two lost hikers rescued near Ruidoso after cold, wet night Two lost hikers tracked and brought back safely by search and rescue volunteers Two lost hikers rescued near Ruidoso after cold, wet night Two lost hikers tracked and brought back safely by search and rescue volunteers Check out this story on ruidosonews.com: https://www.ruidosonews.com/story/news/local/community/2018/10/29/two-lost-hikers-rescued-near-ruidoso-after-cold-wet-night/1808892002/ Tony Davis, WMSR base amp officer, Special to the Ruidoso News Published 11:37 a.m. MT Oct. 29, 2018 Terrain required communication relays The White Mountain Wilderness covers 48,000 acres in the Sacramento Mountains of the Lincoln National Forest.(Photo: Courtesy/USDS-USFS) Hikers located about 5:45 a.m. Volunteers with White Mountain Search and Rescue successfully tracked and brought back to base camp two hikers in an operation last week. At 6:38 p.m., Oct. 23, White Mountain Search and Rescue received a call to search for two hikers lost above Argentina Trailhead in the White Mountain Wilderness of the Lincoln National Forest near Ruidoso. Three members responded, along with teams from Alamogordo, Organ Mountain Technical Rescue, Mesilla Valley, Doña Ana SAR, and the Border Patrol. The teams assembled around 10:30 p.m. at the Little Bonito trailhead near the Argentina Trail. The Incident Commander was Rick Overmier from Chaves County. Because the Argentina trailhead area is down in a valley, Overmier had the WMSAR communications van positioned high at the Crest trailhead near Monjeau Peak. Three ground teams were sent up Little Bonito Trail to search around midnight. The two subjects left word at with a girlfriend before their cellphone battery ran out that they thought they were off the Crest Trail on Barber Ridge. She reported their situation to State Police at 6:30 p.m. They had no water, food or shelter and were soaking wet. With the rain, fog and dropping temperature, hypothermia was the chief concern, and finding them quickly was paramount. Team One reached Crest Trail at Little Bonita first, but the team leader was feeling some distress from the altitude, so WMSAR's Mike Bilbo took over. Ocermier had them stay there, as at that point they had good communications with both Monjeau and to Incident base. This turned out to be a good move. Teams Two and Three proceeded up the Crest Trail to the Barber Ridge turnoff, all the time pausing to call out for the subjects. At that point, suggested by Incident Base, Team Three split up, with some staying at the junction for radio communication and several joining Team Three to search along Barber Ridge. At 4:45 a.m. Wednesday, the joint Team Two made contact with the subjects by voice and at 5:45 a.m. found them on a ridge just parallel to Barber Ridge. That information was transmitted by relay from Team Two to Team Three to Team One to the WMSAR communications van near Monjeau and finally to Incident Base. This complicated four-step relay was occasioned by the complicated terrain and poor transmission conditions. Team Two provided dry clothes, food and water to the subjects and kept them sheltered from the rain until daybreak. They then all proceeded down the Crest Trail and Little Bonito, arriving back to the trailhead around 10:30 a.m. In all, a successful and timely rescue under difficult conditions. Read or Share this story: https://www.ruidosonews.com/story/news/local/community/2018/10/29/two-lost-hikers-rescued-near-ruidoso-after-cold-wet-night/1808892002/ Summer is here. Do you know how to prevent a fire?
{ "redpajama_set_name": "RedPajamaCommonCrawl" }
New South Africa Business Software Launches With Freebies & ...| MENAFN.COM New South Africa Business Software Launches With Freebies & 55% Off Packages (MENAFN- MarketersMEDIA) Win big with Ubuntu SBS! Get a host of freebies & 55% off all packages until May 2023. Try our Cloud Based ERP for small biz now at Pretoria, South Africa - January 25, 2023 /PressCable/ - In a unique approach to launching its Small Business Management Software (Cloud Based ERP), Ubuntu SBS (Pty) Ltd, a Small Business Management Solution Provider in South Africa, has decided to give away a host of goodies to all new customers until May 2023, as well as a 55% discount on all packages. This promotion is expected to take place from now until 1 May 2023. Instead of having a launch party like many businesses, Ubuntu SBS (Pty) Ltd has chosen to be more direct, giving consumers the benefit of the money that would have been spent on a fancy party for the launch of its Small Business Management Software (Cloud Based ERP). Jaco Roets, Founder and CEO at Ubuntu SBS (Pty) Ltd, states: 'We wanted to be direct and give consumers the benefit of the money that would have been spent on a fancy party for the launch of our Small Business Management Software (Cloud Based ERP) because our customers are what we are about! Their success is our success, and every step we can take toward boosting their bottom line is a step in the right direction.' It is expected that this promotion will be highly beneficial and the launch is expected to be successful, unless the internet is taken over by aliens. However, Ubuntu SBS (Pty) Ltd has backup plans in place for this scenario. Ubuntu SBS (Pty) Ltd has always made a point of standing out when compared to other Small Business Management Solution Providers in the South Africa area. This launch celebration is just one of the many ways it does and integrations that are designed to increase efficiency and productivity. The software is accessible through a web browser and offers integration with popular communication tools like Zoom, Slack, and Telegram. This means that small businesses can easily track performance, make informed decisions, and collaborate with team members in real-time. The system is built on the same technology used by some of the world's largest companies, but it is specifically tailored for small businesses. It offers a wide range of functionalities, including employee management, HR management, project management, and financial management. Overall, the Small Business Management Software (Cloud Based ERP) from Ubuntu SBS (Pty) Ltd is an excellent choice for small businesses looking to streamline their operations, improve efficiency and grow exponentially. So, don't miss out on this amazing opportunity and visit to take advantage of the freebies and discounts before it's too late. Name: Jaco Roets Organization: Ubuntu SBS Address: 410 Furrow Road Equestria, Pretoria, Gauteng 0184, South Africa Release ID: 89089011
{ "redpajama_set_name": "RedPajamaCommonCrawl" }
0152003940 some wear on edges and corners slightly loose binding, stains on cover and some pages LIGHT AT LAST PAGE DOES NOT LIGHT UP Your purchase benefits those with developmental disabilities to live a better quality of life. Description: Help Kipper search for his lost teddy bear. Could he be hiding in the tree? Under the stairs? Peek into the holes, pull the tabs -- and see who pops out.
{ "redpajama_set_name": "RedPajamaC4" }
A lack of conflict competence and a culture of conflict avoidance is costing the Irish economy. Civil service human resources officers in Ireland are avoiding conflict as they "do not like tackling underperformance" and fear a "backlash from unions". This avoidance of conflict is contributing to the poor implementation of the Performance Management and Development System. The Secretary General at the Department of Justice, Sean Aylward, describes an "almost congenital disinclination to confront our colleagues with the truth about their performance". This highlights low levels of conflict competence existing in the Irish civil service and a culture of conflict avoidance that is undoubtedly costing the country in terms of poor performance and lower productivity. It is also creating a working environment that is stressful for workers and is not good for their sense of self worth. The ability to have constructive conflict and to hold people accountable for their commitments in the workplace should be a core competence for people in supervisory and management positions. However, this is only part of the solution. There needs to be an integrated conflict management system that fosters conflict competence and the ability to resolve conflict constructively. It cannot be left up to individuals and needs to be lead from the top. Integrated conflict management systems have been introduced in some public services in Australia, Canada and the USA with impressive results. Resort to dispute mechanisms has reduced with an increased use of conflict coaching and mediation. This has reduced costs overall and increased productivity. Conflict coaching is now provided in the US Department of Homeland Security, Australian Defence Department, Victoria Police, Canadian Transport Securities Authority, Department of Environment Climate Change and Water, NSW and the Victorian Electoral Commission. Introducing an integrated conflict management system requires vision and leadership. It requires an analysis of the current system and culture of conflict so that appropriate systems changes and training can be implemented to promote a culture of healthy conflict with greater productivity and team spirit.
{ "redpajama_set_name": "RedPajamaC4" }
420medbook 420MedBook Maps Brand Products Friends Inviter 420 Maps Blogs & 420 Blogging My Rss Provider My Favorited News 420 Daily News Americans For Safe Access Blogs MJ Biz Daily The Joint Blog 420 News Blogs Honest Marijuana Maritime Grown Merry Jane The French Toast White House hosts a party in the midst of a pandemic Original link: http://rss.cnn.com/~r/rss/edition_us/~3/Kb2FPqdmNaM/index.html Since late March, the White House has been on virtual lockdown. This week, however, party preparation began anew. Tables popped up on the South Lawn, installed by staff who had been cut back from in-person work several weeks earlier out of an abundance of caution, but who have returned this week to set up the White House July Fourth party. For White House social secretary Rickie Niceta and the White House team of chefs and butlers, housekeeping staff and ushers, the slow build back to normal begins with a party in the midst of a pandemic. The chairs for the tables, however, are not the typical eight or 10, but instead just four -- only enough to accommodate a socially distant seating plan. There will be tablecloths and flowers, some food -- including grill stations for hot dogs and hamburgers (adorned with tiny American flags attached to toothpicks) and nonalcoholic drinks -- details overseen by Niceta, herself one of the staffers who had since late March been doing her job from home. Waitstaff, who were typically bare-handed for previous outdoor White House events and white-gloved for more formal ones, will this July Fourth be wearing disposable rubber gloves and US Centers for Disease Control and Prevention-advised face masks, which will be constantly swapped out for fresh ones, a White House official told CNN. The guest list for the picnic will reflect the health trauma the country is still grappling with. "Guests will be made up of front-line workers and their families," deputy press secretary Judd Deere told CNN, "including law enforcement, doctors, nurses and others, as well as members of the military and their families." Members of the Trump administration will also be in attendance, Deere said. Though Deere did not specify how many guests were expected, the White House says the invitation-only event, which culminates in watching flyovers of military aircraft and a large-scale fireworks show on the National Mall, will include social distancing. "As President Trump has said, this year's Independence Day celebration will have a different look than 2019 to ensure the health and safety of those attending," Deere said. Yet Friday evening, Trump, with first lady Melania Trump, attended a program and fireworks display at Mount Rushmore in South Dakota, where several thousand were blatantly non-socially distanced, packed closely together in amphitheater-style bleacher seating. South Dakota Gov. Kristi Noem, a Republican, said earlier in the week during an interview that those who didn't want to maintain the CDC guidelines of staying at least 6 feet apart were welcome to attend. "We told those folks that have concerns that they can stay home. But those who want to come and join us, we'll be giving out free face masks, if they choose to wear one. But we won't be social distancing," Noem said on Fox News. Back at the White House on Thursday, boxes of face masks were being unpacked, thousands of them ready to be placed with hand wipes and sanitizer into personal pouches of protection for each guest. Passing out masks and enforcing personal space feels incongruous at the home of a President who, while publicly saying he is "fine" with the idea of face masks, has shunned wearing one of his own in front of press. In fact, Trump's anti-mask status has helped turn the decision to wear a mask or not into a political issue. The Fourth of July wasn't always as politically charged as it is this year, with a country in the middle of a cultural and social reckoning, as well as a pandemic, and an election looming just four months away. Thomas Jefferson in 1801 was the first American President to hold a July Fourth celebration at the White House, complete with horse races on the North Lawn and the Marine Band (who will also play at Saturday evening's party) performing patriotic tunes in the entrance hall, according to the White House Historical Association's research. In 1850, though at the still-under-construction Washington Monument and not the White House, President Zachary Taylor attended Fourth of July festivities and consumed ice water and cherries and other raw fruit. Taylor died at the White House five days later from a gastrointestinal illness that historians believe to be cholera. Shortly thereafter, in the early 1900s, when the grounds of the White House were virtually open to anyone who wanted to stroll them, the Fourth of July made it a favorite picnic spot, kicking off the tradition of an evening on the sprawling lawn, admiring fireworks that were set off over the National Mall. A favored photo op for many a president and first lady in more recent decades has been standing on the second-floor Truman Balcony of the White House, a spacious outdoor area commissioned by former President Harry Truman in 1947 that extends from the Executive Residence's Yellow Oval Room, looking into the distance at the fireworks. Last year, Trump went all out for the Fourth of July, with an expansive and expensive display of patriotic firepower on the Mall. The first couple opted not to sit at the White House for the festivities, but instead watched from the Lincoln Memorial, overlooking a massive crowd who cheered in the rain as displays of military might flew overhead. This year, with all that coronavirus continues to rob from Americans, the celebration will likely be under the weather in a different way. Read On: CNN holds officials accountable. View our Facts First database - Mon, 06 Jul 2020 08:46:54 GMT Berkshire Hathaway will buy natural gas assets from Dominion Energy in $10 billion deal - 2020-07-05 21:14:35 Protester who was struck by a car has died - 2020-07-05 16:28:20 Analysis: Strongmen rush to remake the world order as Trump faces potential election defeat - 2020-07-05 15:10:04 These charts show how economic progress has stalled for Black Americans since the Civil Rights era - 2020-07-05 15:05:01 At least 2 killed in a shooting at a South Carolina club, police say - 2020-07-05 13:07:43 Analysis: Trump tries to drag America backward on a very different July 4th - 2020-07-04 19:42:04 As coronavirus cases spike in Arizona, a neighboring Mexican state tries to shut out Americans - 2020-07-04 18:22:32 2 Texas counties urge residents to shelter in place as hospitals reach capacity - 2020-07-04 10:31:07 More than 1,400 Georgia healthcare workers sign letter asking governor for more coronavirus restrictions - 2020-07-04 06:38:41 Transgender advocacy group launches Spanish language hotline service - 2020-07-04 05:01:11 2 more death row inmates at San Quentin die from coronavirus complications - 2020-07-04 02:32:15 White House virus test has questionable accuracy - 2020-07-03 11:11:28 Justices temporarily block order that cleared the way for state's expanded mail-in voting - 2020-07-03 02:35:25 A Black man tried to cash his first paycheck. The teller called 911. - 2020-07-02 14:41:12 Jeff Bezos is so rich he just set a new record - 2020-07-02 14:22:20 Jill Biden plays key role in her husband's search for a running mate - 2020-07-02 02:16:50 The politics of masks hits Alabama Senate race - 2020-07-01 12:46:43 Debate over renaming Fort Bragg looms over Senate race and other down ballot contest - 2020-06-27 14:47:17 Judge rules migrant children in government family detention centers must be released due to coronavirus - 2020-06-27 11:50:10 420medbook ©2020 · English (US) 420MedBook Advertising 420medbook ©2020
{ "redpajama_set_name": "RedPajamaCommonCrawl" }
These truths will make you smile. For any family seeking a private Christian education in the home, money quickly becomes an issue. While programs like K12 and other public-school umbrellas exist, they do not offer the freedom of choice so many homeschoolers are looking for. Nor do they offer a Christian education. Most homeschooling families opt to buy their own curriculum so they can truly be in charge of their child's education. When a homeschooling family has many children, curriculum buying becomes an exercise in creative frugality. Here are a few ways you can save and stretch money in your homeschool. Every child is unique and homeschooling a large group of children with varying interests and aptitudes can be just as chaotic as it is rewarding. This article shares some tips and tricks for avoiding the chaos. There are lots of things to love about a large family, but being agile and moving about quickly isn't really one of them. Learning in action and experiencing something first hand is one of the best things about homeschooling. It's often what really sets apart our education from that of a traditional brick and mortar school. It is worth it to make the effort for field trips, though it doesn't necessarily make them any easier! Homeschooling can reveal many things. This article shares some insight into the thoughts of a homeschooling mom. Sometimes, raising and homeschooling 8 kids (ages 21 to 2) seems totally manageable--even easy--especially when compared to other, larger families made up primarily of younger kids. At other times, homeschooling our brood proves to be the hardest thing ever. Regardless of how many children you have, there will always be more on your to-do list than time will allow in any one day. Wise homeschool parents will recognize this early on and take steps to maintain their sanity by practicing these tips to enhance their homeschool productivity. This podcast features Amy of Raising Arrows who currently has seven children on earth and one in Heaven. She shares ideas and encouragement for anyone who is homeschooling more than four children. Some ideas to encourage those who are homeschooling many children. Discusses how to develop daily plans, integrate your teaching to different age levels, maintain your presence to give your children a sense of stability, and keep your perspective. These tips and tricks will help you get individual time with each of your kids while everyone is engaged in learning. Ideas for incorporating fine art education into a large homeschool family curriculum. We have to cover subjects that go from reading and writing to foreign language, math, science, history and then to music, art and computer. For those of us with several children, it can be even more challenging, trying to meet all the instructional needs of each grade level every day. Teaching six children can be a challenge. How do you prioritize? Where do you focus your time? How do you make sure they all learn to read, write and tie their shoes? It is not impossible to teach a large family. It takes thoughtfulness and flexibility. It will keep you on your toes and keep you humble. The introvert can homeschool! Here are some tips for those whose nature is more introverted. Especially helpful for those homeschooling a large family. Parents of several children engage in some seriously creative thinking to accomplish ordinary day to day tasks. This article is a collection of tips, gathered from 'Moms of Many', and is intended to supply helpful suggestions for homeschooling, maintaining your home, and generally keeping it all in balance. Homeschooling is no joke. It's commitment and dedication, it's trial and error. Homeschooling many is a whole different creature. There are different learning styles, interests, strengths and weaknesses. We are going to talk about what is most important when homeschooling many children, and some tips for special situations. For the most part, the more well ordered days are the more smoothly the day will go. Not only does it require planning on our part as homeschooling moms, it requires diligence and perseverance – daily. This blog follows Cindy and her family as she talks about homeschooling, large families, and parenting. Gigi is a 30-something large family homeschooling mom to seven kids. Being a large family homeschooler has its challenges and joys, which Gigi shares here. Follow Amber and her children as they enjoy large family learning. Sherry writes her blog and shares her experiences as a mom of 15 homeschooled children. This beautiful family has grown through adoption and birth. With fourteen children, they homeschool and share their adventures on their blog. This blog shares homeschooling help and encouragement, parenting tips and insights, organizational tips, and more, all while chronicling the joys and challenges of raising a large family. This mom of 12 children shares her challenges and blessings at this blog. She shares about adoption, attachment, Sensory Processing Disorder, homeschooling, marriage, life with a large family, and more. Tristan is mom to eight children whom they homeschool. Carrie shares life with her 14 blessings, offering a glimpse into the daily life of their family. This site offers articles, resources, free homeschool printable, and curriculum information. Join Amy Roberts as she shares her tips and ideas about homeschooling and large family living. This blog shares tips, ideas and some of the ups and downs of managing a home with lots of kids and raising children for the glory of God. This beautiful family of 19 children shares their journey with this blog. Shelly is the mom of eleven children and is homeschooling. Share in her journey. A recipe group list with recipes that big families can enjoy. Discuss recipe successes and failures. Feel free to upload your own recipes or download others. An email group for homeschooling moms using Charlotte Mason's methods. Focuses on homeschooling larger families. This Facebook page is a big support group of large family supporters who talk on a regular basis. Do you come from a large family? Are you planning one? Share the challenges and joys a big family can bring. This list is to encourage and support those who homeschool many children. How many? To some 3 is a lot! If you have a large family (whether natural, adopted, foster or blended) and homeschool, you know that there are a lot of unique challenges ranging from orchestrating family harmony, dealing with multiple ages, trying to homeschool in a sometimes chaotic environment, keeping up with the never-ending laundry, transportation, cooking, chores, and more. This is a Christian list. This group offers a discussion of Kim Brenneman's book Large Family Logistics. This list is for moms only that are part of a large family consisting of four or more children. Large families are wonderful, exciting, and very challenging. Here you will find time and money saving tips, advice and support. A place where families with four or more children can find friendship, fun, and support. Raising a large, Catholic, homeschooling family is a great work (Magnum Opus) and a great deal of work! Hopefully this email discussion group will be a place for parents of four or more to help each other with the nitty-gritty details of raising and educating a large, Catholic family. This is a list for all who are pregnant for the third or more time and are having a large family by choice. Discussions include the difficulties of having several at home when dealing with sickness and fatigue, homeschooling, and more. This is a supportive list where people believe that large families are wonderful. Are you pregnant? Do you have a large family? Do people look at you like you're crazy? This is a list for all of you out there who are pregnant again for the third or more time. This is a supportive list wehre people believe that large families are wonderful. This mailing list is set up for parents of large families. Large for this list is defined as having five or more kids. They welcome everybody who has at least that many of any religion, or even no religion.
{ "redpajama_set_name": "RedPajamaC4" }
BIJAC > Articles by: admin In Memory of: Sharon Nobue Harris A Tribute to Sharon Harris Sharon Nobue Harris passed away December 30, 2022. She leaves behind her husband Dave, son Cory (Karen), daughter Shannon (Tal Goettling), granddaughter Hailey, sister Joyce Hamamura (Susan Davis), aunt May Terayama, many cousins, friends and her lap-warming kitty, Missy. She was born on September 30, BIJAEMA Hails Passage of Japanese American Confinement Education Act December 24, 2022 Bainbridge Island, WA – The Bainbridge Island Japanese American Exclusion Memorial Association commends Congress for passing a 2023 spending bill that includes the Norman Y. Mineta Japanese American Confinement Education Act and the Japanese American World War II History Network Act. Named after the late Norman Mineta 'We Are Minidoka' matching challenge from the Masto Foundation! Dear Bainbridge Island, We need your help. The Masto Foundation has generously offered to donate an additional $10,000 in addition to their already pledged $50,000 over 3 years – if we raise an additional $10,000 from all of you by December 31st. Photos left to right: Sparks and her mother Project Names Every Japanese American Incarcerated During WWII For as much as we casually quote the figure 120,000 Japanese Americans incarcerated during WWI, government rosters at the time were notoriously incomplete and riddled with errors. In order to ensure that there is a complete record and that those who were incarcerated are honored and remembered, Duncan Ryuken Williams, Online Exhibition: Wakaji Matsumoto–An Artist in Two Worlds Now featured on the Japanese American National Museum website, Wakaji Matsumoto, An Artist in Two Worlds: Los Angeles and Hiroshima, 1917-1944, is an online photographic exhibition providing a glimpse of life both in the artist's native Hiroshima and in Los Angeles, pre-WWII. Wakaji Matsumoto was born to Wakamatsu and Haru Credit: Associated Press San Diego Apologizes Rescinds Support for WWII September 20, 2022 The San Diego City Council rescinded Tuesday a resolution it had passed 80 years ago in support of the incarceration of Japanese Americans in prison camps during World War II. "This isn't simply a matter of looking backwards, but also hopefully recognizing how quickly political ploys can In Memoriam: Teruko "Terry" Marlatt Teruko "Terry" Marlatt passed away peacefully on May 10, 2022, age 95, in Reno, NV. Terry was born on Bainbridge Island, Washington, on February 21, 1927 to parents Zenhichi and Shiki Harui. She was 15 years old when her family left Bainbridge Island for Moses Lake in advance of the Satoru Sakuma: October 28, 1925 – May 17, 2022 March 30th, 2022 was a very special day. As a volunteer helping to organize the extensive media coverage at the Bainbridge Island Japanese American Exclusion Memorial, the day was exciting and frenzied. How many would show up? Where could all the cameras fit? Would they block the view? Then, the Watch the 80th Anniversary Video View the Ceremony hosted at the Bainbridge Island Japanese American Exclusion Memorial on March 30, 2022 Watch the 80th Anniversary presentation in its entirety, featuring Frances Ikegami, survivor of the forced removal, four student leaders from Woodward Middle School, the declaration from the City of Bainbridge Island, speakers from BIJAC, "80 Years of Healing" Hayashidas were joined by Sakumas, Nakatas, Nagatanis, Kitamotos, and so many of the names we recognize from the carvings in the Exclusion Memorial Wall. Bainbridge Island was honored with the presence of a large turnout of survivors and their families on March 30th, the Commemoration of the 80th Anniversary of Your ticket for the: In Memory of: Sharon Nobue Harris
{ "redpajama_set_name": "RedPajamaCommonCrawl" }
Devils Games Game 39: Devils @ Carolina By John Fischer Jan 6, 2009, 9:00am EST Share All sharing options for: Game 39: Devils @ Carolina Expect to see the same New Jersey Devils we saw over the last week or so: Gulitti reports that Colin White did not make the trip and Scott Clemmensen will start in net. How the Devils will play, well, that's not certain. The overtime win against Ottawa wasn't all that and a bag of chips; the win over Montreal was pretty good; and the two games prior didn't feature a lot of defense or smart hockey - especially after a decisive win over Our Hated Rivals. It's been an up-and-down 5 games for the Devils in terms of performance. Yet, they've come out winners for most of them and that's truly the important thing in a results-oriented league like the NHL. Carolina, as you may not have expected, have been the same in terms of results. Check out their last 5 games. Hurricanes' Last 5 Games @ Tampa Bay Sat 01/03 W 3 - 2 St. Louis Fri 01/02 W 2 - 1 Atlanta Wed 12/31 W 3 - 1 Boston Sat 12/27 L 2 - 4 @ Atlanta Fri 12/26 W 5 - 4 OK, not exactly wins over the cream of the crop; but they are wins, they build confidence within a team, and they are worth 2 points regardless of it coming against Tampa Bay or coming against Boston. Believe it, or not, the Hurricanes only sit 4 points behind the Devils in the conference with a record of 20-15-5. And that they have this solid record so far is a testament to the fact that numbers don't always tell the whole story. Let me hit you with some numbers from NHL.com. The Carolina Hurricanes have scored a total of 105 goals, the fourth lowest in the league and tied with the Islanders; while letting in 117 goals in total. That's an average of 2.60 goals per game and 2.82 goals against per game. Much worse than the Devils' 2.97 goals per game and 2.53 goals against per game. The Hurricanes, believe it or not, are worse than the Devils in killing penalties (80.5% to 78.4%) and even on the power play (16.8% to 15.5%). Brutal. Home record for the Hurricanes: 11-9-1. Yep, they just went over .500 at home recently. Here's a fun stat: The Hurricanes win only 50% of the games they score first in - tied with Ottawa for the second worst winning percentage in the entire league in this case. Have another fun one: The Hurricanes have the third worst winning percentage in the NHL when they are leading after the first period with only 53.3% The have the fifth worst winning percentage when leading after two periods: 76.5%. Considering all this, is this really a team that's 20-15-5? They don't score a whole lot of goals, they let in a good amount, their special teams are bad, and it's definitely not a good that scoring first or leading after one doesn't necessarily lead to a good result for Carolina. This is a team that sits seventh in the conference? It is. While they don't look so good statistically after scoring first; they win 50% of the games wherein they let up the first goal. Moreover, they shoot nearly as much as the Devils on average (31.1 to the Devils' 31.2 shots per game) while being almost as stingy in allowing shots from their opponents (Devils: 28.9, Canes: 29.3). And they are playing productive hockey recently. They are 7-3-0 in their last 10 games, and won their last 3. Eric Staal and the potentially ageless Ray Whitney are guys I would ignore on the ice were I looking to lose hockey games easily. 2008 - Ray Whitney 40 12 21 33 -9 8 2 0 1 1 120 10.0 2008 - Eric Staal 40 18 12 30 10 32 7 0 4 0 168 10.7 Basically, when you think you've figured out the 'Canes, you learn some other things about the team that make you scratch your head a second, third, or seventeenth time. All I can really conclude is that this is a game where the old cliche of playing all 60 minutes really comes into play. This is a team that isn't great with a lead, but they aren't hopeless without it; and it's a team that's won quite a few games as of late. Not to mention that Cam Ward has stepped up his game tremendously. Tremendously winning the NHL's third star of the last week. They have momentum. They have a purpose. Should they show up the Devils, it'll send a strong message to the rest of the league that the Southeast is definitely not a one-team division. I feel that the only way you can really counter that without relying on your opponent to fail is to play smart hockey for 60 minutes. Not the first and third period, not for 10 minutes within each period, the whole game as best as possible. It doesn't have to be necessarily aggressive, up tempo, and/or playoff style hockey. It just needs to be smart. It means aiming shots instead of firing them right into the shins of the defense; blocking shots is something Dennis Seidenberg is looking forward to as he's sixth in the league with 92. The Devils would be wise to make sure those efforts hit Ward (and the net, of course) and not some other Hurricane. It means being calm on power plays and setting up the shot. Just like they did to win the game in overtime on Sunday. It requires being aware of who's sneaking in the back door when on defense. Something the Devils got caught on Sunday. Could the Devils beat the Hurricanes. Sure, why not? But don't think the hurricanes are should be an easy two points for the Devils. They have every reason to do well Tuesday night as well. They are at home, they are playing well as of late, and they're better than what some stats currently say about them.
{ "redpajama_set_name": "RedPajamaCommonCrawl" }
Q: How can I create a folder dynamically during replication? While doing replication I received the following error message in Replication monitor → Agents Access to the path 'D:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\repldata\unc\_DEMO_SAMPLE\20160602154451\' is denied. If the folder is manually created, then the error is solved for some time. However, after some time the error occurs again because the timestamp (20160602154451) has changed. How can I create a folder dynamically? Or can anyone suggest another solution to this problem? A: When installing sql server I always make the UNC folder a shared folder. You either make it RW available to everyone, not big deal for security. Or identify the network login on which the replication agent is using and give it modify access to that folder. This login was set during the sql server install.
{ "redpajama_set_name": "RedPajamaStackExchange" }
James specialises in the complete children's party experience. All parties booked come with free party bags with colouring books, puzzle books, Crayons and much more not plastic junk toys . The Amazing James has full public liability insurance and has a enhanced disclosure Scotland check. All of his electrical equipment is fully PAT tested to insure the safest environment possible. For Prices & Availability call now. Mark Walbank is one of Scotland's most sought after sleight of hand experts and his magic has seen him perform for hundreds of corporate clients including the BBC, the Royal Navy and Rangers Football Club. Mark's magic is incredibly visual, exciting and capable of provoking gasps of utter amazement from your guests. If you are looking for a brilliant exponent of conjuring with the ability to put your guests at ease while entertaining them with witty banter then look no further. Mark is always classily turned out and his Close-Up Mix and Mingle magic is perfect for many events from weddings to birthday parties. Mark also performs a hit Comedy Cabaret act which combines powerful mind reading, illusion, psychology and showmanship that will tickle the mind and live long in the memory. This show has been a big hit at the Edinburgh Fringe Comedy Festival. Tommy has an excellent reputation for his professionalism. He can work Cabaret or Close Up, be it Theatre or Club, Restaurant or Pub he has routines that will make you gasp in amazement! Tommy has performed at a host of Scotland's top venues, including the prestigious Skibo Castle, the Hilton Hotel Glasgow, Cameron House Loch Lomond, The Caledonian Hilton Hotel Edinburgh, Royal Concert Hall Glasgow, Beach Pavillion Aberdeen, Edinburgh International Conference Centre (EICC), The Corn Exchange Edinburgh, Dynamic Earth Edinburgh, Kelvin Hall Glasgow, Scottish Exhibition and Conference Centre Glasgow (SECC) and many more. Tommy has been rebooked to work at these venues, which speaks for itself. Tommy joined Paisley Magic Circle on the 7th of September 1972, he has won the Close-up, Stand-up and Children's competitions all in the one year, he was President of the Paisley Magic Circle from 1984 till 1987 and 2006 till 2008. Tommy is "a magician's magician" having lectured around the U.K. and abroad. Why not let him amaze your guests and book Tommy to entertain you too? I AM A PROFESSIONAL ENTERTAINER WITH OVER TWENTY YEARS EXPERIENCE. MY CLIENTS INCLUDE THE HILTON HOTEL GROUP, EASY JET ,P.C.WORLD,ARNOLD CLARK,BALMORAL HOTEL,ST. ANDREW'S HOTEL, INVERARY CASTLE ETC. MAGICAL ENTERTAINMENT FOR EVERY AGE GROUP.
{ "redpajama_set_name": "RedPajamaC4" }
package org.apache.flink.streaming.connectors.kafka; import org.apache.flink.streaming.util.serialization.JSONKeyValueDeserializationSchema; import org.apache.flink.shaded.jackson2.com.fasterxml.jackson.databind.ObjectMapper; import org.apache.flink.shaded.jackson2.com.fasterxml.jackson.databind.node.ObjectNode; import org.junit.Assert; import org.junit.Test; import java.io.IOException; /** * Tests for the{@link JSONKeyValueDeserializationSchema}. */ public class JSONKeyValueDeserializationSchemaTest { @Test public void testDeserializeWithoutMetadata() throws IOException { ObjectMapper mapper = new ObjectMapper(); ObjectNode initialKey = mapper.createObjectNode(); initialKey.put("index", 4); byte[] serializedKey = mapper.writeValueAsBytes(initialKey); ObjectNode initialValue = mapper.createObjectNode(); initialValue.put("word", "world"); byte[] serializedValue = mapper.writeValueAsBytes(initialValue); JSONKeyValueDeserializationSchema schema = new JSONKeyValueDeserializationSchema(false); ObjectNode deserializedValue = schema.deserialize(serializedKey, serializedValue, "", 0, 0); Assert.assertTrue(deserializedValue.get("metadata") == null); Assert.assertEquals(4, deserializedValue.get("key").get("index").asInt()); Assert.assertEquals("world", deserializedValue.get("value").get("word").asText()); } @Test public void testDeserializeWithMetadata() throws IOException { ObjectMapper mapper = new ObjectMapper(); ObjectNode initialKey = mapper.createObjectNode(); initialKey.put("index", 4); byte[] serializedKey = mapper.writeValueAsBytes(initialKey); ObjectNode initialValue = mapper.createObjectNode(); initialValue.put("word", "world"); byte[] serializedValue = mapper.writeValueAsBytes(initialValue); JSONKeyValueDeserializationSchema schema = new JSONKeyValueDeserializationSchema(true); ObjectNode deserializedValue = schema.deserialize(serializedKey, serializedValue, "topic#1", 3, 4); Assert.assertEquals(4, deserializedValue.get("key").get("index").asInt()); Assert.assertEquals("world", deserializedValue.get("value").get("word").asText()); Assert.assertEquals("topic#1", deserializedValue.get("metadata").get("topic").asText()); Assert.assertEquals(4, deserializedValue.get("metadata").get("offset").asInt()); Assert.assertEquals(3, deserializedValue.get("metadata").get("partition").asInt()); } }
{ "redpajama_set_name": "RedPajamaGithub" }
A Day in the Life of a Super Mom: A Mommy Blog: "Apple Pickin"... Here's one of my favorite outfits that I designed on Polyvore! "Apple Pickin"... Here's one of my favorite outfits that I designed on Polyvore! I absolutely LOVE this outfit! It's perfect for fall and ensures that you look trendy while at the same time, looking like a classy mommy!
{ "redpajama_set_name": "RedPajamaC4" }
Συμβουλευτείτε τις κατευθυντήριες οδηγίες NCCN και αποκτήστε πρόσβαση σε ένα ολοκληρωμένο σύνολο κατευθυντήρων οδηγιών. Over the past 20 years, NCCN has developed an integrated suite of tools to improve the quality of cancer care. The NCCN Clinical Practice Guidelines in Oncology (NCCN Guidelines®) document evidence-based, consensus-driven management to ensure that all patients receive preventive, diagnostic, treatment, and supportive services that are most likely to lead to optimal outcomes. The NCCN Guidelines® are a comprehensive set of guidelines detailing the sequential management decisions and interventions that currently apply to 97 percent of cancers affecting patients in the United States.
{ "redpajama_set_name": "RedPajamaC4" }
package com.jetbrains.python.run; import com.intellij.execution.filters.Filter; import com.intellij.execution.filters.OpenFileHyperlinkInfo; import com.intellij.openapi.project.Project; import com.intellij.openapi.util.text.StringUtil; import com.intellij.openapi.vfs.LocalFileSystem; import com.intellij.openapi.vfs.VirtualFile; import org.jetbrains.annotations.Nullable; import java.io.File; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * @author yole */ public class PythonTracebackFilter implements Filter { private final Project myProject; private final String myWorkingDirectory; private final Pattern myMatchingPattern = Pattern.compile("File \"([^\"]+)\", line (\\d+)"); public PythonTracebackFilter(Project project) { myProject = project; myWorkingDirectory = null; } public PythonTracebackFilter(Project project, @Nullable String workingDirectory) { myProject = project; myWorkingDirectory = workingDirectory; } public Result applyFilter(String line, int entireLength) { // File "C:\Progs\Crack\psidc\scummdc.py", line 72, in ? Matcher matcher = myMatchingPattern.matcher(line); if (matcher.find()) { String fileName = matcher.group(1).replace('\\', '/'); int lineNumber = Integer.parseInt(matcher.group(2)); VirtualFile vFile = findFileByName(fileName); if (vFile != null) { OpenFileHyperlinkInfo hyperlink = new OpenFileHyperlinkInfo(myProject, vFile, lineNumber - 1); final int textStartOffset = entireLength - line.length(); int startPos = line.indexOf('\"') + 1; int endPos = line.indexOf('\"', startPos); return new Result(startPos + textStartOffset, endPos + textStartOffset, hyperlink); } } return null; } @Nullable protected VirtualFile findFileByName(String fileName) { VirtualFile vFile = LocalFileSystem.getInstance().findFileByPath(fileName); if (vFile == null && !StringUtil.isEmptyOrSpaces(myWorkingDirectory)) { vFile = LocalFileSystem.getInstance().findFileByIoFile(new File(myWorkingDirectory, fileName)); } return vFile; } }
{ "redpajama_set_name": "RedPajamaGithub" }
A couple weeks ago my brother Brandon Graduated college with that degree in Computer Sciences! I'm so proud of him. We spent the day in Marietta, GA with family and friends having loads of fun. Here are a few of my favorite pictures from the day.
{ "redpajama_set_name": "RedPajamaC4" }
SVENAJEDNOMMESTU.COM SVENAJEDNOMMESTU.NET SVENAJEDNOMMESTU.ORG SVENAJEDNOMMESTU.RS SVENAJEDNOMMESTU.INFO Petak 19. April 2019. Breaking news, sport, TV, radio and a whole lot more. News in 32 languages. Delivers breaking news from all over the world in 49 Languages. Breaking news, science and tech news, world news, US news, local news.
{ "redpajama_set_name": "RedPajamaC4" }
Payday Loans & Personal Loans in Cooter, MO. The population of Cooter, MO in 2019 counting up to 432 people. More than 15% of employed adults in Missouri apply at least onse a year for a Payday Loans from $100 to $1,000. And as the time shows, more than 32 people, even with bad FICO credit score get approved for small-dollar loan. Short-term Payday Loans up to $1,000 and long-term Personal Loans up to $15,000 in Cooter, Missouri.
{ "redpajama_set_name": "RedPajamaC4" }
Warning: Illegal string offset 'box_blank' in /home/newdatab/public_html/win-every-time.com/wp-content/plugins/seo-smart-links-business/seo-smart-links-business.php on line 634 Odds and Surebet server Win 12 bets Win 1X2 bets Win tournaments Sure Bet Articles Pitfalls Associated with Arbitrage Sports Betting For most effective lines picks sports community forum can be a big help Longview news journal as well as sports activities Luke mccormick sky sports activities news Expansion in the media and shift in sports news platforms DSCC sports activities information and web site details Legal online sports betting Change in the physical forms of media or sports news services. For most effective lines picks sports forum might be a huge help Growth and popularity of American football within the sports world Enjoy along with the finest sports betting odds to earn just like a professional In sports betting best odds online equals huge wins Bet securely together with Sports Book Betting What sort of sports gambling forum can assist you Understanding of probabilities in the occupation of online sports wagering Sports handicapping picks can help select the best winners While using the proper sports analyst bowl picks you could win a lot of money The convenience of sports gambling discussion boards Choose sports arbitrage software carefully to win respectable winnings Sports betting on line can help you earn and have fun Lee Hughes name receives mixed reactions while talking about football. His illustrious career continues to be followed closely by sky sports news who have been following his career from his days as a semi professional in England C National Football team to his latest position as a striker of Notts County. Lee Hughes began realizing his dream when he became an integral part of the West Bromwich Albion to get a record fee of 200,000, the highest ever paid to a non-league player. His career continued its upward stream until the car crash that he was involved in and held responsible in the 2003-2004 season. asserted that it had been this crash that changed Hughes life. A passenger, Douglas Graham, inside the Renault that his Mercedes hit, died in the crash and the driver of the Renault was seriously injured. Since Hughes had been drinking that night, he fled from the accident scene to avoid the breath analyzer test. Though he turned himself to the police the following day and was charged with causing death by drunken driving, he was released on bail which allowed him to finish Albions First Division campaign and subsequently be a part of the Premier League. He proceeded to becoming the clubs leading goal scorer with 13 goals. The verdict on the crash was delivered in August 2004 where Hughes was found responsible for the death of Douglas Graham caused by drunken driving and also for fleeing from the crime scene and was sentenced to 6 years of imprisonment and was also banned from driving for ten years. It appeared like the start of his downslide when his contract with West Bromwich Albion was terminated and his appeal to get a reduced sentence refused. While in prison he found salvation in Islam, the faith which he converted to. Alongside, he also played for the Staffordshire County Senior League as part of the prison football team, Featherstone F.C. Days before his release news surfaced of Hughes signing a contract with Oldham Athletic. He did sign a 2 year contract upon his release in August 2007 along with them at 1,800 per week, the total amount being one tenth of what he earned throughout his stint with Wes Bromwich Albion. However, by the time the season ended, Hughes has reclaimed his position as the highest goal scorer for the club, scoring 8 goals. It has been for the upswing for Hughes since then. He joined the Championship Club Blackpool on loan and made his first goal against Charlton Athletic. He was then signed a two year agreement for League Two team for Notts County and scored a hat-trick in a victory over Bradford City with 5-0. Though Hughes finds himself climbing up the ladder of success, he's still haunted by the demons in the past. He still seeks to redeem himself by doing community and charity work in the hope that his work in some way can help prevent another tragedy from happening. Sky Sports news has got the detailed and updated records of all of Lee Hughes games, scores and transfer history Win-Every-Time Bet on Sure Bets win every time The Easy Way to find Free Sure Bets Bargain price on Sure Bets Increase your profit – seek better odds On-line calculator 12 On-line calculator 1X2 Web reader for winners Good bookmakers Can one always win on the lottery? Copyright © 2018 Win-Every-Time.com - Sitemap
{ "redpajama_set_name": "RedPajamaCommonCrawl" }
I was showing property on Wednesday afternoon, and several other agents in my office were showing houses to their clients on Wednesday evening (Thanksgiving eve). We began negotiating a contract on this affordable, downtown property via fax, e-mail and telephone on Wednesday, and negotiations continued through Thanksgiving, towards what should be a ratified contract by this evening. Erickson Avenue to Stone Spring Road Connector close to moving forward! Among several other large road projects in the works in Harrisonburg, a new road connecting Erickson Avenue and Stone Spring Road is getting closer to becoming a reality. The City of Harrisonburg received 10 construction bids for this project, which will hopefully start in the spring, and take 18 months to complete. One significant change will be the remove the train trestle at the intersection of South High Street (Route 42) and Erickson Avenue. Read more in today's Daily News Record. Where has your money been? What has it been doing? My aforementioned clients have decided to proceed with building at Preston Lake, and they closed on their lot purchase this week. We're aiming for completion by next May, and I and they are excited to see the building process get underway. It's been a busy few weeks, making selections at Ferguson's and designing the kitchen with Shenandoah Millwork. More details will be forthcoming as we move through the process. If you have questions about buying or building at Preston Lake, feel free to call me (540-578-0102) or e-mail me (scott@cbfunkhouser.com). I suppose plumbers may have been installing thermal expansion tanks (pictured above) for years, but I first starting seeing them a few years ago, and wondered what they were and why they were being installed. A thermal expansion tank's purpose is to reduce thermal expansion that occurs when the water is heated and pressurized. Thus, if your hot water heater does not have an expansion tank, and is leaking or dripping from the pressure-relief valve, it would be wise to install a tank. The other aspect of these expansion tanks that mystified me for quite some time is that I assumed that they would be installed on the hot water line coming out of the hot water heater, but most that I observed were installed on the cold water line. As it turns out, the expansion tank can be installed either on the cold water line between the main valve and the water heater, or on the hot-water line within 3 to 5 feet of the water heater. Do granite counter tops emit dangerous radon gas? Well, in what may put your mind at ease, the Marble Institute of America released a report a few days ago (Nov 17, 2008) indicating among other things that "not one stone slab contributed to radon levels that even reached theaverage U.S. outdoor radon concentration of 0.4 picocuries per liter." If you're eying your granite counter tops warily from across the room, and need to be further reassured, read more from Nation's Building News. The median residential property values went up 2-3% this year in Harrisonburg. One third of Harrisonburg's 12,000 properties did not see a change in value. A 3% increase on the median sales price of a home in Harrisonburg would only equate to a $41 annual increase in taxes. Comments have already begun on the DNR site, several from property owners who are in doubt of the value increases the City of Harrisonburg attributes to their homes. So -- what say you? Did your assessment go up or down? Do you think your new assessed value is accurate? Buyers are lining up to buy a house before the holidays! While shopping at Martins for half an hour this weekend I received 4 phone calls each related to a buyer (or their Realtor) wanting to view properties immediately. Tom was answering general phone inquiries for 2 hours this morning at our office, and received 3 calls from first time buyers who are itching to buy -- 2 of them are looking at properties later today. Web traffic so far this month (Nov 1 - 23) on our company and agent web sites has surpassed full month traffic numbers for July, August, September and October. It will be interesting to review the market report numbers at the end of November and December to see whether all of this buyer excitement turns into closed real estate sales! Shall we have lunch in New York today? Exciting news from The Hook via RealCentralVA . . . Starting next fall, Charlottesville will have round-trip service to New York City, after passing through our nation's capital. With Charlottesville just over the mountain, this may open up some exciting transportation options for us here in the Shenandoah Valley! The real news is that this program (a three year pilot program) will be using state funds to reduce the cost of this new inter-city rail transportation option. Of note -- the funding must still be approved (on December 17) by the Commonwealth Transportation Board. Read more here. The great mystery of showings - when and why do they happen? Especially in our current market, it is very challenging to predict the "popularity" of a house -- in other words, how many prospective buyers will come to view the house. This comes to mind today, because over the weekend two new prospective buyers came on the scene for a very affordable home on East Rock Street. The house has had many showings, and even an offer --- but we haven't had any showings in the past few weeks. So it was a bit surprising to receive two calls within a few hours of each other with interest in viewing the house. After weeks of inactivity, showing activity will sometimes pick up quickly and with unknown cause. On a different note, I have seen several listings lately that have been priced appropriately (in my view), marketed well, and have seen few if any showings in the first few months they are on the market. Sometimes even the houses you are sure will sell quickly, won't even show quickly. Could it be the evil flyer syndrome? And then there are the houses where buyers dutifully tour in and out several times a week, with no results to speak of. I know of several homes on the market right now that have had over 50 showings, and still have not received any offers. Just as it is difficult to predict the pace of a sale in today's market, it is very difficult to predict the pace of showings! New loan guidelines - the underwriter must approve inspection results!? Here is some interesting news that Jon Ischinger (Wells Fargo, Harrisonburg) shared with me last week... If a sales contract is contingent upon a well inspection, septic inspection or termite inspection, the loan underwriter must be privy to any issues, and must approve how the buyer and seller choose to address those issues. And this is on all new FHA and conventional loans! It is my understanding from talking to Jon that this won't change the loan process drastically, but it will make things slower, and may make things more problematic if there are any issues with the termite, well or septic inspections. As Jon notes, "In the past you could have worked something out with the borrower/seller and it would happen very quickly, outside of the lender's scope - now, if there is any inspection mentioned in the purchase contract, we have to see it and send it to underwriting. If any maintenance is required, it will need to be addressed and re-inspected and then that documentation will have to be reviewed." I'm curious to see how this plays out in a real transaction --- but I'm not too surprised to see yet another tightening on the loan process as lenders become more conservative in their lending practices. After missing the 7pm announcement of the JMU Football Playoff Schedule, I was delighted to have such a fast response when asking about the results on Facebook. The good news --- JMU could be at home for all three playoff games leading up to the National Champtionship! Books-A-Million moving to the Valley Mall!? Simon Property Group, interior renovations to existing space to create retail space for Books-A-Million, 1925-400A E. Market St., $1,275,000. It will be interesting to see who takes over the space on East Market Street where Books-A-Million currently exists. The Virginia Resources Authority sold an unprecedented $215 million in infrastructure revenue bonds to raise funds for projects around Virginia. This was, in fact, the largest transaction in the pooled financing program in VRA history --- in what is otherwise a challenging economic time. "Bricks and mortar projects mean jobs and income in Virginia communities," said Sheryl Bailey, Executive Director of the Virginia Resources Authority. "We can't over-emphasize the importance of such projects in stimulating the local and state economy. Infrastructure is a key to America's economic recovery. " According to the Daily Press, the projects to be financed will include "upgrades to bridges and wastewater treatment plants, replacement of water and sewer lines, and construction of a firehouse, a library, and a public safety academy." Affordable Housing with a LOW interest rate! The current VHDA interest rate is already low, at 5.875%. But for first time buyers looking for affordable housing, it can be tough to finance a purchase even at that low rate. So....how about 4.875%? If you're buying at Covenant Heights, a neighborhood being developed by Hope Community Builders (a non-profit group), depending on your income levels, you may be able to have the current VHDA rate lowered by an entire percentage point! And these are nice properties we're talking about here -- duplexes and townhomes with three bedrooms, all of which are pre-inspected and built to EarthCraft and EnergyStar standards. If you have a friend or co-worker who is seeking affordable housing, do them a favor and tell them about Covenant Heights! Exciting web site changes are in the works! I'm getting my hands dirty --- working on some exciting additions to the property search section of my web site --- to let you learn even more about each property for sale. There are at least 5 upgrades I hope to roll out in the next few weeks --- stay tuned, and if you have any suggestions for improvements to my web site, please let me know! How close are buyers coming to the asking price? One issue that often seems to be on a buyer's mind these days is the question of how much they should be able to negotiate off of an asking price for a house. Let's take a look at closings from the past 30 days to provide some insight into what buyers are actually accomplishing right now in the market. The average sale price to list price ratio is 97.39%. The median sale price to list price ratio is 97.87%. If you're considering buying in the near future, you should realize that this is certainly a buyer's market, but you won't necessarily have the ability to negotiate more than 10% off the asking price. Have you eaten at Taste of Thai? The owners will soon be opening a new restaurant downtown. Learn more about Taste of Thai, Prasert, and more at "the state" a local blog that plans to interview many restaurant owners to provide an inside look at dining in Harrisonburg.
{ "redpajama_set_name": "RedPajamaC4" }
We contacted the authorized repair company when our upper oven door fogged up when using the lower oven. We thought the door was sealed like a double pane window, and that the seal had failed. The technician confirmed the issue, but didn't know if there was a fix. He called the tech line and asked if there is a fix. The tech said the oven was "operating as designed." In other words, fogging up is to be expected with this model. We have owned other double wall ovens by other manufacturers and never experienced this issue. We are disappointed. I used the self cleaning feature of the built-in 30" oven on the normal cleaning setting. I wiped up the excess grease and dried the oven floor before I started the cycle. It said it would take 4 hours. After about 2 hours, the entire oven area and cabinets around the oven felt very hot. I tried to cancel the cleaning cycle but all the electronics in the panel went out. It locked up and won't unlock. The control panel is completely burned out. The only way I prevent the cabinets from catching fire was to cool them with cool towels. Very dangerous situation. When using lower oven steam escapes and infiltrates between the upper oven door glass. So much so that it blocks 70% of your ability to see inside the upper oven. Called KitchenAid and they say it's normal. They also blamed me for using my oven to braise instead of bake? They recommended using the upper oven for braising and the lower oven for baking!!! Where was that in the advertisement when I bought it? Also, there is no way to clean the upper oven glass after the steam evaporates and leaves a film unless you disassemble the door. Their customer support was almost indignant that I saw this as an issue. My last KitchenAid product...EVER! KitchenAid 30 Inch Double Wall Oven KODE500ESS The appearance of this oven is very appealing but trying to cook with it is another story. If you open the oven door, to make cookies for instance, it will not hold an even temperature. At 350 deg start time by the 3rd batch it was 125 degrees. The technician said you need to do it fast. I have been cooking for 40 years and know how to change batches of cookies. Never have I had such frustration with an appliance. Spent 2800.00 dollars and am almost in tears any time I bake something. Many many complaints to Kitchenaid about this same thing. They have to know it is a flaw. Then there are hot spots in the back of the oven that makes it even more necessary to open the oven and turn pans around. I am not using the dark coated pans. Just normal stainless or aluminum. This oven is a nightmare and nothing is being done about it. I have a built in KitchenAid oven and microwave. However this is the 3rd I used the self cleaning feature and all 3 times resulted in the oven not working, due to the 500F temperature and KitchenAid refused to send a techie out unless I paid for it. I called out American Shields each time and have had to pay $80. Please if anyone is filing with Attorney General, I like information. KitchenAid needs to be addressed. The first time I used the self cleaning option lead to my oven NOT working at all! I've read hundreds of this same complaint and nothing has been done to resolve this problem! I will definitely spread the word to everyone not to buy KitchenAid! I'm appalled that they've refused to offer repair without the consumer paying for it!!! RECALL???? I have contacted the company about this issue, but they say it is over 12 months, so there is no guarantee. They know there is an issue with the oven not holding the set temperature and are doing nothing about it. We need to report this to our different states' attorney general. They need to be punished for their deceptive practices. Knowing what I know now, I would NEVER buy another KitchenAid appliance. We purchased a stainless steel wall oven and microwave combination for a new house that was finished in August 2017. Model number is KOCE500ESS05. The oven does NOT HOLD the temperature. This has been reported hundreds (possibly thousands) of times on the internet. The company has NOT FIXED a known issue with the oven. Now, we have a unit that we purchased for thousands of dollars that is a little over a year old that will need hundreds of dollars in repairs. KitchenAid is NOT what it used to be. When I called to report the problem, it was answered by Whirlpool. I should note that I also purchased a very expensive Maytag washing machine for my house which also has major problems. Stay away from KitchenAid, Maytag, and Whirlpool. You will pay a premium price for substandard appliances. I purchased KEBC107KSSO5 single wall oven and separate KitchenAid microwave convection oven in 2005 but the oven never heated evenly. My baked goods were always browner on one side. My Thanksgiving turkey had to be in the oven hours longer than prescribed by the turkey instructions otherwise it was not cooked on the inside or it was more cooked on one side than the other. I just thought it was all normal until now that I am baking even more and nothing is baking properly. I am tired of putting up with this so I will be replacing it with another brand that is not KitchenAid or any company that makes KitchenAid appliances. Takes 30 min to heat to 350 degrees. I placed a thermometer in the oven and it reads 100 degrees hotter on the bottom rack. Turn the oven down and it won't finish cooking. Turn it up and it burns everything. Very loud. Fan runs forever after you use it. Just terrible. Unlike past products from this brand, the electric double oven (24", w/ convection) is awful. Doesn't keep accurate temperature, and locks with no warning (error messages) at higher temperature. Hate using it. Should have checked the Consumer Reports rating before letting my husband buy it. Aug 2018, the KOCE507ESS 27" convection wall oven/convection micro built-in unit was installed to replace old combo. 3 hours after the installation: 1. Microwave malfunction. EasyConvect absolutely would not start unless the door was opened and shut- 3 or 4 or 5 times. 2. Error message of F6E8 twice. I phoned KitchenAid. They were helpful in that they connected me with a tech who could come to my house in 2 days. The tech came as planned, worked on the door closing mechanism. The F6E8 error could not be duplicated so no work was done on that. No one was home for a number of days, when we returned the microwave: 1. Door is not registering closed so microwave will not come on (thought this was fixed). 2. Mic light stays on - this is because the door will not close securely. 3. Mic fan sound is normal then increases to a loud level and sounds as tho something is broken or rattling loose inside... Perhaps the fan. 4. Convection Microwave turns itself off while pre-heating 5. Error messages: F6E8, 2 more times (thought this was fixed). 6. White plastic hook to hold heating element in microwave broke. (Appears the oven must come out of the wall to replace... Much the same as replacing the light bulb.) 7. Complaint: oven takes an impossibly long time to preheat. The same tech came out, worked on the door again, and ordered a replacement fan for the crack fan. Another week to install. The tech has been great. However, I have lost complete faith in this unit. If it is problematic coming out of the box, what grief awaits in its lifetime. We were just happy the rattling noise was gone but the noise returned a couple of weeks later just not as loud so we notified the retailer but decided to live with it. Around Feb 2017 the oven started to randomly make rumbling/vibration noises. Again we contacted the retailer who sent Whirlpool tech only we were unable to replicate the sound. Frustrated having paid so much for a problematic unit, all the time we lost and issues with repair when replacing the microwave fan we thought this warranted a replacement so we called Kitchenaid directly. We were met with a rude, condescending lady who only added to our regret purchasing this brand so we had no interest in dealing with them. We went back to the retailer who sent their tech 3 more times but of course each time we were unable to replicate the noises. Earlier this year the microwave started making a random high pitched whine 5-10 seconds at a time. Once again, retailers tech came but we were unable to replicate neither oven or microwave noise. He was also here to diagnose an equally problematic KitchenAid Fridge KRFF302ESS. Between end of March and early April 2018 I finally captured several video recordings of both Microwave and Oven noises. I also started to research and found many others online having the same issues so I contacted KitchenAid again this time via email and send them all the videos. Now that we were aware our problems are not isolated and having proof of the noises I was finally relieved thinking they would know exactly what the issue is and repairs would finally be done and this 17 months of frustration is finally coming to an end. Not so at all, after emailing back and forth for over 2 months receiving replies from someone different each time often without a name (no accountability). As we were out of the 1 year warranty they say there's nothing they will do and we have to go to the extended warranty company we purchased although the problems started a month after purchase and additional problems all started well within their warranty, all documented. Although they have clear video/audio recording of the noises of our unit and are aware of others who have the same oven noises they insist upon sending a tech for diagnosis charging us $159 and we would have to take more unpaid time off of work. They know we won't be able to replicate the sound when their tech is there so the extended warranty would not reimburse of the service call and we be out several hundred dollars for nothing. As they keep claiming KitchenAid is a quality, premium brand and how they stand behind their product, even mentioning if we didn't have the extended warranty they would have assisted us I thought it was only fair they waive the $159 service call as I would have to take even more unpaid time off work. Or they arrange their tech to come on a weekend which they have before, even one Sunday but conveniently now they can will only come weekdays. It's obvious all they care about is their bottom line. We've owned several other brands of appliances from Bosch, Miele, Fisher Paykel, even Samsung and have never once had a single issues with any of them. We have an equally problematic KitchenAid Fridge KRFF302ESS which the retailer finally had to replace after several service calls. The freezer had excessive ice build up freezing the door shut, defective noisy fridge cooling mechanism which also built up ice and non functioning ice maker. We finally received a replacement earlier this year and had the same problem with freezer and fridge cooler building up ice. A whole new freezer door had to be ordered when the issue was with just the seal/gasket proving KitchenAid is only interested in profit confirmed by the tech. I asked the tech what happens with the door thinking it would be returned to the manufacturer or reused/recycled but was shocked to hear it would be discarded. KitchenAid is clearly not an environmentally friendly brand. I would not recommend this brand to anyone and will be posting a separate review for our fridge. We will continue to warn others of our experience. It's one thing to receive a defective unit but with all the time and stress this has caused and having KitchenAid do nothing about it is beyond us. Very poor quality appliances with no support. Black Stainless - Double Oven Model # K0DE500EBS02 will not work on the Roast-Convection cooking option. They shut down after 30 mins of cooking a turkey or chicken. The steam from the oven shuts down the panel and you get the following message: "Press-Cancel-Reset Err F2E 1. Keyboard Key Stuck." I had the repairman out here about 4 times. He replaced the panel and tried to fix it. Before he ordered the panel I showed him the consumer reports on what other people had experienced and he stated that he did not know of anything that was wrong with this unit, that there not been anything reported to KitchenAid about this problem. Installing the new panel did not work, he even wrapped the new panel with tape inside. Now when you try to roast chicken the bottom units try to come on after it shuts down the top unit. The units start beeping and now I have streaks inside the new panel. I tried using the bottom unit and it shuts down too. This is a problem! I have all these matching appliances and the ovens don't work for roasting meat. He came out yesterday 6/18/2018 and stayed on the phone with 2 different KitchenAid techs. They told him to have me cover-up everything that I cooked so that no steam could escape. The point of the roast and convection bake options is to roast food. He left telling me to complain to KitchenAid, that he couldn't do anything else. I have a new house and I spent over 12,000.00 on this Black Stainless set thinking I would get a lot of use out of these appliances. Now I can't cook like I want. Covering it up doesn't fix the problem. Everytime I use the cleaning cycle on the double wall oven the internal fuse blows and the oven cannot be used. If I had to buy a new oven I would never buy the KitchenAid oven again. KitchenAid is aware of the problem and said they are working on creating a heavy duty fuse. Had KitchenAid 30" double ovens (K0DE500ESS02) installed in our new house in 2017. Noticed the upper oven had smear marks on the inner glass. I could not clean it. The ovens were still under warranty. Notified the company and a representative told me that was not covered under warranty because it was considered cosmetic. He asked me if the oven worked. I said yes. He said that was all that mattered. Then I noticed whenever I broiled anything, condensation built up in the oven. When I opened the oven door, water was dripping off it and a lot of smoke. I put off making another call to the company until 2018. A repair person has been to our house and I demonstrated to him the problem. He said it was normal because the food is wet and the heat from the broiler creates condensation. He also concluded that the smear and streaks inside the glass are probably from the fan blowing the built up moisture through the vents onto the inside glass. Understandable and normal. He has seen this before. I finally got an authorization for a new door. Unfortunately KitchenAid doesn't pay enough to cover the cost of putting the door together by the repair place. So I'm not getting a new door. I could get it if I were to pay the repair place $100. to cover their cost that KitchenAid won't cover. But what's the use in getting another door if the same thing is going to happen. I have never had an oven that worked like this one. The design is obviously defective. Apparently I'm not the only one having this problem. Not only that, this oven takes forever to reach the set temperature. The timer is so soft you can't hear it when it goes off. I hate this oven. Will never buy KitchenAid/Whirlpool again. In Oct 17 paid $3k for the KitchenAid KODC304EBL. Fast Forward 4/18 - tried for the first time to self clean the oven and it totally burnt out. Would not heat AT ALL. Called the technician, he said it's common, that I should stock up on parts or cases of oven cleaner. WHAT!!! Said the oven gets too hot and the high/low thermostat burns out, that it needs "airflow." BUT THIS IS A BRAND NEW BUILT IN OVEN - IT'S DESIGNED TO WORK IN AN ENCLOSED CABINET! Still working through the nightmare -- avoid KitchenAid built in ovens - they are not designed to function. KitchenAid Model KOSC504ESS00: This built-in oven is slow to heat - 2 hours to get to 325 degrees! The service person tested it and told me to be patient and to use it enough to figure out its temperature variance. I have 3 oven thermometers which I can see through the door. The oven does not maintain an even temperature (varies by as much as 50 degrees!), so it is impossible to cook food properly or consistently. Do NOT buy. Things I like about the double ovens. They look nice! Things I DON'T like about the KitchenAid Double Ovens (KODE500ESS). 1. I think there should be a separate light for each oven. 2.Takes way too long for ovens to heat up. 3. VERY NOISY oven. Both ovens are way too noisy. 4. Uneven baking. Seems to want to burn everything at the back. 5. The ovens won't hold the head when you put something in the oven. 6. Timer is way so sensitive. Sometimes when I touch the timer it turns the oven off! 7. It seems the temperature is never accurate. If you are looking to buy new double ovens, I would not recommend these ovens for the above reasons. If you like baking these are not the ovens for you! Faulty double oven - Steam gets in the panel, then it says key error and just stops working. I had 3 technicians here but there is nothing they can do to fix it. Customer service keeps telling me to cover my food. How am I supposed to cover frozen fries or frozen pizza? It gets all soggy. Last Thanksgiving we had to cover our turkey, the steam got in just 30 min after it was in, so we had steamed turkey instead of baked. Can't even roast vegetables. It still under warranty but KitchenAid won't replace it. They know all the models have this design flaw. I expected more from a company like that. Instead I was treated with dishonesty. Shattered microwave glass door - I purchased this new oven (KitchenAid wall oven micro combo Model KEMC378KSS04) and just used the microwave 2 to 4 times a month for heating food; I used my other microwave for almost everything. I heard something shattered thinking it's the light bulb; I come to find out it is the microwave which I haven't even using it. Luckily I am not standing in front of the microwave. We purchased the combo wall oven and microwave in April 2011. It replaced a GE similar unit that worked fine for 26 years. I paid for a 5 yr extended warranty. In Dec. 2017 the temp was only getting up to 50 to 60 degrees lower than the requested temp. We have worry free with our utility company which will repair items we put in subscription and pay for monthly. The repairman came, evaluated the situation and ordered a thermostat. He returned and installed the part. The problem was not fixed, temps still 50-60 degree off. He left and said he would order a new circuit board. Repairman returned, installed part, but the problem continued. He called in the most experienced repairman on the road and they pulled the oven completely out. After unscrewing different panels they pulled out the heating coil from under the oven floor. The coil was cracked in several places and the insulation was peeling off the coils in several places. Upon further examination they observed the enamel was burned off the oven floor and the floor was warped. They said the oven was unsafe to use and was possibly a severe fire hazard. Now comes the good part. I went online and found this defective oven was known since 2011. Whirlpool manufactures KitchenAid and the company has known there was a problem with this oven and other wall ovens from 2011 and on. You can read the incidents people have experienced over the years and they continue with this flawed design. There has been an attempt to bring a class action suit against the manufacturers. We do not want to repair our oven due to the safety issues. I purchased this new oven (KitchenAid wall oven micro combo) and used it twice before it malfunctioned. The thermostat is faulty and needs to be replaced along with the circuit board. The store tried to tell me that I had a power surge which I did not. The service person told me there is a prevalent problem with the faulty thermometer. I do not recommend anybody purchase this oven as I am very dissatisfied with the oven and the service. At the very least, they should offer to compensate me for the 2 days off that I have to take for the service calls and the lack of use of my oven for a month. Too late to send this thing back. The thermal shut off apparently went out. That seems to be the diagnosis based on other reviews. Too many electronics for a machine that gets to 550 degrees; they should build better parts. 60 year old circuit breaker for the house is fine. Now there's quality. Customer support sounds like it's in the Philippines. Don't buy one of these ovens. Issues after 20 months, the old one blew up after about 15 years, I would expect the same, or better from a new oven. How can you go to bat for made in America and Sears when they sell us junk. So disappointed. I have to buy a new oven because the company has discontinued making the knob for the "selector". My selector knob broke and the company's only solution is to buy a new oven. Oven works fine, and yes it is an older oven... but it works fine. There are no alternatives for the knob. On the phone with company and they can not even keep straight the model number which I have. Representatives were of no value! Disappointed in this company! I replaced my gas double wall ovens with KitchenAid Double Ovens KODE507ESS that are electric. I chose KitchenAid because I liked the look and what I read about the performance was also encouraging. First problem I encountered was that the temperature in the oven was at 100+ degrees higher than indicated on temperature display. 2 panels replaced. I now have a film on the inside window of the top oven. I called and was told that they don't do "cosmetics" and that if I wanted to ensure this doesn't happen I should buy part # 482338 which is some kind of a sealant. If they know this issue occurs, why do they not install this part in manufacturing. Totally frustrated! Any ideas how to clean the film? The self-cleaning option on this oven is far too hot. First, it blew something because the display went dark and I have not been able to open the oven door since yesterday. Second, I have a KitchenAid warming drawer underneath the oven. The cleaning cycle got so hot it melted off the KitchenAid sign on the drawer. Called KitchenAid today, useless conversation. Have called another repair person. This oven is dangerous, it shouldn't get so hot. You cannot touch the floor underneath (which I protected during cleaning cycle). Why is this oven still being sold? We purchased a Kitchenaid Double Wall Oven. Stainless, convection, self clean... Top of the line. Almost $3k total. Replaced a 20 year old oven that worked fine but was ugly. It came with a 12-month warranty. At approximately 13 months, it died. No lights, no power. Long story short, it failed 5 more times costing $250-$500 each time to get it fixed. I discovered that a few of these were recalled due to a design error that caused the thermal fuse and sometimes the thermostat to fail. It's either due to lack of insulation or airflow. I called the manufacturer and after multiple escalations, I got them to agree verbally that this was a lemon and that they would replace it. Fast forward 2 weeks, they call back and say they'll replace it for $800 and they are backordered so it will be 3-8 weeks. Meanwhile, this oven has been sitting here dead for 5 weeks while they figure out what they're going to do. I researched the model number they offered to replace it with and it has the same issue. This is apparently an issue with all of their ovens. Unreal... I did some more research and thankfully, the guy who repaired the oven this last time left the old thermal fuse. I just bought one on Amazon for $14. Arrived today and I replaced it in 20 minutes. Screw you Kitchenaid. You will receive zero $$ from me ever again for anything. You build and continue to sell generation after generation of products with known issues. That is wrong and I refuse to do business with you ever again. Several "repair" calls for $2000 wall oven KOSE500ESS. Same damned error message F2E1 since Aug. 2016. Now I get the message but can't clear it to use the oven without my husband going to the electrical panel and turning the oven off there. DO NOT BUT KITCHENAID. THEY DON'T CARE. Do they really think most people in this country would spend over $2000 on a kitchen appliance? Next time I buy the cheapest thing I can because they don't last a year!!! I do the kitchen cooking at our church for approximately seventy to one hundred people every week. Someone donated Kitchenaid KEBS278DSS10 built-in double ovens and we had cabinets built to accommodate them. The week before reopening the kitchen the bottom oven door hinges sprung so it wouldn't close, then the switch for the lights and self-cleaning went bad and had to be replaced. The ovens hadn't even been heated up yet so fixing those items seemed to be a no-brainer. Having a background in repairs I replaced the lower door hinges and the switch assembly without much problem. We started using the ovens the next week and on the third week the bottom oven door hinges sprung again. I had my team be very careful of pushing down on the doors to avoid that specifically also. At a cost of almost ninety dollars a pair the hinges are not cheap and shouldn't be replaced once a month. My solution is to set magnets in the frame around the heat gasket and see what happens. What makes me upset is that the replaced hinges did that same thing as the old original ones. If this keeps happening I'll have to replace the ovens with something more reliable. Unfortunately our kitchen isn't able to use commercial appliances, but we can get residential units. The invoice is at our church office and unavailable to paste below. Bought KitchenAid KEBS177DWH6 on 4/29/2010 so it is less than 7 years old. Display started showing errors, either oven computer control board is bad or the keypad. Both parts not available anymore and they would not even get me a schematic so I could do a unit level repair on it. I have 75-year-old mechanical ovens I can still fix! Parts discontinued so may have to throw away whole oven.
{ "redpajama_set_name": "RedPajamaC4" }
Support Us!!!! | iMojado - Free download mac software and games! Every dream is worthy of you for your support! I want to change my website is good, Do you want the same with me? If my website to help you, I also hope to get your help! Make me a cup of coffee!
{ "redpajama_set_name": "RedPajamaC4" }
Hayward Baker has decades of experience providing solutions for the full range of institutional structures including government and military, education, healthcare, and sports and entertainment. Institutional owners have a wide variety of stakeholders, both internal and external, each with their own unique requirements during design and construction. All objectives must be considered when selecting the most appropriate geotechnical solution. Being experienced in the full range of techniques, we have the ability to modify the solution as the project progresses. Buildings, bases, USACE projects, launch facilities, and more.
{ "redpajama_set_name": "RedPajamaC4" }
My brother and sister-in-law have recently tried, not very successfully, to raise a little batch of Sea Monkey's. Quite disappointed in the short-lived pets, I was asked how long they typically live for… so I decided to do a bit of research looking into this little species. For many people, their first pet as a child was a little packet of Sea Monkey's; lovingly hatched from the eggs received in the packet, after following all the instructions to prepare the little tank for their home… what most people don't know is, what Sea Monkey's actually are. Whilst doing some research into this post, I have also come to realise that a lot of people (I'm unsure why…) did not even know that Sea Monkey's were living creatures! Sea Monkey's are an invertebrate species, meaning they do not have a backbone. They are arthropods, meaning they have jointed legs. They are a crustacean; related to crabs, shrimp, water fleas, lobsters; with an exoskeleton, an outer shell. When growing, they shed their exoskeleton and regrow a new one to fit their larger size. Until the new exoskeleton hardens, they are more vulnerable. They are also known as, Brine Shrimp. If you have followed any previous posts you may have come across this little titbit of information before, in Something Fishy! (1) – as they are a form of live and frozen fish food. Size wise – females are smaller than males; females growing between 8-12 mm in length, and males growing between 10-15 mm in length. Females have a "lump" at the base of their tail (which is where the eggs are stored), the males do not. Females have small antennae, whilst the males have large, distinct antennae (see image, below). My sister-in-law told me that the packet informed her, that Sea Monkey's can live up to 6 months! That surprised me a bit, as from what I have witnessed and been taught through my studies, is that they typically live 3-5 weeks in the right conditions. The longest I have discovered for the claimed lifespan of the Brine Shrimp is 12 weeks; the average being about 6 weeks. They last about a week in the fridge, in a bag of water for fish food (less if they are not refrigerated)… and approximately 48 hours in freshwater (provided they are not eaten first), as they are not designed to live in freshwater habitats. Basically, don't be too disheartened your Sea Monkey's die before they have reached half of the lifespan given in the information booklet you got with your new pet. Being kept in tiny tanks means that the water needs changing more often, as in such a small space, the water deteriorates quickly. Roughly a 20% water change should be done bi-weekly, to ensure clean water and enough oxygen for survival; so that your Sea Monkey's do not die from suffocation. Adding an aerator into the tank will also keep up oxygen levels, making breathing easier. Doing a water change with such a small animal can be difficult; ensure you do not accidentally throw away any Sea Monkey's with the dirty, discarded water! The shedding of the exoskeleton during growth makes up a lot of the dirtiness of the water, with so many of them shedding around the same time! Deteriorated, dirty water and lack of oxygen, are common causes of premature Sea Monkey death.The tank being knocked over, and therefore spilling your Sea Monkey's everywhere, is a big stress to the little creatures, and ultimately will result in the death of the little guys (and girls)! The stress, combined with not being able to breathe out of water… so ensure your Sea Monkey's are in a safe, secure place where they are unlikely to be knocked over. Other common causes are the tank being in too warm a location; by a window in summer, in a very warm room/ next to a radiator in winter… or being in a location that makes them too cold; in a room not warm enough in winter, in the fridge because they will be fed to my Comet Goldfish within the week. Of course, being used as food is a cause of death, although this does not apply to Brine Shrimp being kept as pet Sea Monkey's! Even though Sea Monkey's are just simple Brine Shrimp, feel free to imagine them how they were advertised in the 60's and 70's (see image, below). – as a cute little family… it may be anthropomorphic, but who doesn't treat their pet a bit human at times?! Have anyone thought of, why sea-monkeys swim this way and not like other shrimps, legs down?
{ "redpajama_set_name": "RedPajamaC4" }
Youth Speaks Rochdale District Heat at Falinge Park High School on 25.01.2018 March 3, 2018 · Rochdale Rotary Club in collaboration with Falinge Park HS organised a very successful public speaking competition for secondary school students from Falinge Park HS, Oldham Hulme Grammar, Beechwood... March 3, 2018 · On Sunday 28th January, members of the Interact Club, Sandbach bag-packed in Tesco, Crewe, to raise money for a young boy called Blaize. It had been a fabulous day and with the kind support and... Stars Drama and Rotary help the Seashell Trust March 3, 2018 · On 10th February, the infants/junior class of the Stars Drama Academy performed a production of Alice in Wonderland at the Parish Hall, Cheadle Hulme. The play was directed by the Principal, Cathy... Biddulph Rotary donates to Christies March 3, 2018 · At a recent meeting of Rotary Biddulph a representative, Nichola Doran, from Christie's hospital, Manchester, was welcomed to the club, where a cheque for One Thousand Pounds was presented to... Lamplighter Youth Speaks March 3, 2018 · The Rotary Club of Stockport Lamplighter recently held their annual Youth Speaks competition where six local schools took to the podium to speak about matters as various as "Graffiti—art or... Runcorn football coach recognised with award for cerebral palsy charity football team March 2, 2018 · Sean Bailey is being given a prestigious Rotary International in Great Britain and Ireland's Community Champion award for his work in creating the Cerebral Palsy Football Club in the North West... Manchester hero rewarded for life-saving surgery in Ethiopia March 2, 2018 · Local hero Tony Clayson, an active member of Worsley Rotary, is being honoured with the prestigious Rotary International in Great Britain and Ireland's Champions of Change award for his... Rotary Helps the NHS March 2, 2018 · An initiative by Rotary Clubs in the "Wigan 7" Group has been declared a roaring success! Many people have been astonished that they have not been able to return Hospital Equipment... Wigan Rotary hold a successful collection Day for surplus NHS Equipment March 2, 2018 · Members of Wigan Rotary Club were at Sunshine House collecting surplus medical equipment from local people who no longer had use for them. They will be returned to the NHS for refurbishment and... Rotary Shoeboxes February 26, 2018 · 92 Rotary Shoe Boxes were delivered to the International Aid Trust by The Rotary Club of Macclesfield Castle who wish to express thanks to the mums and children from Bollington Praise and Play Group... Rotary Donation To Help Manx Citizen Advice Service Expand Into Castletown February 26, 2018 · The Rotary Club of Rushen & Western Mann recently donated £250 to pay for publicity materials that will be used by the Manx Citizen Advice Service Southern Branch, when it extends its services... Computers for Jamaica February 26, 2018 · Bolton Daybreak Rotary joined with several Rotary clubs to supply five computers to a primary school in Montego Bay, Jamaica, at a total cost of £2,150.00 Five brand new desktop... A Royal Announcement February 26, 2018 · It is with great pleasure we can announce that Her Royal Highness The Princess Royal will be joining us at the 93rd annual conference in Torquay, on the afternoon of Saturday 7th... Unsung hero of the year February 26, 2018 · Astley Rotarian Mike Hack was fortunate enough to win both the Wigan and Gt. Manchester Unsung Hero in Sport awards recently. Click Youth Speaks 2018 February 26, 2018 · Wigan President Gwyneth Millard made the following comments after the recent Youth Speaks heats, "The Wigan Heat of the District 1285 Youth Speaks Contest was held on Tuesday Feb 6th at St...
{ "redpajama_set_name": "RedPajamaCommonCrawl" }
On our last family road trip to Washington we stumbled on the remote town of Forks, the vampire and werewolf capitol of the world (or at least according to Hollywood). So when we packed up for a weekend of clamming near Long Beach I wasn't expecting our trip to rival the freakiness of our previous sojourn. Enter Alligator Man. After harvesting a bounty of four razor clams near Cape Disappointment and freezing our a***es off all night in a tent, we decided to warm our spirits with a visit to a little museum a friend told us about that held Alligator Man - a disturbing mummified half-man half-alligator that may or may not be real. After driving through a few abandoned looking towns with "For Sale" signs up everywhere we arrived in Long Beach and to Marsh's Free Museum which was bustling compared with the rest of town, with a full parking lot and people milling around outside. Marsh's itself is more of a store than anything else selling tacky tourist magnets, stickers, seashells and knickknacks. The actual museum is crammed at the back and at first glance looks like a bunch of garage sale fodder. But we'd heard about Alligator Man and by golly we were going to find him. Past the automated 50s style fortune telling machine and a few taxidermy stuffed animals we found him. He's in a big glass display case, is about four and a half feet long from head to tail and is all black and shriveled like an un-bandaged mummy. The head and upper body probably is from a real human - it's too realistic and well done to be a fake - and the bottom half is obviously from a real alligator. There's no obvious area where you can see that the two have been stuck together - it's a brilliant work of taxidermy if anything else and honestly, it's one of those things that you can't really gauge your emotions on. Did the top human half come from a mummy bought in Egypt way back when? Was someone killed or dug up to make this thing? None of these questions are answered, and Alligator Man just sits there baring his spiky teeth with a half-petrified half-aggressive gape. The funniest part was that even though the museum was packed and Alligator Man was the star attraction, no one seemed to take any notice of him. People casually walked by, stopped to look then moved on. What was going through these people's heads I can hardly imagine: "oh there's a dead human body sewn together with an alligator," or "oh a real-life mutant alien horror movie creature, how nice." And yet, no one gave him a second glance or seemed to register that they were looking at anything odd. Elsewhere in the museum is an even less fawned upon but very real shrunken human head and an utterly ignored taxidermy stuffed six-legged calf. Most visitors seemed to be there to shop, stocking up on "Beer, it's what's for breakfast" bumper stickers and candy. The freakish stuff was just a sideshow at the back of a room. I studied primatology at University so it had been a long-time dream of mine to see proboscis monkeys in the wild. Bako National Park in Sarawak, Borneo, Malaysia, did not disappoint. A proboscis family was out foraging in the mangroves near park headquarters every morning and there was a plethora of other fascinating critters to be seen as well. Note: I have a larger article on Bako in the works and I'll post a link once it's been published.
{ "redpajama_set_name": "RedPajamaC4" }
AI War 2 is out now! Get it on Steam today! Arcen Forums » AI War II » Fog of war... too foggy ? Pages: 1 [2] 3 Go Down Author Topic: Fog of war... too foggy ? (Read 2135 times) I-KP Caveat Pactor Re: Fog of war... too foggy ? Putting Intelligence capabilities, i.e., Watching, on a Flagship, particularly a Flagship that needs a buff, risks relegating an essential capability to gimmick status. You can't rely on it being available but when you do get it the game difficulty suddenly drops significantly. Having it on a cloakable turret, as mentioned in the post above, makes it awkward and somewhat similar to the old Scouting mechanic - only more annoying. Capturable buildings sound good, on paper, but then it'll only be useful if said capturable just happens to be in a spot that you want to Watch. Once again, this risks relegating a very handy feature to two layers of RNG (spawn chance and spawn location). Whatever, if ever, form this Intelligence mechanic takes the Logistics station seems to be the neatest fit. In terms of what form the mechanic takes, being able to Watch one planet per Logistics station perhaps? Limit that to a range of not more than two hops from the station and you end up with something similar to the blanket effect of being able to Watch all neighbouring planets by default, except not as good and without it being as hands-off for the player as that. Generally, Logistics aren't front line stations, hence the ability to Watch a planet up to two hops away thus still allowing for Military stations on your front door. Maybe the hop distance could be a factor of Tech. « Last Edit: October 06, 2019, 06:33:06 AM by I-KP » Atmospheric & Lithospheric Reticulator, Post-accretion Protoplanet Aesthetic Seeding Team, Celestial Body Design & Procurement Division, Magrathea Pan-Galactic Planets Corp., Magrathea. kasnavada Hero Member Mark II Quote from: I-KP on October 06, 2019, 06:29:00 AM In terms of what form the mechanic takes, being able to Watch one planet per Logistics station perhaps? Umm... I see 1 as more annoying than 2. Thing is: - if I want to see a station 2 hops away, I can spend 10 hacking point on it. That causes me no issues. To be honest, I'm fine with "I SHOULD spend" because it's 2 hops away. - Giving a "number" of watchable planets per station means you have to track stations, track target, and code stuff and mechanics. It's not a complex mechanic but it's something that distracts from what the game is, and would need to be really intuitive. You'd have to code something to make it visible on the UI, add buttons, add icons and so on. - I'd have to redo the mapping when I capture some planets, eventually. - I may have to retarget when rebuilding a station. - Also, the "BEST" way to use this vision ability would be to NOT watch 1 planet with a station, but to switch, every 20-30 seconds or so, where you're looking so you can get the "highest" value of the station. That means a lot or micro, or some game mechanics to block players from switching targets every 20 seconds. That's a lot of potential complexity for... next to no gain at all, IMO, in term of gameplay. If you created "10 scout hack points", usable only on scouting, that were given to you in addition of the current scouting points, and if you got a refund when you build a station where you watched before... you'd have nearly the same results, just, way simpler. But, in essence, going to a planet, click on "scout", is as annoying as going to a planet, and clicking on "build scout post". It's solution 2. I like the "command station gives neighbour visibility idea" because it's very, very simple. And I think scouting should be as simple as that, no matter what mechanic is used. I don't want to be faffing about popping in, dropping a cloaked turret, then popping out of a planet each time. If I was prepared to put up with that kind of nonsense I'd just detach a single cloaked ship and send that through and tell it to hide at the planet boundary each time instead - which is what AIW did. The simplest solution is to grant vision on all neighbouring planets, but that feels too strong. Maybe keep it the way it is now but scale the Hack cost based on distance from the nearest station, with the cost to Watch a neighbouring planet being nominal but not so insignificant to the point of making it a trivial, thus arguably automatic, task. « Last Edit: October 06, 2019, 01:39:59 PM by I-KP » The discussion is kind of confused right now because people don't distinguish between: - Knowledge of current strength on planet (we used to have that for the whole galaxy) - Watch i.e. see everything going on on that planet in real-time. It would really help if you could precise which one you're referring to. Quote from: I-KP on October 06, 2019, 01:25:06 PM I think that's a very elegant solution, best proposed so far. We could actually have two different hacks, let's say Survey to get knowledge of overall strength, and Watch to get full real-time vision. Survey would obviously be way cheaper, but both would scale with distance from the nearest station. Watch could additionally be discounted if you already paid for Survey for that system. « Last Edit: October 06, 2019, 06:15:35 PM by Asteroid » How about keeping the scaling Hack cost the same for both types but Survey doesn't provoke an AI response whereas Watch will. I put the whole idea on Mantis. https://bugtracker.arcengames.com/view.php?id=21752 Quote from: Asteroid on October 06, 2019, 04:41:45 PM Far from it. It means that everytime you want vision around a planet, on your borders, which, is, ALWAYS, you have to manually click all planets to be able to see them. It's basically the EXACT same as putting a scout there like in AI war I. It's also the same as the proposal that's "unliked", placing a cloaked stuff (check my post above for the explanation). I'm not even going into the deep implications of such a move. Let's say you want to see planet "currently 4 hops away". It's going to cost a lot. If you're placing a station near it, it's cheaper. How many players, seeing this, will not watch the "currently 4 hops away" planet because they feel like they waste hacking points ? Is it even useful to introduce a mechanic that will create such train of thoughts in the first place ? I don't think so. That also means that you can't introduce a game mechanic to which the player answer's is supposed to be "watch a planet far away". Finally, those hacking points then compete with whatever hacking points could be useful for at the moment. And, let's be honest, scouting is quite low on the list. Do we want a player losing a game, not scouting "far" objectives, or near objectives, because he thinks hackables are worth more ? I don't want that. The reason I don't want that is... what is the value of such a mechanic ? I can't find any behind "the player has to manually click to be see behind his door". I can't find any value behind "the player should spend precious hacking points" so he doesn't get jumped. It's not an interesting choice. It's not an interesting decision. It's micro for the sake of micro. I proposed this thread because, I thought that people would try to find a simple & elegant solution to scouting that's simpler than what is currently in, and that helped alleviate the issue I'm whining about. Currently, none surpass "giving watch to neighbour for free", except "limiting it by type of stations that make sense". Everything that has been proposed is basically a variation of the scouting mechanic with no upside over the scouting mechanic, and sometimes great downsides. AI WAR II has made the move to simplify scouting for a reason. « Last Edit: October 07, 2019, 01:02:55 PM by kasnavada » If you don't think that giving full vision to all neighbouring planets is too strong (which it is - much too strong) then fine, go with the Station thing. It's easy. It's simple. It requires no thought or action on the part of the player. ...All entirely aside from the issue of it being way too strong, of course. If you want to finesse how vision works, without the solution being too powerful, then you're going to have to ask the player to interact and make a choice. That means clicking on something. You keep saying that, but there is no argument at all about why it's "too strong", or why you call a choice. What I see in the "stations give vision" idea is a weak capacity which leaves room for AI ambushes (explained before in the thread), and how I see in most other idea is "creating chores". About the "too strong part", if neighboring stations gave vision, the average number of planets seen in my games at late game stage seems to be about 35 to 40. At the same point in time in AI War I, I'd have COMPLETE vision on the map. Or in any "node based" (like sins of a solar empire) or grand strategy games (endless series, all moo clones...), for that matter. In a lot of them, I'd have either complete or near complete vision on the map near mid-game, with little to no actions on my part, just by playing. The only strategy games where I typically don't have that level of coverage would be starcraft-clones or or warcraft-clones. In those, however, early to mid game, I know what is on chokepoints and bases. When I don't have vision, it's because the enemy is on this particular point and the game strategy IS about hiding what the enemy does and making the player do as many actions in a minute as possible. Resending stuff in this kind of game is ok, because the game lasts for 20 minutes or so. That ain't AI War's style, so I'm going to base the first types of games as standard. In conclusion, what you call "too strong" (free vision on stations) would still requires 300 to 700 hacking point to reach what I see being the "standard". Complete or near complete vision on the map is strong. Less than half of that ? Nope. And, I'm ok with having bigger FoW in AI War. Just not to the point of gambling when moving to neighbour planets. Another point is, you're competing with "going back to your fleets to send one ship on a neighbour planet" or "sending your transport back and forth, again and again", for vision. That is in the game, and ain't going to move. So, let's compare the propositions with what you call "with choices" with that. Basically there is 2 main criterias in what is proposed. Either you can switch where you're looking or not, and they can have hacking point, or not. If they enable switching, the BEST use of the system consist in going back to whatever causes the vision to be active every X amount of time (with X as small as possible) and switch it again, and again, and again. That's whether it has a hack cost or not. That's a chore when you have to do it for dozen of hours (typical length of a game) If you don't enable the player to switch, first, it's going to piss some players of because of misclicks and specific situations like "but what if I conquer planets where I had vision, shouldn't I be refunded ?". Which ain't that awesome in the first place, but then you have to consider something else. Its costs. If, for example, you make the hacking cost low enough, like 1 for neighbouring stations, that's giving the player a choice between wasting hacking points (the NOOB way) OR sending a ship from his fleet every 30 seconds to die for vision (the "PRO", but insanely repetitive, way). Or sending a transport back and forth. You're back to the chore part. If you don't add an hacking cost, but limit the number of places you can look at, then, you're basically forcing the player to send ships from their fleets every X time for vision where you "chose" not to look. And back to the chore part. In a game like AI War... There is absolutely no "finesse" in any of this. To me, those ain't choices, they're chores. Because it's brute-force and repetitive. Currently, my late games have all past 8-10 hours. Doing repetitive actions for that long is making me dislike the game. The worst thing is that proposed actions mechanics often LOSE to "sending ships from your troops to die" in term of how interesting they are. And this mechanic makes sense in a game that lasts for 20 minutes like starcraft. Not in long games. Last point, the number of things that a player can keep track of is limited. Scouting for regular stuff is BORING. I've got nothing against adding new mechanics into the game, but, at least make them interesting ones. If you add this to the game, you reduce the "brain space" available for a new mechanic, for something more interesting. The reason I like "neighboring vision on stations" is because it's "brain dead" level of complexity. And, as far as I know, most similar games to AI War have this built-in - it's like the standard FoW in all games with nodes, at least 1 node of vision, and usually 3-4 at end-game. I don't remember people calling it OP. What I do remember, however, are threads about people making the scout mechanic from AI War less grindy (and similar threads about similar mechanics in other games, like scouting in the dominions series...). Quote from: kasnavada on October 07, 2019, 12:22:23 PM C'mon, it's not the same at all. In AI War 1 you had to find your scouts first of all, either through the unweildly specialty ships selection bar at the lower-left, or using a filter on the galaxy map, or trying to remember where your new builds currently ended up, open planet, hunt in sidebar for tiny icon (or zoom/scroll), double-click scouts, hit key to split selection until you get the right amount, tab out to galaxy map, right-click target planet. Optionally, micro scouts around so they can dodge some decloaking stuff and survive longer. What's proposed here is 1. Open Hack tab. 2. Click planet + click button, for each planet you wanna watch. Are you sure it's the exact (in capital letters no less) same? What Asteroid said. ...I kinda like the way FoW works in AIW2. It makes me feel squeezed into a tiny pocket of space at the sufferance of a cruel Landlord. The reason I say that giving vision on all neighbouring worlds is 'too strong' is because it completely removes that sense of constriction - for nothing. Granting vision like that is brain dead, you're right, and it would be a shame if that part, the most important part, of the FoW were to be lifted in such a blunt fashion. When you say "And, as far as I know, most similar games to AI War have this built-in - it's like the standard FoW in all games with nodes, at least 1 node of vision, and usually 3-4 at end-game", you're likely thinking of Stellaris as one such example, yes? And you'd be right, the Stellaris map does do that. But here's the rub: there's no such thing as a surprise attack in Stellaris; you can _always_ see whatever's heading your way. To my mind, this isn't a characteristic that AIW2 should be seeking to emulate. I like surprise attacks being a thing in AIW2. I like having monsters jump out from the darkness. I also like being able to shine a torch in a direction of my choice. The only issue I do have with FoW in the game as it stands now is the cost to lift a portion of it is too high. Or at least, it's too high for a neighbouring world (which are the locations of greatest immediate importance). Quote from: Asteroid on October 08, 2019, 02:11:09 AM Yes... You'd know if you had read my post. Especially the section where I speak of what players would do if there was an hacking cost. This is an issue IMO. I'm trying to have a constructive discussion here, not having you tell me your opinion over and over again while not reading what I write. While stellaris is another example of it, the games I spoke of were, I quote: "(like sins of a solar empire) or grand strategy games (endless series, all moo clones...),". So I got no clue why you think I'm thinking of Stellaris here. No clue why you look down on Stellaris though. And, if you'd read my post, monsters can still that still works if you got vision of your neighbours. And I actually advocate FOR being able to shine light on directions of your choices. So no clue why you seem to think I don't want that. What exactly you think I'm telling, I have no clue, but it seems to be, correct me if I'm wrong, that you understand that I want to completely remove FoW. If so, please, read my posts. I don't advocate this at all. I measured the impact of the change. Have you ? Even if I did, which I don't, cloaking, waves, CPA, and other mechanics are a thing. You can still be jumped on, surprised, and your fleets can't be everywhere at once. Last, and again, if you had read my post, you've have seen that, with the current FoW, if you actually had done your "chores" properly as a player, you'd have vision where I propose "free vision". The way you can do so is just mind-bogglingly boring that it has, in my humble opinion, no place in a game. This is quite an important point - which I'd like to be adressed, not ignored, as is being able to go out of your doors without being wiped out. Especially in a game like AI WAR 2 where losing fleet can mean minutes of netflix time. If you don't do an effort to actually read and answer what I'm writing, I'm out. BadgerBadger Arcen Volunteer Hero Member Mark III BadgerBadgerBadgerBadger I've set Logistical Command Stations to Watch adjacent planets. Lets see what people think. Logistics stations on the front line? The ability applies to all Logistical Stations everywhere. If the station is next to planets that are all already Watched then it just won't do anything. Pages: 1 [2] 3 Go Up
{ "redpajama_set_name": "RedPajamaCommonCrawl" }
It's always nice when someone mentions our research on their websites or on the news. Sean regularly gets called up for TV slots but today we're very happy to draw attention to Sean's work alongside Deutsche Bank and Wells Fargo on the Substantive Research Website. Sean's recent work has been attributed as 'Best of the broker notes' in relation to the recent fall in the pound and that old Brexit chestnut that's been kicking about for a while now. Read the full article HERE and thanks for the recognition to Substantive Research – a top notch website and one you should certainly have an eye on.
{ "redpajama_set_name": "RedPajamaC4" }
For more than 70 years, the Lighthouse Camp on the Barnegat Bay was a summer retreat for the blind and multiply-handicapped. When the camp was closed, owner Lighthouse International worked with TPL to protect the 90-acre site and to find an alternative use for the camp's 27 buildings in August 2000. The land is now owned by the New Jersey Division of Fish & Wildlife, which will lease the buildings to a local environmental non-profit for conferences and natural resource education.
{ "redpajama_set_name": "RedPajamaC4" }
Enable cookies for the best experience We want to offer you the best possible user experience on our website. Therefore, we use cookies for its ongoing optimization and analysis, for personalized messages and advertising on partner websites, as well as for social media interactions and other marketing purposes. By clicking on "Accept" you agree to this use. Your consent is voluntary and can be changed or revoked at any time in your privacy settings. You can find more information on the use of cookies in our privacy policy. September 20 & 21, 2023, Cologne September 20 & 21, 2023, Cologne Sept 20 & 21, 2023, Cologne DMEXCO Community VOD Library DMEXCO App Conference Agenda Exhibitor list Expo Exhibitor list 2022 Conference Become a speaker VOD Library Agenda 2022 Speakers 2022 Subscribe to the newsletter Stories Podcast Resources Highlights Past Years Highlights Past Years Contact DMEXCO Community VOD Library About Press DMEXCO motto for 2019 is "Trust in you" Trust plays an important role for the digital economy. Both for the industry as well as for each individual. That's why DMEXCO's motto this year is "Trust in you". A completely new app with matchmaking functions will be launched in July. The two-day ticket for DMEXCO will be available by the end of June and will cost 129 euros. "Trust in you" is the central motto of this year's DMEXCO. In 2019 EMEA's leading tech summit with focus on marketing and digital business will emphasize the importance of trust in the further development of the digital economy. Companies need the trust of users in order to offer successful products and services. Users must be able to trust that companies treat their data respectfully and responsibly. In addition the industry needs the confidence of society that digitisation will bring more advantages than disadvantages. "Our motto this year, 'Trust in You', is intended to encourage each individual and the community as a whole. I believe the members of the DMEXCO community are aware of their responsibility to society, businesses and individuals. They are committed to equality and discover the benefits of new technologies and how to use them. DMEXCO in Cologne is among one of the places where people are able to do so", says Dr. Dominik Matyka, Chief Advisor of DMEXCO. DMEXCO opens Ticketshop in June and launches App with new functionalities This year the DMEXCO online ticket shop will open by the end of June. The two-day ticket with unlimited access to the trade fair and conference will cost 129 euros. Trade visitors who only book the second day of the fair will pay only 79 euros. The combined ticket for both days, including admission to the popular DMEXCO Party, will cost 209 euros. Young agency employees up to the age of 25 will pay 69 euros with the Young Leaders Ticket, students only 29 euros. Anyone who wants to exchange ideas with the community, enjoy additional exciting events and discounts should definitely install the new DMEXCO app on their smartphone starting in July. It not only serves as a means of identification on site, but also offers users a range of interesting networking and matchmaking functions, not only during the trade fair. The app provides useful features throughout the year, such as pre-planning or scanning people and stands as integrated lead products during the trade fair visit. In addition, users regularly receive current content, exciting deals, people news and event content. Who's who of the exhibitors From AdAlliance and Adobe to Facebook, FreeWheel, Hybris, Microsoft, Outbrain, SevenOne Media, Spotify, Spryker, Taboola, Teads to Verizon Media and Xing, many prominent national and international exhibitors will again be represented at DMEXCO this year. Around 1,000 exhibitors are expected in total. "This year we are also looking forward to many new exhibitors who will be represented at DMEXCO for the first time or again. These includes companies such as Asana, AT&T, About You, Baidu, Intelligent Apps/MyTaxi and Slack," adds Christoph Menke, Director Sales & Operations at DMEXCO. New format for corporate venture capital Also new in 2019 is the CVC Side Conference: for the first time DMEXCO invites managers of corporate venture capital companies to a half-day conference. Limited, concentrated and with a clear focus on strategic investments, this new format should not only inform and inspire the participants. The focus will also be on networking with each other and actively connecting with the more than 150 national and international DMEXCO start-ups. Matthias Wahl, President of the German Association for the Digital Economy (BVDW e.V.) adds: "Trust is the indispensable basis for the success of the digital industry, because we are breaking 'new territory' every day. Confidence in the implementation of promising ideas, confidence in the regulatory framework and the support of politicians, confidence in the success of one's own performance. With this year's motto 'Trust in You', this claim finds a home at DMEXCO. We will be presenting everything that can strengthen confidence in the digital future". Impressions of DMEXCO are available online at https://go.dmexco.com/de/presse-downloads About DMEXCO DMEXCO is the meeting place and a community for key players in digital business, marketing, and innovation. We bring together industry leaders, marketing and media professionals, and tech pioneers to set the digital agenda. Both globally informed and locally focused, DMEXCO offers an ecosystem with seminars, debates, and expositions outlining the future of the digital economy and driving market value. Bringing together 41,000 visitors, about 1,000 exhibitors, and more than 550 speakers from around the world for a one-of-a-kind event each year in Cologne, DMEXCO has set the standard as the place for business minds to learn and inspire, build connections, and for ideas to become actions. DMEXCO — where tomorrow's digital business happens today. The German Association for the Digital Economy (BVDW e.V.) — with special participation from the Circle of Online Marketers (OVK) — is the ideational and professional partner of DMEXCO and the owner of the DMEXCO brand. DMEXCO is organized by Koelnmesse. DMEXCO 2019 will be held in Cologne on September 11 & 12, 2019. You can find all the information about DMEXCO 2018, as well as photos, stories, events and the podcast, at https://dmexco.com, www.facebook.com/dmexco, http://twitter.com/dmexco, and www.youtube.com/dmexcovideo. DMEXCO will be kicking off 2022 with its Digital Spring Summit on May 3 DMEXCO 2018: Digital economy puts people front and center Audi, Booking.com, Facebook, and Nestlé: the first set of top speakers for DMEXCO @home have been announced Take C.A.R.E.: DMEXCO 2018 launches debate on the future of the digital economy DMEXCO partners with Unilever Foundry to launch start-up innovation showcase DMEXCO trend survey indicates that German users are highly critical of advertising on streaming services The newsletter for digital experts Sign in to the DMEXCO newsletter Register now and stay in the know! Expo Overview T. +49 1806 145 514 info@dmexco.com Suggested Editorial Content At this point you can find external content, that complements the website. If you wish to see that content you need to give your permission for the category "Functional Cookies". Enable functional cookies
{ "redpajama_set_name": "RedPajamaCommonCrawl" }
"Bedroom Lovers" Lyric Video. 17 Apr PERFECT PLACE PRESENTS; Lovers in Bed. 7 Jan Lovers Recreate Davido's Famous Bedroom Photo And It's Beyond Hilarious! This photo of Davido sleeping with his mouth open by a lady was taken some years back and two lovers have decided to recreate the infamous photo of the musician. It really is hilarious as the lovers perfectly recreate the photo. 3 Jun "Bedroom Lovers (Sneak Peek)" The new single off Andre Mieux (A.M.X.)'s Debut Album "All I Really Want" Available on iTunes and everywhere music is sold onli.. .
{ "redpajama_set_name": "RedPajamaC4" }
E126 – Navigating The Complexities of People Ops During COVID-19 (Brad Touesnard, Delicious Brains) In today's episode, Joe and Christie talk with Brad Touesnard, Founder and CEO of Delicious Brains Inc and SpinupWP. As founder of Delicious Brains Inc, Brad has worn many hats. He now spends most of his time managing the product teams and growing the business. Before starting this company, Brad was a freelance web developer, specializing in front-end development. Joe, Christie, and Brad discuss the challenges of finding good people when competition for remote job posting is high, what it's like for entry level people in companies with limited resources, traditional and unconventional hiring process, and making dependable employees stay. Tune in and learn about the best hiring practices in the open source environment. What to Listen For: 00:35 Let's welcome Brad Touesnard of Delicious Brains Inc 02:24 Rebranding concepts for different company products 07:12 How's 2020 job hiring been for you? 10:12 Challenges competing with more remote companies in finding new hires 17:00 On people switching careers and learning new skill sets 22:55 Hiring entry level person with limited resources 25:16 Vetting candidates before going through a trial project 30:27 Finding the right people is super difficult 32:36 Keeping people for years 37:31 Promotion and position changes 40:22 Active recruitment won't go away Episode Resources Delicious Brains – "We make super awesome products for WordPress." SpinupWP – Your Own Extremely Fast WordPress Server Brad is on Twitter Leave an iTunes review or binge watch past episodes Send questions to yo@wpmrr.com for the next Q&A pod Visit the WPMRR website Tweet Joe Tweet Christie Joe Howard: All right. We are live this week on the pod. Christie, what's up? How's it going? Christie Chirin…: Hey, nothing much is up. It is the last month of 2020. So we'll see what surprises it brings. Joe Howard: Yeah, right. What's left in 2020 to bring? It's like, please no nothing else. Can we just get to 2021 already? Christie Chirin…: Yeah. Murder hornets, revolution, who knows? Joe Howard: I know. Some good things. There you go. Cool. And we've also got Brad on the podcast this week, as our guest. We get to have three people on the podcast this week, which is always a treat. Brad, tell people how to pronounce your last name, and then also some of the stuff you do with WordPress. Brad Touesnard: Yeah, sure thing. Thanks for having me guys. So, yeah. My last name is to Touesnard, but a lot of people say Touesnard because it has a D at the end that's silent. So that usually trips people up pretty good. So my company is Delicious Brains Inc. And we do several WordPress plugins. WP Migrate DB Pro, WP Offload Media, WP Offload SES, Better Search Replace Pro, and we also have a SAS app called SpinupWP, which is our new shiny product that we are putting a lot of effort into at the moment. Joe Howard: Yep. So folks these are pretty familiar, at least in the WordPress space with your company, Delicious Brains. And yeah. I'm also very familiar because I remember reading your blog posts about how you did your rebranding for all your plugins. And I was like, oh, that company looks pretty cool. And then here a couple years later, we've done our rebrand for WP Buffs and went with the same guys, and they did a great job for us as well. So. Brad Touesnard: Yeah. Your site's looking great, man. So the branding that Tim and his partner at DOS Media did. They just did an amazing job on you guys stuff. And I'm still pumped about our branding, to be honest that they did years ago. So yeah. They're really good. Joe Howard: Yeah. Christie Chirin…: I remember we read through your blog post on the podcast, so it was intense. Yeah. Brad Touesnard: Yeah, we've had since then… That first round of rebranding went really well. It was easy. But then when we were doing the branding for WP Offload SES, Tim and his partner they came up with this pigeon concept. Right? And I don't know about you guys, but a pigeon is not the most majestic bird in the bird kingdom. Joe Howard: We're not talking of a pig or a falcon. Brad Touesnard: No. We're talking about, yeah. Exactly. We're talking about a flying rat. It's what we're talking about. And so we were so against it right out from the outset. We even said in the initial brief, that we didn't want a pigeon. Even though we knew that carrier pigeons and messaging are very closely linked, and it would make for a good thing. We were just like, we don't want to pigeon. And then one of the first things that came back with was this pigeon. And we were just like anti pigeon. But then we went through a bunch of other things. We went through like a St. Bernard dog thing that didn't work. There was just a bunch of other things. And it was just this lengthy exhaustive process. And I think Tim and his partner were just getting really bummed and exhausted by us. And then eventually we just capitulated the end, and we really started to embrace the pigeon, the branding that they had done for us. And so we now have a pigeon. We've got a pigeon in our branding. Joe Howard: And this is for WP Migrate DB pro, right? Brad Touesnard: No, no, no. That's the migrating geese which are more majestic. Joe Howard: I knew [crosstalk 00:04:17] that's why I was trying to. Brad Touesnard: Yeah. And that's another reason we quoted why we didn't want another bird. Because it was going to be confusing. But no, we really like the pigeon. The pigeon that they came up with looks really slick, the brand, and so we love it. Yeah. We came around on it even though we were determined for it not to be a pigeon. Joe Howard: I think that's one thing that I would definitely rely on that team at DOS for. Is they can go from a concept that sounds like, hmm, I don't know about that, and they can take it to like, whoa, this is actually really cool. And they have the design chops. And honestly kind of the creative chops I think to help you take that step, help us take that step. We were totally like lost and they totally let us on. Pretty much how to move forward with everything. Brad Touesnard: Yeah. I think the next time we do branding, we're going to just go in with a completely open mind and not put any kind of kibosh on any ideas out of the gate. At the same time, even if we hadn't done that, I definitely would have been opening that pitch deck with like, don't be a pigeon, don't be a pigeon, don't be a pigeon, in my mind. So sometimes you just go in with preconceived notions, right? You just can't help it. Joe Howard: Yep, totally, man. Cool. We talked a little bit before we got started here. We were just chatting offline and talking about some of the stuff you're working on this year, you personally. And it sounds like you're pretty active in the hiring process, for I don't know, a few different positions, just that's where you're spending a lot of time on right now. How's that going? How's 2020 been for you? Brad Touesnard: Not great. It kind of fits with everything else that's been going on in 2020. And I think that actually, the pandemic has actually maybe thrown us a curve ball in hiring as well. Because, one of our biggest differentiators before the pandemic, was that we were a remote company, right? That you can work from home. And all of a sudden, that is no longer a differentiation. Everyone's working from home, everyone's remote. I mean, I shouldn't say everyone, because obviously there's people out there doing difficult work during this pandemic. But everyone in IT pretty much, right? Except for the people at the data centers that have to keep the server's running. Everyone else is kind of good to work from home. And so, yeah. I think that's been a big challenge. So our typical process involves posting a job to weworkremotely.com. And we just get tons of applicants from there. And we just pick from them. And this year, we've gotten way less applicants because there's way more companies hiring on that job board. SO- Joe Howard: Interesting. Total applications went down a lot this year. Brad Touesnard: Yeah. Way down, way down. We used to get close to 300 applicants for developer jobs, we would post on there. And we're getting like 20 to 30 now. Christie Chirin…: What, that's a huge change. Joe Howard: I know it's like 90%. Brad Touesnard: It's incredible. It's staggering. Christie Chirin…: I'm surprised because at least in the U.S., we're hearing a lot about just our astronomical unemployment rate because of the pandemic. Right? And granted that is mostly across non-IT, but I still heard there's plenty of people. Right? Exactly. It's a lot of surface work. But even then, I've heard of plenty of people in IT who have lost their jobs. Some company's revenues that are… At least client pipeline has gone down. So I'm shocked, what? Brad Touesnard: Yeah. I think the thing is, there's an imbalance there, though. Most people in IT haven't been affected. But most companies have stopped working in offices, right? Not most, all IT companies have stopped working in offices. So I think there's a huge disparity there. Right? And so you've got way more companies competing for job postings that are not local anymore. And you've got just a handful, relatively speaking, of people who have lost their jobs that were kind of linked to the service sector or something, right? So yeah, I am staggered too. I feel like there might be another part of the story that I'm missing. I keep double guessing myself, second guessing myself. Like, what? Did we change something? Is our job postings repelling people now? What is going on? Joe Howard: Yeah, it's funny because you're competing against a lot of other companies right now. So maybe not as easy for individual companies who are remote hire anymore, but definitely a good time for the remote job boards. I'm sure we working remotely is happening up here, right? There have a ton of people posting on, oh, we got to find more remote workers. Brad, do you feel like this is a temporary thing? Or do you feel like people, I don't know are starting to… I mean, everyone's working remotely this year. So I'm sure a lot of people are like, this pandemic sucks. Brad Touesnard: Yeah. Joe Howard: But working remotely, I could see myself doing this. Maybe I want to do this more. Do you think that you're going to probably have ongoing challenges competing with more remote companies in 2021 and moving forward? Brad Touesnard: Yeah, I think so. I think a lot of companies are not going back to offices. Especially in IT where a lot of the workers are introverts anyway, right? Now, if you're an extrovert and you thrive off of, you get energy from other people, and you're sitting in your office by yourself at home, that's going to be a problem long term. Right? It's going to be difficult. And so I feel like there's certainly some companies like an agency, for example, right? An agency with Client Services people, that thrive off that, I don't think they're going to be able to- Christie Chirin…: I don't know. I don't know. I don't know about that one. I mean, it's probably true, honestly. But at the same time, right? I'm a pretty extroverted person. And so a lot of the nature of work from home is a sacrifice to me. But the sacrifice is still totally worth the benefit, right? I just have to work really hard to fill that other part of what I need to be happy and thriving. So I think even then, we're going to see those people be like working from home is great. Brad Touesnard: Have you taken a personality test though? Do you know that you rank as extrovert? You do? Christie Chirin…: I have taken a personality test. And the shocking thing is that, depending on how I'm feeling that day, I get introverted or extroverted. So I'm right in the middle, I'm right in the middle, right? So I might not be the super extroverts. I definitely know people who are extremely extroverted, right? Who coordinate everything, and love to put events together and stuff like that. And I can definitely see those folks really struggling in a fully remote environment. Brad Touesnard: Yeah. I had my whole team take a… it wasn't Myers-Briggs, I don't think. It was some variation or something. Anyway, I don't think one person in my team ranked as extrovert. Joe Howard: Wow. Brad Touesnard: And that sort of, I work 12, 13 people, right? So it's not surprising that… Especially the way we hire, we hire, we try not to do video interviews till the very end. And we don't use that as a decision. So we don't. The video interview at the end, it's really just a meet and greet. Just for fun. We've already made a decision by that point, one way or another. And the reason for that is a bunch of… There's a bunch of reasons for that. But the primary reason is we don't do a lot of video calls as a team, right? We primarily, we do one once a week video calls for updates. And we don't really need to do that. We just do it because we want to get some face time and so that we don't turn into complete social idiots. Joe Howard: So just to clarify for your hiring process. So you only do one video meet with the person you're hiring at that point, you've already decided if you're going to hire them or not? And the rest is Brad Touesnard: That's right. Joe Howard: … communications emails or slack right or something? Christie Chirin…: That's mostly your job anyway, right? Brad Touesnard: Exactly. Exactly. Writing clearly, and concisely is a big ranking factor for us. And, yeah. So yeah, we actually have been doing text-based chat interviews over Google Docs. So the interesting thing with Google Docs is that you can actually see them, every letter they type you can see as they type it, whereas typically with like a slack chat or something like that, they have to hit enter after they've typed their whole message and then you see it all. But you can see their thought process and they're backspacing and everything as part of the chat when you use Google Docs to do the interview. And so it's a little nerve wracking, I think for the candidates. But we haven't had any serious complaints about it, and I feel like we glean a lot. We know we really get the cadence of their thought processes and just how quickly they type. And there's a bunch of information that comes from doing it that way. So yeah, we found that pretty effective way of doing things. It's really bizarre. Joe Howard: Did your team come up with that? Or is that something you've [crosstalk 00:14:32] Brad Touesnard: I think I came up with that idea myself as part when I was developing the hiring process. Yeah. Joe Howard: Yeah. That's a cool idea. I like that a lot. I like the idea of not doing a lot of video through the interview process, especially if your job is based on written communication. It also is a nice way to take pressure off of people who may be more of introverted maybe not as much video people, and want to showcase their skills in a different way. Brad Touesnard: Exactly. Exactly. Joe Howard: Also, that means there's always going to be some kind of pressure in a job interview. I mean, it's a job interview. So it's, it can't be, no pressure. And there probably should be some pressure because, working a job to get some kind of results has some kind of pressure too, right? The Google Doc sounds like a nice happy medium, because it's, you can write, and someone can be there hanging out with you and chatting with you. But you get to glean a little bit into that process. And I totally get the backspacing, or the speed of typing, and looking into people's thought process. I bet you see people like, oh, I really liked that he or she deleted that little part and rewrote it, because I think that how they rewrote it was better. That glean in those little things are, a lot of times can be helpful. Is this the right candidate or not? Brad Touesnard: Yeah, totally. Joe Howard: I mean, still[crosstalk 00:15:54] Christie Chirin…: I would find [crosstalk 00:15:54] Brad Touesnard: What do you do? Do you guys, yeah, do you do interviews over video early on or? Christie Chirin…: I can talk about Caldera, because Liquid Web has a very traditional hiring process, right? But we used to do slack interview. We'd bring them on as guests, and they would have a time and things like that. But we would do a slack interview, right? Because, again, we're testing for your skills about what you're actually going to do here, not your interviewing skills, right? So we're going to be talking over slack a whole lot more than we're ever going to be talking on video. Right? So that was how we started. Yeah. And then the rest of it was pretty traditional. But we started with a slack interview, because that's the basic skill, right? Almost anything else, depending on the role, of course, but almost anything else we can teach you when it comes to tooling. And that's the one thing I can't teach you, or at least don't have the resources to. What just can you effectively communicate asynchronously in short messages? And I don't know, I'm kind of curious. And I want to come back to this thought, right? But I'm really curious about what both of you think about how the current moment presents an opportunity to teach people stuff. To bring on the people who maybe aren't currently IT workers, but could reasonably switch now that we're going to be focused more on online work from home and things like that. So I'm kind of curious. Joe Howard: Yeah. I think that's super challenging. I've had a couple WordPress friends reach out to me, like, hey, I have a friend, or someone I know who's looking for a job, they're looking to get into a tech job, or technology job, or WordPress job. And they have been the manager of a clothing store for three years. And I've had reservations about potentially hiring those people. And I think my reservations stem from having to do a ton of teaching and education. And that's a big commitment. I don't know if we have the systems built out to… We can teach people how to do basics of most things, but around the WordPress community. How does the WordPress community work? How does WordPress work? How does open source software work? That takes a lot of experience. I think, took me a lot of time to figure that stuff out. And to bring someone who's like, what's WordPress? Or WordPress with a lowercase p? It's like, okay, there's a lot to dig into here. So I've been hesitant actually to hire people from outside of kind of at least some experience in working in a technology coming or working in here. But Brad, I'd be interested to hear what your thoughts are there too. Christie Chirin…: Yeah. Brad Touesnard: Yeah. My biggest reservation there would just be digital communication. I mean, I see this on a daily basis, with the other people, non-IT people that I interact with. Is they're just, they can't even do email right. They're replying all saying, thanks. And just breaking all the rules of like digital etiquette, right? Brad Touesnard: And I'm just like, oh, man, this would be so painful to try onboard someone like this, and to just train them up on basic things like, how to email properly. I'm not saying- Joe Howard: I think [crosstalk 00:19:37] when someone posts a new post and doesn't reply to the other post about the same topic, don't start a new post reply to that. And that's even another level. Yeah. Brad Touesnard: Right. Right. But I mean, they wouldn't even… Potentially they would have a hard time even getting their head around slack. Right? If they're having a hard time with email, right? And the etiquette there. So everything would be new to them, or a lot would be new to them at a basic level. And I think that would be very difficult for a small company to absorb someone and have to train them up at that very basic level. I could see larger organizations being able to do that, and having the processes in place to handle that. Because larger organizations tend to take on more junior people anyway, as part of their whole growth strategy and hiring strategy. For us, we don't even take on intermediate and junior people, because we felt like we would be spending so much of our resources, the little resources that we have, just training those people up and getting them to a point where they're going to be a valuable member of the team. And then they might leave. Right? Is the other thing. And we've only got 13 people. So yeah, I feel like you need to be a much bigger company to take on some of the basics. I would say at least 50 people you would have to be… I think that's kind of the number I have in my head anyway. Joe Howard: Yeah. I feel like I want an academy or a training section of my company, right? It's you see a bunch of big Fortune 500 companies doing a ton of technology education for youth around the world. A lot of that is they want to be a good company, and maybe make the world a better place. But there's also the advantage of, hey, in 10 years, that person could be an employee here, because we helped bring them up. Right? Brad Touesnard: Exactly. Joe Howard: There's that thought process. So yeah, Christie, I'd be interested to hear it Liquid Web, like you said, you have a more traditional approach. Do you all have, or have you this year, you may not be super privy to all the hiring stuff, but have you seen folks come into Liquid Web who have not had traditional backgrounds? Or is it mostly people who have had some experience? Christie Chirin…: It goes either way. With Liquid Web in particular, I mean, we're 1000 person company. So- Joe Howard: You don't know every single person [crosstalk 00:21:54] Christie Chirin…: Well, the thing is I probably know more people on the average part of that 1000 person company, right.? And that just has to do with my role and my personality. Joe Howard: Extroverted, yeah. Christie Chirin…: But in the middle, right in the middle. But it depends, right? I think that even a company like Liquid Web isn't going to hire someone with absolutely zero tech skills, right? And I also think that today in particular, there really aren't that many people with zero tech skills. I mean, there's a lot of people with zero tech skills. But a lot of the technology skills that you need to come in with are now things that more of us are practicing. Right? Just for daily life, especially now that we're living in this weird, topsy turvy post apocalyptic pandemic world, a lot of people have had to learn how to communicate online. Have had to learn how to use Zoom, right? Have had to learn how to write. So I think the tides are changing a little tiny bit, right? And I don't want to be discouraging to anybody in that position. For the most part, though, Liquid Web is traditional in it's hiring. And so part of that means that you don't see a whole lot of sort of career switchers, right? You see, roles being posted, and people with experience coming in. Some of the roles are deliberately posted as entry level roles, right? And the company is still looking for the relevant credentials for an entry level role, right? And so with Liquid Web, it's more in the traditional. And I definitely agree with you both that for a small company, the amount of resources that training requires, is massive. And training is a skill, right? I don't think that everyone who is a CEO, or an owner, or a technology lead is necessarily going to be the best teacher. And that alone brings on a level of complexity that is not going to be easily approachable to most small companies. The other thing too, is it's not the best thing for the entry level person, right? You mentioned that they might leave. But it's really hard to start out in a position in which you don't have mentorship. And you don't have a lead in whatever you're trying to do to learn from and grow from. Right? And I think that that can also be a disadvantage, but is that disadvantage heavier than the disadvantage of getting your foot in the door? I don't really know. Joe Howard: Yeah, interesting. Also this kind of transitions into something else that Brad you put as maybe a potential topic we could talk about today, which is, when you're rating potential candidates for a position, there's this intuition versus scorecard, I don't know, conversation. Some people may do more of a formal scorecard. We used to do pretty formal scorecards around what we thought about answers to certain questions. Was this a 7 out of 10 answer? This seemed like a 7 out of 10 answer. Actually, I remember we specifically didn't do 7 out of 10, we weren't allowed to give 7 of 10s because 7 of 10 is like a total awful answer. It's not good and not bad. But it's just in the middle. So we were like either six or eight, or any other number out of 10 besides seven. Christie Chirin…: No 7s. Joe Howard: But anyway, you could give… Yeah, no sevenS. But we'd like go into a Google Doc, or a sheet. And we'd like go and average the numbers and, okay, this person got like, an 8.2. And this person got like an eight. So was one person better than the other? And don't really do that anymore. Brad Touesnard: My point too. Clearly he's better. Joe Howard: Yeah, exactly. But we've kind of transitioned to more, I think, intuition based. And we think you're going to be good. We've done some qualifications on you. Let's do a trial period. But and see how this actually works. And that's, I think, worked out better for us. But I'd be interested to hear Brad what, your thoughts on there? Because you had this as a point you want to chat about it? I don't know what you guys do over there. Brad Touesnard: Yeah, man, I feel like our hiring process has gone from, so the approach was just throw them in the deep end and sink or swim, we would literally just take several candidates that we barely even vetted and just throw them at the project, and just add them to GitHub and everything and just say, here you go pick up some issues, start contributing to this project, right? Kind of almost an open source kind of mentality, right? And the problem with that is, super disruptive to our team, right? Because you've got all these other people in there just fiddling around and trying to learn on the fly, and they're asking questions, it was a mess. So we do a lot more vetting now before we get to the stage where we bring them on into a trial. But our trial now is still based on our product. So it's like a fork, we just make a copy of our product repo. And we just copy some issues into there that we feel like this person, or that the role would be revealing for the role. And things we want to see. And then they just do that. They open a pull request for that stuff and commit some code, and we review it, and we give them feedback and they fix it. And we just go through the process that we normally would. And that's been the best trial project. We've in the past also come up with these conceived trial projects for people. And that's been a really false positive signal in the past. Because we could try this project, and it was too simple for the person to get their head around. And so they did great on that project, but then they get into our actual plugin, and they can't get their head around it, the concepts are eluding them. And so yeah, we've really kind of gone back to the old way of like throwing them in the deep end in a way, but just in a way that's less disruptive to our team. And that's been pretty good. One other problem we've had, though, is that so what part of our process is to review sample code upfront, as part of kind of the application process we ask in your in the application. Can you provide some sample code that we could quickly review to see if you're in the same arena as what we're looking for here? Right? And a lot of people especially when we're hiring Laravel developers for spin up, a lot of people say they don't have any code to share. Everything's under NDA or whatever, right? And I think that's just the difference between Laravel world and the WordPress world, whatever WordPress world is GPL everything right? So it's kind of all open source if you're working on WordPress stuff. So you should be able to share pretty much anything you work on there. Whereas Laravel is much more private and protected stuff. So now with Laravel developers, we have to have this kind of code challenge project that is contrived, that allows them to do something that can show us, can you cut it? Will you be able to cut it when you get into our application? Right? So we have to contrive something there just for those people. But then we still bring them into our app and try them out sometimes, right? If we're still not sure. So our process is really fluid. And it really if we're not feeling sure about something, we'll figure out a way to squash that uncertainty before we make a commitment, especially if someone is employed full time and has to leave their job to come and work for us. Right? In those situations, you don't want to say, yes, you're hired and then find out two weeks in that they're not a fit. And then they're out at sea. You just let them go. Right? It's tricky, man. It's so tricky. Joe Howard: It's tricky is like the number one word I use for hiring stuff. Because it's a huge challenge. It's no matter how good or bad, I feel that someone's almost it's like anything could happen, right? As someone who's hired a good amount of people successfully, but also had a lot of issues hiring in the past, over the past three years, like I've probably had, we've had, I'll say we, I have personally had like three or four people who I've hired who just didn't work out very well. And usually I can look back, in the moment it's hard to say I need to let this person go. It can be difficult to say that. Brad Touesnard: Sure. Joe Howard: But then after it's done, I can always look back even to the application process, even to their first week. Obviously, there's more stuff we could always do for onboarding and helping people get better at that. But there's usually something I can look back at to say, hmm that was maybe a red flag for something that could have turned into something bigger. Brad, I don't want to call you out. Maybe you've had some hiring that's worked out. Maybe some it hasn't worked out. Any arounds hiring it hasn't worked out where you've seen something like that? Anything specifically you've seen that you look back and like, oh, that wasn't, I should have listened to myself more and notice that, that might have been an issue? Brad Touesnard: Yeah, I feel like in the past I've given up that is the hiring decision to my team without guidance. I mean, that was a huge mistake. That was probably the biggest mistake I've made hiring in the past where it's just I said, you guys hire this person. And just like, you're on your own, you've never hired anybody before, but I'm sure it'll work out. Is basically the approach I took, which is terrible in retrospect, right? Everything that doesn't work out is always terrible and retrospect. But at the time, it didn't seem like that big of an ask that they would just figure it out. But in retrospect, the hiring is super difficult. Of course, I'm not very good at it still. And I've been doing it for years. Joe Howard: That's my thing. I was like, I'm not very good at it. Someone else should probably help him please. Brad Touesnard: Yeah, yeah. So yeah, that that was probably the biggest thing. And then, like I said earlier, we contrived of a project that didn't actually test their skills very well to test kind of all the important parts. And so in retrospect, we look and say, oh, yeah, that project is a bad project to actually use as bedding. So yeah, that's true. I'm sure there's a dozens of others if I… I'd rather not sit down and make that list though. Joe Howard: Yeah. Exactly. It's a stressful list to put together. Brad Touesnard: And I feel it's kind of whack-a-mole too. I feel like there's going to be something new next year that's never happened that someone gets in through the cracks. And then we find out, oh, shoot. Yeah, we got to- Joe Howard: Another thing. Brad Touesnard: … watch out for that in the future. Joe Howard: Yeah. How about well, maybe we could talk about the other side of the coin? The positives people who have worked there for a long time. Anybody or your best team members, people who've been there, and you can really lean on and trust in a really core members of the team, maybe some positives from some of their, I don't know, because there's kind of hard skills and soft skills. There's obviously technical chops that your developers need. But then there's also soft skills around communication. How do you use slack? Like, okay, they can just do it. Anything specifically that comes out to you as things that… I usually think about it, the people I manage directly, if they can make my life easier as a manager, I don't have to sit over their shoulder, they get their stuff done, they're good team members. To me if they can do that they're 80% of the way they are, right? So anything from your perspective, though, where you're like, this is what tells me this person is the bomb. Brad Touesnard: Yeah. Well, I mean, our retention has been excellent. We just had our first team member leave that's been with us for a long time, which is sad. But he was moving On to new exciting things. And so we kind of celebrated it. But there was a somber mood to it too, right? Joe Howard: Once you get to 10 plus people statistically speaking at some point.[crosstalk 00:35:11] Brad Touesnard: Yeah. So he had been with us since 2015, so five years. We still have five people that have been with us for at least that long. And we got two more that have been with us, I think, for three or four years. And then the rest are newer ones, been with us for two, and the others are much newer. So yeah, retention rates are really good. We had one person stay for two years and leave, our marketing manager. That happened. But I think largely what happened there is that she hired someone under her to help her with a bunch of tasks, and it kind of replaced a lot of the work that she was doing. It kind of filled her role a little bit too much, if you know what I mean. So she kind of made herself obsolete. Joe Howard: She was stuck between manager and individual contributors. She was just kind of like, [crosstalk 00:36:24] Brad Touesnard: Yeah, yeah. I think that's a bit what happened there. And I mean, the idea there was to grow. For her to become more of a high level person. Right? But she was having difficulty doing that, I think. And so she ended up leaving the company. Which is fine. We've been fine ever since. So it wasn't like, oh, this is devastating. We're not going to be able to keep going here. That would be bad. Right? If you lost that key person. Joe Howard: Yeah. Yeah. I feel like honestly, at this point most people on our team, if they quit or had to leave, things would be okay. But there are definitely probably two or three people who I would be stressed if they left. Because they're really core to the team, which is good, right? They're really core contributors. But if they left, that would be a challenge for us. Which is, that's a challenge too. So you want to have people it's like, where do you want people? You want people to be dependent on but not too dependent on? Yeah. Brad Touesnard: Right. Yeah. Yeah, I mean, I feel the same way. I just promoted, I mean, promoted it's a weird word. Change the role is probably a better word. He went from being a developer primarily to be a manager. So he's managing a development team. He's doing almost no coding, actually. Yeah, he's doing little tiny bit of coding still, here and there. And doing some PR reviews. But other than that, he's just managing the projects, and the products, and eventually going to be doing some UX work and stuff like that, product managers stuff. And then we have another person, again, this person's been with us for over five years. And he's kind of taken on a lead developer role within one of the teams. And so yeah, if for one of these… The whole reason for this was to take a bunch of stuff off my plate, right? There kind of stepping into a new role and taking away a bunch of stuff that I've been doing, right? So yeah, if they were to leave, it would really, really suck because I would have to inherit all those things again, until I could find a replacement. And one of the only reasons that I felt confident in giving up these responsibilities to these people, because they've been with me for so long. They know everything so well. And I trust them. Right? And so yeah, if they were to leave, it would be really difficult, so. Joe Howard: Yeah. Totally. The one other other thing I wanted to chat about here, in this podcast actually is based on what we all started talking about, which was how you're seeing fewer leads come in for new hiring prospects. So top of the funnel. And I wanted to talk a little bit about that, because as someone… I personally, I've adjusted my hiring structures somewhat from just basing it on these websites where I post a job, and I get candidates, to actually doing more, "recruitment." That sounds really formal, but it's more just using my network to reach out to people. Allie Nimmons is on our team now. That started from a Twitter DM where I DMed her a project I think she was helping her coworker Michelle raise money for a laptop. And I Dmed her and was like, this is a really cool project, super cool. And that eventually turned into now she's our community person and rocking it. Brad Touesnard: Nice. Joe Howard: And I'd be interested to hear also from you Christie around… I mean, Liquid Web is 1000 person company, right? So you probably have an HR department that does outreach and has a certain candidate quota every month. But Brad is a smaller company, wondering if you do any outreach for people like Slack, DMs, and the making WordPress channel, reaching out to some educators in the space, we have a collection of like 100 freelancers they work with, hey, anybody, you know who could do this? Yeah, and thinking about that as kind of to support your process of getting candidates on the top of the funnel. Christie Chirin…: Out button real quick. I want to hear Brad's answer. but I will let you know that, that recruitment process never really goes away. Yes. Liquid Web has an entire HR department. And they do all the HR things. Like wellness programs, and paperwork, and onboarding, and all this stuff that you associate with a larger company. But, my job still came from a Twitter DM from Chris. So it never goes away. Right? [crosstalk 00:41:19]. I don't think that, that process ever becomes like hiring is completely disassociated, and 100% outsourced to HR. It's always going to be about networks. And that's true for people looking for jobs, too, right? You have a better chance when you know someone who works in the company, even if it's not someone who works in hiring, why? Because they could talk to a hiring manager, because they can make your name relevant in a stack of resumes, blah, blah, blah, all the regular sort of employment advice. Right? So that's a bit about Liquid Web. I can definitely talk to how things were at Caldera. I mean, a lot of the things that you all are talking about are different for me. And that was because we did bring on entry level people. And that was because it wasn't difficult for me to teach. Right? And that just sort of comes with again, it's a skill and people are different levels of knowledgeable and also interested in it, right? Because it does take a lot of patience. And it does take a lot of effort and investment, right? But for me, I mean, a ton of my job responsibilities now is to teach the product catalog to sales, to the partner team, to new support people to things like that, right? So this is just sort of, I hate these words, too. But kind of a natural competency, right? And so when you're looking at entry level roles, that funnel is just going to be bigger, it's just going to be bigger. And that sometimes helps if you have the structures or the time to put into bringing someone on and then documenting all that stuff, and then reusing all that stuff for the next person, which is more of what I have been doing here at Liquid Web. But outside of taking on that strategy, it's hard to get qualified people. When we were looking for roles that were intermediate to senior, it was really hard to find people. A lot of recruitment was required. A lot of people didn't make it through even if they weren't entry level, just because there were key pieces of information that we just couldn't teach. And I don't have a great answer. But I do want to add that at no point does active recruitment go away. Brad Touesnard: Yeah. Totally, totally. I mean, so my second hire Ian Polson, who's still on the team, and he's actually the product manager I was talking about earlier. He was hired because he replied to a tweet. I had posted that I was hiring. So we already had a relationship because he had bought WP app store from me. And he still runs WP app store today, which is now it's just a deal site, right? And that's what it was when he bought it from me. It's kind of like, app Sumo, but for WordPress products, right? And he still runs that today. And anyway, yeah. He reached out to me on Twitter, and he said, hey, I might be interested in this. I think it was around the post that I'd written where it's like, come work for me, and I'll teach you how to launch your own product. Or something like that. It was kind of an apprenticeship kind of thing except paid. You actually get paid for your time. So he reached out to me for that. And then I think I reached out to Matt Shaw, who's also with us still and had a conversation with him. And then it turned into an acquisition. So he had his own product, Better Search Replace. And it was basically turned into an aqua hire. And so Matt came to work for us. And that product rolled into our catalog. And the rest is history. So I agree. And I have been talking to people who know us from our content and our products. Some of the best candidates that we get applying, by far actually are people who know us already, right? Know our products and want to work for us. And are very enthusiastic about it. And they demonstrate that in their application. Right? I would say active recruitment has never been a thing for us. And we've only really been considering it lately, because it's been so difficult to hire lately, but yeah. Joe Howard: Those are all interesting anecdotal stories. Very interesting we've all had Twitter experience of a hiring process. I'd second what you said about people who know your product or good potential hires. I've talked to the team at Beaver Builder, and Anthony is their marketer over there. He was just a Beaver Builder power user. And they hired him because he just knew Beaver Builder so well and had marketing chops. Like boom, easy hire, right? Brad Touesnard: Mm-hmm (affirmative). Joe Howard: And then for us, I hired Alec who's our head of growth. And he was a WP Buffs' white label partner before we hired him. And so he knew the white label process. He was a white label partner, he was using it to grow his business. So he knew the benefits of it. He knew the ins and outs of it and obviously had learned from our side, but. He talked about Christie listening to us on podcast episodes during when he was applying. And it's a small thing, but it's an impactful thing. You know about the company, you know about us. And he's been fantastic so far. So I think these little gold nuggets are important. Yeah, cool. Brad Touesnard: [crosstalk 00:47:42] Yeah. Speaking of HR, oh, sorry. Christie Chirin…: Oh, no, no. It's okay. I was just shining in that what Joe just described with Alec happens a good amount at Liquid Web too. Especially when it comes to sales posts. Joe Howard: Sales post, a lot of Liquid Web. Totally. Brad Touesnard: Oh, yeah. I would imagine. Yeah. Speaking of HR, though, we are now, after this year of, basically, I spent so much time hiring this year, I'm starting to consider a part time HR person to really do some of the heavy lifting around hiring. Because I feel like we've probably hit the point now where we are just going to be hiring kind of perpetually. And if I don't have help with that, then I'm just going to be the one doing it perpetually. So a recruiter or someone to like filter applications, and maybe do initial contact with applicants. I've been doing all of that myself this year. And I really need to give that up. I need to get over the idea that I'm some kind of special evaluator of these applications. I don't think I am. I know I am not. But yet when I'm doing it, I'm feeling like, oh, I'm so good at this. Joe Howard: Brad after we wrap up here, we'll do some [inaudible 00:49:04]. Because we just hired a People Ops manager, part time People Ops manager. Brad Touesnard: Okay. Joe Howard: It's changed a lot of what we do and made things a lot easier for Nick and I in terms of hiring process. So I will help to push to help you find someone, if you could connect me, this is a nice trade here, right? For HR stuff. I would love to talk to quid pro quo. Brad Touesnard: It's a quid pro quo. Joe Howard: It's a quid pro quo, here we go. I would love to talk to your designer, because I would be interested in not hiring that person. But I would love to maybe cook into their network, and to find help them help me find a designer because, I see all the stuff you guys put out at Delicious Brains. And everything is… beautiful, impeccably designed, and you can tell that you have an in house designer, and not just a design firm helping you out. I can tell it's all works together really well. So yes, quid pro quo. Sorry. But like I want to[inaudible 00:50:01]. Brad Touesnard: I don't know how much Louis is going to be able to help you. I mean, first of all, Louis is an incredible designer, and I'm so fortunate to have him on the team. And it was a pretty difficult hiring process to find him, though it was only one round. I feel like how good Louis is, it should have taken three rounds to find someone like him, right? So I don't know how a day he was working at an agency. He saw our job posting and he applied. It was really that simple. I don't know how much he's going to be able to help you there. It's probably going to be luck, Joe, I'm afraid to say. Joe Howard: Turns out usually that's the case. And so, yeah. I'm with you there. But cool. Well, let's wrap it up. We've been doing like 50 minutes or so. So yeah, appreciate you being on Brad. Why don't you tell folks websites, Twitter handle,- Joe Howard: … places they can find you online? Brad Touesnard: Yeah, @bradt on Twitter, and you can find our products at deliciousbrains.com and spinupwp.com. Joe Howard: Yes. Cool. And last thing Brad, we ask guests to do, on the show is ask our listeners, for a little iTunes review. So if you wouldn't mind asking our listeners right now for a little five stars here, we'd appreciate it. Brad Touesnard: All right, folks. It's time to do a little work. Not really, though, is it? It takes like than five minutes to do this, right? You go to iTunes and… Actually do you have to go into the iTunes app to do this? Or can you go to the website? Or where do you go? Joe Howard: You can go to the website. My computer has a little pop up window when I go to the website. It says, do you want to open this in iTunes? So then I just opened it in iTunes but we also have a redirect so people couldn't just go to wpmrr.com/itunes and whatever your devices does with that, it'll take you to that view area. Yep. Super easy. Brad Touesnard: So wpmrr.com/itunes. That's easy. Just do that. And then two minutes later, you're done. And you've done a really nice thing, for Joe and Christie. I mean, that should make you feel good. Right? Joe Howard: Oh. There you go. So, as always, we appreciate those. Leave a little comments with something you learned from this episode, and then we can shoot the screenshot to Brad's Twitter. Thanks, Brad, appreciate you getting helping us get a review. And will also help us choose what other episodes to do if we get a bunch of reviews about a hiring episode. Hey, we'll talk more about it in the future and bring other folks on to talk about it too. So cool. If folks are new listeners, we got a few older episodes. Right Christie? Christie Chirin…: We have hundreds of older episodes. Is it hundreds? I think it's 100, and then some 10s. Joe Howard: 100 with maybe a super small, s or something. 120 or so. Maybe not multiple 100's, but 100 plus 10's. Yeah, there we go. Christie Chirin…: There we go. Joe Howard: … of episodes in the bank. So go and check out some older content specific to challenged. We have a search on the website. So hey, you're having trouble with pricing, search pricing, we got a bunch of episodes on that kind of stuff and everything else under the sun. If you have questions for us at the show, Christine I always want to do more Q and A episodes. So shoot your questions into where? Christie. Christie Chirin…: Into joe@wpmrr.com. Joe Howard: I just had that inbox redirected to my team to help me handle that because I'm not very good at checking email. So they'll be checked even better now that inbox. So that's another reason to send those in. Or you can just hit us up on Twitter @JosephHHoward, @xtiechirinos. Christie Chirin…: Yeah. X-T-I-E Chirinos. That's C-H-I-R-I-N-O-S. Yeah. I got an email from joe@wpmr.com. Allie forwarded it to me. It was very exciting. Joe Howard: There you go. Perfect. Makes it easy. All right, that's it for this week. We'll be in your podcast players again next Tuesday. Brad, thanks again for being on man. It's been real. Brad Touesnard: Thanks, folks. Appreciate it. Joe Howard: See you everybody. Bye. E127 – Making the Internet 100% Accessible by 2025 (Rafi Glantz, accessiBe) E125 – Finding Success at the Intersection of Design and Development (David Yarde, Sevenality)
{ "redpajama_set_name": "RedPajamaCommonCrawl" }
Myth and the Russian Pogroms, Part 2: Inventing Atrocities May 11, 2012 /80 Comments/in Anti-Jewish Writing, Anti-Semitism, Featured Articles, Historical Anti-Jewish Writing /by Andrew Joyce, Ph.D. Having grounded ourselves in the history of Russia's Jewish Question, it is now time for us to turn our attention to the anti-Jewish riots of the 1880s. The following essay will first provide the reader with the standard narrative of these events advanced by Jewish contemporaries and the majority of Jewish historians — a narrative which has overwhelmingly prevailed in the public consciousness. The latter half of the essay will be devoted to dissecting one aspect of the Jewish narrative, and explaining how events really transpired. Other aspects of the Jewish narrative will be examined in later entries in this series. While a work like this can come in for heavy criticism from certain sections of the population who may denounce it as 'revisionist,' I can only say that 'revisionism' should be at the heart of every historical work. If we blindly accept the stories that are passed down to us, we are liable to fall victim to what amounts to little more than a glorified game of Chinese whispers. And, if we taboo the right of the historian to reinterpret history in light of new research and new discoveries, then we have become far removed from anything resembling true scholarship. The Jewish Narrative. In 1881 the 'Russo-Jewish Committee,' (RJC) an arm of Britain's Jewish elite, mass-produced a pamphlet entitled "The Persecution of the Jews in Russia," and began disseminating it through the press, the churches, and numerous other channels. By 1899, it was embellished and published as a short book, and today digitized copies are freely available online.[1] By the early 20th century, the pamphlet had even spawned a four-page journal called Darkest Russia – A Weekly Record of the Struggle for Freedom, ensuring that the average British citizen did not go long without being reminded of the 'horrors' facing Russian Jews.[2] The fact that these publications were mass produced should provide an indication as to their purpose: It is clear that these publications represented one of the most ambitious propaganda campaign in Jewish history, and combined with similar efforts in the United States, they were aimed at gaining the attention of, and 'educating,' the Western nations and ensuring the primacy of the 'Jewish side of the story.' Implicit in this was not only a desire to provoke anti-Russian attitudes, but also copious amounts of sympathy for the victimized Jews — sympathy necessary to ensure that mass Jewish chain migration to the West went on untroubled and unhindered by nativists. After all, wasn't the bigoted nativist just a step removed from the rampaging Cossack? The first element of the narrative advanced by the RJC is essentially a manipulation of the history of Russian-Jewish relations. It holds that the Jews of Eastern Europe have been oppressed for centuries, their whole lives "hampered, from cradle to grave, by restrictive laws."[3] It was claimed that the Russians had an unwritten law: "That no Russian Jew shall earn a living."[4] Russian Jews, according to the Russo-Jewish Committee, have wanted nothing more than to participate in Russian society, but have been rebuffed time and again as "heretics and aliens." The Pale is an impenetrable fortress, where every Jew "must live and die." Implicit in this interpretation of the history of Russian-Jewish relations in the belief that "the fount and origin of all the ills that assail Russian Jewry" has nothing to do with the Jews themselves, but everything to do with the Church, the State, and the Pale. In essence, the plight of the Jews was the result of nothing more than irrational hatred. Jews adopt a meek and passive role in this narrative, having committed no wrong-doing other than being Jews. They are also presented as the only victims of Russian violence. There is no acknowledgement of failed Russian efforts to break down the Jewish walls of exclusivity and claim the Jews as brothers. In fact, there is no reference at all to the walls of exclusivity. The pogroms themselves, according to the Jewish narrative, broke out following the assassination of Alexander II, when shock, anger and a desire for revenge brought this irrational, rootless hatred to the surface. The second element of the Jewish narrative is that the government and petty officialdom had some role to play in organizing and directing the pogroms. Much disdain is heaped on the government, and petty officialdom, which was said to have been afflicted with "a chronic anti-Semitic outlook." It was claimed that when the riots began, the government was "not altogether sorry to let the excitement of the people vent itself on the Jews."[5] In reference to the restrictive May Laws, the authors were forced to concede they had never really been enforced, but maintained that "whether moderately or rigorously applied, the May Laws still remained on the Russian Statute Book."[6] The third element of the Jewish narrative is that the pogroms were genocidal, and that they had been organized and perpetrated by groups seeking the extermination of the Jews. The 1899 edition of "The Persecution of the Jews in Russia" included a copy of a lengthy letter written to the London Times by Nathan Joseph, Secretary of the RJC, dated November 5th, 1890. In the letter, Joseph claimed that in the present circumstances "hundreds of thousands could be exterminated,"[7] and that Russian legislation in relation to Jews represented "an instrument of torture and persecution." In sum, the Jews of Russia were claimed to be living under "a sentence of death," and it was further claimed that "the executions are proceeding." The letter ends with an appeal to "Civilized Europe" to intervene, chastise Russia, and aid the victimized Jews.[8] The fourth key element of the Jewish narrative is that the pogroms were extremely violent in nature. Contemporary media reports especially were the source of most of the atrocity stories, reportedly gleaned from newly-arrived 'refugees' who had given statements to the Russo-Jewish Committee about the pogroms they had fled. In these reports, which were carried very regularly by both the New York Times and the London Times, Russians were charged with having committed the most fiendish atrocities on the most enormous scale. Every Jew in the Russian Empire was under threat. Men had been ruthlessly murdered, tender infants had been dashed on the stones or roasted alive in their own homes. During a British parliamentary consultation on the pogroms in 1905, a Rabbi Michelson claimed that "the atrocities had been so fiendish that they could find no parallel even in the most barbarous annals of the most barbarous peoples."[9] The New York Times reported that during the 1903 Kishinev pogrom "babes were literally torn to pieces by the frenzied and bloodthirsty mob."[10] A common theme in most contemporary atrocity stories was the brutal rape of Jewish women, with most reports including mention of breasts being hacked off. There are literally thousands of carbon-copy reports in which it is claimed that mothers were raped alongside their daughters. There is simply not enough space to cite extensively from these articles, but they number in their thousands and are available to anyone with access to the digitized archives of any major newspaper, or the microfilm facilities at major libraries. In addition, these articles claim that whole streets inhabited by Jews had been razed, and the Jewish quarters of towns had been systematically fired. The 'atrocity' aspect of the narrative has continued to be advanced by Jewish historians. For example Anita Shapira, in her Stanford-published, Land and Power: The Zionist Resort to Force, 1881-1948, claims that "each series of new riots was worse than the one preceding, as if every bloodbath provided a permit for an even worse massacre."[11] Shapira further hints that the murder of Jewish babies was common during the pogroms, stating that a common worry of Russian Jews was "Will they take pity on the small babies, who do not even know yet that they are Jews?"[12] She concludes one particular section on pogrom violence by stating, without referencing any evidence, that there were "numerous acts of rape," and that "many were massacred — men, women, and children. The cruelty that marked these killings added a special dimension to the feeling of terror and shock that spread in their wake."[13] Joseph Brandes, in his 2009 Immigrants to Freedom alleges, without citing evidence, that mobs "threw women and children out of the windows" of their homes, and that "heads were battered with hammers, nails were driven into bodies, eyes were gouged out … and petroleum was poured over the sick found hiding in cellars and they were burned to death."[14] Another crucial element to the Jewish narrative is that Russia is barbaric, ignorant, and uncivilized compared to the Jewish citizens of the country. Russia is said to be lingering in the "medieval stage of development,"[15] and in comparison to the "ignorant and superstitious peasantry,"[16] Russia's Jews are presented as an outpost of Western civilization — they are urban, and "intellectual." The RJC publication argued that university quotas allowing 5% of the student body to be made up of Jews were insufficient for "an intellectual race." Astonishingly, it is claimed that "the root of the whole matter is racial arrogance,"[17] though this arrogance of course is said to emanate from the Russians. The RJC charged the government with criminal sympathy, the local authorities generally with criminal inaction, and some of the troops with active participation. The situation, they argued, was simply so hopeless and the possibility of extermination was so great, that the only way out was for the civilized nations of the West to throw open their doors and let in these poor 'Hebrews'. And to a great extent this is exactly what the churches, the politicians, and the media agreed to. This capitulation to manipulated conscience ushered in the greatest migration in Jewish history, with profound consequences for us all. But there was just one small problem — the vast majority of this narrative was a calculated, designed, and expertly promoted fraud, furthered by the willing participation of Russian-Jewish emigrants who wished to ease their own access to the West and obtain "relief money from Western Europe and America."[18] The 'Atrocities' Let us first turn our attention to the atrocity stories. Prior to any major reports of violence, the British public was already being primed to hate the Russian government and accept the Jewish narrative. John Doyle Klier points out that the Daily Telegraph was at that time Jewish-owned, and was particularly "severe" in its reports on Russian treatment of Jews prior to 1881.[19] In the pages of this publication, it was stated that "these Russian atrocities are only the beginning. … [T]he Russian officials themselves countenance these barbarities."[20] Around this time in Continental Europe, Prussian Rabbi Yizhak Rülf established himself as an "intermediary" between Eastern Jewry and the West, and, according to Klier, one of his specialities was the spreading of "sensationalized accounts of mass rape."[21] Other major sources of pogrom atrocity stories were the New York Times, the London Times, and the Jewish World. It would be the Jewish World which furnished the majority of these tales, having sent a reporter "to visit areas that had suffered pogroms."[22] Most of the other papers simply reprinted what the Jewish World reporter sent them. The atrocity stories carried by these newspapers provoked global outrage. There were large-scale public protests against Russia in Paris, Brussels, London, Vienna, and even in Melbourne, Australia. However, "it was in the United States that public indignation reached its height." Historian Edward Judge states that the American public was spurred on by reports of "brutal beatings, multiple rapes, dismemberment of corpses, senseless slaughter, painful suffering and unbearable grief."[23] However, as John Klier states, the reports of the Jewish World's "Special Correspondent," "raise intriguing problems for the historian."[24] While his itinerary of travel is described as "plausible," most of his accounts are "flatly contradicted by the archival record."[25] His claim that twenty rioters were killed during a pogrom in Kishinev in 1881 has been proven to be a fabrication by records which show that in that city, at that time, "there were no significant pogroms and no fatalities."[26] Other claims that he witnessed shootings of peasants on his travels have been entirely discredited due to the vast number of minor inaccuracies in those accounts. Furthermore, Klier states that the atrocity stories compiled by the Jewish World correspondent, which went on to be so influential in manipulating Western perceptions of the events, must be treated with "extreme caution."[27] The reporter "portrayed the pogroms dramatically, as great in scale and inhuman in their brutality. He reported numerous accounts where Jews were burned alive in their homes while the authorities looked on."[28] There are hundreds of instances where he references the murder of children, the mutilation of women, and the biting off of fingers. Klier states that "the author's most influential accounts, given their effect on world opinion, were his accounts of the rape and torture of girls as young as ten or twelve."[29] In 1881 he reported 25 rapes in Kiev, of which five were said to have resulted in fatalities, in Odessa he claimed 11, and in Elizavetgrad he claimed 30.[30] Rape featured prominently in the reports, not because rapes were common, but because rape "even more than murder and looting" was known to "generate particular outrage abroad." Klier states that "Jewish intermediaries who were channelling pogrom reports abroad were well aware of the impact of reports of rape, and it featured prominently in their accounts."[31] The two most dramatic and gruesome accounts came from Berezovka and Borispol. In fact, as the year neared its end, the reports became more and more gruesome and brutal in the details they conveyed. There is, of course, a reason for this. As the non-Jewish public began to tire of the reports and switched their minds to the coming Christmas festivities, Klier states that records show the RJC made a conscious and calculated decision to "keep Russian Jewry before the eyes of the public."[32] A key component of this strategy was to take the accounts of the Special Correspondent and publish them in a more widely circulated and respected newspaper. They settled on the London Times, which was already predisposed to "critical editorial faulting of the Russian government." Klier further states that these evidently false reports "garnished with the prestige of The Times and devoid of any attribution, subsequently published as a separate pamphlet, and translated into a variety of European languages … became the definitive Western version of the pogroms."[33] As increasingly lurid atrocity tales again captured the attention of the Gentile public, the British Government found itself under pressure to intervene. The British Government, however, adopted a more cautious approach and undertook its own independent investigations into events in the Russian Empire. Its findings, published as a "Blue Book," "presented an account of events at great variance with that offered by The Times."[34] The most notable aspect of the independent inquiry is the outright denial of mass rape. In January 1882, Consul-General Stanley objected to all of the details contained within reports published by The Times, mentioning in particular the unfounded "accounts of the violation of women."[35] He further stated that his own investigations revealed that there had been no incidences of rape during the Berezovka pogrom, that violence was rare, and that much of the disturbance was restricted to property damage. In relation to property damage in Odessa, Stanley estimated it to be around 20,000 rubles, and rejected outright the Jewish claim that damage amounted to over one million rubles. Vice-Consul Law, another independent investigator, reported that he had visited Kiev and Odessa, and could only conclude that "I should be disinclined to believe in any stories of women having been outraged in those towns."[36] Another investigator, Colonel Francis Maude, visited Warsaw and said that he could "not attach any importance" to atrocity reports emanating from that city.[37] At Elizavetgrad, instead of whole streets being razed to the ground, it was discovered that a small hut had lost its roof. It was further discovered that very few Jews, if any, had been intentionally killed, though some died of injuries received in the riots. These were mainly the result of conflicts between groups of Jews who defended their taverns and rioters seeking alcohol. The small number of Jews who had been intentionally killed had fallen victim to unstable individuals who had been drunk on Jewish liquor — accusations of murderous intent among the masses were simply unfounded and unsubstantiated by the evidence. When these reports were made public, states Klier, they represented "a serious setback for the protest and aid activities of the RJC."[38] The Times was forced to backtrack, but responded spitefully (and bizarrely) by stating that the indignation of the country was still justified even if the atrocities were "the creations of popular fancy."[39] (Reminiscent of the JewishGen response to Ukrainian discoveries mentioned in Part 1 of this series?!) The revelations came at a bad time for the RJC, which was at that time attempting to move the British Government to "act in some way on behalf of persecuted Russian Jewry."[40] It resorted to republishing (in the Times) its pamphlet on persecution in Russia twice in one month, presumably in the belief that blunt repetition would suffice to overcome tangible evidence. Klier states that the pieces were examples of "masterful" propaganda, as they attempted to undermine the credibility of the Government consuls, while sycophantically appealing to "the wise and noble people of England," who "will know what weight should be attached to such denials and refutations."[41] The RJC offered its own "corroborative evidence of the most undeniable kind," though of course the exact source of this evidence was not specified beyond "persons occupying high official positions in the Jewish community" and "Jewish refugees." In essence, the people of western nations were being asked to trust an anonymous Rabbi on the other side of the world rather than identifiable representatives of their own government. The pieces, states Klier, "painted the familiar picture of murder and rape," and despite the debunking statements of the consuls, "a number of mother/daughter rapes, which had already done so much to outrage British public opinion, were again repeated."[42] Although the move for British government intervention failed, in the battle for public opinion "the RJC clearly won the day," and the Times and the RJC remained good bedfellows. The Consuls were outraged. Stanley reiterated the fact that his intensive investigations, which he carried out at great personal cost with a serious leg injury, illustrated that "The Times' accounts of what took place at each of those places contains the greatest exaggerations, and that the account of what took place at some of those places is absolutely untrue."[43] He related the fact that a Rabbi in Odessa had "not heard of any outrages on women there," and that the object of almost every pogrom he had investigated was simple "plunder."[44] Enraged by the lies circulating in Britain and America, Stanley "went right to the top," interviewing state rabbis and asking for evidence and touring pogrom sites. In Odessa, where a wealth of atrocity stories had originated, he was able to confirm "one death, but no looting of synagogues or victims set alight." There was no evidence that a single rape had taken place. One state Rabbi admitted that he had not heard of any outrages of women in Berezovka and further assured Stanley that he "could with a clear conscience positively deny that any deaths or any violations had occurred there during the disturbances of last year."[45] He again sent this report to his superior in London, with a note saying "This is in accordance with all the information I have received and forwarded to your Lordship, and which I think more credible than anonymous letters in The Times."[46] Despite Stanley's best efforts the Jewish narrative advanced by the RJC, imbued with atrocity tales, has remained unalterably attached in Western perceptions of the pogroms. The Blue Book was smothered by the more visible, and oft-repeated, tales of the RJC and organisations like it around the globe. Only with the decade-long research of John Klier has some revision of this narrative, grounded in scholarship and archival evidence, been possible. In light of this evidence, one can only conclude that stories of rape, murder and mutilation were "more legendary than factual."[47] However, the task remains to further dismantle and analyse other aspects of the Jewish narrative, and to seek the true motives behind its creation. [1] http://archive.org/stream/persecutionofjew00russ [2] Max Beloff, The Intellectual in Politics: And other essays, (London: Taylor and Francis, 1970) p.135 [3] The Persecution of the Jews in Russia, (London: Russo-Jewish Committee, 1899), p.3. [4] Ibid, p.4 [5] The Persecution of the Jews in Russia, (London: Russo-Jewish Committee, 1899), p.5 [7] Ibid, p.36 [8] Ibid, p.38. [9] Anthony Heywood, The Russian Revolution of 1905: Centenary Perspectives (New York: Routledge, 2005) p.266. [10] "Jewish Massacre Denounced," New York Times, April 28, 1903, p.6 [11] Anita Shapira, Land and Power: The Zionist Resort to Force, 1881-1948 (Stanford: Stanford University Press, 1999), p.35 [12] Ibid, p.34. [14] Joseph Brandes, Immigrants to Freedom, (New York: Xlibris, 2009) p.171 [15] The Persecution of the Jews in Russia, (London: Russo-Jewish Committee, 1899), p.4 [16] The Persecution of the Jews in Russia, (London: Russo-Jewish Committee, 1899), p.30 [18] Albert Lindemann, Esau's Tears: Modern Anti-Semitism and the Rise of the Jews (Cambridge: Cambridge University Press, 1997) p.291. [19] John Doyle Klier, Russians, Jews and the Pogroms of 1881-82, p.399 [22] Ibid, p.400 [23] Edward Judge, Easter in Kishinev: Anatomy of a Pogrom (New York: New York University Press, 1993) p.89. [26] Ibid [31] Ibid, p.12 [34] Ibid, p.405. (Correspondence Respecting the Treatment of Jews in Russia, Nos. 1 and 2, 1882, 1883) [38] Ibid, p.405. [43] John Doyle Klier, Russians, Jews and the Pogroms of 1881-82, p.407. https://www.theoccidentalobserver.net/wp-content/uploads/2018/06/TOO-Full-Logo-660x156-1.png 0 0 Andrew Joyce, Ph.D. https://www.theoccidentalobserver.net/wp-content/uploads/2018/06/TOO-Full-Logo-660x156-1.png Andrew Joyce, Ph.D.2012-05-11 01:27:282012-05-13 12:48:52Myth and the Russian Pogroms, Part 2: Inventing Atrocities
{ "redpajama_set_name": "RedPajamaCommonCrawl" }
Diagnostic Medical Systems SA (DGM) - Medical Equipment - Deals and Alliances Profile Report Title Diagnostic Medical Systems SA (DGM) - Medical Equipment - Deals and Alliances Profile Diagnostic Medical Systems SA (DMS) is a medical device company that designs, manufactures and distributes imaging systems. The company's products comprise radiography and fluoroscopy, retrofit kits, mammography, chest and bone rooms, mobiles, bone densitometry, 3D reconstruction, mobile C-arms, and posturology solutions. It offers bone densitometry products such as 3D-DXA, Pegasus, Stratos, and Stratos dR. DMS's DR solutions comprise Baccara dRF 43, EZ2GO, Pixium EZ, and Platinum. The company has its presence in Africa, Asia, Australia, Europe, North America and South America. DMS is headquartered in Montpellier, France. Diagnostic Medical Systems SA (DGM)-Medical Equipment-Deals and Alliances Profile provides you comprehensive data and trend analysis of the company's Mergers and Acquisitions (M&As), partnerships and financings. The report provides detailed information on Mergers and Acquisitions, Equity/Debt Offerings, Private Equity, Venture Financing and Partnership transactions recorded by the company over a five year period. The report offers detailed comparative data on the number of deals and their value categorized into deal types, sub-sector and regions. - Financial Deals-Analysis of the company's financial deals including Mergers and Acquisitions, Equity/Debt Offerings, Private Equity, Venture Financing and Partnerships. - Deals by Year-Chart and table displaying information encompassing the number of deals and value reported by the company by year, for a five year period. - Deals by Type-Chart and table depicting information including the number of deals and value reported by the company by type such as Mergers and Acquisitions, Equity/Debt Offering etc. - Deals by Region-Chart and table presenting information on the number of deals and value reported by the company by region, which includes North America, Europe, Asia Pacific, the Middle East and Africa and South and Central America. - Deals by Sub-sector-Chart and table showing information on the number of deals and value reported by the company, by sub-sector. - Major Deals-Information on the company's major financial deals. Each such deal has a brief summary, deal type, deal rationale; and deal financials and target Company's (major public companies) key financial metrics and ratios. - Business Description-A brief description of the company's operations. - Key Employees-A list of the key executives of the company. - Important Locations and Subsidiaries-A list and contact details of key centers of operation and subsidiaries of the company. - Key Competitors-A list of the key competitors of the company. - Key Recent Developments-A brief on recent news about the company. - The profile enables you to analyze the company's financial deals by region, by year, by business segments and by type, for a five year period. - The profile presents deals from the company's core business segments' perspective to help you understand its corporate strategy. - Detailed information on major recent deals includes a summary of each deal, deal type, deal rationale, deal financials and Target Company's key financial metrics and ratios. - The profile analyzes the company's business structure, locations and subsidiaries, key executives and key competitors. - Recent developments concerning the company presented in the profile help you track important events. - Key elements such as break up of deals into categories and information on detailed major deals are incorporated into the profile to assist your academic or business research needs. Diagnostic Medical Systems SA, Medical Equipment, Deals By Year, 2012 to YTD 2018 5 Diagnostic Medical Systems SA, Medical Equipment Deals By Type, 2012 to YTD 2018 6 Diagnostic Medical Systems SA, Medical Equipment, Deals By Region, 2012 to YTD 2018 7 Diagnostic Medical Systems SA, Medical Equipment, Deals By Market, 2012 to YTD 2018 8 Diagnostic Medical Systems SA, Medical Equipment, Deals Summary, 2012 to YTD 2018 9 Diagnostic Medical Systems SA, Medical Equipment, Deal Details 10 Private Equity 10 Diagnostic Medical Systems to Raise up to USD44.8 Million in Private Placement of Bonds and Warrants 10 Jolt Capital and Ambrosia Investments Acquire 42.94% Stake in Alpha Mos from Diagnostic Medical Systems 11 Equity Offering 12 Diagnostic Medical Systems to Raise Funds in Public Offering of Shares 12 Diagnostic Medical Systems Raises USD2.5 Million in Private Placement of Shares 13 Diagnostic Medical Systems Raises USD10.4 Million in Public Offering of Shares 14 Alpha MOS Raises Additional USD1.25 Million in Private Placement of Shares 15 Diagnostic Medical Systems Acquires STEMCIS 16 Diagnostic Medical Systems Acquires AXS Medical 17 Diagnostic Medical Systems SA-Key Competitors 18 Diagnostic Medical Systems SA-Key Employees 19 Diagnostic Medical Systems SA-Locations And Subsidiaries 20 Diagnostic Medical Systems SA, Medical Equipment, Deals by Type, 2012 to YTD 2018 2 Diagnostic Medical Systems SA, Medical Equipment, Key Facts, 2017 2 Diagnostic Medical Systems SA, Deals By Market, 2012 to YTD 2018 8 Diagnostic Medical Systems SA, Key Competitors 18 Diagnostic Medical Systems SA, Key Employees 19 Diagnostic Medical Systems SA, Subsidiaries 20 Diagnostic Medical Systems SA, Deal Analysis, Mergers, Acquisitions, Asset Purchases, Asset Divestitures, Company Divestitures, Equity Offerings, Capital Raising, Debt Offerings, IPOs, Initial Public Offering, Private Placement, Private Investment In Public Equities, Secondary Offerings, Follow-On Offerings, Debt Private Placement, Public Debt Placement, Partnerships, Joint Venture, Licensing Agreements, Co-Marketing Agreements, Upfront Payment, Milestone Payment, Phases, Clinical Trials, Private Equity, Venture Capital, PE,VC, Asset Finance, Project Finance, Tax Equity Financing, Bond Financing, Lease Financing, New Build Financing, Deal Analysis By Market/sector, Deal Analysis By Geography, Deal Analysis By Deal Types, Key Employees, Locations And Subsidiaries, Competitors, Recent News, Company Overview, Key Facts, Deals By Year, Deal Details, Recent Developments, Significant Developments.
{ "redpajama_set_name": "RedPajamaCommonCrawl" }
Highly Recommend written by mobile I am getting good and have fun. I bought this product from 4th to 7th of moonlight. It took 5 days to ship. This product satisfies the condition. But after the accident, I went to the event after the accident, and the price is lowered, and the rest of the products are in good condition. Dean's manipulator Leva feels less loose than it used to be, but it's not a problem to use. Hi. I do not see Seibu football on the game list, I wonder if it's here. Thank you for your understanding that we can confirm only the list sent from the sales department. Hello, I received the Xiao Mi air purifier 3 weeks ago. I kept it on for 24 hours without turning it off. I tried to clean the filter just a while ago and I can not see any dust. It is the same as the first condition. I opened the window and it went up sharply. ? I would appreciate it if you could wipe it off with a white tissue paper. 2167 (2D) I want to buy 10 (3D) detachable products. Is cpu this octa core? Is it possible to add both 2D and 3D games? How do I know how to add a game? And what is the lever and button? One more question. Is it possible to use the Favorites feature in Settings? And I will contact you if you can change the key setting. E-mail address We will be happy to send you a reply.
{ "redpajama_set_name": "RedPajamaC4" }
October 10, 2018. Special guest Lynn Alexander joins Henry in studio. LinkEmbedCopy and paste this HTML code into your webpage to embed. class="archive tag tag-gg tag-1670 samba_theme samba_left_nav samba_left_align samba_responsive wpb-js-composer js-comp-ver-5.7 vc_responsive"
{ "redpajama_set_name": "RedPajamaC4" }
Having fished on a Berkshire pit on and off for three years I had one remaining member of the A-team left to catch, the big one known as the Brute. I felt that the Brute was more likely to trip up to a bottom bait and was using a new rig, which is very similar to one that I saw Adam Penning write about a few months back and had already had two good mirrors using it on the first two trips. The bait is mounted on a soft hair made from 18lb Gravel Super Natural and trapped on the bend of a size-8 Choddy hook with a small length of silicone. I tie this to a two-inch length of 25lb Mouth Trap, which is then joined to a six-inch length of coated braid. Lastly, the Mouth Trap is gently curved. I found the Brute along with three other fish in the bay enjoying the Autumn sun and spent all afternoon up and down a tree waiting patiently to cast in. I'd tied one of the rigs, helicopter style onto five feet of leadcore with a 2oz lead to cut down on disturbance. My chance came when they drifted out of the bay and casting the marker float long to the far side of the bay I wound it back to the middle and let it drop. A good thud was felt. I then drew it back over the sandy area that I knew was there and popped the float up at the smoothest point. A single cast with a three-bait parachute stringer was good enough as it landed behind the float and a nice 'dink' was felt as the lead hit bottom. Fifteen baits completed the trap. The take came just before 8am and was a ripper. I was on it straight away it took 40 yards off me straight away before I could tighten the clutch. The fight was all out in the lake and when, about five minutes in, I got it in close, up she popped and that huge scale on its flank identified that my quest was nearly over. She carried on wallowing to the net and a "Yeeeessss!!" echoed over the noise of the motorway, followed by the 'Brute' shout once I was 100 per cent certain. At a personal best 48lb 2oz, she looked immaculate and a couple of hours later, after making tea for the lads, I closed the gate on that chapter of my angling. Job done!
{ "redpajama_set_name": "RedPajamaC4" }
Q: How do I find the path of a file on another computer on my network? I would like to access files from another computer on the same network in the Terminal. But I am not sure of the path to those files. How do I find it? A: It would depend on how you want to access the file. Here's what I do: * *Initiate the connection to the remote computer (I do it via Finder -> Go -> Connect to Server [or Command+K]) but you can also do via terminal using the mount command *Connect to the shared folder/volume available to your user *When connecting to those in Terminal, you would now use the path /Volumes/[name of folder]/[rest_of_path_here] to access them. For example, if you connected to a folder called Stuff with a subfolder called Things, and ultimately file jackpot.txt on ip 10.10.1.5, first connect via smb to the server (10.10.1.5), choose the folder Stuff, and then reference that path in Terminal as /Volumes/Stuff/Things/jackpot.txt EDIT: You can also run a Find command (Command + F) inside of Finder while you are connected to the share if you still don't know where the file is. Do the following: * *Open Finder, connect to the server/volume (Steps 1+2 above) *Run Command+F to Find, enter your search term *Above the Finder section where files display, switch the search to "Shared" - this will run the search against connected volumes *Locate the file you want, and then drag+drop it into an open Terminal window *The path will be shown in Terminal A: In addition to drag and drop, you can right click on any Finder window, select "Customize Toolbar," and add the "Path" drop-down button. It won't show a path you can copy-paste like in Windows, but it will give a better idea of the path to a folder you're in.
{ "redpajama_set_name": "RedPajamaStackExchange" }
If you are looking for a relaxing screensaver or video for your TV and computer screens; this is a great choice. The setting is a simple English stream. The camera is focused in on the mini waterfall and the grass at the edges is allowed to go out of focus. This creates a simple but effective background video which has an artistic effect because we used our aperture setting to alter the depth of field view. The sound is simply the water trickling down the rocks and along the stream. Sometimes the best things in life are the most simple ones. This download is a great way to de-stress. The 20 minute MP4 video can be set to loop on media players or SMART TVs, and the self looping screensaver comes in both Windows and Mac versions. The footage is full HD so the video can be played on even a large HDTV or SMART TV. The Lake District in England is one of the most beautiful places in the country and a must see if you ever visit. I have been lucky enough to take a few trips there in my life and this time I was there on a day trip with some friends. I brought my camera with me on a lovely walk and had the opportunity to take a couple of videos of some quaint little streams running through the hills. We started out at a lovely little pub called The Pheasant in Bassenthwaite Lake, Cockermouth. After a good hearty meal we decided to take a walk through the hills and came across a great little spot leading down to the lake. My friends went ahead whilst I stayed behind to film a little brook that we passed along the way. I really loved this spot as I knew I would not be disturbed thanks to the remote and quiet location. It was a warm summers day with a touch of scattered cloud and all the insects were buzzing around the water, a perfect place for a relaxing screensaver. It felt completely idyllic and I settled down along the lush grassy banks with my Canon 5D Mark III. I really wanted to do something different with this video and spotted a few small falls where the water was tricking over the rocks. A small aperture seemed wrong for this setting as the focus was most certainly these lovely little water falls on the stream. I knew I really wanted to open up the iris so I pulled out my 100mm macro, a perfect lens for sharp detail and a shallow depth of field. I wanted the grass to feel dreamy whilst at the same time capture the crisp clarity in the water and rocks. I lay down perching the camera within the grass and pulled focus onto my perfect spot. It looked just like I imagined, perhaps even better and the sound of the water was Zen like. I honed in my settings and began to film. As I lay there in the sun in this blissful setting, the light faded in and out as the clouds passed over. I almost fell asleep I was so relaxed and as I packed up my things and walked briskly down the stream, I felt at one and in harmony with nature.
{ "redpajama_set_name": "RedPajamaC4" }
As a homeowner, you'll sometimes want lots of air and a place to lean on while watching the sunset. Other times, you'll want to keep the wind at bay and your neighbors' eyes away. Regardless of your needs, the Infinity from Marvin's ultrex fiberglass tilt turn and hopper windows are the solution. Designed for multiple scenarios, they are some of the most practical, flexible and ingenious devices your house must have. It can be swung like a door, or its top of the sash can be tilted into the room for ventilation under the control of one handle. The Tilt Turn is perfect as an emergency exit access and ensures easy cleaning, while the Tilt-In Hopper by Marvin completes the package by offering additional air and light. We provide variation to our Tilt and Turn products. You can pick what best suits your needs by visiting our Amazing Exteriors office. Each window is customized to your exact specifications. The Tilt Turn opens like a door when you turn the handle. Turn it some more to tilt the top in and allow generous air exchange by locking the bottom sash into the frame. The Standard Tilt Turn with Keyed locks brings a bonus by allowing stationary unit security along with in-swing convenience. The Simulated Double Hung, having the Tilt Turn function incorporated, will provide a more traditional look. However, if you strive for an extra ounce of elegance, add a Round Top Tilt Turn to your windows mix. No matter what your main choices are, you just have to add a Hopper window in the equation. The Tilt-in Hopper can successfully be used as a ventilating transom. If you have a big space intended for large openings and the traditional double hung windows are not practical, opt for the Clad Simulated Double Hung Hopper. You won't be short of natural light and fresh air. Last but not least, we present to you the Inswing Hopper. It can be used as a unique solution on its own or as part of a creative series, although most of our clients preferred it as a venting transom over one of their doors. Multiple design possibilities are open for all of the above products. So, pick between bronze, white, satin chrome, and brass for your Tilt Turn Handle. On the other hand, choose between bronze and white for your Keyed Handle. However, if you want to add some extra personality to your project you should direct your attention to the designer handles provided by the Marvin Architectural Hardware. Even those come in diversity as you can get either one of the four finishes: Solid Dark Silicon, Natural Nickel, Charcoal Black Nickel or, Light Antique Nickel. At Amazing Exteriors, we provide a range of glazing options so that our windows can meet the performance challenges of any climate. We ensure that you make the optimal and cost-saving energy-efficiency choice by ordering your Tilt Turn & Hopper Windows with argon insulating glass from our office. With this type of glass on your windows, the amount of UV rays that get into your room will decrease significantly. This factor will ensure the temperature in your home will arrive faster at an optimal value. And that level will be maintained for a longer period thanks to the mix between Infinity by Marvin's Ultrex Fiberglass and our new and improved argon insulating glass. Don't be too surprised to notice more color in your house. Those pesky UV rays were fading away the coloring in your furniture. By opting for a Low-E glass, you simply protect your health and the beauty of your belongings. Extremely common in the continental Europe, the tilt and turn windows have made their way to the United States of America. They are practical and easy to clean. They are the ultimate in versatility as the special hardware allows you to easily operate them as a top-venting hopper window or an inswing casement. Enjoy an increase in air circulation with the Infinity Tilt Turn & Hopper Windows by Marvin. Your home will have a nice and cool interior thanks to windows such as the transom types. They can safely be left open throughout the night to let in the cooler evening air. The durability of the Ultrex Fiberglass transmits its qualities to the final product. Therefore, your new Tilt Turn & Hopper Windows will be strong, stable, low-maintenance and efficient. They are sure to outperform other similar products such as those of the Andersen company in virtually every measurable category. Other windows might bend or break over time, Integrity windows by Marvin will perform under great stress without showing wear. The Tilt Turn & Hopper Windows do more than "shed light". They bring in cool breezes and let hot air out. Ample fresh air can pass into the room when the window is opened like a casement. The tilt function comes handy as a precaution against small children falling through the window or against intruders willing to enter the room. One cannot climb out the window and fit through the small opening, but the ventilation function is entirely preserved. Due to its many benefices and its versatility, this type of window can be used for almost any room in a house or apartment.If you have a window project in mind, Amazing Exteriors of can help you design the perfect windows to help meet and exceed all your design requirements. For more information on how we can contribute to improving your home, visit our office or schedule a no obligation in-home appointment. If you have a window project in mind, Amazing Exteriors of can help you design the perfect windows to help meet and exceed all your design requirements. For more information on how we can contribute to improving your home, visit our office.
{ "redpajama_set_name": "RedPajamaC4" }
Costa Rica News – Three San Jose markets are preparing for a great change. They will, over some time, become an attractive tourist loop. The circuit for visitors to travel will connect the Borbón, Central and Coca Cola markets. The idea to refurbish them is part of an ITCR project called Strengthening Territorial Urban Public Management. Each will be transformed, all the while respecting their history and culture and making sure they don't end up looking like malls. They will attract tourists as cultural epicenters where one can eat a local meal and take a part of the country home. Borbón will get a central lobby and an elevator so as to get more people to the infrequently used second floor. The corridors will be made more accessible and surfaces made uniform. At Coca Cola, the work will be done on the building and the mobility around it. The Central Market's updates are still unknown, as there is no budget yet.
{ "redpajama_set_name": "RedPajamaC4" }
Dr. Vivek Kesharwani is a Consultant Homeopathic Doctor who is practicing since several years in Allahabad (Prayagraj), India at his clinic Dr. Kesharwani's Holistic Homoeo Clinic (An ISO:9001:2015 Certified Organisation). Patients consulting him from all over India. He is not only kind and polite doctor but he is doing lot of public services. Awarded as Best Homeopath in Allahabad (Prayagraj) In Event "India's Most Prominent Health Awards 2018" and the award is presented by Mr.Mohammad Azharuddin (Indian Crickter).. Homoeopathy is a natural form of treatment. Homeopathy helps in stimulating body's own immune system to fight disease & thus minimize the chances of recurrence & offers long lasting relief. Western medicine still does not have measures for many chronic diseases which can be treated effectively by homoeopathy. Even in many conditions that have been termed acute, 'Homoeopathy' has proved to be effective. Increasing usage of Automobiles these days, has given rise to pollution levels. This leads to an increase in people suffering from Bronchitis & Asthama. Infants & children are also seen having allergies due to dust, climate change etc. These patients if treated with Homoeopathy increase their own resistance, to face exposure to the known allergens. Dr. Kesharwani's Holistic Homoeo Clinic (An ISO:9001:2015 Certified Organisation) specializes in treating Asthama, Bronchitis & Children related ailments. Homoeopathy is becoming popular among the masses. In situations of surgery or emergency, there is no alternative to Allopathy. But post surgery homoeopathic medicine speeds up the healing process. Homoeopathic treatment has proved to be effective even on problems like Corns and warts. Usually Corns are removed surgically, but are known to recur. They are best treated permanently with Homoeopathic medicines. Similarly, many skin conditions like allergies, eczema, psoriasis, dandruff, hair fall, acne have shown excellent results with Homoeopathic medicines. Providing Holistic Homoeopathic Treatment Skin Diseases, Allergies, Renal Calculi, Breast Tumour, Sinusitis, Joint Pains (Arthritis, Gout), Uterine Fibroids, Male Sexual Problem, Colitis, Migraine, Spondylitis, Headaches, Female Sexual Problem.
{ "redpajama_set_name": "RedPajamaC4" }
I have hives that are close to a field that gets sprayed each year, any help to protect my bees would be nice. How relevant is distance between nock and fletching? What counts as climbing a mountain? How can I make a pack basket for a backpack? Why are zip-in (fleece + hardshell) jackets so rare? What can I do to get garden birds back after hawk has made my bird-feeder his hunting ground? Summitting Breithorn in the winter? Has anyone recorded animal sounds while trekking the Annapurna trail (Nepal) or in Ladakh (India)? If so, where are the richest acoustic areas? How to isolate a strong magnet from things it could damage in a small backpack? What features to look for in a small snowshoe for getting up and down a long driveway and around the yard during what may be a snowy winter? Is an old but new down sleeping bag as good as a recent and new one?
{ "redpajama_set_name": "RedPajamaC4" }
Driving distance between Pinesdale, MT and Cameron, MT is 248.76 miles (or 400.35 kilometers). If you drove an average car (using about 3.6 gallons of gas per mile), the gas would cost you around $, since you would need about gallons of fuel. Leaving from Pinesdale, MT you would reach Cameron, MT in about 3 hours 56 mins if you keep an average speed of miles per hour, assuming you don't make any breaks or get stuck in traffic. This is a map overview of the best driving route from Pinesdale, MT to Cameron, MT in which you can see the origin and destination points marked with A (Pinesdale) and B (Cameron) respectively as well as blue line along the road route you can take. You can zoom in to see more details, including road numbers and even street names both in Pinesdale, MT and Cameron, MT as well as every other town you may pass by on your way. To cover the 248.76 mi that separate Cameron from Pinesdale you are going to need between of fuel, considering you drive an average car (30 mpg) and , if you drive an SUV or a heavy car (20 mpg). If you drive a fuel efficient car (45 mpg), your consumption will only be . Depending on the fuel efficiency level of your car, driving from Pinesdale to Cameron will cost you between and . An average car would make the trip for . We calculate the route cost using real time average gas prices for the US and other costs such as tolls are not included in this calculation. To help you plan your trip from Pinesdale to Cameron, we offer a detailed map together with full, turn by turn, driving directions from Pinesdale, MT to Cameron, MT. The flying distance represent the straight distance from Pinesdale to Cameron, the length of an hypothetical flight trip between the geographic center of Pinesdale, MT and the geographic center of Cameron, MT. We also offer nearby airports to both Pinesdale to Cameron and a flight ticket price comparison form, in case you want to make that hypothetical flight real :).
{ "redpajama_set_name": "RedPajamaC4" }
New Jersey High School Sports Bloomfield over North Bergen - Wrestling - NJSIAA N1G5 1st round Updated: Feb. 10, 2020, 11:50 p.m. | Published: Feb. 10, 2020, 10:27 p.m. For NJ Advance Media By Ryan Patti | NJ Advance Media for NJ.com Fourth-seeded Bloomfield defeated fifth-seeded North Bergen 48-28 in Bloomfield in the quarterfinal round of the NJSIAA/Rothman Orthopaedics North Jersey, Section 1, Group 5 Wrestling Tournament. Bloomfield (22-5) will take on the winner of top-seeded Passaic Tech and eighth-seeded Passaic in the semifinal round on Wednesday.
{ "redpajama_set_name": "RedPajamaCommonCrawl" }
Find a storeLoginContact us LookbookOnline StoreCreatorNewsAbout 2020 Fall - Winter | N°25 collection 2020 Spring - Summer | N°25 collection Fall - Winter 2019 | VIBRATIONAll249 Necklaces97 Rings9 Earrings51 Bracelets77 Pins1 Necklace extensions3 Greeting cards1 Anne-Marie Chagnon Artistic processAll124 Jewellery spotted28 In the media73 Trade shows6Studio LookbookOnline StoreCreatorAnne-Marie ChagnonJourneyArtistic processNewsAboutStudioCommunity involvementPartners Find a storeLoginContact usMy accountLogout Find the closest retailer Les Petroleuses Chaussée de Mons 125 - 7060, Soignies, , Belgique Chaussée de Mons 125 - 7060, Soignies, Belgique, Emporium North Hatley 100 rue Main, North Hatley, QC, J0B 2C0, Canada 100 rue Main, North Hatley, QC, Canada, J0B 2C0 Parfumerie L'O de l'Aube 2235 rue King Ouest, Bureau 204, Sherbrooke, Qc, J1J 2G2, Canada 2235 rue King Ouest, Bureau 204, Sherbrooke, Qc, Canada, J1J 2G2 Les Belles Du Lac 490 rue Principale, Piopolis, Qc, G0Y 1H0, Canada 490 rue Principale, Piopolis, Qc, Canada, G0Y 1H0 4841 rue Wellington, Verdun, QC, H4G 1X5 , Canada 4841 rue Wellington, Verdun, QC, Canada, H4G 1X5 Boutique-Atelier Anne-Marie Chagnon 5333, avenue Casgrain, 5e étage, suite 502, Montréal, QC, H2T 1X3, Canada 5333, avenue Casgrain, 5e étage, suite 502, Montréal, QC, Canada, H2T 1X3 86, avenue Laurier Ouest, Montréal, QC, H2T 2N4, Canada 86, avenue Laurier Ouest, Montréal, QC, Canada, H2T 2N4 Oppen's 4828, boul. Saint-Laurent, Montréal, QC, H2T 1R5, Canada 4828, boul. Saint-Laurent, Montréal, QC, Canada, H2T 1R5 Belle et Rebelle , Montréal, QC, H2S 2L9, Canada , Montréal, QC, Canada, H2S 2L9 Arloca 6572 Saint-Hubert, Montréal, QC, H2S 2M3, Canada 6572 Saint-Hubert, Montréal, QC, Canada, H2S 2M3 Artefact Montréal 4117, rue Saint-Denis, Montréal, QC, H2W 2M7, Canada 4117, rue Saint-Denis, Montréal, QC, Canada, H2W 2M7 La Mansarde Bleue 2563, rue Beaubien Est, Montréal, QC, H1Y 1G4, Canada 2563, rue Beaubien Est, Montréal, QC, Canada, H1Y 1G4 Boutique M (Musée des beaux-arts de Montréal) 1390, rue Sherbrooke Ouest, Montréal, QC, H3G 1J5, Canada 1390, rue Sherbrooke Ouest, Montréal, QC, Canada, H3G 1J5 Bijouterie Claude Gougeon & fils 3116, rue Masson, Montréal, QC, H1Y 1X8, Canada 3116, rue Masson, Montréal, QC, Canada, H1Y 1X8 L'Art des Artisans du Québec 150, rue Sainte-Catherine Ouest, Complexe Desjardins, Montréal, QC, H2X 3Y2, Canada 150, rue Sainte-Catherine Ouest, Complexe Desjardins, Montréal, QC, Canada, H2X 3Y2 Boutique des métiers d'art du Québec 20, rue Saint-Paul Ouest, Suite 103, Montréal, QC, H2Y 1Y7, Canada 20, rue Saint-Paul Ouest, Suite 103, Montréal, QC, Canada, H2Y 1Y7 La Boutique Artisans Canada (Montréal) 122, rue St-Paul Est, Montréal, QC, H2Y 1G6, Canada 122, rue St-Paul Est, Montréal, QC, Canada, H2Y 1G6 LOLA Petite Bourgogne 2652, rue Notre-Dame Ouest, Montréal, QC, H3J 1N7, Canada 2652, rue Notre-Dame Ouest, Montréal, QC, Canada, H3J 1N7 Joaillerie Jules Perrier 350, rue Saint-Paul Est, Marché Bonsecours, Montréal, QC, H2Y 1H2, Canada 350, rue Saint-Paul Est, Marché Bonsecours, Montréal, QC, Canada, H2Y 1H2 Casa Luca 1354, rue Fleury Est, Montréal, QC, H2C 1R5, Canada 1354, rue Fleury Est, Montréal, QC, Canada, H2C 1R5 428 Victoria, Suite A, Saint-Lambert, QC, J4P 2H9, Canada 428 Victoria, Suite A, Saint-Lambert, QC, Canada, J4P 2H9 Charlot fleurs et cadeaux 189, rue Saint-Charles Ouest, Longueuil, QC, J4H 1C8, Canada 189, rue Saint-Charles Ouest, Longueuil, QC, Canada, J4H 1C8 Bijoux L'Inédit 524, avenue Victoria, Saint-Lambert, QC, J4P 2J5, Canada 524, avenue Victoria, Saint-Lambert, QC, Canada, J4P 2J5 Joaillerie Langevin 66, route 132, Local 100, Deslon, QC, J5B 0A1, Canada 66, route 132, Local 100, Deslon, QC, Canada, J5B 0A1 Boutique Le Présent 155, rue Saint-André, Terrebonne, QC, J6W 3C2, Canada 155, rue Saint-André, Terrebonne, QC, Canada, J6W 3C2 Novo Bas 1001, boul. de Montarville, Boucherville, QC, J4B 6P5, Canada 1001, boul. de Montarville, Boucherville, QC, Canada, J4B 6P5 Signé Local - DIX30 9200, boul. Leduc , suite 160, Brossard, QC, J4Y 0J1, CANADA 9200, boul. Leduc , suite 160, Brossard, QC, CANADA, J4Y 0J1 Cachet Ampleman 270 Boul. Anjou, Châteauguay, QC, J6K 1C6, Canada 270 Boul. Anjou, Châteauguay, QC, Canada, J6K 1C6 645, Boul. Samson, Laval, QC, H7X 1J9, Canada 645, Boul. Samson, Laval, QC, Canada, H7X 1J9 Nous Vous Ils Boutique Métiers D'art 150 chemin de la Grande-Côte , Suite 101, Rosemère, QC, J7A 1H3, Canada 150 chemin de la Grande-Côte , Suite 101, Rosemère, QC, Canada, J7A 1H3 Atelier Bois Brillant 22 Chemin de la Grande-Côte, Boisbriand, QC, J7G 1E2, Canada 22 Chemin de la Grande-Côte, Boisbriand, QC, Canada, J7G 1E2 Boutique Héritage 260, rue Notre-Dame, Repentigny, QC, J6A 2R6, Canada 260, rue Notre-Dame, Repentigny, QC, Canada, J6A 2R6 Boutique La Chaumière 1401, rue de Montarville, Saint-Bruno-de-Montarville, QC, J3V 3T6, Canada 1401, rue de Montarville, Saint-Bruno-de-Montarville, QC, Canada, J3V 3T6 La P'tite Bise 367, boul. Arthur-Sauvé, Place Saint-Eustache, Saint-Eustache, QC, J7P 2B1, Canada 367, boul. Arthur-Sauvé, Place Saint-Eustache, Saint-Eustache, QC, Canada, J7P 2B1 Ombelle Fleuriste 191, rue Sir Wilfrid Laurier , Local 110, St-Basile-le-Grand, QC, J3N 1R1, Canada 191, rue Sir Wilfrid Laurier , Local 110, St-Basile-le-Grand, QC, Canada, J3N 1R1 Boutique Signé Marie-Pierre 505, boul Arthur Sauvé, Saint-Eustache, QC, J7P 4X4, Canada 505, boul Arthur Sauvé, Saint-Eustache, QC, Canada, J7P 4X4 Gaby Style et Passion 1255, boul. de Périgny, Place Chambly, Chambly, QC, J3L 1W7 , Canada 1255, boul. de Périgny, Place Chambly, Chambly, QC, Canada, J3L 1W7 La Douce Pensée 520, boul. Arthur-Sauvé, Hôpital de Saint-Eustache, Saint-Eustache, QC, J7R 5B1, Canada Hôpital de Saint-Eustache, Saint-Eustache, QC, Canada, J7R 5B1 459, boul. Saint-Luc, Saint-Jean-sur-Richelieu, QC, J2W 1E7, Canada 459, boul. Saint-Luc, Saint-Jean-sur-Richelieu, QC, Canada, J2W 1E7 290, boul. Saint-Luc, Local 28, Saint-Jean-sur-Richelieu, QC, J2W 2A3, Canada 290, boul. Saint-Luc, Local 28, Saint-Jean-sur-Richelieu, QC, Canada, J2W 2A3 Bijouterie Renaissance 814, boul. de l'Ange-Gardien, L'Assomption, QC, J5W 1P6, Canada 814, boul. de l'Ange-Gardien, L'Assomption, QC, Canada, J5W 1P6 G. D'Aoust et Cie 73, rue Sainte-Anne, Sainte-Anne-de-Bellevue, QC, H9X 1L9, Canada 73, rue Sainte-Anne, Sainte-Anne-de-Bellevue, QC, Canada, H9X 1L9 145, boul. Saint-Joseph, Local 96, Halles Saint-Jean, Saint-Jean-sur-Richelieu, QC, J3B 1W5, Canada 145, boul. Saint-Joseph, Local 96, Halles Saint-Jean, Saint-Jean-sur-Richelieu, QC, Canada, J3B 1W5 Boutique L'Antilope 934, rue Monseigneur-De Laval, Beloeil, QC, J3G 4E7, Canada 934, rue Monseigneur-De Laval, Beloeil, QC, Canada, J3G 4E7 Mers & Monde – Boutique Mode Voyage 418, boul. Sir-Wilfrid-Laurier, Mont-Saint-Hilaire, QC, J3H 3N9, Canada 418, boul. Sir-Wilfrid-Laurier, Mont-Saint-Hilaire, QC, Canada, J3H 3N9 Pensée Pour Vous 286, avenue Saint-Charles, Vaudreuil-Dorion, QC, J7V 2L8, Canada 286, avenue Saint-Charles, Vaudreuil-Dorion, QC, Canada, J7V 2L8 Boutique Amandine Joliette 21, place Bourget Nord, Joliette, QC, J6E 5E3, Canada 21, place Bourget Nord, Joliette, QC, Canada, J6E 5E3 Simplement Célyne 51, rue Grande-Île, Salaberry-de-Valleyfield, QC, J6S 3L9, Canada 51, rue Grande-Île, Salaberry-de-Valleyfield, QC, Canada, J6S 3L9 Boutique Amandine 1305, rue des Cascades, Saint-Hyacinthe, QC, J2S 3H3, Canada 1305, rue des Cascades, Saint-Hyacinthe, QC, Canada, J2S 3H3 Fleurs du Village 61, route 338, Les Coteaux, QC, J7X 1A2, Canada 61, route 338, Les Coteaux, QC, Canada, J7X 1A2 Le Marché Vert 75, avenue de la Gare, Bloc K-1, Les Galeries des Monts, Saint-Sauveur, QC, J0R 1R6, Canada 75, avenue de la Gare, Bloc K-1, Les Galeries des Monts, Saint-Sauveur, QC, Canada, J0R 1R6 Les Choix de Mimi 260, rue Principale, Saint-Sauveur, QC, J0R 1R0, Canada 260, rue Principale, Saint-Sauveur, QC, Canada, J0R 1R0 2347, rue de L'Église , Val-David, QC, J0T 2N0, Canada 2347, rue de L'Église , Val-David, QC, Canada, J0T 2N0 L'Échoppe de la Montagne 725, rue Shefford, Bromont, QC, J2L 1C2, Canada 725, rue Shefford, Bromont, QC, Canada, J2L 1C2 Vert Partout 19, rue Principale Nord, Sutton, QC, J0E 2K0, Canada 19, rue Principale Nord, Sutton, QC, Canada, J0E 2K0 Rien ne se perd tout se crée 91, rue Principale, Saint-Sévère, QC, G0X 3B0, Canada 91, rue Principale, Saint-Sévère, QC, Canada, G0X 3B0 814-2, rue de Saint-Jovite, Mont-Tremblant, QC, J8E 3J8, Canada 814-2, rue de Saint-Jovite, Mont-Tremblant, QC, Canada, J8E 3J8 La Grange des Artisans 284, rue Lindsay, Drummondville, QC, J2B 1G3, Canada 284, rue Lindsay, Drummondville, QC, Canada, J2B 1G3 Fleuriste Savard 1833 Boulevard Louis Fréchette, Nicolet, QC, J3T 1M4, Canada 1833 Boulevard Louis Fréchette, Nicolet, QC, Canada, J3T 1M4 Bijouterie La Perle Rare 3905, rue Bellefeuille, Trois-Rivières, QC, G9A 6K8, Canada 3905, rue Bellefeuille, Trois-Rivières, QC, Canada, G9A 6K8 Boutique Cinq Continents 1468, rue Notre-Dame Centre, Trois-Rivières, QC, G9A 4X5, Canada 1468, rue Notre-Dame Centre, Trois-Rivières, QC, Canada, G9A 4X5 300, rue Barkoff, Les Galeries du Cap, Trois-Rivières, QC, G8T 2A3, Canada 300, rue Barkoff, Les Galeries du Cap, Trois-Rivières, QC, Canada, G8T 2A3 Bijouterie PierLyn 107, rue Galipeau, Thurso, QC, J0X 3B0, Canada 107, rue Galipeau, Thurso, QC, Canada, J0X 3B0 Belle et Rebelle Sherbrooke 90 rue Wellington Nord, Sherbrooke, QC, J1H 5B8, Canada 90 rue Wellington Nord, Sherbrooke, QC, Canada, J1H 5B8 Atours du Monde 87, rue Notre-Dame Est, Victoriaville, QC, G6P 3Z8, Canada 87, rue Notre-Dame Est, Victoriaville, QC, Canada, G6P 3Z8 Shepherd's Fashions 145 Trainyards Drive, Unit 4, Ottawa, ON, K1G 3X8, Canada 145 Trainyards Drive, Unit 4, Ottawa, ON, Canada, K1G 3X8 Magpie Jewellery 799 Bank Street, Glebe store, Ottawa, ON, K1S 3V7, Canada 799 Bank Street, Glebe store, Ottawa, ON, Canada, K1S 3V7 50 Rideau Street, Unit 220B, CF Rideau Centre, 2nd Floor, Ottawa, ON, K1N 9J7, Canada 50 Rideau Street, Unit 220B, CF Rideau Centre, 2nd Floor, Ottawa, ON, Canada, K1N 9J7 Boutique Moi 355, boul. Gréber, Gatineau, QC, J8T 6H8, Canada 355, boul. Gréber, Gatineau, QC, Canada, J8T 6H8 National Gallery of Canada Boutique 10 Lady Grey Drive South End, Ottawa, ON, K1N 9N4, Canada 10 Lady Grey Drive South End, Ottawa, ON, Canada, K1N 9N4 Musée Canadien de l'histoire 100, rue Laurier, Gatineau, QC, K1A 0M8, Canada 100, rue Laurier, Gatineau, QC, Canada, K1A 0M8 Boutique Le Local 144, rue Eddy, Gatineau, QC, J8X 2W8, Canada 144, rue Eddy, Gatineau, QC, Canada, J8X 2W8 Clothes by Muriel Dombret 1258 Wellington Street West, Ottawa, ON, K1Y 3A5, Canada 1258 Wellington Street West, Ottawa, ON, Canada, K1Y 3A5 430 Richmond Road, Westboro store, Ottawa, ON, K2A 0G2, Canada 430 Richmond Road, Westboro store, Ottawa, ON, Canada, K2A 0G2 La Nomade 103, rue Principale, Gatineau, QC, J9H 3L9, Canada 103, rue Principale, Gatineau, QC, Canada, J9H 3L9 Bijouterie Signe B 220, rue du Collège, Suite 102, Pont-Rouge, QC, G3H 0C6, Canada 220, rue du Collège, Suite 102, Pont-Rouge, QC, Canada, G3H 0C6 A. Setlakwe 600, avenue Champlain, Disraeli, QC, G0N 1E3, Canada 600, avenue Champlain, Disraeli, QC, Canada, G0N 1E3 188, rue Notre-Dame Ouest, Thetford Mines, QC, G6G 1J6, Canada 188, rue Notre-Dame Ouest, Thetford Mines, QC, Canada, G6G 1J6 Groupe Jacobus 2700 Boulevard Laurier, 2e niveau, Place Laurier, A/s de Diane Lacasse, Québec, QC, G1V 2L8, Canada 2700 Boulevard Laurier, 2e niveau, Place Laurier, A/s de Diane Lacasse, Québec, QC, Canada, G1V 2L8 Musselli 1329B, avenue Maguire, Québec, QC, G1T 1Z2, Canada 1329B, avenue Maguire, Québec, QC, Canada, G1T 1Z2 Accessoires Mode Elle & Lui 8500, boul. Henri-Bourassa, Carrefour Charlesbourg, Québec, QC, G1G 5X1, Canada 8500, boul. Henri-Bourassa, Carrefour Charlesbourg, Québec, QC, Canada, G1G 5X1 Boutique du Musée des beaux-arts du Québec 179, Grande Allée Ouest, Grand Hall, Québec, QC, G1R 2H1, Canada 179, Grande Allée Ouest, Grand Hall, Québec, QC, Canada, G1R 2H1 1191, avenue Cartier, A/s de Kathy Dion, Québec, QC, G1R 2S9, Canada 1191, avenue Cartier, A/s de Kathy Dion, Québec, QC, Canada, G1R 2S9 Boutique Exil 714, rue Saint-Jean, Québec, QC, G1R 1P9, Canada 714, rue Saint-Jean, Québec, QC, Canada, G1R 1P9 La boutique Artisans Canada (Québec) 30, côte de la Fabrique, Québec, QC, G1R 3V7, Canada 30, côte de la Fabrique, Québec, QC, Canada, G1R 3V7 Boutique Fairmont (Le Château Frontenac) 1, rue des Carrières, Niveau du Grand Hall, Québec, QC, G1R 4P5, Canada 1, rue des Carrières, Niveau du Grand Hall, Québec, QC, Canada, G1R 4P5 39, rue du Petit Champlain, Québec, QC, G1K 4H5, Canada 39, rue du Petit Champlain, Québec, QC, Canada, G1K 4H5 Atelier La Pomme 47, rue Sous-le-Fort, Québec, QC, G1K 4G9, Canada 47, rue Sous-le-Fort, Québec, QC, Canada, G1K 4G9 29, rue Notre-Dame, Place Royale, Québec, QC, G1K 4E9, Canada Place Royale, Québec, QC, Canada, G1K 4E9 Boutique du Musée de la civilisation 85, rue Dalhousie, Québec, QC, G1K 4A5, Canada 85, rue Dalhousie, Québec, QC, Canada, G1K 4A5 Bijouterie du Vieux Fort 7777, boul. Guillaume-Couture, Local 29, Lévis, QC, G6V 6Z1, Canada 7777, boul. Guillaume-Couture, Local 29, Lévis, QC, Canada, G6V 6Z1 Bittersweet Fine Craft and Art 5 Leckie Lane, P.O. Box 14, Burnstown, ON, K0J 1G0, Canada 5 Leckie Lane, P.O. Box 14, Burnstown, ON, Canada, K0J 1G0 32 Dundas Street East, Napanee, ON, K7R 1H6, Canada 32 Dundas Street East, Napanee, ON, Canada, K7R 1H6 Massothérapie Manon Dufour 955 Boul. Auger Ouest, Alma, QC, G8B 2B9, Canada 955 Boul. Auger Ouest, Alma, QC, Canada, G8B 2B9 Le Moule à Sucre 248, avenue de Gaspé Est, Saint-Jean-Port-Joli, QC, G0R 3G0, Canada 248, avenue de Gaspé Est, Saint-Jean-Port-Joli, QC, Canada, G0R 3G0 Autour du Pot 42, rue Saint-Jean Baptiste, Baie-Saint-Paul, QC, G3Z 1L9, Canada 42, rue Saint-Jean Baptiste, Baie-Saint-Paul, QC, Canada, G3Z 1L9 Véronique Fortier Joaillière 341B, rue Racine Est, Chicoutimi, QC, G7H 1S8, Canada 341B, rue Racine Est, Chicoutimi, QC, Canada, G7H 1S8 Miss Priss 215 Front Street, Belleville, ON, K8N 2Z4, Canada 215 Front Street, Belleville, ON, Canada, K8N 2Z4 Boutique Indigène art et culture (Séguin) 40, rue du Quai, La Malbaie, QC, G5A 2Y1, Canada 40, rue du Quai, La Malbaie, QC, Canada, G5A 2Y1 Talk O' The Town 19555 Opeongo Line, Barry's Bay, ON, K0J 1B0, Canada 19555 Opeongo Line, Barry's Bay, ON, Canada, K0J 1B0 Zihua Boutique 22A Bridge Street West, Bancroft, ON, K0L 1C0, Canada 22A Bridge Street West, Bancroft, ON, Canada, K0L 1C0 Boutique Le Coquill'Art 356, rue Saint-Jean-Baptiste, L'Anse-Saint-Jean, QC, G0V 1J0, Canada 356, rue Saint-Jean-Baptiste, L'Anse-Saint-Jean, QC, Canada, G0V 1J0 The Clan Shoppe 47 Main Street, Brighton, ON, K0K 1H0, Canada 47 Main Street, Brighton, ON, Canada, K0K 1H0 Trentmendous 33 Main Street, Unit 3, Warkworth, ON, K0K 3K0, Canada Unit 3, Warkworth, ON, Canada, K0K 3K0 Eclectic Mix 13 Main Street, Warkworth, ON, K0K 3K0, Canada 13 Main Street, Warkworth, ON, Canada, K0K 3K0 13 Main Street, P.O. Box 414, Warkworth, ON, K0K 3K0, Canada P.O. Box 414, Warkworth, ON, Canada, K0K 3K0 Fragrances d'Alex 295, boul. Armand-Thériault, Rivière-du-loup, QC, G5R 5H3, Canada 295, boul. Armand-Thériault, Rivière-du-loup, QC, Canada, G5R 5H3 Boutique Nomade 382, rue Lafontaine, Rivière-du-Loup, QC, G5R 3B4, Canada 382, rue Lafontaine, Rivière-du-Loup, QC, Canada, G5R 3B4 Brittany N Bros 35 King Street West, Cobourg, ON, K9A 2M1, Canada 35 King Street West, Cobourg, ON, Canada, K9A 2M1 392 George Street North, Peterborough, ON, K9H 3R3, Canada 392 George Street North, Peterborough, ON, Canada, K9H 3R3 Bijouterie Baribeau 775, 3e Avenue, Val-d'Or, QC, J9P 1S8, Canada 775, 3e Avenue, Val-d'Or, QC, Canada, J9P 1S8 Esthétique Florilège 2366, rue Commerciale Sud, Témiscouata-sur-le-Lac, QC, G0L 1X0, Canada 2366, rue Commerciale Sud, Témiscouata-sur-le-Lac, QC, Canada, G0L 1X0 The Kawartha Store 30 Colborne Street, Fenelon Falls, ON, K0M 1N0, Canada 30 Colborne Street, Fenelon Falls, ON, Canada, K0M 1N0 Oxtongue Craft Cabin & Gallery 1073 Fox Point Road, Dwight, ON, P0A 1H0, Canada 1073 Fox Point Road, Dwight, ON, Canada, P0A 1H0 241 Queen Street, Port Perry, ON, L9L 1B9, Canada 241 Queen Street, Port Perry, ON, Canada, L9L 1B9 Eclipse Art Gallery 1235 Deerhurst Drive, Deerhurst Resort, Huntsville, ON, P1H 2E8, Canada 1235 Deerhurst Drive, Deerhurst Resort, Huntsville, ON, Canada, P1H 2E8 96, rue Saint-Germain Ouest, Rimouski, QC, G5L 4B5, Canada 96, rue Saint-Germain Ouest, Rimouski, QC, Canada, G5L 4B5 255 Boul Ste-Anne, Rimouski, QC, G5M 1E7, Canada 255 Boul Ste-Anne, Rimouski, QC, Canada, G5M 1E7 Optimus Jewellery & Watches 13 Queen Street, Niagara-on-the-Lake, ON, L0S 1J0, Canada 13 Queen Street, Niagara-on-the-Lake, ON, Canada, L0S 1J0 33, route du Fleuve Ouest, Sainte-Luce, QC, G0K 1P0, Canada 33, route du Fleuve Ouest, Sainte-Luce, QC, Canada, G0K 1P0 Thompson Landry Gallery (Cooperage Space) 6 Trinity Street, Distillery District, Toronto, ON, M5A 3C4, Canada 6 Trinity Street, Distillery District, Toronto, ON, Canada, M5A 3C4 223 Carlton Street, Toronto, ON, M5A 2L2, Canada 223 Carlton Street, Toronto, ON, Canada, M5A 2L2 Bijouterie Lingot D'Or 100, rue du Terminus Ouest, Promenade du Cuivre, Rouyn-Noranda, QC, J9X 6H7, Canada 100, rue du Terminus Ouest, Promenade du Cuivre, Rouyn-Noranda, QC, Canada, J9X 6H7 Options For Her 163 Cumberland Street, Toronto, ON, M5R 1A2, Canada 163 Cumberland Street, Toronto, ON, Canada, M5R 1A2 Shop at Art Gallery of Ontario 317 Dundas Street West, Toronto, ON, M5T 1G4, Canada 317 Dundas Street West, Toronto, ON, Canada, M5T 1G4 Freda's 86 Bathurst Street, Toronto, ON, M5V 2P5, Canada 86 Bathurst Street, Toronto, ON, Canada, M5V 2P5 494 Lawrence Avenue West, Marshalls Lawrence Square, Toronto, ON, M6A 1A1, Canada 494 Lawrence Avenue West, Marshalls Lawrence Square, Toronto, ON, Canada, M6A 1A1 Petroff Gallery 1016 Eglinton Avenue West, Toronto, ON, M6C 2C5, Canada 1016 Eglinton Avenue West, Toronto, ON, Canada, M6C 2C5 Made you Look Jewellery 1338 Queen Street West, Toronto, ON, M6K 1L4, Canada 1338 Queen Street West, Toronto, ON, Canada, M6K 1L4 100 Fourth Avenue, Unit 25, Ridley Heights Plaza, Saint Catharines, ON, L2S 2J2, Canada Unit 25, Ridley Heights Plaza, Saint Catharines, ON, Canada, L2S 2J2 Joni's Fine Clothing & Accessories 48 Ellen Street, Barrie, ON, L4N 3A4, Canada 48 Ellen Street, Barrie, ON, Canada, L4N 3A4 Haven's Clothing 4242 Dundas Street West, Kingsmill Shopping Centre, Etobicoke, ON, M8X 1Y6, Canada 4242 Dundas Street West, Kingsmill Shopping Centre, Etobicoke, ON, Canada, M8X 1Y6 McMichael Canadian Art Collection 10365 Islington Avenue, Kleinburg, ON, L0J 1C0, Canada 10365 Islington Avenue, Kleinburg, ON, Canada, L0J 1C0 Objects To Desire 1 Livingston Avenue, Grimsby, ON, L3M 1K4, Canada 1 Livingston Avenue, Grimsby, ON, Canada, L3M 1K4 The Shop For All Reasons 228 Queen Street South, Village of Streetville, Mississauga, ON, L5M 1L5, Canada 228 Queen Street South, Village of Streetville, Mississauga, ON, Canada, L5M 1L5 147 Water Street, Saint Andrews, NB, E5B 1A7, Canada 147 Water Street, Saint Andrews, NB, Canada, E5B 1A7 Art Gallery of Burlington 1333 Lakeshore Road, Burlington, ON, L7S 1A9, Canada 1333 Lakeshore Road, Burlington, ON, Canada, L7S 1A9 Pippa & Prue 312 Dundas Street East, Unit 1, Waterdown, ON, L0R 2H0, Canada 312 Dundas Street East, Unit 1, Waterdown, ON, Canada, L0R 2H0 Shop at Art Gallery of Hamilton 123 King Street West, Hamilton, ON, L8P 4S8, Canada 123 King Street West, Hamilton, ON, Canada, L8P 4S8 Dragonfly Arts on Broadway 189 Broadway Avenue, Orangeville, ON, L9W 1K2, Canada 189 Broadway Avenue, Orangeville, ON, Canada, L9W 1K2 Ladies Designer Fashions 10 Keith Avenue, Suite 205, Cranberry Mews Plaza, Collingwood, ON, L9Y 0W5, Canada 10 Keith Avenue, Suite 205, Cranberry Mews Plaza, Collingwood, ON, Canada, L9Y 0W5 Pavlo Pottery Studio and Shoppe 776 Old Highway 8, Rockton, ON, L0R 1X0, Canada 776 Old Highway 8, Rockton, ON, Canada, L0R 1X0 Carrington & Co. 225 Woodstock Road, Fredericton, NB, E3B 2H8, Canada 225 Woodstock Road, Fredericton, NB, Canada, E3B 2H8 Urban Threadz 103 Church Street, Fredericton, NB, E3B 4C8, Canada 103 Church Street, Fredericton, NB, Canada, E3B 4C8 Women's International Gift & Gallery (YWCA) 55 Dickson Street, Cambridge, ON, N1R 7A5, Canada 55 Dickson Street, Cambridge, ON, Canada, N1R 7A5 Karger Gallery 14 East Mill Street, Elora, ON, N0B 1S0, Canada 14 East Mill Street, Elora, ON, Canada, N0B 1S0 Canadian Clay and Glass Gallery Shop 25 Caroline Street North, Waterloo, ON, N2L 2Y5, Canada 25 Caroline Street North, Waterloo, ON, Canada, N2L 2Y5 Xclusive Elements 7 Front Street, Saint Jacobs, ON, N0B 2N0, Canada 7 Front Street, Saint Jacobs, ON, Canada, N0B 2N0 The Butcher's Daughter 47 Charlotte Street, Saint John City Market, Saint John, NB, E2L 2H8, Canada Saint John City Market, Saint John, NB, Canada, E2L 2H8 Boutique Zekara 47 Clark Road, Rothesay, NB, E2E 2K8, Canada 47 Clark Road, Rothesay, NB, Canada, E2E 2K8 Kisses Ladies Wear 247 Durham Street E, Walkerton, ON, N0G 2V0, Canada 247 Durham Street E, Walkerton, ON, Canada, N0G 2V0 The Touchmark Shop 137 Ontario Street, Stratford, ON, N5A 3H1, Canada 137 Ontario Street, Stratford, ON, Canada, N5A 3H1 Le Serpent à Plumes 756, boul. Perron, Carleton, QC, G0C 1J0, Canada 756, boul. Perron, Carleton, QC, Canada, G0C 1J0 The Flight of Fancy 1869 Clementsvale Road, Bear River, NS, B0S 1B0, Canada 1869 Clementsvale Road, Bear River, NS, Canada, B0S 1B0 MUSE (Museum London's Gift Shop) 421 Ridout Street North, London, ON, N6A 5H4, Canada 421 Ridout Street North, London, ON, Canada, N6A 5H4 Gifted at Applegate 49 South Sharpsville Avenue, Sharon, PA, 16146, USA 49 South Sharpsville Avenue, Sharon, PA, USA, 16146 Studio Style 215 Main Street, Port Stanley, ON, N5L 1C4, Canada 215 Main Street, Port Stanley, ON, Canada, N5L 1C4 Catherine & Company 173 Main Street, Bathurst, NB, E2A 1A6, Canada 173 Main Street, Bathurst, NB, Canada, E2A 1A6 The Urban Nest 3 Renaud Street, Miramichi, NB, E1V 6T2, Canada 3 Renaud Street, Miramichi, NB, Canada, E1V 6T2 Eccentricity Designs 135 E Main St, Carnegie , PA, 15106, USA 135 E Main St, Carnegie , PA, USA, 15106 The Cameleer 125 East Davis Street, Culpeper, VA, 22701, USA 125 East Davis Street, Culpeper, VA, USA, 22701 Judy's Art Gallery 17 Main Street, Suite A, Bayfield, ON, N0M 1G0, Canada Suite A, Bayfield, ON, Canada, N0M 1G0 Objects Art and More 4462 Irvington Road, Irvington, VA, 22480, USA 4462 Irvington Road, Irvington, VA, USA, 22480 Sophia Boutique 7578 Fredle Drive, Painesville, OH, 44077, USA 7578 Fredle Drive, Painesville, OH, USA, 44077 Folies Féminines 431, avenue Brochu, Sept-Îles, QC, G4R 2W9, Canada 431, avenue Brochu, Sept-Îles, QC, Canada, G4R 2W9 Stile Fashion Accessories 801 Main street, Moncton , NB, E1C 1G1, Canada 801 Main street, Moncton , NB, Canada, E1C 1G1 Robert & Gabriel 5244 Mayfield Road, Lyndhurst, OH, 44124, USA 5244 Mayfield Road, Lyndhurst, OH, USA, 44124 Maddie & Sofia 250 Champlain Street, Unit 1B, Dieppe, NB, E1A 1P3, Canada 250 Champlain Street, Unit 1B, Dieppe, NB, Canada, E1A 1P3 Boutique Jolie Eve 445, boul. Saint-Pierre Ouest, Place Saint-Pierre, Caraquet, NB, E1W 1B2, Canada 445, boul. Saint-Pierre Ouest, Place Saint-Pierre, Caraquet, NB, Canada, E1W 1B2 Fine Points 126202 Larchmere Blvd, Cleveland, OH, 44120, USA 126202 Larchmere Blvd, Cleveland, OH, USA, 44120 Cleveland Museum of Art Store 11150 East Boulevard, Ames Family Atrium, Cleveland, OH, 44106, USA 11150 East Boulevard, Ames Family Atrium, Cleveland, OH, USA, 44106 Lilieth Boutique 220 Main Street, Liverpool, NS, B0T 1K0, Canada 220 Main Street, Liverpool, NS, Canada, B0T 1K0 Evie Lou 2509 Professor Avenue, Cleveland, OH, 44113, USA 2509 Professor Avenue, Cleveland, OH, USA, 44113 Don Drumm Studios & Gallery 437 Crouse Street, Akron, OH, 44311, USA 437 Crouse Street, Akron, OH, USA, 44311 Laura of Pembroke 3119 Whipple Avenue Northwest, Canton, OH, 44718, USA 3119 Whipple Avenue Northwest, Canton, OH, USA, 44718 Herbin Jewellers 453 Main Street, Wolfville, NS, B4P 1E3, Canada 453 Main Street, Wolfville, NS, Canada, B4P 1E3 Northern Sun Gallery & Gifts 8 Edgewater Street, Mahone Bay, NB, B0J 2E0, Canada 8 Edgewater Street, Mahone Bay, NB, Canada, B0J 2E0 Caico-Mae Clothiers 138 Montague Street, Lunenburg, NS, B0J 2C0, Canada 138 Montague Street, Lunenburg, NS, Canada, B0J 2C0 30 Church Women's Clothing 30 Church Street, Amherst , NS, B4H 3A7, Canada 30 Church Street, Amherst , NS, Canada, B4H 3A7 Lamia Lamia Salon and Day Spa 19653 Mack Avenue, Grosse Pointe Woods, MI, 48236, USA 19653 Mack Avenue, Grosse Pointe Woods, MI, USA, 48236 3011 West Grand Blvd, Fisher Building, Detroit, MI, 48202, USA 3011 West Grand Blvd, Fisher Building, Detroit, MI, USA, 48202 Studio Sandra 415 East 4th Street, Suite B, Royal Oak, MI, 48067, USA 415 East 4th Street, Suite B, Royal Oak, MI, USA, 48067 Trinity Jewellers 6226 Quinpool Road, Halifax, NS, B3L 1A3, Canada 6226 Quinpool Road, Halifax, NS, Canada, B3L 1A3 FireWorks Gallery 1569 Barrington Street , Halifax, NS , B3J 1Z7, Canada 1569 Barrington Street , Halifax, NS , Canada, B3J 1Z7 Barbara Boz Boutique 205 East Maple Road, Birmingham, MI, 48009, USA 205 East Maple Road, Birmingham, MI, USA, 48009 Timeless & Twist 219 Highway 2, Unit 1, Enfield, NS, B2T 1C9, Canada 219 Highway 2, Unit 1, Enfield, NS, Canada, B2T 1C9 Island Beach Company 1 Bell Boulevard Extension, Halifax Airport, Enfield, NS, B2T 1K2, Canada 1 Bell Boulevard Extension, Halifax Airport, Enfield, NS, Canada, B2T 1K2 Wanda's Perfect Stitch 6449 Inkster Road, Bloomfield Hills, MI, 48301, USA 6449 Inkster Road, Bloomfield Hills, MI, USA, 48301 Marta's Loft 115 South Saginaw Street, Holly, MI, 48442, USA 115 South Saginaw Street, Holly, MI, USA, 48442 Maynard's Fashions & Cosmetics 2123 South Linden Road, Flint, MI, 48532, USA 2123 South Linden Road, Flint, MI, USA, 48532 Details Past & Present 166 Richmond Street, Charlottetown, PE, C1A 1H9, Canada 166 Richmond Street, Charlottetown, PE, Canada, C1A 1H9 ModeAlise 7227 North High Street, Suite 122, The Shops at Worthington Place, Worthington, OH, 43085, USA 7227 North High Street, Suite 122, The Shops at Worthington Place, Worthington, OH, USA, 43085 Sherrie Gallery 694 North High Street, Columbus, OH, 43215, USA 694 North High Street, Columbus, OH, USA, 43215 129 East Main Street , Midland , MI, 48640, USA 129 East Main Street , Midland , MI, USA, 48640 Night Gallery - Branching Out 201 South Estes Drive, University Place, Chapel Hill, NC, 27514, USA 201 South Estes Drive, University Place, Chapel Hill, NC, USA, 27514 Ameublement BrandSource du Havre 1280, rue de la Digue, Havre Saint-Pierre, QC, G0G 1P0, Canada 1280, rue de la Digue, Havre Saint-Pierre, QC, Canada, G0G 1P0 Mackerel Sky 211 M.A.C Avenue, East Lansing, MI, 48823, USA 211 M.A.C Avenue, East Lansing, MI, USA, 48823 Devils Lake View Living 200 Devils Lake Hwy, Manitou Beach, MI, 49253, USA 200 Devils Lake Hwy, Manitou Beach, MI, USA, 49253 Carolyn Todd's 1826 Pembroke Road, Greensboro, NC, 27408, USA 1826 Pembroke Road, Greensboro, NC, USA, 27408 Katalyst 1214 Turner Street, Lansing, MI, 48906, USA 1214 Turner Street, Lansing, MI, USA, 48906 139 State Street, Harbor Springs, MI, 49740, USA 139 State Street, Harbor Springs, MI, USA, 49740 The Plum Tree Gift Shoppe 225 Main Street, Antigonish, NS, B2G 2C1, Canada 225 Main Street, Antigonish, NS, Canada, B2G 2C1 Lavoie Designs Artwear 9076 Helena Road, Alden, MI, 49612, USA 9076 Helena Road, Alden, MI, USA, 49612 Juliaetta's Trunk 100 Corry Street, Yellow Springs, OH, 45387, USA 100 Corry Street, Yellow Springs, OH, USA, 45387 Eve Avery Boutique 131 Northeast Broad Street, Southern Pines, NC, 28387, USA 131 Northeast Broad Street, Southern Pines, NC, USA, 28387 126 East Front St., Traverse City, MI, 49684, USA 126 East Front St., Traverse City, MI, USA, 49684 1121-G Military Cutoff Rd. , Wilmington, NC, 28405, USA 1121-G Military Cutoff Rd. , Wilmington, NC, USA, 28405 Monroe Hair Design 8720 Gull Road, Richland , MI, 49083, USA 8720 Gull Road, Richland , MI, USA, 49083 YT Galleria 966 Cherry Street Southeast, Grand Rapids, MI, 49506, USA 966 Cherry Street Southeast, Grand Rapids, MI, USA, 49506 Eve's Leaves 1129 Main Street, Blowing Rock, NC, 28605, USA 1129 Main Street, Blowing Rock, NC, USA, 28605 Pomegranate & Lime 6804 Wooster Pike, Mariemont, OH, 45227, USA 6804 Wooster Pike, Mariemont, OH, USA, 45227 Cockerill Gallery 2700 Erie Avenue , Cincinnati , OH, 45208, USA 2700 Erie Avenue , Cincinnati , OH, USA, 45208 MiCA 12/v 1201 Vine Street, Cincinnati, OH, 45202, USA 1201 Vine Street, Cincinnati, OH, USA, 45202 Moving Spirits 429 River Street , Manistee, MI, 49660, USA 429 River Street , Manistee, MI, USA, 49660 Patchouli Accessories Boutique 503 Chebucto Street, Unit 5, Baddeck, NS, B0E 1B0, Canada 503 Chebucto Street, Unit 5, Baddeck, NS, Canada, B0E 1B0 Judee's 1205 East University Drive, Granger, IN, 46530, USA 1205 East University Drive, Granger, IN, USA, 46530 Pawleys Island Wear 10880 Ocean Highway, The Hammock Shops Village , Pawleys Island, SC, 29585, USA 10880 Ocean Highway, The Hammock Shops Village , Pawleys Island, SC, USA, 29585 Desirant 34 Broadway Street, Asheville, NC, 28801-2917, USA 34 Broadway Street, Asheville, NC, USA, 28801-2917 23 Haywood Street, Asheville, NC, 28801, USA 23 Haywood Street, Asheville, NC, USA, 28801 Scout Boutique 10 All Souls Crescent, Asheville, NC, 28803, USA 10 All Souls Crescent, Asheville, NC, USA, 28803 Classic Couture 109 E Rutherford St, Landrum, SC, 29356, USA 109 E Rutherford St, Landrum, SC, USA, 29356 Talloni, A Shoe Salon 43 Town Square Blvd, Suite 110, Biltmore Park Town Square, Asheville, NC, 28803, USA 43 Town Square Blvd, Suite 110, Biltmore Park Town Square, Asheville, NC, USA, 28803 Banana Moon (Moon on Main) 329 North Main Street, Hendersonville, NC, 28792, USA 329 North Main Street, Hendersonville, NC, USA, 28792 Laura's Fine Clothing & Gifts 1502 West Sycamore Street, Kokomo, IN, 46901, USA 1502 West Sycamore Street, Kokomo, IN, USA , 46901 9341 Spring Road, Building A, Unit 10, Top of the Hill Shops, Fish Creek, WI, 54212, USA 9341 Spring Road, Building A, Unit 10, Top of the Hill Shops, Fish Creek, WI, USA, 54212 Indianapolis Museum of Art Store 4000 Michigan Road, Indianapolis, IN, 46208, USA 4000 Michigan Road, Indianapolis, IN, USA, 46208 Christopher Park Gallery 608 South Main Street, Suite A, Greenville, SC, 29601, USA Suite A, Greenville, SC, USA, 29601 468 Main Street, Highlands, NC, 28741, USA 468 Main Street, Highlands, NC, USA, 28741 101 West Kirkwood Avenue , Suite 107, Bloomington, IN, 47404, USA 101 West Kirkwood Avenue , Suite 107, Bloomington, IN, USA, 47404 Northern Lights Gallery 423 Main Street, Racine, WI, 53403, USA 423 Main Street, Racine, WI, USA, 53403 1640 East 87th Street, Chicago, IL, 60617, USA 1640 East 87th Street, Chicago, IL, USA, 60617 Arts & Artisans 321 North Michigan Avenue, Chicago, IL, 60601, USA 321 North Michigan Avenue, Chicago, IL, USA, 60601 Mary Walter 33 West Superior Street, Chicago, IL, 60654, USA 33 West Superior Street, Chicago, IL, USA, 60654 35 East Wacker Drive, Chicago, IL, 60601, USA 35 East Wacker Drive, Chicago, IL, USA, 60601 720 South Michigan Avenue, Hilton Hotel, Chicago, IL, 60605, USA 720 South Michigan Avenue, Hilton Hotel, Chicago, IL, USA, 60605 Accents Plus 601 Davis Street, Evanston, IL, 60201, USA 601 Davis Street, Evanston, IL, USA, 60201 500 West Madison Street, Ogilvie Transportation Center, Chicago, IL, 60661, USA 500 West Madison Street, Ogilvie Transportation Center, Chicago, IL, USA, 60661 Picardy Shoe Parlour 11035 North Port Washington Road, Mequon Pavilions Shopping Center, Mequon, WI, 53092, USA 11035 North Port Washington Road, Mequon Pavilions Shopping Center, Mequon, WI, USA, 53092 Milwaukee Art Museum Store 700 North Art Museum Drive, Milwaukee, WI, 53202, USA 700 North Art Museum Drive, Milwaukee, WI, USA, 53202 1515 Sheridan Road, Suite 25, Plaza del Lago, Wilmette, IL, 60091, USA 1515 Sheridan Road, Suite 25, Plaza del Lago, Wilmette, IL, USA, 60091 241 North Broadway, Suite 1B, Milwaukee, WI, 53202, USA 241 North Broadway, Suite 1B, Milwaukee, WI, USA, 53202 4161 North Lincoln Avenue, Chicago, IL, 60618, USA 4161 North Lincoln Avenue, Chicago, IL, USA, 60618 DeBerge's 2008 63rd Street, Kenosha, WI, 53143, USA 2008 63rd Street, Kenosha, WI, USA, 53143 Hoypoloi Gallery 2140 Monroe Street, Chicago, IL, 60612, USA 2140 Monroe Street, Chicago, IL, USA, 60612 Mattie M 990 Green Bay Road, Winnetka, IL, 60093, USA 990 Green Bay Road, Winnetka, IL, USA, 60093 1882 Sheridan Road, Highland Park, IL, 60035, USA 1882 Sheridan Road, Highland Park, IL, USA, 60035 Citywoods 651 Central Avenue, Highland Park, IL, 60035, USA 651 Central Avenue, Highland Park, IL, USA, 60035 The Villager Gift Shop 2007 Ridge road, Homewood, IL, 60430, USA 2007 Ridge road, Homewood, IL, USA, 60430 7532 West State Street, Wauwatosa, WI, 53213, USA 7532 West State Street, Wauwatosa, WI, USA, 53213 Team Blonde 7442 West Madison Street, Forest Park, IL, 60130, USA 7442 West Madison Street, Forest Park, IL, USA, 60130 Robin's Nest 16389 Main Street, N89, Menomonee Falls, WI, 53051, USA 16389 Main Street, N89, Menomonee Falls, WI, USA, 53051 3626 Walton Way Ext. Suite 500, Augusta, GA, 30909, USA 3626 Walton Way Ext. Suite 500, Augusta, GA, USA, 30909 Chicago O'Hare International, Terminal 2, Concourse E, Gate E-3, Chicago, IL, 60666, USA Chicago O'Hare International, Terminal 2, Concourse E, Gate E-3, Chicago, IL, USA, 60666 Hinsdale Adventist Hospital Gift Shop 120 North Oak Street, Hinsdale, IL, 60521, USA 120 North Oak Street, Hinsdale, IL, USA, 60521 Old Sautee Store 2315 Highway 17, Sautee Nacoochee, GA, 30571, USA 2315 Highway 17, Sautee Nacoochee, GA, USA, 30571 Gia Haute & Home 45 South Washington Street, Hinsdale, IL, 60521, USA 45 South Washington Street, Hinsdale, IL, USA, 60521 Alexian Brothers Medical Center Gift Shop 800 Biesterfield Road, Elk Grove Village, IL, 60007, USA 800 Biesterfield Road, Elk Grove Village, IL, USA, 60007 Grace & Glory Uptown 1029 Boundary Street, Suite A, Beaufort, SC, 29902, USA 1029 Boundary Street, Suite A, Beaufort, SC, USA, 29902 St. Alexius Medical Center Shop 1555 Barrington Road, Main entrance, Hoffman Estates, IL, 60169, USA 1555 Barrington Road, Main entrance, Hoffman Estates, IL, USA, 60169 Willow Gift & Home 3500 Hulman Street, Terre Haute, IN, 47803, USA 3500 Hulman Street, Terre Haute, IN, USA, 47803 1600 Main Street, Hilton Head Island, SC, 29926, USA 1600 Main Street, Hilton Head Island, SC, USA, 29926 Evernia 219 West State Street, Geneva, IL, 60134, USA 219 West State Street, Geneva, IL, USA, 60134 Naked South Boutique 9924 Davis St #4, Braselton, GA, 30517, USA 9924 Davis St #4, Braselton, GA, USA, 30517 13 Secrets 426 East Oglethorpe Avenue, Savannah, GA, 31401, USA 426 East Oglethorpe Avenue, Savannah, GA, USA, 31401 Aurum Jewelry and Art 1051 Parkside Commons , Suite 101, Greensboro, GA, 30642, USA 1051 Parkside Commons , Suite 101, Greensboro, GA, USA, 30642 Wild Flower Boutique 2809 Lincoln Avenue, Suite 124, Evansville, IN, 47714, USA 2809 Lincoln Avenue, Suite 124, Evansville, IN, USA, 47714 Potpourri of Sandy Springs 227 Sandy Springs Place Northeast, Suite 374, CityWalk Sandy Springs, Atlanta, GA, 30328, USA 227 Sandy Springs Place Northeast, Suite 374, CityWalk Sandy Springs, Atlanta, GA, USA, 30328 Squash Blossom Boutique 113 E Court Square, Decatur, GA, 30032, USA 113 E Court Square, Decatur, GA, USA, 30032 22 E Church St, Cartersville, GA, 30120, USA 22 E Church St, Cartersville, GA, USA, 30120 Pearl Luvs Earl 2308 North 3rd Street, Wausau, WI, 54403, USA 2308 North 3rd Street, Wausau, WI, USA, 54403 1017 Park Street, Jacksonville, FL, 32204, USA 1017 Park Street, Jacksonville, FL, USA, 32204 Jule Collins Smith Museum Of Fine Art Shop 901 South College Street, Auburn, AL, 36849-0001, USA 901 South College Street, Auburn, AL, USA, 36849-0001 Beverly Ruff Antiques and Linens 2417 Canterbury Road, Beverly Ruff Antiques and Linens, Mountain Brook, AL, 35223, USA 2417 Canterbury Road, Beverly Ruff Antiques and Linens, Mountain Brook, AL, USA, 35223 2000 Reverend Abraham Woods Jr Blvd., Birmingham, AL, 35203, USA 2000 Reverend Abraham Woods Jr Blvd., Birmingham, AL, USA, 35203 6 North Main Street, Rice Lake, WI, 54868, USA 6 North Main Street, Rice Lake, WI, USA, 54868 The Queen Bees 2732 North Highland Avenue, Jackson , TN, 38305, USA 2732 North Highland Avenue, Jackson , TN, USA, 38305 Northcutts On Main 1774 West Main Street, Dothan, AL, 36301, USA 1774 West Main Street, Dothan, AL, USA, 36301 Modernism Museum Shoppe 144 East 4th Avenue, Mount Dora, FL, 32757, USA 144 East 4th Avenue, Mount Dora, FL, USA, 32757 Coco's Gallery and Boutique 402 Brevard Avenue, Cocoa, FL, 32922, USA 402 Brevard Avenue, Cocoa, FL, USA, 32922 Charles Hosmer Morse Museum of American Art Shop 445 North Park Avenue, Winter Park, FL, 32789, USA 445 North Park Avenue, Winter Park, FL, USA, 32789 Peacocks and Pearls 404 North Gloster, Tupelo, MS, 38804, USA 404 North Gloster, Tupelo, MS, USA, 38804 Luya shoes and other fine things 236 S Main St, Zumbrota, MN, 55992, USA 236 S Main St, Zumbrota, MN, USA, 55992 524 2nd St, Hudson, WI, 54016, USA 524 2nd St, Hudson, WI, USA, 54016 6150 Poplar Avenue, Suite 116, Regalia Shopping Center, Memphis, TN, 38119, USA 6150 Poplar Avenue, Suite 116, Regalia Shopping Center, Memphis, TN, USA, 38119 Paper Patisserie 366 Selby Avenue, Saint Paul, MN, 55102, USA 366 Selby Avenue, Saint Paul, MN, USA, 55102 957 Grand Avenue, Saint Paul, MN, 55105, USA 957 Grand Avenue, Saint Paul, MN, USA, 55105 Fawbush's 3420 Galleria, Edina, MN, 55435, USA 3420 Galleria, Edina, MN, USA, 55435 Suzette's on the Rocks 400 Indian Rocks Road North, Belleair Bluffs, FL, 33770, USA 400 Indian Rocks Road North, Belleair Bluffs, FL, USA, 33770 2725 Ingersoll Avenue, Des Moines, IA, 50312, USA 2725 Ingersoll Avenue, Des Moines, IA, USA, 50312 Sunbug 141 West Venice Avenue, Venice, FL, 34285, USA 141 West Venice Avenue, Venice, FL, USA, 34285 The Art of Fashion and Moore 2267 First Street, Suite 12, Fort Myers, FL, 33901, USA 2267 First Street, Suite 12, Fort Myers, FL, USA, 33901 Nichole's Collection at Town & Lake 25148 East Main Street, Nisswa, MN, 56468, USA 25148 East Main Street, Nisswa, MN, USA, 56468 Cybele's 382 Fairhope Avenue, Fairhope, AL, 36532, USA 382 Fairhope Avenue, Fairhope, AL, USA, 36532 M & F Casuals 17070 Scenic Highway, Suite 98, Point Clear , AL, 36564, USA 17070 Scenic Highway, Suite 98, Point Clear , AL, USA, 36564 EPS - Dorothy Maynard D 6257 8260 NW 14th St., Miami, FL, 33191, USA 8260 NW 14th St., Miami, FL, USA, 33191 Jami's 26811 South Bay Drive , Suite 136, The Promenade at Bonita Bay, Bonita Springs, FL, 34134, USA 26811 South Bay Drive , Suite 136, The Promenade at Bonita Bay, Bonita Springs, FL, USA, 34134 Johnny Ruth 181 Water Street, St. John's, NL, A1C 1B1, Canada 181 Water Street, St. John's, NL, Canada, A1C 1B1 Scarlet Pearl Casino 9380 Central Avenue, D'Iberville, MS, 39540, USA 9380 Central Avenue, D'Iberville, MS, USA, 39540 Kemper Museum of Contemporary Art 4420 Warwick Blvd, Kansas City, MO, 64111, USA 4420 Warwick Blvd, Kansas City, MO, USA, 64111 Blue Monarch 120 West Main Street, Suite 102, Vermillion, SD, 57069, USA 120 West Main Street, Suite 102, Vermillion, SD, USA, 57069 749 Saint Mary's Road, Winnipeg, MB, R2M 3N6, Canada 749 Saint Mary's Road, Winnipeg, MB, Canada, R2M 3N6 Tara Davis Studio Boutique 246 McDermot Avenue, Winnipeg, MB, R3B 0S5, Canada 246 McDermot Avenue, Winnipeg, MB, Canada, R3B 0S5 House of Broussard 100 West Main Street, Broussard, LA, 70518, USA 100 West Main Street, Broussard, LA, USA, 70518 Shelmerdine Garden Center 7800 Roblin Blvd, Headingley, MB, R4H 1B6, Canada 7800 Roblin Blvd, Headingley, MB, Canada, R4H 1B6 The Modern Art Museum of Fort Worth Shop 3200 Darnell Street, Fort Worth, TX, 76107, USA 3200 Darnell Street, Fort Worth, TX, USA, 76107 Feather your Nest 3500 Jefferson Street, Suite 120, Austin, TX, 78731, USA 3500 Jefferson Street, Suite 120, Austin, TX, USA, 78731 Blanton Museum Shop 200 East Martin Luther King Junior Blvd, The University of Texas at Austin, Austin, TX, 78701, USA 200 East Martin Luther King Junior Blvd, The University of Texas at Austin, Austin, TX, USA, 78701 Meyer's Department Store 200 Main Street North, Watford City, ND, 58854, USA 200 Main Street North, Watford City, ND, USA, 58854 Studio S Fashion House 3221 Quance Street East, Regina, SK, S4V 3B7, Canada 3221 Quance Street East, Regina, SK, Canada, S4V 3B7 Four and Twenty Blackbirds 505 Main Street, Windsor, CO, 80550, USA 505 Main Street, Windsor, CO, USA, 80550 100 West 14th Avenue Parkway, Denver, CO, 80204, USA 100 West 14th Avenue Parkway, Denver, CO, USA, 80204 Jillian's Design Elements 621 Main Street North, Moose Jaw, SK, S6H 0W6, Canada 621 Main Street North, Moose Jaw, SK, Canada, S6H 0W6 Mixx Projects Atelier 307 E Colorado Ave P.O. Box 3567, Telluride, CO, 81435, USA 307 E Colorado Ave P.O. Box 3567, Telluride, CO, USA, 81435 7039 North Oracle Road, Contact: Moriah, Tucson, AZ, 85704, USA 7039 North Oracle Road, Contact: Moriah, Tucson, AZ, USA, 85704 5001 50th Street, Camrose, AB, T4V 1R3, Canada 5001 50th Street, Camrose, AB, Canada, T4V 1R3 8787 North Scottsdale Road , Suite 222, The Shops at Gainey Village (Contact: Sue), Scottsdale, AZ, 85253, USA 8787 North Scottsdale Road , Suite 222, The Shops at Gainey Village (Contact: Sue), Scottsdale, AZ, USA, 85253 6560 North Scottdale Road, Suite 115, Scottsdale, AZ, 85253, USA 6560 North Scottdale Road, Suite 115, Scottsdale, AZ, USA, 85253 Arizona Biltmore Resort 2400 East Missouri Avenue, Phoenix, AZ, 85016, USA 2400 East Missouri Avenue, Phoenix, AZ, USA, 85016 Virtu Boutique 5004 50th Street, Beaumont, AB, T4X 1E6, Canada 5004 50th Street, Beaumont, AB, Canada, T4X 1E6 2 Sir Winston Churchill Square, Edmonton, AB, T5J 2C1, Canada 2 Sir Winston Churchill Square, Edmonton, AB, Canada, T5J 2C1 Blu's Womens Wear 4719 101 Street NW, BDC, Edmonton, AB, T6E 5C6, Canada 4719 101 Street NW, BDC, Edmonton, AB, Canada, T6E 5C6 C'est Sera 8239 104th Street Northwest, Edmonton, AB, T6E 4E7, Canada 8239 104th Street Northwest, Edmonton, AB, Canada, T6E 4E7 Harlow Crestwood 9676 142 Street, Crestwood Centre, Edmonton, AB, T5N 4B2, Canada Crestwood Centre, Edmonton, AB, Canada, T5N 4B2 Side Street Fashion & Accessories 3310 50 Avenue, Cambridge Red Deer Hotel & convention center, Red Deer, AB, T4N 3X9, Canada Cambridge Red Deer Hotel & convention center, Red Deer, AB, Canada, T4N 3X9 Blue Moon Accessories 10816 Macleod Trail Southeast, Suite 210, Willow Park Village, Calgary, AB, T2J 5N8, Canada 10816 Macleod Trail Southeast, Suite 210, Willow Park Village, Calgary, AB, Canada, T2J 5N8 BraTopia West Inc. 206 1409 Edmonton Tr. NE, Calgary, AB, T2E 3K8, Canada 206 1409 Edmonton Tr. NE, Calgary, AB, Canada, T2E 3K8 Glenbow Museum Shop 130 9th Avenue Southeast, Ground Floor, Calgary, AB, T2G 0P3, Canada 130 9th Avenue Southeast, Ground Floor, Calgary, AB, Canada, T2G 0P3 313 19th Street Northwest, Calgary, AB, T2N 2J2, Canada 313 19th Street Northwest, Calgary, AB, Canada, T2N 2J2 Something2Wear 326 Aspen Glen Landing Southeast, Unit 118, Calgary, AB, T3H 0N5, Canada 326 Aspen Glen Landing Southeast, Unit 118, Calgary, AB, Canada, T3H 0N5 The Best Little Wordhouse In The West 7 Balsam Avenue, Suite 208, Calgary, AB, T0L 0K0, Canada 7 Balsam Avenue, Suite 208, Calgary, AB, Canada, T0L 0K0 Boutique Nine 5005 Dalhousie Drive Northwest , Suite 135, Dalhousie Station Shopping Centre, Calgary, AB, T3A 5R8, Canada 5005 Dalhousie Drive Northwest , Suite 135, Dalhousie Station Shopping Centre, Calgary, AB, Canada, T3A 5R8 210 8560 8A Ave. SW, Calgary, AB, T3H 1T1, Canada 210 8560 8A Ave. SW, Calgary, AB, Canada, T3H 1T1 Eclectica Fashion 5012 50th Street, Sylvan Lake, AB, T4S 1M5, Canada 5012 50th Street, Sylvan Lake, AB, Canada, T4S 1M5 Toccata for Her 721 Main Street, Suite 108, Canmore, AB, T1W 2B2, Canada Suite 108, Canmore, AB, Canada, T1W 2B2 Whyte Museum Of The Canadian Rockies Shop 111 Bear Street, Banff, AB, T1L 1A3, Canada 111 Bear Street, Banff, AB, Canada, T1L 1A3 La Quinta Resort Resort & Club 499 Eisenhower Drive, Unit 49, La Quinta, CA, 92253, USA 499 Eisenhower Drive, Unit 49, La Quinta, CA, USA, 92253 1500 Orange Avenue, att. Accounts Payable, Coronado, CA, 92118, USA 1500 Orange Avenue, att. Accounts Payable, Coronado, CA, USA, 92118 Marla June's Clothing Company 5215 W Clearwater Ave #101, Kennewick, WA, 99336, USA 5215 W Clearwater Ave #101, Kennewick, WA, USA, 99336 Lady Chadderton's 8318 Main St. , Box 984, Osoyoos, BC, V0H 1V0, Canada 8318 Main St. , Box 984, Osoyoos, BC, Canada, V0H 1V0 KoLu 1950 Harvey Avenue, Suite 115, Spall Plaza, Kelowna, BC, V1Y 8G6, Canada 1950 Harvey Avenue, Suite 115, Spall Plaza, Kelowna, BC, Canada, V1Y 8G6 447 Bernard Avenue, Kelowna, BC, V1Y 6N8, Canada 447 Bernard Avenue, Kelowna, BC, Canada, V1Y 6N8 Autry Museum of American West 4700 Western Heritage Way, Los Angeles, CA, 90027, USA 4700 Western Heritage Way, Los Angeles, CA, USA, 90027 Craft & Folk Art Museum Shop 5814 Wilshire Blvd, Los Angeles, CA, 90036, USA 5814 Wilshire Blvd, Los Angeles, CA, USA, 90036 Sass Boutique 10118 Main Street, Summerland, BC, V0H 1Z0, Canada 10118 Main Street, Summerland, BC, Canada, V0H 1Z0 1130 State street, Santa Barbara, CA, 93101, USA 1130 State street, Santa Barbara, CA, USA, 93101 Birkenstock Midtown 2612 J Street, Sacramento, CA, 95816, USA 2612 J Street, Sacramento, CA, USA, 95816 320 Broadway St., Chico, CA, 95928, USA 320 Broadway St., Chico, CA, USA, 95928 Museo Gallery 215 First Street, Langley, WA, 98260, USA 215 First Street, Langley, WA, USA, 98260 212 Homer Avenue, Contact: Diane, Palo Alto, CA, 94301, USA 212 Homer Avenue, Contact: Diane, Palo Alto, CA, USA, 94301 Marita's Boutique 551 Lighthouse Avenue, Pacific Grove, CA, 93950, USA 551 Lighthouse Avenue, Pacific Grove, CA, USA, 93950 Jolie By The Sea South Ocean between MonteVerde & Lincoln, South Ocean, Carmel, CA, 93921, USA South Ocean between MonteVerde & Lincoln, South Ocean, Carmel, CA, USA, 93921 2108 Vine Street, Berkeley, CA, 94709, USA 2108 Vine Street, Berkeley, CA, USA, 94709 2111 Vine Street, Contact: Sherry, Berkeley, CA, 94709, USA 2111 Vine Street, Contact: Sherry, Berkeley, CA, USA, 94709 1799 Fourth Street, (store) Contact: Kay, Berkeley, CA, 94710, USA 1799 Fourth Street, (store) Contact: Kay, Berkeley, CA, USA, 94710 Edge Fashion 15223 Pacific Avenue, Unit 7A, White Rock, BC, V4B 1P8, Canada 15223 Pacific Avenue, Unit 7A, White Rock, BC, Canada, V4B 1P8 J. James Sonoma 122 East Napa Street, Sonoma, CA, 95476, USA 122 East Napa Street, Sonoma, CA, USA, 95476 Bison Country Life 1341 Main Street, St. Helena, CA, 94574, USA 1341 Main Street, St. Helena, CA, USA, 94574 Mara Shoes and Fashion 824 Grant Avenue, Novato, CA, 94945, USA 824 Grant Avenue, Novato, CA, USA, 94945 3080 Edgemont Blvd, North Vancouver, BC, V7R 2N4, Canada 3080 Edgemont Blvd, North Vancouver, BC, Canada, V7R 2N4 Artina's Jewellery 387 Water Street, Vancouver, BC, V6B 1B8, Canada 387 Water Street, Vancouver, BC, Canada, V6B 1B8 Vancouver Art Gallery Store 750 Hornby Street, Vancouver, BC, V6Z 2H7, Canada 750 Hornby Street, Vancouver, BC, Canada, V6Z 2H7 Mia Bella Boutique 1666 Johnston Street, Unit 3, Granville Island, Vancouver, BC, V6H 3S2, Canada 1666 Johnston Street, Unit 3, Granville Island, Vancouver, BC, Canada, V6H 3S2 Eclectic Gallery 2170 Oak Bay Avenue, Victoria, BC, V8R 1E9, Canada 2170 Oak Bay Avenue, Victoria, BC, Canada, V8R 1E9 Runway Fashions 702 Douglas Street, Victoria, BC, V8W 3M6, Canada 702 Douglas Street, Victoria, BC, Canada, V8W 3M6 Something More 5325 Cordova Bay Road, Suite 127, Mattick's Farm Shopping Centre, Victoria, BC, V8Y 2L3, Canada 5325 Cordova Bay Road, Suite 127, Mattick's Farm Shopping Centre, Victoria, BC, Canada, V8Y 2L3 Out of The Blue Boutique 455 Bowen Trunk Road, Suite 22, Bowen Island, BC, V0N 1G0, Canada 455 Bowen Trunk Road, Suite 22, Bowen Island, BC, Canada, V0N 1G0 Frankly Scarlet Jewellery 115 Fulford-Ganges Road, Suite 1104, Grace Point Square, Salt Spring Island, BC, V8K 2T9, Canada 115 Fulford-Ganges Road, Suite 1104, Grace Point Square, Salt Spring Island, BC, Canada, V8K 2T9 Palmeros 5514 Wharf Avenue, Sechelt, BC, V0N 3A0, Canada 5514 Wharf Avenue, Sechelt, BC, Canada, V0N 3A0 180 Commercial Street, Nanaimo, BC, V9R 5G6, Canada 180 Commercial Street, Nanaimo, BC, Canada, V9R 5G6 1336 Bay Street, Florence, OR, 97439-9649, USA 1336 Bay Street, Florence, OR, USA, 97439-9649 Penny Tyme Fashions 442 Duncan Avenue, Suite D, Courtenay, BC, V9N 7J5, Canada 442 Duncan Avenue, Suite D, Courtenay, BC, Canada, V9N 7J5 Mai des Lys 16, rue Dr Verron, Epernay, 51200, France 16, rue Dr Verron, Epernay, France, 51200 7, rue du Général de Gaulle, Héricourt, 70400, France 7, rue du Général de Gaulle, Héricourt, France, 70400 Röser & Zillekens GmbH Kirchenstraße 33, Ladenburg, 68526, Germany Kirchenstraße 33, Ladenburg, Germany, 68526 Julius Staudt Kunstgewerbe Gmbh Fürther Freiheit 2-4, Fürth, Bavaria, D-90762, Germany Fürther Freiheit 2-4, Fürth, Bavaria, Germany, D-90762 Peter Bijoux Sparkassenstraße 21, Merano, BZ, 1-39012, Italia Sparkassenstraße 21, Merano, BZ, Italia, 1-39012 Grand Wailea Resort 3850 Wailea Alanui Drive, Wailea, HI, 96753, USA 3850 Wailea Alanui Drive, Wailea, HI, USA, 96753 Showroom Equip, designer jewelry multi-brand Нижний Сусальный переулок, д.5,, стр.5А, бизнес-квартал АРМА, Москва, 105064, Russia Нижний Сусальный переулок, д.5,, стр.5А, бизнес-квартал АРМА, Москва, Russia, 105064 Vice Jewelry 204 Al Tayer Building , c/o Al Ayali General Trading, Al Riffa, Bur Dubai, Dubai, UAE 204 Al Tayer Building , c/o Al Ayali General Trading, Al Riffa, Bur Dubai, UAE, Dubai 3-8-19 Ebara, Shinagawa-ku, room #307, Tokyo, 142-0063, Japon 3-8-19 Ebara, Shinagawa-ku, room #307, Tokyo, Japon, 142-0063 Professionnal tradeshows Studio, workshops and boutique 5333, Casgrain Ave., studio 502 Montréal (Quebec) Canada, H2T 1X3 International: +00 1 514 844-4305 Get services' emails © Anne-Marie Chagnon inc. 2015 HomepageSitemapTerms and conditions Be among the first to access exciting new arrivals, special offers and events while getting 10% off your next online purchase.
{ "redpajama_set_name": "RedPajamaCommonCrawl" }
Football All-American Gage Larvadain having immediate impact for Southeastern hoops Southland conference Freshman of the Year and Freshman All-American honors is a full season for most college football players. For Southeastern's Gage Larvadain, it's just the... The No. 12 LSU Women's Basketball team defeated... 13-year-old boy struck by falling bullet dies at Chicago hospital 4 years 6 months 1 week ago Sunday, July 09 2017 Jul 9, 2017 July 09, 2017 6:30 PM July 09, 2017 in News Photo: ABC7 Chicago CHICAGO - Authorities say a 13-year-old Indiana boy has died after being struck by a falling bullet that was likely fired into the sky by someone in a nearby community. WMAQ-TV reports that Noah Inman was playing basketball on July 1 when he suddenly fell to the ground in Hammond, Indiana. The city is about 25 miles south of Chicago. Witnesses called an ambulance, thinking he'd suffered a seizure. Hospital workers soon discovered he'd been hit by a falling bullet. Noah was flown to a Chicago hospital. On Friday, he was pronounced dead by the Cook County Medical Examiner's Office. Police say an investigation determined the bullet had likely been fired skyward, like fireworks. It's illegal to discharge a weapon within Hammond's city limits. The case remains under investigation. Gage Larvadain staying busy while doing two sports at Southeastern
{ "redpajama_set_name": "RedPajamaCommonCrawl" }
Latest News About Black Holes In a typical star, nuclear fusion is liable for generation of vitality and pressure. This is an outward strain that neutralizes the gravitational pull created by the star's personal mass. Related Space Facts: But the mathematics of black holes was extremely complex. Many researchers believed they have been nothing greater than mathematical artefacts, current solely on paper. Two gaseous clouds resembling peacocks have been found in neighboring dwarf galaxy the Large Magellanic Cloud. In these photographs by the ALMA telescopes, purple and inexperienced spotlight molecular gas while blue exhibits ionized hydrogen gasoline. A shut-up view of an interstellar comet passing by way of our photo voltaic system may be seen on the left. On the best, astronomers used an image of Earth for comparability. NASA's Spitzer Space Telescope captured the Tarantula Nebula in two wavelengths of infrared mild. The purple represents sizzling fuel, while the blue regions are interstellar dust. This is an artist's impression of two white dwarfs within the strategy of merging. While astronomers anticipated that this may cause a supernova, they have found an instance of two white dwarf stars that survived merging. This type of explosion is referred to as a fast blue optical transient. The afterglow of brief gamma ray burst that was detected 10 billion gentle-years away is shown right here in a circle. The purple supergiant star Betelgeuse, in the constellation of Orion, skilled unprecedented dimming late in 2019. The more telescopes within the array that are extensively spaced, the higher the image decision. Learning about mysterious constructions in the universe supplies perception into physics and permits us to test observation strategies and theories, such as Einstein's principle of basic relativity. Its unique capabilities are revolutionizing astronomy as Hubble continues humanity's quest to explore the universe. With imaginative and prescient that spans the ultraviolet by way of visible and into the near infrared, Hubble investigates every thing from black holes to planets round other stars. After the supernova explosion, fusion response is totally absent. When a star dies and this explosion occurs, the majority of the whole mass of star is thrown out into the void of the house whereas solely a chilly remnant stays back. This remaining part of the star doesn't experience any fusion reaction that used to provide it life. The imaging methods used to capture the photograph reveal that the supermassive black hole has a hoop-like structure and a shadow, which is represented by a darkish central area. Planets round a photo voltaic-mass stars can develop until they start accreting gas and turn into large planets similar to Jupiter, in a couple of millions of years. But we thought that small stars such asProxima, TRAPPIST-1, TeegardernÕs star and GJ 3512, could not form Jupiter mass planets. This is an artist's illustration of what a Neptune-size moon would appear to be orbiting the gasoline giant exoplanet Kepler-1625b in a star system 8,000 mild-years from Earth. The Atacama Large Millimeter/submillimeter Array captured this unprecedented image of two circumstellar disks, in which child stars are rising, feeding off material from their surrounding birth disk. It took researchers a long time to realise they might persist in the actual world. With the new 'black hole Sun' having the same mass as the original Sun, the gravitational pull on Earth will stay the same. Black Holes are very very similar to spheres and not funnels as illustrated in many text books. This image was taken in January utilizing the European Southern Observatory's Very Large Telescope. For greater than 50 years, physicists had suspected that there could also be a black hole at the centre of the Milky Way. But the know-how needed to catch up earlier than this idea might be demonstrated. Hidden Sources Of Mysterious Cosmic Neutrinos Seen On Earth This is an artist's illustration of a brown dwarf, or a "failed star" object, and its magnetic field. The brown dwarf's environment and magnetic subject rotate at different speeds, which allowed astronomers to find out wind pace on the item. A bright yellow "twist" near the center of this picture reveals where a planet may be forming around the AB Aurigae star. The image was captured by the European Southern Observatory's Very Large Telescope. A new kind of explosion was present in a tiny galaxy 500 million gentle-years away from Earth. about, black, holes, latest 8 Free Online Courses That You Learn From Home Ultrasound Exams
{ "redpajama_set_name": "RedPajamaCommonCrawl" }
After the final whistle blew on senior Katie Briglia's season during the field hockey team's 5–2 loss to Massachusetts in the first round of the Atlantic 10 Conference Championships on Nov. 2, she said more good than bad came out of the year. With a 12–9 record, the 2012 season proved to be one of the program's best years under coach Amanda Janney. Since 1992, the field hockey team has had three seasons with 12 or more wins and all three years Janney was the coach. The 12-win total from this season was the most since 2007 when the Owls went 15–6. But having a winning record would be tough with a schedule that had Temple facing seven teams ranked in the Top 20 nationally. There to answer any doubts Janney had about having a winning season was sophomore forward Amber Youtz. As of Oct. 29, Youtz led her team and conference with 21 goals, ranking sixth in NCAA Division I with 1.05 goals per game, and her team and conference best 52 total points ranked seventh in the nation with 2.60 points per game. When she scored two goals within a minute of each other in Temple's season opener against No. 8 Virginia, Youtz began her breakout season. The Dauphin, Pa., native went on to have a record-breaking season that was highlighted on a weekend late in September when Youtz had back-to-back hat trick performances. By the time playoffs rolled around, Youtz was ranked amongst the top scorers in the nation. Youtz's 22 goals and 54 points this season are the fifth highest single-season totals in Temple history. Beyond Youtz's breakout year, other young players were able to step up as well. Both Janney and Briglia said sophomore midfielder Nicole Kroener and freshman midfielder Taylor Schronk, were integral parts of the team. Kroener and Schronk started in all 21 games for the Owls, and Kroener was tied for second on the team with 10 assists. Youtz was named as the A-10 Offensive Player of the Year, and both Youtz and Briglia were given A-10 First Team honors. Freshman forward Alyssa Delp and Schronk were named to the A-10 All-Rookie Team. For women, path to postseason goes through conference tournament.
{ "redpajama_set_name": "RedPajamaC4" }
Good friend Stacey requested some photos of our new home. I thought that would be a great blog post idea, until I realized that this would require the house to be in a state worthy of having pictures taken that I was willing to post to the Internet. Let's just say that this level of tidiness happens, um, not every day. So instead Markus, Annie and I headed out for a short walk behind our house and took some photos. I just love the views from our neighbourhood, Arzl. Much of our view from our yard is blocked by an old house, but you can see a couple of mountains if you stand in just the right place. Select view from our yard. A short walk up the lane begins a path that first snakes through the cow pastures and then merges with the larger mountain system of trails. This last picture turned out to be a bit boring. I was trying to capture the awesome hill that I think will be perfect for Annie to slide down on her plastic Rutschblatt. (What do you call it is English? Magic carpet?) I'm hoping the path leading through the pasture is kept up, as I can see many afternoons of Annie and I climbing up and sliding down, and climbing up and sliding down. Repeat until one of us loses the feeling in our toes or bum. I do miss the views of the ocean, but the mountains are a close substitute in terms of beauty. For all of our personal trials, it is hard not to feel blessed to live in this part of the world. Maybe not forever, but I'm enjoying it while we are here. When Ryan read that I was posting every day, he must have been thinking about his upcoming visit because his request was for a post about bread. Because really, the bread here is something to look forward to. It is fantastic. And it is everywhere. I've found good bread in Victoria and Winnipeg and London (Wildfire, Tall Grass Prairie and the Portuguese Bakery respectively), but you have to look for it and sometimes go out of your way for it. Bread here is very important and very available. There are bakeries every few blocks. (They are like 7-Elevens in Winnipeg.) Even in the airport they have mini-ovens so that the bread can come out fresh for the tired travelers. It matters here. (I've never heard an Austrian talk about a low-carb diet.) This isn't true everywhere in Europe either. Italy, home of fantastic food, serves mostly white bread. Tasty, but white. When Ryan and Renata come, they slip out to the bakery every morning and pick up a warm loaf. One of Ryan's favourites is a sunflower bread called Sonnenkraftbrot (sun-strength bread). It has a chewy crust and a soft but dense center. We've also tried, and like, potato bread, walnut bread and even the Bauernbrot (farmer's bread) is great with cheese and cold cuts. Although I've branched out more lately, the first year I was here I was addicted to Wurzelbrot ("root bread" because of the shape), which I guess technically is a white bread but tastes so lovely. And it even tastes great toasted the next day, as bakery-fresh bread here does not stay fresh very long. No preservatives. Often times Austrians (including this little family) will have a simple dinner of good bread, cheese, and cold cuts. Delicious. So we are looking forward to your visit Ryan and Renata. Your bread awaits. You are currently browsing the archives for the Innsbruck category.
{ "redpajama_set_name": "RedPajamaC4" }
Photocopies, Patents, and Knowledge Transfer: "The Uneasy Case" of Justice Breyer's Patentable Subject Matter Jurisprudence Dmitry Karshtedt One aspect of Justice Stephen Breyer's discomfort with patents, as expressed in his opinion for the Supreme Court in Mayo v. Prometheus and his dissent from the order dismissing certiorari in LabCorp v. Metabolite, is strikingly similar to one of his critiques of copyright law in The Uneasy Case for Copyright, a well-known article he wrote as Professor Breyer more than forty-five years ago. In The Uneasy Case, Breyer argued that the burdens on duplication of technical articles imposed by copyright law restrict the flow of information and prevent scientists from enjoying spillover benefits of published research. His patent opinions on the Supreme Court, too, talk of diminished access to information resulting from intellectual property protection. In this Article, I contend that the parallel that Justice Breyer implicitly draws between the harms of copyright and patent is a questionable one. In particular, Justice Breyer's opinions on patentable subject matter do not address the notion that inducement of disclosure and dissemination of information is one of the very purposes of patent law, nor the idea that there are many noninfringing uses of information contained in patents. I argue that these omissions may provide an insight into Justice Breyer's patent law jurisprudence-particularly, the recent reinvigoration of limits on patentable subject matter in his opinion for the Court in Mayo. Dmitry Karshtedt, Photocopies, Patents, and Knowledge Transfer: "The Uneasy Case" of Justice Breyer's Patentable Subject Matter Jurisprudence, 69 Vanderbilt Law Review 1739 (2016)
{ "redpajama_set_name": "RedPajamaCommonCrawl" }
New to the gym? We speak to a personal trainer in Western Sydney, Nabil Touma about the benefits of resistance training and how to implement it into your training routine when you're just starting on your fitness journey. Resistance training is also commonly referred to as strength training or weight training. It's a type of physical exercise which uses resistance through weight to build strength, anaerobic endurance, and increase muscle mass. It can be done using weights, or even your own body weight. Nabil, Planet Fitness Personal Trainer in Western Sydney, says there are many benefits to resistance training. "Resistance training can help you increase muscle mass and muscle fibres, regulate the sugar level by helping insulin sensitivity, increase your bone strength, build self esteem, create more lean body mass, improve flexibility and balance, protect you from injuries, and much more," Nabil says. In addition, the more muscle mass you have, the higher your basal metabolic rate (BMR) is too, which means you are burning more calories even at rest. Strength training is beneficial for women as well as men, and Nabil says it is essential to include it in your exercise program – regardless of your age or ability. There are many misconceptions around resistance and weight training, and Nabil, personal trainer in Western Sydney says he hears a lot of first time gym goers, and even those who have been working out for years mention the same concerns. "Some people think resistance training will make them gain fat, which is not true," Nabil says. Women in particular worry that weight lifting will make them 'bulky'. But, unless you are doing very heavy weights and following a calorie-dense diet, it is very unlikely. Muscle and fat are completely different structures, so it's not possible for one to turn into the other. When it comes to injury, while it is essential that weights are used properly, and it's best to speak to your personal trainer in any of our locations if you're not sure, building muscle will help to prevent injury to joints – which is especially important as we age. What Exercises Should I Start With? If it is your first time attempting resistance training, our personal trainer suggests some simple exercises using body weight to start: push ups, squats, and walking and reverse walking lunges. These simple exercises are easy, as well as highly effective, targeting all areas of the body. If you're in the gym and still unsure, any one of our personal trainers in Western Sydney, Newcastle and the Central Coast can show you these basic moves. How Frequently Should I Be Doing Resistance Training? Our Personal Trainer in Western Sydney, Nabil, says three times a week is ideal. Want to Speak to a Personal Trainer and Get Started with Resistance Training? We have personal trainers at all of our locations, including gyms in Western Sydney, Central Coast, and three gyms in Newcastle. If you would like to have a program customised for you, or would like to know more about resistance training, or about any other type of training, our personal trainers can help. Get in touch with us, or come and say hello to a personal trainer at your nearest Planet Fitness gym.
{ "redpajama_set_name": "RedPajamaC4" }
Silver Leaf Costumes is a lovely boutique specializing in quality handmade costumes and run by fashion designer, Laura McCraw. Laura was so relaxed throughout the entire design process; she knew exactly what she wanted and it was a delight to create it for her! Having used many different typefaces, colors, and styles to represent her company in the past, it was an exciting challenge to sit down with Laura and unify it all to craft a lasting brand she could love. Create a brand guide, with logo & variations. Create a unique "leaf" mark.
{ "redpajama_set_name": "RedPajamaC4" }
Package contains 0.5 grams, approximately 4,500 Oregano, Greek Herb Seeds. Germination: 12 - 18 days. Sprinkle seeds on well- prepared, light soil. Greek oregano is a hardy herb that is native to the Mediterranean. This variety of oregano forms into a bush naturally, but it can be cultivated so that it grows lower to the ground. Because of this Greek oregano can be used successfully as a ground cover in your yard. Oregano is a perennial herb that sports lovely flowers and aromatic green leaves. It works well in a garden or in a container. This herb has become very popular in cooking, particularly in Italian dishes, although is has also been known as a medicinal plant. Some also find oregano helpful in companion planting. Oregano is a hardy plant that is drought tolerant and fairly easy to grow. It can spread out or grow into a bush shape, depending on how you cultivate it. Plant oregano in a sunny spot with well-drained soil. You can trim it back as needed. The leaves of the oregano plant can be harvested often. Cut stems from the pant right before it is ready to bloom, since this is the time when the taste will be the strongest. You can use the herb fresh, or dry the leaves and store for later. You can also refrigerate fresh leaves or store them in the freezer. Use oregano in sauces, on meats, on vegetables, in Italian and Greek dishes, and even as a tea. Combine all ingredients together in a bowl, then transfer to a baking dish. Bake uncovered at 425F for about 50 minutes, stirring the mixture at least once during cooking. Potatoes are ready when they are tender. Serves 4.
{ "redpajama_set_name": "RedPajamaC4" }
Q: Error converting large size image to base64 string cordova android I am implementing some functionality in my hybrid app where I am capturing image from camera using cordova api. I get the path of image, which I convert to base64 for uploading to some server. I used file reader api's readAsDataURL method to convert local image path to base64. Everything works fine until the image size exceeds some particular limit in this case it fails for more than 2MB size images. I get following error in my logcat Refusing to load URL as it exceeds 2097152 characters which is I think my base64 string which is large. Can anybody give me some idea how to overcome this issue.
{ "redpajama_set_name": "RedPajamaStackExchange" }
Category: Sons of Sol What a crazy year! For the world, for the game industry, for games culture, in my own personal life and for RetroNeo Games. I really can't pick a topic for this month so I'm free-styling a bit. There's no shortage of topics to choose from. It's been the year of the Loot Crate, but that's been done to death. Even my blog of lost month dealt with it indirectly. Relatedly, EA has been seeing nothing but negative headlines all year even apart from the Loot Crate issues, due to Mass Effect Andromeda, closing Visceral Games (and shutting down the single-player Star Wars project), and more, but I don't really see the fun in rehashing that out. Reportedly, the new Assassin's Creed was great and sold twice what its predecessor did (proving the benefit in breaking the yearly release cycle), but I haven't played it so I can't really talk about it. Horizon: Zero Dawn is one of the top games of the year, but I haven't a PS4 so I can't speak about that either (borrowing one is top of my to-do list though). The Nintendo Switch is doing far better than anyone expected, and Zelda and Mario are another two game of the year contenders, but I've no Switch so I haven't played them either. One thing I can say is that I was wrong in my predictions of this time last year that the big shooters would be 50% off again this Christmas. The sale prices this season on Battlefront "2" (it's 4, really) and Call of Duty are decidedly more conservative, with only Wolfenstein 2 being discounted all the way down to 50%. Today's news that a man was killed in Kansas during a swatting "prank" is very newsworthy but I don't exactly want to end the year on that note. Though I will link to the PC Gamer article. An arrest was made, at least. Conventional wisdom is to keep your business channel quiet on anything political or controversial, but I don't fully subscribe to that idea. If something is plainly wrong and needs opposing, then staying silent helps the offenders, not the victims. I hope the perpetrator goes to prison for a very long time. I personally can't believe that the 'set an example' harsh sentencing of another swatting case last year didn't stop swatting in its tracks. In that case, police non-fatally shot the swatting victim. The perpetrator, a teenager, was charged with domestic terrorism and given a heavy sentence (if I recall correctly. I can't find the older articles today as the current tragedy is dominating the search results). He cried for his mother as he left the court room. Anyway, now a man is dead, and we have toxic gaming culture and manchild streamers to thank. That segues into a personal note. I like coding, and I like creating, so making games is a great fit for me, but looking at the problems of the world this year, and then looking at the types of people I'm creating disposable content for (whiney sexists & racists and swatting scumbags) really turned my stomach all of a sudden. I've struggled with feelings of anger, frustration, and depression on and off for years. While I'm coming through it, I used to use playing games as escapism, and making games as my way of fitting into the world productively. Lately, though, I've felt an urge to help the world more directly. To stop contributing to distractions and start taking positive action – whether that be for charity, fighting toxic gamer culture, or something else. I've wrestled with the idea of leaving this industry (that I've fought very hard to become a part of – more on this next month) and beginning a coaching practice to get unhappy young men out of their gaming escapism and give them meaning and purpose. Then, as fate would have it, a couple of amazing opportunities came my way from the games industry and so I've stayed – though I still feel the call to do more. As I said, more on this next month. I want to update the world on what all of that previous bullet point has meant for Sons of Sol, but, next month. I've also barely played any games in the last 5 months (reasons next month, again) and when I do I've only managed to enjoy the ones that I know I can beat in an evening, like What Remains of Edith Finch or Tacoma. Just why this is, I've a few ideas on, but that's a blog I'll write another time. I was seriously looking forward to Wolfenstein 2 as I loved the original remake, but after a few hours playing it over Christmas, I was just stressed by playing it, which defeats the purpose. Great game though, and I'm all for its themes and marketing. Would like to hear if other non-parent gamers (because the reasons for parents not having time are obvious) experience the same thing. Click for short video. My main goal for Christmas (and my reward for the year) was to play through XCOM 2: War of the Chosen, along with several other games, but with it more than half over I feel I've barely started. I asked a friend who's staying over what I should blog about, and she said to write about "how to find more time to play games". Together we joked that the first thing in the article would be "stop writing blogs"! So, I'm actually just going to go with that and stop this one here! Happy New Year to all of you fine readers, especially the regulars. Thank you. Your support is greatly appreciated, especially the notes or the comments when we meet in person. They keep me going. I've a lot more life changes coming up shortly and some Sons of Sol questions to be resolved in the next month, so I'll fill in all the blanks next time. It'll be a sort of a follow-up to the quite-popular first blog I wrote after starting full-time development on Sons of Sol. So, until next time… Author Kevin MurphyPosted on December 30, 2017 Categories Announcements, Development, Industry, Sons of Sol, ViolenceTags Game Industry, Sons of Sol, swattingLeave a comment on 2017's over! So… games… Greenlight turning red! It's February 28th, 2017. Last day of the month, second day of GDC (the Game Developer's Conference in San Francisco), and our Greenlight campaign for Sons of Sol (please vote here) is 15 days old, but was born prematurely. The original due date was approximately February 26th. So this month's blog is a bit more personal than usual as a major industry change affects RetroNeo Games directly. What is Greenlight? If you already know, consider skipping this section, but to sum it up quickly; Valve are the company behind Steam, an online digital storefront responsible for 90+% of all PC games sales. If you want to have a business that develops PC games, you need to be on Steam, basically. Up until 2012, it was very hard to get on the store because each game was vetted on its way through to the platform. This takes time and so the bigger titles from bigger studios/publishers were prioritised. That's probably an oversimplification, but it'll do.. In August 2012, Steam Greenlight launched. It's a process where first-time developers pay $100 to place a game on a community voting subsection of Steam, called Greenlight. They can't sell their game from here, but instead throw up early videos, screenshots and a description of what the game will be, and the community vote on whether or not they would buy the game if it became available on the actual store. To this day, nobody really knows what it takes to get through. A few thousand votes and waiting a few weeks is a virtual guarantee, but a few hundred can get a completely fake scam game up as well, or see real games languish in limbo. Even Valve said that it was an imperfect system, and was basically a stop-gap, but it's taken them nearly 5 years to move past it. The theory of crowd-sourcing some quality control and democratising access to the platform was solid enough, but in practice it allowed all sorts of scams and asset flips (where you buy a functioning game prototype or several assets, intended for learning or fast prototyping, then try to sell that as an original game on Steam with a minimum of effort to get from A to B) to flood the store and give Greenlight a bad name. Broforce was one early Greenlight mega-success. To be sure, Greenlight is also how the real indie successes got through to Steam as well ("over 100 Greenlight titles that have made at least $1 Million each" – do the math on that!), whereas before they may never have had a platform to be noticed, but the rubbish gets through as well. Greenlight has done a lot of good, but it's broken, with all sorts of workarounds (trading game keys for votes, for example) gumming up the gears of a well-intentioned system. There are community groups and YouTube channels like Jim Sterling dedicated to highlighting the scams. Red Light for Greenlight On Friday February 10th, Valve announced that it would be shutting down Steam Greenlight forever "this Spring" and replacing it with Steam Direct, a system that does away with the community involvement in favour of a verification process "similar to setting up a bank account" and then a recoupable fee for each game submitted. Greenlight used to allow the same developer to submit additional games for free once their first had passed through. This is intended to reduce "noise in the submission pipeline", which most would agree is a desirable goal. The problem is how much the fee will be set at, and how exactly it can be recouped. It has to be high enough to dissuade the scam artists, but low enough that legitimate small-time studios (and especially ones based in countries with lower average incomes) can still manage to get their games on Steam. To be blunt, there is going to be no good number here. Valve are taking feedback and mentioned that they'd been advised on fees ranging between $100 and $5,000! No matter what it is, some scams are going to get through, and some developers are going to fail to get on the store. Since profitable games are meant to be able to recoup the fee, perhaps less well off developers who believe in their game could borrow to pay the fee, but frankly, game development is already very expensive and risky. A high fee here is quite an unwelcome added expense for the little guys. In true Valve style, they seem to be prepared to make sweeping changes and "listen to the community" (which is good, but also points out that they don't really have a solid plan) just to see what breaks, and fix it later.. well, that's one way to do it, and it's their platform so what can I say? They're throwing the baby out with the bathwater and waiting to see what the next baby looks like, basically.. and it's not actually the worst idea.. Re-emphasis on publishers ..for them at least. They can set this fee quite high to try and clean up their store. This just means that serious indies will have to go to people with deep pockets to get their games published. Re-enter the publisher! The Kickstarter revolution (also circa 2012 – for games anyway) meant that games could raise lots of capital from the public, without needing to be beholden to a publisher. But with the success rates for Kickstarter campaigns (for digital games) falling off in the last couple of years, and with a potentially high barrier to entry to the commercial storefront in this Steam Direct fee, we may see the power back in their hands. Kickstarter changed the way that games are made.. well, some games… a little bit… for a while.. Publisher Raw Fury announced just days after Valve's statement, that they would cover the Steam Direct fee for developers who couldn't afford it, without obligation. They won't own part of the game or anything. Their aim is to develop closer ties with talented developers, and to garner good will and make a bigger name for themselves, generally. That's a great idea, since personally I hadn't heard of them before, and now I think of them as quite a forward-thinking publisher who isn't gunning for your back pocket. Good will earned! How many others will do the same, or similar? That's when I realised.. Valve's Genius Raw Fury will obviously be vetting the submissions that they get to try and put through the games most likely to recoup the Steam Direct fee. That means they will be doing quality control for Steam!! Think about that! Valve have just outsourced their quality control department, and Raw Fury will pay Valve for the privilege! People were long arguing that Valve, a multi-billion dollar corporation that employs approximately only 360 people (2016 figure) should hire more staff to oversee Greenlight submissions. They could most definitely afford it. The number of new Greenlight submissions averaged just a few dozen per day normally. That's certainly something that a small new department could handle. Valve just don't want to say 'no' to anyone truly deserving, or 'yes' to any hate speech or copyrighted material that sneaks by a human worker. They'd prefer instead to let their automated systems take the blame for any missteps. Again, that's probably fair enough, though. How this all affects RetroNeo Games RetroNeo Games' plan was to launch our Greenlight campaign to coincide with our new 'vertical slice' demo of the game that shows off our home carrier, some characters, new sound design and music, and a bit more gameplay. This same demo would be ready for GDC for any publisher or press meetings we might stir up. But with Valve's announcement that Greenlight would be gone during Spring (when I was in school in Ireland, I was taught that Spring was Feb – Apr, so we were already in it by my count..) and that it would be replaced with a potentially very high pay wall, the team had a quick emergency meeting over Skype on Saturday and decided to shift focus to doing a Greenlight trailer and page, sprucing up the website, and launching by Monday. The trailer would basically be the one we'd released just weeks before but with a Greenlight logo at the end. Previously the plan had been to shoot new footage from a playthrough of a newer demo and put that on the trailer. We chose to move up our timeline because we knew that hundreds of other developers would be thinking the same way as us, and that the Greenlight servers would be absolutely flooded in a matter of days. We were only a few weeks from our intended launch anyway, so we figured we had an advantage in terms of the quality of the submission that we could make. It's a pity because I've done a lot of research in the past year (one 2016 Gamasutra blog stood out in particular) as to how to maximise your launch on Greenlight. This included having a playable demo ready, having YouTubers play said demo, try to get press to talk about it, translate the page into multiple languages, and hook up Google Analytics. Now, just two weeks shy of accomplishing all of this, we had to go off half-cocked. Seeing the green light turning red, we basically had to rev the engine to try and make the amber, because the red might be too expensive to… eh.. this metaphor is falling apart, sorry! So, without translations, a press mailing list, a MailChimp campaign, or a demo, we launched. About the only thing we did get from our list (because it was the quickest thing to set up) was the ability to take some preorders on the site to prove to certain legal bodies that we're "in commerce". They're still available at the time of writing, heavily discounted, but limited in quantity. How have we done so far? Well in the first week we got about 300 votes and made it 18% of the way to the top 100. There's no specific target to meet, but thousands of votes and being in the top 100 is certainly desirable (and normal for games getting through in the past). The problem is that now, after a second week, we've gotten almost no further! The reason we wanted all our ducks in a row was to maximise the 'yes' votes while Steam's algorithms were still sending natural traffic to our site. Just by launching, you'll get a certain number of referrals from normal Greenlight users browsing, but after that you're on your own to generate your voting traffic. In normal circumstances, the Steam algorithms send people your way for a few days. Our natural traffic died off in under 12 hours. That's a measure of just how many other new Greenlight games were going up just 3 days after Valve's announcement. At that stage we were closer to 200 votes. The next 100 votes we got during the first week were basically from friends and colleagues through Facebook and Twitter shares. I've heard similar stories from many developers who are struggling with the campaign because they were forced to launch early and are just drowned out by the noise. Our votes after 24 hours What did we try? Since the launch I've been working every day for at least 12 hours, but not so much on the Greenlight campaign. Getting the demo ready for GDC to wow press and publishers was still a better priority – after all, nobody knows how many Greenlight votes you really need anyway, nobody knows when Greenlight is actually shutting down, and we had a request from a publisher to see a new build of the game. So, after launch and until yesterday, a new demo was priority number one! I suspect that once Valve stops taking new submissions for Greenlight, they'll probably let through a lot of what remains in the following weeks, though they have kept their options open by declaring that anyone who has paid the $100 Greenlight fee and who doesn't get through will be reimbursed. So, who knows?.. That doesn't mean that I've ignored Greenlight either, though. Not at all. Over the coming days I ran a tentative €5 Facebook and €5 Twitter ad campaign (well targeted, with video) to see what happened. We got about a dozen clicks total and about 2 new votes. So, probably not worth investing too heavily there, then. One issue is that you have to log in to Steam (if you even have an account) and often have to be emailed a security code for a 'new device' (so sick of doing that!), so anyone clicking a mobile or browser link would not likely be logged into Steam, and probably wouldn't bother doing so. I got the Greenlight page translated into Russian, Portuguese, Brazilian Portuguese and German. Even though the algorithms had stopped sending us traffic, I hoped that a new language detected might send us users from those territories. It didn't. Absolutely nothing! So I decided not to proceed with French, Spanish and Italian. I also contacted about two dozen Greenlight community user groups who exist to highlight legitimate Greenlight games. I especially targeted groups interested in space games. We did get included in four collections, but I saw no corresponding increase in traffic to us, unfortunately. Well, with the GDC demo complete, I now get to turn my attention to contacting proper press outlets and YouTubers. I'm a big fan of grassroots marketing and using your own networks, but having tapped the social circles and developers that I know already we seem to have reached the limits of what that can offer us – namely, 320 votes. Contacting press and YouTubers is a very low probability game, but one good bit of coverage can do wonders, and there are some existing relationships that I can leverage. That's now the stage that we're at to try and get more votes. I have confidence in our game, our trailer, our demo, and our team, but we're fighting in an oversaturated market. This has felt like a bit of a weird blog to write. I often write about the industry somewhat abstractly, but I'm right in the middle of this one, and it's an incomplete story. Greenlight isn't gone yet, we haven't yet been accepted for or refused press coverage, and nobody, including Valve, knows much about Steam Direct yet. I do hope I can do a positive follow-up to this blog in the near future. Until then, I can just thank you for reading, ask that you vote for us if you haven't yet, and consider sharing our Greenlight campaign with your friends. Thank you! If you'd like to hear the end of this story, sign up to our mailing list below to be notified when new blogs go live. I'll leave you with our Greenlight trailer. And don't forget to try our free demo. Download it from the Sons of Sol page. Emails will be about once per month. We hate spam as much as you do. Author Kevin MurphyPosted on February 28, 2017 Categories Announcements, Industry, Marketing, Sons of SolTags Greenlight, Sons of Sol, Steam, Steam Direct, Valve7 Comments on Greenlight turning red! Making Crow's Nest (part 4 of 4): "Sons of Sol" & "Crow's Nest" I'm still looking for an artist. Can you tell? Hi! This is Part 3 of me offering some insight into the development of my game, Sons of Sol: Crow's Nest. In Part 1 I explained my pitch "Asteroids meets Total War". In Part 2 I talked about the games that are influencing the design of Crow's Nest. In Part 3 I discussed a design challenge that the game faces. Now we've reached the final post of this 'Making Crow's Nest' series. You may recall from Part 1 that these four posts were written together and scheduled to post while I was on some down time. Next week I'll be back to blogging on more mainstream game topics. Today I'm talking about what Sons of Sol and Crow's Nest actually are. This will be a more autobiographical post than normal, so you have been warned. This tale will interweave a little bit with my previous blog on how I got into game development, which I was uneasy about writing but which people seemed to respond very positively to. This won't be as much of downer, though, promise! Together, "Sons of Sol" and "Crow's Nest" are the working title for the game that I'm working on, which is my (and RetroNeo Games') first game ever. Hopefully there'll be no need to change those names, but these things happen sometimes in development. Better names come along or products with similar names get released before yours. An Evil Empire Sons of Sol actually began in 2012 not long after Disney bought Star Wars from George Lucas. I was a life-long Star Wars fan. The films, games, and especially the books. My brother bought me one of the Expanded Universe (EU) novels in 1997 for my 10th birthday; a Han Solo trilogy one. From then and for the next 15 years, 4 out of every 5 books that I read were probably Star Wars books. I loved how the stories interconnected. I loved that a character could be introduced in one book, and survive fifteen fictional years, then be killed off when you least expect it. There were a lot of bad books in the Expanded Universe, but far more good ones. I loved how you were rewarded for your time by seeing threads of stories affect each other decades apart. The rebels eventually take Coruscant, Han and Leia have three kids, these kids get dozens of their own books and become their own proper characters, grow to adulthood and war with each other, for example. There's a book for more than every year of their lives. You can observe their whole character arcs from birth to… well.. if you put the time in. The EU was all internally consistent, and all canon. It all worked together. There are a few early exceptions and a few game stories that don't fit, but otherwise the EU really rewarded fans for their time. In 2012 I finished reading to the end of the Star Wars chronology. That's 40 years of story after Return of the Jedi, not to mention the Clone Wars books and books set between and during the movies. I didn't read all the books, but read most from the timeline of Episode 1-6 and beyond. None of the Old Republic stuff, though. Anyway, I felt I'd achieved a monumental reading goal that I set myself in 2007 (before that I'd read the books a little randomly). Five years of reading little but Star Wars, and the stories I got out of it were great. No other franchise could achieve this (well, maybe Star Trek). Then Disney bought Star Wars, and soon announced that there would be a new trilogy, but that they'd be throwing away all of that canon. The EU didn't count any more. Timothy Zahn started with Heir To The Empire in 1994. 18 years of work and some great stories now didn't count because Disney felt there was more money in movies and merchandise. I'm not naive. I know there is. I know entertainment is a business, but I'm just trying to convey my disappointment at the news. They could have set new movies inside the EU, easily. Instead they threw it away for.. well, we don't know yet. This blog is posting 1 month before the release of JJ Abrams' Episode 7. We've no idea if the new movies will be good or if the stories will be better than the ones discarded. I'm still totally reserved at the time of writing this. I also know that I now have two timelines. More Star Wars! Yay! Well, that's just not how I feel about it. I'm allowed to feel disappointed, particularly after the loyalty I showed the franchise. A Great Journey Anyway, also around this time, I moved back to Ireland after unsuccessfully attempting to get a permanent visa in Australia. So I was back in Ireland and unemployed with no decent chances of starting a career any time soon. I decided to start writing science fiction to fill the Star-Wars-shaped hole in my soul (okay, I'm being overly dramatic. I'll watch it. Sorry). I was going to write a universe of my own that I would promise to keep consistent with itself. I didn't believe that this would become a big thing, or even necessarily that I would get a single book published, but it occupied the time. Building a Galaxy I started watching tonnes of science fiction movies and documentaries and designing my universe. This took a long time. You have to design whole new physical rules for your world. You have to say "you can do this, but not this" and consider if that statement even makes sense. If you have one technology available, like artificial gravity without rotation, then you have to consider what else you can have. With that, for example, you're kind of saying that the theory of 'gravitons' existing is correct, and that we've managed to develop technology to manipulate them. Well, keeping someone fixed to the deck in a spaceship (as seen in almost every sci fi movie and show ever) means that you can cause attraction towards a point. In that case, you can probably cause repulsion in the opposite direction. This would make hover technology a reality. Did I want hover cars and hover crates in my sci-fi? Because if not then I have to solve the artificial gravity problem in another way. How long does it take to travel from one star system to another? That's going to have a major impact on stories later on. Armies can't reinforce one another in the middle of a battle if it takes two weeks to travel to the nearest star. In the end, I came up with rules I was happy with. It's a lot like Battlestar Galactica with some Mass Effect and Starship Troopers thrown in. A cold-hard-metal feel to things but with certain sci-fi tropes like artificial gravity. Warp speed is accomplished assuming that Alcubierre's (real) theories are correct and realisable. There's no light swords, weapons fire hard projectiles, and there are no shield technologies. Armour and photo-chromatic materials are all that you've got in battle. There's also ABSOLUTELY NO TIME-TRAVEL OR ALTERNATE DIMENSIONS, EVER!! Next I was writing broad story arcs and setting up so that the universe could grow wide, and so that you could have human factions appear in all parts of the galaxy. After all, it's easier to dress the actors as humans than aliens. You've got to think forward! 😉 Look at Stargate! I sketched out a 3 part story that told the tale of Earth's first expansion beyond our solar system, our first contact with aliens, and our introduction to the wider galaxy. I designed alien races called the Cestral and the Skulaari, the latter being the villains, themed on terrifying sea creatures like giant squid and crustaceans. I even wrote a little language for these factions. I Need a Name This all took several months, and I got a job for a few months which led me to drop the writing project for a while. Then I lost the job and took the writing back up again. I started writing the real story, finally, and decided to call the story at large "Sons of Sol", after conducting extensive web searches for similarly named things. At the time, I found none. I bought the .com address and set up a wiki to lay some sort of claim to the name. I've since found some similarly named games, a Korean TV show called "Sons of Sol Pharmacy" and a hoody company with the very same name. Apparently, I'm still fine to be using the name, so for now I'll keep it unless I can think of a name I like more. In early 2013 I started studying tax in Ireland, believing this would be my route to eventual (permanent) employment. I worked hard at it, but I was unemployed and it was a part time course, so I still had some time to give to writing and designing the world. I also had been writing down game ideas as they came to me and designing them out in .txt files for fun. I never expected to make a game, though, as I didn't want to study another degree course just to go into a risky profession. A Flirtation with Games One day I was very sick of studying this boring topic and posted on the forum Boards.ie to see if any game developers needed somebody with "great ideas" (I know, right?! haha) but who could also record audio, compose music, write, and manage the business/marketing side (okay, that's a little better). A guy called Rob Reinhardt in Dublin got back to me and he was actually interested in doing some collaborating. We struck up a friendship and met a few times, talking about games and what we might make together. I was only going to be involved part time as I was studying and hopefully going to get a normal job, but I'd help with the writing and other stuff as much as I could. I wasn't looking for pay or anything. Eventually, we decided to use Sons of Sol's universe as a setting for a game. It would be a prequel for the book I was writing. The book focussed on the people of Earth (at first), but the game would focus on a lost human civilization called the Kolrir and how they came (secretly) to Earth, setting up the events of the book I was writing. Nothing came of the game ultimately, but we'd designed a lot on paper for Sons of Sol: Exodus (that name would have to change if we'd done it because Sol: Exodus came out from somebody else). An Earth-shattering Kaboom! 2014 rolled around. I got a job in tax.. for 6 weeks, then lost that one too. Rob and others had told me that Unity was easy to pick up and start using, so with game design now on the brain and no tax to work at or study, I started at Unity and learned how to do some basic programming through their tutorials. It was only a couple of months before I had a very early version of a space game up and running. I later returned to this very first game for Crow's Nest. I started going to gaming events in Dublin and meeting the great community here, as well as improving my own skills and looked into starting a company through the unemployment enterprise scheme. The game that Rob and I had designed was still well beyond my skills still (probably his too. We weren't good at 'scope') but the space game currently on my screen could work inside the Sons of Sol universe too. After all, I'd designed it very openly. I can plug in new civilizations wherever I like and the story still all holds together. I'd put a lot of time into the 'Exodus' story (with Rob) and thought it was solid, so I wanted to keep it in tact. I decided to write a prequel to the prequel and tell the story of the characters that you would meet in Exodus and call it "Crow's Nest". My very own Game The game would be ostensibly about a private military company from Kolrir protecting their territories from pirates. The 'Crows Nest', the lookout spot on a sail ship (like a pirate boat) sounded suitably pirate-y for a name. In space, though, particularly in another non-Earth culture, the crow's nest wouldn't really be a term in use, both because you can't sit outside a spaceship, and the Kolrir culture may never have had sailing ships as far as we know. So in this case, the "Nest" would refer to a pirate base hidden inside a large asteroid, and "Crow" would be the pirate villain in question who owned that base. I'll fully admit that I didn't finish a book, didn't finish a game, and am now starting another game, but bear in mind that I saw writing the book as just killing time while unemployed. The first game was killing time in between studying. With the current game, I've formed RetroNeo Games as a company. This is now my job, and that's a hell of a difference. I also now have the skills to make a game (or at least prototype it) by myself, without just being in a position where I'm giving ideas to other people. I have the time, ability, and drive to deliver Sons of Sol: Crow's Nest. The Future of Sons of Sol I plan to release in early 2017. This will then be the first Sons of Sol product to exist, almost five years after I first created the universe. I hope people will like it! I could take the same game and abandon the Sons of Sol name. It'll make no difference to the players. They don't know what Sons of Sol is! But I've a whole universe worth of stories to tell and why shouldn't I make the game a Sons of Sol title? It fits. It works. But what if it's bad and I wreck the name before I even begin? Well, then I released a bad game, I guess. That's the risk with any creative work. And it's still better than releasing no game at all and Sons of Sol never getting its chance in the public domain. But I've worked too hard for years for no reward to approach this half-assed. Sons of Sol: Crow's Nest is going to be my absolute best effort, and nobody can ask fairer than that. I'll be a very proud daddy the day I finally release the game. And who knows, maybe I'll get to those other story lines some day, either through game sequels, or finishing the novel. The novel was only a couple of chapters in, though, when I last left it. If that were to be finished now I'd be better off having a different writer do it while I make a game. And I could only do that if a Sons of Sol game were wildly successful and there was the interest in a book. That's extremely unlikely, I know, but it doesn't bother me either way. I feel that if I can release one Sons of Sol title at this stage, I'll be happy and it will all have been worth the effort. Is he done yet?! If you read this far, well done, and thanks very sincerely for your interest! Especially if you read all 4 parts. Sorry for the lack of images today, also. I've really got no pictures of this topic, though. Next week we're back to non-Crow's Nest gaming topics for the blog. Author Kevin MurphyPosted on November 15, 2015 Categories Crow's Nest, Development, Sons of SolTags Crow's Nest, Development, Sons of Sol, WritingLeave a comment on Making Crow's Nest (part 4 of 4): "Sons of Sol" & "Crow's Nest" Making Crow's Nest (part 3 of 4): A design challenge Last week in Part 2 I talked about the games that are influencing the design of Crow's Nest. This week I want to talk about one particular design challenge I'm facing: Meaningful Character Death. Crow's Nest is a space combat game meets a strategy game. You fly missions like Wing Commander or X-Wing missions (but in 2D) and then go back to a strategy map like XCOM or Total War. I spoke last week about how I'm very fond of the attachment to your soldiers that XCOM can create for the player. It adds a real tension and a greater range of emotions for the player when a soldier dies or barely escapes. NOOOOOOOOOOOOO!!! Not Billy-Bob! I decided very early on that I wanted meaningful character death in my game. So I thought "fine, I'll have you play as one character, and you have wingmen. Those characters can live or die or get captured by the enemy. After that they could stay captured or you could rescue them". That sounds reasonable enough, but there was something that I didn't take into account. In my game's battles, you control one character directly. You can give orders to your other wingmen but you have very little control over what they do beyond that. In XCOM, you're the commander. You're not on the field. You control every one of your soldiers individually, one at a time. You are responsible for everything that they do. Therefore, the consequences are yours alone to deal with. You can't blame the game or the AI for making your beloved soldier do something stupid (usually) and getting themselves killed. I only realised the full importance of this distinction when I watched the following interview. In it, Adam Sessler brings together Jake Solomon (lead designer on 2012's XCOM: Enemy Unknown and 2016's XCOM 2) and Julian Gollop, the designer of the original XCOM from 1994. The whole interview is very interesting, but if you don't want to watch it all, skip to 12:32 and watch for about two minutes. Jake Solomon made the point that without turn-based gameplay you can't have meaningful character death. I saw this and I thought "oh crap! He's completely right"! If the player isn't directly accountable for the decision that led to a soldier dying, then they won't feel survivor's guilt, or the guilt of having ordered somebody to their death. They'll probably feel nothing, or worse, they'll blame the game for the consequence. If that happens, the system may as well not be in the game. As I said, I think it's a very powerful feature of XCOM that I want to try and emulate insofar as possible, so I have a problem. Now, I haven't built the system into the game yet, so it hasn't been play-tested, but I am at the design stage for it, and I'm left considering what I can do for the best results. Poking a hole in that theory If I'm to bother implementing meaningful character death into Crow's Nest (a real-time game), I need Solomon and Gollop to be (at least somewhat) incorrect. They're far better game designers than me, so maybe it's not possible, but if I could poke a breathing hole in the design-bag they've placed over my head, then I might be okay. My starting point for designing around the problem is this: We know that we can develop strong emotional ties to fictional characters. This is why we can cry when Bambi's mother dies or celebrate when Luke blows up the Death Star. Empathy is real, even if the character isn't. Game of Thrones in particular proves that the unpredictability of death can have a great impact on fans and really raise the tension. Real-life battles happen in real time (obviously, hence the word "real"), and while the commander's soldiers will have been trained, they operate of their own volition. A commander doesn't control them with their mind, or decide whether they run left around a barrel instead of right. But the tension they feel at ordering their troops into danger is no less real for the lack of direct control. Perhaps, then, you don't need total control over your units in a game in order to feel something for them. They are your team mates, after all, whether they're AI or not. Maybe it's possible to bring the emotions of XCOM to a real-time game, then. Maybe meaningful character death for Crow's Nest is possible. XCOM lets you make an awful lot of decisions, and it gives you the time to make them so that you'll feel (if it goes wrong) that you didn't think the problem through well-enough. You'll feel that it was your fault! If XCOM shows us a formula for meaningful character death, then, it might look like this: Quantity of player decisions + Time to make them = Meaningful Character Death Time to make them Let's look at this part first. A real-time game doesn't really offer you time, typically. But it can! Many RPGs will let you paused the action to give orders and then resume it to see them play out in real time. There's an option! The problem with this is that is interrupts the action, and in Crow's Nest, if you spend too long paused, you might forget that you were literally a half a second away from smashing into an asteroid before you paused. So how about a compromise? The Bureau: XCOM Declassified (2013) was a real-time cover-based third-person shooter that tried to implement meaningful character death. It utterly failed because it was so story-driven that the main character (you) couldn't die. If you did, you just went back to a checkpoint. Your squad mates could die, permanently, but if they did you could just get yourself killed, reload the checkpoint to before they were hit, and everybody's happy again. That's what they did wrong. What they did right was their 'pause' system. Like the RPG system I mentioned, you could pause the action and issue orders, but it wasn't really paused. Time was still moving, albeit very slowly. You had more time to make decisions, but the tension remained as you saw an enemy moving (very slowly) to flank your sniper and you tried to decide whether to order your him to move back or to take a headshot on the enemy before it was too late! That's one way I could buy the player the "time" part of the formula. I could just acknowledge that in real time you have to make quick decisions and just live with that, however, this will then allow the player to make far less decisions in the same amount of (game) time and so the formula is less healthy looking. Quantity of Player Decisions There's a lot that I could do to give the player more decisions. In the combat demo I have currently available (see video above) there's a lot that will be changed. In this demo you have infinite fuel, infinite (bullet) ammo, and recharging health. The enemies also come in equal waves each time. First off, I intend that when you encounter the first enemies of a battle, they'll call reinforcements, who'll take a certain amount of time to get there, but who will be stronger that the first group. Think of it as a wave system, but where you don't have to beat one to spawn the next one. It's a truer reinforcement system. You want to deal with one problem before the next arrives. Of course, different mission types could have different rules and spies might disable enemy communications, etc, but imagine that some missions as they go on get harder and harder, to the point that waves will spawn that you couldn't possibly beat. This is one option that opens a lot of doors. This set up would force you to chose to flee at some point. That choice alone means that if you or your allies die, you know you stayed one wave too long. If I then make ammo, fuel, and health limited, then you have to choose if you and each of your wingmen have enough of those three resources left to take on the next set of reinforcements, or just run whenever you get the chance. That's at least three choices that you make for each of three (or more) craft, every couple of minutes. That's a lot of opportunity for the player to start blaming themselves if something goes wrong. Other decisions would have been made before the battle. Do you take the more experienced pilots or train up rookies? Do you arm missiles, or save the weight to make the craft more agile? Did you invest in an armour upgrade last month or did that money go to set up a spy drone in an asteroid field where you suspect the enemy to be? I could go on, but you can see that quantity of decisions shouldn't be a problem, even in a real-time game. The Real Trick; AI Can I make you care about these guys? Assuming we can get the formula balanced correctly, the whole thing hinges on whether or not the player will accept that, if a wing mate dies, the fault lay with their decisions. According to Gollop and Solomon, the player would blame the AI. I think that the more you stack decisions and input from the player, within an interface that allows them to make decisions in good time, the greater the chance you have of the player accepting the consequences of those decisions and arriving at our goal of meaningful character death. Balancing the AI is the key ingredient, and this is where so many games have failed in the past. I may well fail here, too, but I don't plan to make meaningful character death my game's only selling point, so it wouldn't be a fatal failure. Your wing mates have to be good enough that they can survive on their own for a while against reasonable odds, but they can't be so good that you can just let them beat the whole mission for you. In the demo at the moment, because the Arrow Fighters are harder to hit, turn faster, and have recharging health, they're actually capable of taking all of the kills if you do nothing. There aren't enough enemies on the map at once to stop them, usually. This is an unbalanced demo, however. The AI will run if they're damaged, usually saving their lives. They'll call to you for help, and if you don't give it, the enemy might just catch up and kill your ally. This is already more intelligent behaviour than many games would bother giving to computer-controlled characters, and it's essential to meaningful character death in a real-time game, but it's not nearly enough. Alien Isolation is known for its brilliant AI. To be honest, I haven't figured out the balance yet, and it will require a lot of play testing. I'd like to caveat that all of the above is assuming that you actually do things to give those wing mates a personality. They have to have a face, a voice, a backstory that you are spoon fed during quieter moments, as well as skills, abilities, a record of confirmed kills, and a rank that progresses as they gain experience. They have to taunt the enemy when they get a kill. They have to call you for help. They even have to react to incoming enemies believably; either with confidence, or the realisation that they're truly outmatched. Some of those latter points are observable in the demo already, but most have yet to be implemented, and I only have one voice pack so far. This is an open problem, not a post-mortem. Moreso than with any other blog that I've posted, I'd really appreciate your opinions in the comments below. What do you think of my problem? What do you think of my proposed solutions? Have you anything you might recommend as other player decisions or wing mate behaviours? What pitfalls should I avoid? Are there games I should be looking at to see how they handled this problem? Thank you in advance. Next week is the last of these posts focussing on Crow's Nest (for now). I'll be talking about what Sons of Sol and Crow's Nest actually are (fictionally speaking) and how they came to be. Author Kevin MurphyPosted on November 8, 2015 Categories Crow's Nest, Development, Sons of SolTags Crow's Nest, Development, Sons of SolLeave a comment on Making Crow's Nest (part 3 of 4): A design challenge Making Crow's Nest (part 2 of 4): Influences Hi! This is part 2 of me offering some insight into the creation of Sons of Sol: Crow's Nest. In Part 1 I talked about my "Asteroids meets Total War" pitch and what, exactly, the hell that meant. This week I'll be basically talking about some of the games that are having a big influence on the development of Crow's Nest. If you're a space and/or strategy game fan, this may be of interest to you. Fair warning; there's going to be a lot of Star Wars games in here! These aren't "games that are similar to my game", but instead they make up more of a history of the games that I have personally played that influence Crow's Nest in some way. First up.. Asteroids (1979) Last week I talked a bit about this and Total War as influences so I'll be brief. Here is one of the very original space shooters, and a classic game. There's the three-life formula with a single hit and you're dead. There's extra lives, speed, intensity, high scores, and great use of limited technology to deliver imaginative graphics. The key ingredient to itss addictiveness is the quick restart. You can instantly hop back in for another round to try and beat your previous high score. It's a simple, but proven method of keeping players pumping in quarters (or nowadays, playing and seeing advertising). The computer room in my school when I was a kid had this on some machines so I'd race through our typing lessons so that I could play. In years since I see it every now and again as a web link and I always click in for a few rounds. The thrill of dodging through asteroids at high speeds and evading incoming laser shots never gets old, and it's a mechanic that I'm endeavouring to capture in Crow's Nest. Total War series Shogun: Total War (2000) Again, I talked about Shogun specifically last week, but to reiterate, I loved the two-sided approach to a strategy game. Until Shogun, I'd only played strategy games like Command & Conquer (C&C) where you fight one battle at a time and it never influenced the next battle. It didn't matter how many losses you took in exchange for victory, and if you lost you would just restart the level. In Total War, you finally could say "we may have lost this battle, but we'll win the war" and it would mean something. At the time, I was unaware that XCOM had been doing this since 1994, and there were probably several other games too, but this was my first and the experience of playing Shogun for the first time shaped how I would view games forever more. Now, as a designer, the strategic depth of Total War and games like it is something I want to incorporate into my games whenever possible. I also liked how special units could affect the war. Diplomacy and assassinations could drastically change the course of the war. I've always kept in mind the influence that special units could and (I think) should have on a strategy game. X-COM series X-COM: Ufo Defense (aka UFO: Enemy Unknown) (1994) There were a whole bunch of XCOM games starting with 1994's original, but the series wasn't well managed, wasn't always in the hands of the original creators, and really took a dive until the 2012 remake by Firaxis and 2K, 'XCOM: Enemy Unknown'. When the latter was announced, it was the first time I really noticed the series. I'd never played it. I picked up the original before the release of the remake, and played both games in 2012. My world changed! I'd always avoided turn-based strategy games. I just had never liked the few examples I'd played. I thought they were too unrealistic because you wind up with two soldier just looking at each other instead of fighting. What I didn't appreciate was that in the moments between the action, when you're making your decisions like in a chess match (ironically, I loved chess), you're getting a whole different type of gameplay. Instead of trying to simply react quickly like in an RTS, you're really trying to solve a problem in the most efficient way possible (like a puzzle game) but with the added element of random chance getting in the way of your best laid plans. RTS games have this plus speed, but turn based games forego the speed in favour of really making you think about the consequences of your actions. I'll be talking next week about a design challenge that this posed to my game. The turn-based element buys you gravitas insofar as the player has made every move and so they have nobody to blame for the consequences. In any real-time game where you have allies, they'll likely by controlled by the AI, and if they die you may be inclined to blame the designer or the AI, and not your own command skills. Chances are they're not all coming back! What I love about XCOM is the same thing that I love about Total War: persistence! The game allows you to fail and recover, not just restart. What XCOM does that Total War doesn't really do is make you care about individual soldiers. In dealing with small squads over dozens of missions (and especially if you choose to name and customise them yourself) you get to form relationships with individual soldiers. Sending your best veteran sniper into a risky situation to try and rescue your best medic is a weighty decision that C&C or Total War can't really deliver. The tension is immense because the consequences are permanent. That means that success is vastly more rewarding here than in normal games. You're always glad to see troops come home alive. The range of emotions you can evoke in the player is what earns the XCOM series such devoted fans. I also loved the base management, particularly in the original game (or the fan-made Xenonauts (2014)). Having to actually buy replacement rockets, bullets, grenades, and med packs may have been too heavy on the micromanagement side, but then again, a shortage of finances really affected your tactical options when you went into battle. You might fire a rocket to keep your troops safe from an ambush, but you wince as you see thousands of credits go up in smoke! Also in those games I loved that your home base could be attacked, but may not be. 2012's XCOM and its expansion Enemy Within didn't have this. EW had one mandatory base attack mission. In the other games you could attack enemy bases or leave them be, and they could do the same to you. Each side could have more than one base, but they were expensive to run. The decision was up to you! I haven't decided how many of these design influences will appear in the strategy layer of Crow's Nest, but some of them definitely will. Star Wars: X-Wing series (1993-1999) Now we get to the combat influences! I've said before on this blog that 1993's X-Wing was my first ever game. I played the hell out of it! Its sequels TIE Fighter, X-Wing vs TIE Fighter, and X-Wing Alliance were also hugely influential for me. I must acknowledge that, like many of the Star Wars games, these were cashing in on the popularity of other games. Wing Commander (1990) paved the way for X-Wing. Lucasarts said "we could do that, but with iconic Star Wars ships, music, and sound. People will go insane for it!" So my influence's influence was really Wing Commander, but I never actually played any of them until I backed Star Citizen and started looking up Chris Roberts' older games. Tragically, X-Wing Alliance (1999) remains the last game in this series, but it's one of my favourite games of all time. The series centred around dogfighting in the Star Wars ships, exclusively in space. Alliance was the first one where you could fly bigger ships like the Millennium Falcon, jump sectors in hyperspace during a mission, or dock with craft to rearm or "board" them (you just sat in the turret while other people on your ship supposedly did the boarding, but it was still cool). X-Wing Alliance (1999). Fly the Millennium Falcon against the second Death Star ! It had over 50 missions and (what I thought) was a great story set alongside the events of Empire Strikes Back and Return of the Jedi, culminating in you (changing characters to Lando) flying the Millennium Falcon in the Battle of Endor, all the way inside the second Death Star! Wing mates would take your orders, get chatty with you, call for help, and taunt the enemy! That's not unique to this game, or anything, but it adds greatly to the atmosphere and it's in Crow's Nest too! The briefings, the mission types, the dramatic set-pieces, the in-game reinforcements and dramatic turnings of the tide of battle are all fresh in my memory and are heavily influencing the way I'm designing the combat missions of Crow's Nest. While Alliance was a linear game, and mine is more dynamic, I feel I can still deliver a lot of the same drama, action and intensity but with the added benefits of the tension gained from the possibility of loss. The one major thing I wanted to change is that in 3D space you see very little of the battle. When an enemy goes past you you lose sight of them. When a big ship explodes spectacularly, you may not be looking in the right direction at the right time to see it. I wanted to take 3D space combat games and put them in 2D so you have greater situational awareness and can see more of the action! That's my big departure, but otherwise, the combat in Crow's Nest is heavily influenced by the X-Wing games; far more so than it is by your average top-down space shooter. Star Wars: Rogue Squadron (1998) The original was out on the N64, and later the PC. Two sequels came out on the Gamecube too. These were also 3D Star Wars ship combat games, but now mostly focussed on planetary combat, against TIE Fighters & ground units, instead of TIE Fighters & Star Destroyers. If you played these games and the current Crow's Nest demo, my big take-away from Rogue Squadron should be obvious: The orders system. You have two wing mates with you most of the time and they can largely take care of themselves, but you can give them a few orders on the D-pad. D-up is to "Form Up" and they increase your overall fire power by flying on your wing and shooting when you shoot. I've used this order directly (it's not stealing if you declare the influence, right?) as well as the ability to keep your wing mates safe by telling them to retreat. Beyond that, the orders system starts to differ, but feeling like you're not alone is important to a game where you play a fighter squadron, and Rogue Squadron handled it well! Middle Earth: Shadow of Mordor (2014) Can anyone have played this game and not loved the nemesis system? This Lord of the Rings game has you play a human Ranger & elven ghost (sharing the same body) and travel around Mordor… eh, doing things.. revenge, mostly. It played a bit like the Batman Arkham games in the fighting systems and like many open world games otherwise, but the nemesis system stood it apart, and it even won a few Game Of The Year Awards. In the picture above, you can see one of dozens of enemy commanders. These exist in a ranking hierarchy. You can "ally" with some of them and assist their rise to power in order to get rid of certain other nemeses in the game. Each nemesis (as long as they're alive, anyway) will remember having met and fought you, and they'll comment on the result of that battle. As seen above, they all have different strengths and weaknesses. At first, these are unknown to you but you can interrogate underlings and rivals (forgive me if I'm not exactly right, there) to learn these traits. For example, a nemesis might have beaten you down the first three times you tried to fight him, then you learn he's afraid of a 'caragor', so you show up riding on the back of one and he'll flee with his tail between his legs! Another nemesis might hate caragors, and so this same tactic would only enrage him, boosting his stats! This latter part of the system is something I'm interested in implementing into Crow's Nest. You will benefit from spying on enemies by learning things about their movements, or what types of ships they favour using. You could just approach the battles blind, but intel gathering will pay off. I don't necessarily plan to have you ally with factions or control pirate groups, but I'm at least taking inspiration from the nemesis system insofar as learning about your enemy and having them remember you goes. Star Wars: Empire At War (2006) This is one of my favourite strategy games ever, especially the two player competitive campaign, but there's not so much I'm taking from it that I didn't already credit Total War for. Your armies persist across a galaxy map, space map, AND individual planetary maps. It's very unlike Empire at War, though, because you control fewer units. The loss of the only Star Destroyer you may have in your fleet really hurts, even if you win the battle. You can steamroll the enemy for a while, but you're taking losses as you go and will run out of steam, thus having less units left to defend your new territories from counter-attack. The land maps also host buildings like Ion Cannons or Hypervelocity Guns which can be used by the defending team in the space battle above that planet. If you are wise, you might raid the planet with a small force (small raid forces can bypass the space battle) with the sole aim of destroying that one building before launching your space battle. If you hold the space above the planet, you can hit the land battle with bombing runs and orbital strikes. This interplay of systems is another great example of what multi-layered games can achieve. X-COM: Interceptor (1998) I only played this for the first time in 2015, and development on Crow's Nest was already well underway. It's not far off what I'm doing, as it turns out, but nobody thought this game was all that it could be either. You command a base on a strategy map and manage its resources, as with other XCOM games, but instead of the turn-based battles you have a fighter ship battle. The problem is that these battles were nearly all the same and they got very repetitive. The only influence I'm taking from this game is in what not to do. I need to ensure missions in Crow's Nest are varied enough, and that there are real characters and stories playing out during the campaign. To what extent, I don't yet know, but this is a good example of a game relying 100% on its systems producing all the gameplay. Star Citizen (20??) How can I make a space game in 2015 and not be influenced by Star Citizen/Squadron 42? That said, my game is a single-player war game, not a multiplayer space-everything game. I'm very excited for Star Citizen, but even moreso for the single-player side, 'Squadron 42'. If we get to play S42 early next year I imagine it might influence Crow's Nest somewhat, but probably not in many ways that X-Wing and Wing Commander haven't already. If the game takes longer than that to come out, Crow's Nest may already have been released. Time will tell. I could also mention FTL for its art style, actually, but the art in Crow's Nest so far is just my placeholder stuff and I don't believe that I can draw. I certainly won't be the final artist, so it's not worth mentioning visual influences at this stage, really. I've found that when making a game, a lot of people will come and say "oh, you must have been influenced by this" or "have you played that"? There are so many games out there that chances are the answer will be "no, actually. I haven't heard of that one". I've listed my main influences here, and very few of them are actually 2D space games. If there's anything you think I should check out, either because it's similar to what I'm doing or just because it rocks, please let me know! Next week I'll be focussing on a design challenge posed by trying to do some of what XCOM does in a real-time action game. If that sounds interesting to you, please subscribe to the RetroNeo Games Facebook or Twitter accounts (link icons at the top and bottom of this page). Author Kevin MurphyPosted on November 1, 2015 Categories Crow's Nest, Development, Retro, Reviews, Sons of SolTags Crow's Nest, Development, Sons of Sol1 Comment on Making Crow's Nest (part 2 of 4): Influences Making Crow's Nest (part 1 of 4): My "Asteroids meets Total War" Pitch At work in Unity I'll be away over the next few weeks so I've decided to do a four-parter and schedule it to post at my normal times so my one-a-week blog goal remains unbroken. I've been going now for over 6 months now and wanted to at least see out the end of 2015 with an 'undefeated streak'. To that end, I'll be turning the blog's focus a little more inward and talking about how my game in development (Sons of Sol: Crow's Nest) came to be, what its influences are, the features of the game and certain design challenges that I'm facing. As it's still in development and still just me on the team, this is all still in motion, but there should be good insights and new information for anyone who's interested in reading. It will be interesting to compare these posts with a post-mortem for the game once it's finally out, too. So, with that out of the way.. What is Crow's Nest? I won't wax lyrical here, you can check out the game's page yourself, and either play the demo or watch the gameplay footage. Briefly, Sons of Sol: Crow's Nest is an upcoming tactical space shooter with a strategy layer. I've described it as "Asteroids meets Total War". You can see some gameplay from the playable PC demo below. It's early in development and due out in Q1 2017. How Does Asteroids meet Total War, exactly? So my pitch for Sons of Sol: Crow's Nest is that it's "Asteroids meets Total War" and I've found that this can get people interested quite effectively. How does a top-down space shooter from the 1970s tie in with one of the largest, most successful strategy game series in the world; one which, until Total War: Warhammer was announced, was set exclusively in historical Earth periods with swords and spears and massive armies? To be fair I could also describe the game as "Wing Commander meets Xcom", but a pitch has to be as catchy as possible, n'est pas? The similarities between Asteroids and Crow's Nest are pretty plain to see. They both have a small, triangular space fighter flying around an asteroid field, and, quite importantly, the ships are driven by Newtonian physics, meaning if you stop accelerating you will keep drifting. There's no drag in space so you can turn on the spot and shoot backwards, and to slow down you have to turn around and thrust in the opposite direction. The similarities really end there, though. In Crow's Nest the goal is not to kill asteroids for points, the screen isn't locked in position, and both you and the asteroids can take more than one hit. Then from here I started building up more of a squadron-based thing, adding wing mates, squad orders, and reasonably intelligent enemies, as well as the ability to communicate with your fleet for reinforcements. Here, I was taking inspiration from Star Wars games like Rogue Squadron and X-Wing. I'll talk about games that influenced Crow's Nest in a follow-up part. The important take-away is that Crow's Nest has an action/combat layer presented in a classic arcade-like style. The trailer above is for Shogun, the first Total War game in 2000. I haven't played them all, but I beat this one so I know it represents some of the ideas I'm going for. You command your chosen family dynasty in feudal Japan during the Sengoku Jidai period of history. It's a game of two halves. There's the tactical combat side where you command individual army units in a single battle. This half of the game is represented in Crow's Nest as the 'Asteroids' part. The other side of the game is the strategy layer, where you have a map of all of Japan and time passes months at a time. You move your armies around the country to reinforce or attack territories (Risk style) and then fight the tactical battles for those areas using only the units you brought with you. No Command & Conquer-style building during a battle! But in addition to this, you could send spies, assassins and emissaries around the world. You could negotiate for peace or assassinate an opposing general the night before a battle, weakening his forces when you face them in the tactical layer. You could also bring your own character (the Daimyo) into battle for big morale bonuses, but if you died in battle, you were dead. If you didn't have an adult male heir, it was game over! If you did, you basically had an 'extra life'. Similarly, if you won a battle but lost all of your cavalry, they were gone! You no longer had them to move around the strategy layer. This interplay leant real gravitas to every little decision, and to every death. I love these mechanics and knew I wanted them for Crow's Nest. An early prototype for the strategy map in Crow's Nest. My original idea was that you would control several fleets (as many as you could build/afford) in Crow's Nest and defend a territory from pirate marauders. You would also send spies on missions to gather intel and attempt assassinations or to sabotage the enemy. When a tactical battle occurred, the losses and gains would persist back to the strategy layer. This is why I chose "Total War" as a suitable descriptor for my pitch. As development went on, I decided that it might be better for you to control just a single fleet. This would make your flagship all the more precious to you, and prevent you from using steamroll tactics to the same extent. This way, even in the late game, battles would stay tense for the player. It would also limit the amount of pilots you have to dozens, not hundreds, and make their lives and progression matter more to you. This means that Xcom might be a better descriptor than Total War now, but as the strategy side in Crow's Nest is still very early in development and prone to change, I haven't decided whether to change the pitch yet. Obviously, those four words aren't my whole pitch, but they're the short version. What do you think of the pitch? Have you any experience pitching? Any advice? Would saying "Xcom" be better than "Total War"? Both franchises are currently doing well and get the point across to anyone who knows games. Next Sunday, I'll be posting Part 2, where I talk about the other games that have influenced the development of Crow's Nest in a mini-review sort of way. Sons of Sol: Crow's Nest page on RetroNeo Games Play the game in web browser (not Chrome) Download PC version Author Kevin MurphyPosted on October 25, 2015 Categories Crow's Nest, Development, Sons of SolTags Crow's Nest, Development, Sons of SolLeave a comment on Making Crow's Nest (part 1 of 4): My "Asteroids meets Total War" Pitch
{ "redpajama_set_name": "RedPajamaCommonCrawl" }
Based on customer reviews, it is without a doubt that Puffy mattress is one of the most comfortable mattresses that you could ever purchase. They claim it's very similar to resting on clouds.Furthermore, customers who state they suffer from back pain, really feel that it is alleviated with Puffy's Adaptive Flexible Cloud Technology. Puffy mattress offers a lifetime warranty, along with a 101 night sleep trial. Puffy's top layer is CertiPUR-US Certified, and is made of Cooling Cloud Relief Foam.This layer is the reason it feels as if you are sleeping on a cloud.The bottom layer of Puffy is made of Firm Core Support Foam, which is also CertiPUR-US certified. They were one of online's first brands to sell mattresses. With a lineup of six beds that were different, Nest mattresses are made with every sleeper in your mind. The Nature's Sleep mattress differs from many mattress brands on the marketplace, as it's made with 4 layers of foam.Nature's 4 layers provide support for individuals who are heavier. These 4 layers also help by decreasing motion transfer significantly. The Nature's Sleep mattress includes a 20 year warranty, compared with the majority of mattresses using a 10 year. This mattress is a little more costly than some.Butthis warranty, in addition to being made with emerald gel makes this mattress well worth the added price. The 2 biggest aspects when looking to purchase a new mattress, is comfort and also support.There are a few things that should take place when you lie down. You want the sinkage and contour to be right, for proper spine alignment. You also want a mattress to correctly support your body, as you sleep at night. Proper alignment from head to toe is essential for balanced and healthy rest and to decrease neck and back pain. While a mattress is being supportive, it is important that it provides you with stress relief also. Stress points are what causes you to move around through out the night, while you are attempting to sleep. Memory foam mattresses have earned their way into the spotlight, by not only being comfortable, but as equally supportive. This goes hand in hand with comfort and support. A mattress should neither be too hard or too soft.In order to keep your body and spine in the correct alignment, your mattress should be as neutral as it can be.Too much rigidity in a mattress will irritate the stress factors, creating pinched nerves, in addition to the blood to stop flowing. If you commonly get up with the feeling of pins and needles on your body, it is probably from the mattress being as well rigid. And if you wake up with frequent back pain, most likely this is because your mattress is too soft. This results in a concaving effect, like a hammock. Which makes your spine be out of alignment.It's important to locate a mattress with a neutral feeling, that will definitely be both rigid and also soft in the right places. It's not a big surprise, that if you're in the market for a high quality mattress, it usually comes with a nice price tag.It's a big investment to make, so once you purchase one, it is crucial to find a mattress that will definitely last you for years.It is very important that you find a mattress that has been constructed to last a long period of time. guarantee.
{ "redpajama_set_name": "RedPajamaC4" }
You know that feeling you get at 6 AM on Monday morning when you have to drag yourself out of bed and get yourself ready for work? Sometimes it can be the most depressing moment of the week. Some of us have noticed that sinking feeling starts to creeps in on Sunday night. Many people fantasize about a 4-day work week to alleviate this feeling but that would just delay the depression until Tuesday morning. It is not the day of the week that we have a problem with; it is simply the fact that our freedom has ended and we must now get back into robot mode at work. The past 10 years of career coaching has revealed to me how many people, in various levels, are miserable at work. Many of them blame their boss or their coworkers for their misery. Some claim to be bored or express feelings similar to professional claustrophobia. I define professional claustrophobia as a feeling of being kept in the same role, performing the same mundane tasks, turning in the same redundant reports with no challenges. I would wager that the majority of workers feel stuck in their current role, at least one time in their career. After-all, if you do the same exact thing every day for 5 days a week, 50 weeks out of the year, you are almost guaranteed to get bored. Should you leave your growth, satisfaction and overall happiness completely in the hands of your boss and coworkers? Of course not. If your work life is boring, find ways to excite your personal life. If your work life is hectic, focus on relaxation in your personal life. Keep in mind that your job is simply one part of you. It does not completely define you. You are in charge of your own career and happiness. If your job is boring, look for ways you can spice it up. Ask your manager if you can cross-train in a different department. Volunteer to spearhead the next major project. Interview one of the senior leaders in your organization and ask him to be your mentor. Make a list of some of the major challenges facing your department or your organization and offer to create a team to resolve them.
{ "redpajama_set_name": "RedPajamaC4" }
A new report from the Anti-Defamation League says white supremacists have increased their recruitment efforts at colleges like never before under President Trump's watch. According to the ADL, 290 incidents involving posters, banners and other materials featuring racist propaganda were recorded in 2017. In 2016, that number was 56. "White supremacists are targeting college campuses like never before," said ADL CEO Jonathan Greenblatt in a statement. "They see campuses as a fertile recruiting ground, as evident by the unprecedented volume of propagandist activity designed to recruit young people to support their vile ideology." With the report including every institution from Ivy League schools to community colleges, Texas and California saw the most incidents by far in 2017, with 61 and 43 respectively. Pennsylvania is third with 18. However, only six states in the entire country were without any incident. Of all the incidents that have occurred over the last two years, the ADL claims the white supremacist group Identity Evropa was responsible for nearly half of them. Discussing their style of propaganda, the organization says Identity Evropa prefers to avoid messages that are immediately recognizable as hate-filled, instead employing "black and white images of classical sculptures, including Michelangelo's David or Nicolas Coustou's Julius Caesar." Meanwhile, groups that more openly embrace Nazi ideals such as Atomwaffen Division, which has ties to as many as five murders in eight months, "use blatantly violent and offensive imagery like blood-splattered swastikas." Trump has more than struggled to condemn the rise of white supremacists during his time in the White House. On the night of Aug. 11, 2017, when tiki torch-wielding racists marched near the University of Virginia, the usually loquacious Twitter user was silent. The next day, after a morning in which white nationalists clashed with counter-protesters and violence overtook the streets of Charlottesville, Va., Trump finally made a statement on social media, saying, "We ALL must be united & condemn all that hate stands for. There is no place for this kind of violence in America. Lets come together as one!" and later adding, in part, "Charlottesville sad!" In preparation for President Trump's upcoming visit, Identity Evropa members in San Diego went to the Mexican border to check out the wall prototypes and demonstrate against ANY form of amnesty. Tragically, just moments after posting that last message, one of the "alt-right" attendees aimed his vehicle at a crowd of anti-Nazi demonstrators, injuring dozens and taking the life of 32-year-old civil rights activist Heather Heyer. Given the opportunity to address the nation later that day, Trump decided against singling out white supremacists, saying instead, "We condemn in the strongest possible terms this egregious display of hatred, bigotry and violence on many sides — on many sides." The President has continued to receive support from prominent racists such as former KKK leader David Duke, who just Tuesday lauded the State of the Union address and how it declared, "Americans are dreamers too." Also picking up on that specific line was one of the leaders of the Charlottesville white supremacist rally, Richard Spencer. Thank you President Trump. Americans are "Dreamers" too. After the State of the Union, Spencer tweeted out a picture of a smiling white family along with a caption quoting Trump. Thus far, the ADL says 15 on-campus incidents have already taken place this year.
{ "redpajama_set_name": "RedPajamaC4" }
BZW has the vast experience needed to bring its capabilities to projects of all sizes and requirements, including commercial, industrial, and even maintenance programs. Our focus is to complete your project with both time and cost efficiencies in mind. Hang, tape, sand from lace textured ceilings to extremely tall auditoriums we will drywall your walls, ceilings, and bulkheads. Specialty trims, tape on corner beads and reveal beads are just a few of the newer trends in drywall. Our finishers and sanders make sure the paint job goes smoothly. Interior and exterior from fine finish spray painting to industrial production spray painting we have the experience. We continue to provide the best in trim painting, staining and varnishing, epoxy coatings and faux finishes for the specialty project. Exterior coatings made to last are another area of vast experience. Let us match the right surface prep, coating and process to insure the best results. Roof coatings, epoxy steel coating, acrylics, urethanes, elastomerics multi-color coatings; we know how to handle them in all environments. Many new low VOC or no VOC paints are in our vans. Certainly costs more than paint initially, but if you are looking into long term service life, you are more than ahead. We currently are seeing many new specialty wallcoverings. Dry erase for classroom or office; New Digital photography imprinted on wallcovering as well as newer accoustical choices. We also furnish and install wall guards, corner guards and aluminum trims for marker boards.
{ "redpajama_set_name": "RedPajamaC4" }
Buy products related to gold ribbon for christmas tree products and see what customers say about gold ribbon for christmas tree products on Amazon. com. Red Velvet with Gold Jeweled Center Ribbon FREE SHIP TO STORE · Christmas Cheer Bows, Set of Four FREE SHIP TO STORE 5. 0 Stars (6 Reviews). Explore Jennifer Moreland's board" Christmas Tree Gold Ribbon" on Pinterest. | See more ideas about Xmas trees, Christmas trees and Christmas crafts. Christmas Mesh Ribbons. Showing 40 of 1341 results that match your query. Search Product Result. Product - BalsaCircle 2. 5-Inch x 25 yards Deco Mesh Ribbon by the Roll - Wedding Party Favors Decorations DIY Craft. Vickerman 4" Gold Glitter Mesh Christmas Ribbon. Product - Vickerman 4" Emerald Metallic Mesh Christmas and. Browse our selection of christmas at Trendy Tree - RAZ, Christmas tree ribbon gold, Halloween, Easter decor, ornaments; Deco Poly Mesh rolls, wreath supplies, ribbons, burlap. Color: Gold. An gold organza ribbon with a crisp glittered diagonal gold decoration Offray Wired Edge Encore Sheer Craft Ribbon, 2-1/2-Inch Wide by 25-Yard Spool, Gold by Offray Find Christmas ribbon, holiday ribbon, winter ribbon, Christmas tree ribbon and more at Lion Ribbon. Quick Look · Analise, Wired Edge - Gold. Find great prices on christmas tree ribbons and other christmas tree ribbons deals on Shop. Metallic Green and Gold Christmas Trees and Stars Wired Craft Ribbon 2. Find great deals on eBay for gold christmas tree bows. Shop with confidence. Decorative Christmas Ribbons. Vickerman 2. 5" Cream and Gold Zebra Christmas and Craft Ribbon. Product Image. Aisle Decorative Trees Wired Christmas Craft. Shop for gold christmas ribbon online at Target. Free shipping on purchases over $35 and save 5% every day with your Target REDcard. Browse our selection of christmas at Trendy Tree - RAZ, Christmas, Halloween, Easter decor, ornaments; Deco Poly Mesh rolls, wreath supplies, ribbons, burlap. Color: Gold. Aug 26, 2018. Our Gold and Champagne Christmas Tree Ribbons boast of rich colors that complement your holiday décor. Shop Christmas accents on. Shop for gold christmas ribbon online at Target. Free shipping on purchases over $35 and save 5% every day with your Target REDcard. Hipgirl 25 Yard 1. 5" Gold Glitter Metallic Sparkle Fabric Ribbon For Christmas Holiday, Birthday Gift Wrapping, Hair Bow Clips& Card Making, Sewing, Wedding Decor, Boy Girl Baby Shower, Floral Design Explore Jennifer Moreland's board" Christmas Tree Gold Ribbon" on Pinterest. | See more ideas about Xmas trees, Christmas trees and Christmas crafts. Shop Frontgate's assortment of decorative Christmas tree ribbon and bows. Find Christmas wreath bows and other holiday trim for the added touch to your Christmas greenery. Add a layer of elegance to your Christmas tree or wreath with Balsam Hill Australia's line of exquisite Christmas Tree Ribbons and Garlands. Gold Fine Mesh. Browse our selection of christmas at Trendy Tree - RAZ, Christmas, Halloween, Easter decor, ornaments; Deco Poly Mesh rolls, wreath supplies, ribbons, burlap. Ideal for cake decorations, gift bows, Christmas wreaths and wrapping around your tree instead of the traditional tinsel. 2. 5" / 63mm Wired Gold Ribbon with a Glittery Pattern. Quality wired ribbon ma. How to Decorate your Christmas Tree with Ribbon (Achieve a High End New York Department Store Look). Christmas tree decoration blue, silver& Gold - Duration:. How To Decorate A Christmas. Buy" Gold Ribbon" products like Sirena® Collection 10K Rose Gold. 10 cttw Diamond 18-Inch Chain Ribbon Pendant Necklace, Quatrefoil Gold Ribbon Throw Blanket in Black/White, Christmas Ribbons 52-Inch x 70-Inch Tablecloth in Gold, Sirena® Collection 10K Rose Gold. 10 cttw Diamond 18-Inch Chain Swirling Ribbon Pendant Necklace An gold organza ribbon with a crisp glittered diagonal gold decoration Offray Wired Edge Encore Sheer Craft Ribbon, 2-1/2-Inch Wide by 25-Yard Spool, Gold by Offray Hipgirl 25 Yard 1.
{ "redpajama_set_name": "RedPajamaC4" }
See and hear our new Steinways and get a behind-the-scenes tour of the Steinway factory. UConn's most successful football coach is back on the UConn sideline. The Class of 2021 is breaking records academically and physically. At CRT, UConn's dramatic arts students get the chance to act alongside professionals.
{ "redpajama_set_name": "RedPajamaC4" }
Q: Flask: button to update value in database so I currently pull a value from a database and display it on the screen. I have a HTML button right next to it that is supposed to increase the score on the screen by 1 every time I click it. Currently, when I click the button nothing happens. The number on the screen stays the same. Python file @app.route('/') def layout(): db = get_db() try: cur1 = db.execute('SELECT score FROM {tn} where name="Tyler"'.format(tn="Score")) score1 = cur1.fetchone() if request.method == 'POST': db.execute('UPDATE {tn} SET score=score+1 WHERE name="Tyler"'.format(tn="Score")) db.commit() except: flash("This person doesn't exist in our database!") return render_template('layout.html', score1=score1) HTML file <form action="{{ url_for('layout') }}" method="post"> <p align="center">Tyler</p> <div align="center"> <tr> <td>{{ score1.score }}</td> </tr> &nbsp; &nbsp; <button type="button">+1</button> </div> </form> Any help is appreciated. Thank you. Edit: updated view and HTML. Same issue. A: Your two view functions are mapped to the same route; but a URL can only be served by one view. Either map your increaseScore1 function to a different route, or combine the logic in one function which checks if the method is POST and updates the score if so, otherwise just displays it.
{ "redpajama_set_name": "RedPajamaStackExchange" }
Domenico Codispoti is an Italian man under house arrest for a variety of crimes, including petty theft and drug dealing. Signor Codispoti, 48, is homeless. Every night at 9pm, he settles down in front of number 22 Via Vittor Pisani in Milan and arranges his blankets and sleeping bag. He isn't allowed to move until 7am the next morning. Police patrols check after sunset to make sure he's "at home." "I have always done my stealing at night," he says. "That's why the court gave me this sentence. Since I don't have a house, there was no other solution left. During the night I can't move, I have to stay here, stuck on this sidewalk." The unusual punishment was first imposed on Codispoti in 2006, when he was sentenced to two years of surveillance and house arrest. After a few more run-ins with the law, Codispoti's sentence was extended. He must now sleep in this particular spot near Milan's Central Station until April 2014. He should just start building a structure.
{ "redpajama_set_name": "RedPajamaC4" }
Toribio Marín, Carmen (2016). The Fourfold Water Garden, a Renaissance Invention. "Gardens and Landscapes of Portugal", v. 4 (n. 1); pp. 1-15. ISSN 2182-942X. https://doi.org/10.1515/glp-2016-0001. The different combinations between the "classic" fourfold pattern and water in the garden have produced a high number of varied solutions since the distant past. However, during the Renaissance a new model emerges: a crossaxial garden with four basins arranged symmetrically around its center. The composite analysis of the related examples is addressed in this paper, which attempts to find an explanation for the different models as for the appearance of the contrasting solution at the same time in two different locations: the Villa Lante (Bagnaia, Italy) and the Royal Monastery of San Lorenzo in El Escorial (Madrid, Spain).
{ "redpajama_set_name": "RedPajamaC4" }
Tribal Sleuth Articles and resources for genealogical research, historical events and life in the past. September 30, 1954: USS Nautilus commissioned September 30, 2016 Uncategorizedsleuthboss Previously posted at: http://www.history.com/this-day-in-history/uss-nautilus-commissioned The USS Nautilus, the world's first nuclear submarine, is commissioned by the U.S. Navy. The Nautilus was constructed under the direction of U.S. Navy Captain Hyman G. Rickover, a brilliant Russian-born engineer who joined the U.S. atomic program in 1946. In 1947, he was put in charge of the navy's nuclear-propulsion program and began work on an atomic submarine. Regarded as a fanatic by his detractors, Rickover succeeded in developing and delivering the world's first nuclear submarine years ahead of schedule. In 1952, the Nautilus' keel was laid by President Harry S. Truman, and on January 21, 1954, first lady Mamie Eisenhower broke a bottle of champagne across its bow as it was launched into the Thames River at Groton, Connecticut. Commissioned on September 30, 1954, it first ran under nuclear power on the morning of January 17, 1955. Much larger than the diesel-electric submarines that preceded it, the Nautilus stretched 319 feet and displaced 3,180 tons. It could remain submerged for almost unlimited periods because its atomic engine needed no air and only a very small quantity of nuclear fuel. The uranium-powered nuclear reactor produced steam that drove propulsion turbines, allowing the Nautilus to travel underwater at speeds in excess of 20 knots. In its early years of service, the USS Nautilus broke numerous submarine travel records and in August 1958 accomplished the first voyage under the geographic North Pole. After a career spanning 25 years and almost 500,000 miles steamed, the Nautilus was decommissioned on March 3, 1980. Designated a National Historic Landmark in 1982, the world's first nuclear submarine went on exhibit in 1986 as the Historic Ship Nautilus at the Submarine Force Museum in Groton, Connecticut. September 29, 2005: Reporter Judith Miller released from prison Previously posted at: http://www.history.com/this-day-in-history/reporter-judith-miller-released-from-prison On this day in 2005, New York Times reporter Judith Miller is released from a federal detention center in Alexandria, Virginia, after agreeing to testify in the investigation into the leaking of the identity of covert CIA officer Valerie Plame. Miller had been behind bars since July 6, 2005, for refusing to reveal a confidential source and testify before a grand jury that was looking into the so-called Plame Affair. She decided to testify after the source she had been protecting, I. Lewis "Scooter" Libby, Vice President Dick Cheney's chief of staff, signed a waiver giving her permission to speak. The Plame Affair dates back to a July 6, 2003 op-ed piece for the New York Times written by former U.S. diplomat Joseph Wilson, Plame's husband. In it, Wilson questioned the Bush Administration's reasons for going to war in Iraq. Later that month, on July 14, undercover agent Valerie Plame's identity was revealed in a newspaper column by Robert Novak. Wilson's claim that the disclosure was retaliation by the White House for his op-ed piece sparked an investigation in December 2003 led by special prosecutor Patrick Fitzgerald. A 1982 law made it illegal to reveal information about a covert agent to anyone not authorized to receive such classified information. Fitzgerald interviewed President George W. Bush, Vice President Cheney and other top administration officials, along with various journalists. Although Miller hadn't written an article about Plame, she did meet with Libby shortly after Wilson's op-ed piece was published and Fitzgerald believed Miller had information that was relevant to his investigation. After 85 days in jail, Miller was released and testified before a grand jury that prior to the Novak column, she had several discussions with Scooter Libby in which he talked about Plame. On November 9 of that same year, Miller announced her retirement from the Times after a 28-year career with the newspaper. On March 6, 2007, Scooter Libby was convicted of obstruction of justice, perjury and making false statements to federal investigators in the Plame investigation. In June, he was sentenced to 30 months in federal prison and fined $250,000. However, one month later, on July 2, President George W. Bush commuted Libby's prison term before the ex-White House aide served any time. September 28, 1941: Ted Williams becomes last player to hit .400 Previously posted at: http://www.history.com/this-day-in-history/ted-williams-becomes-last-player-to-hit-400 On this day in 1941, the Boston Red Sox's Ted Williams plays a double-header against the Philadelphia Athletics on the last day of the regular season and gets six hits in eight trips to the plate, to boost his batting average to .406 and become the first player since Bill Terry in 1930 to hit .400. Williams, who spent his entire career with the Sox, played his final game exactly 19 years later, on September 28, 1960, at Boston's Fenway Park and hit a home run in his last time at bat, for a career total of 521 homeruns. Williams was born on August 30, 1918, in San Diego, and began his major league career with the Red Sox in 1939. 1941 marked Williams' best season. In addition to his .406 batting average–no major league player since him has hit .400–the left fielder led the league with 37 homers, 135 runs and had a slugging average of .735. Also that season, Williams, whose nicknames included "The Splendid Splinter" and "The Thumper," had an on-base percentage of .553, a record that remained unbroken for 61 years, until Barry Bonds achieved a percentage of .582 in 2002. In 1942, Williams won the American League Triple Crown, for highest batting average and most RBIs and homeruns. He duplicated the feat in 1947. In 1946 and 1949, he was named the American League's Most Valuable Player and in June 1960, he became the fourth player in major league history to hit 500 homers. He was selected to the All-Star team 17 times. Williams played his last game on September 28, 1960, and retired with a lifetime batting average of .344, a .483 career on-base percentage and 2,654 hits. His achievements are all the more impressive because his career was interrupted twice for military service: Williams was a Marine Corps pilot during World War II and the Korean War and as a result missed a total of nearly five seasons from baseball. Williams, who was inducted into the Baseball Hall of Fame in 1966, managed the Washington Senators (renamed the Texas Rangers in 1972) from 1969 to 1972. In 1984, the Boston Red Sox retired his uniform number (nine). Williams died of cardiac arrest at age 83 on July 5, 2002, in Florida. In a controversial move, his son sent his father's body to be frozen at a cryonics laboratory. AF-093: How Much of the Original White House is Actually Left? Previously posted at: http://youtu.be/a72H5gfxUns September 27, 1779: John Adams appointed to negotiate peace terms with British Previously posted at: http://www.history.com/this-day-in-history/john-adams-appointed-to-negotiate-peace-terms-with-british On this day in 1779, the Continental Congress appoints John Adams to travel to France as minister plenipotentiary in charge of negotiating treaties of peace and commerce with Great Britain during the Revolutionary War. Adams had traveled to Paris in 1778 to negotiate an alliance with France, but had been unceremoniously dismissed when Congress chose Benjamin Franklin as sole commissioner. Soon after returning to Massachusetts in mid-1779, Adams was elected as a delegate to the state convention to draw up a new constitution; he was involved in these duties when he learned of his new diplomatic commission. Accompanied by his young sons John Quincy and Charles, Adams sailed for Europe that November aboard the French ship Sensible, which sprang a leak early in the voyage and missed its original destination (Brest), instead landing at El Ferrol, in northwestern Spain. After an arduous journey by mule train across the Pyrenees and into France, Adams and his group reached Paris in early February 1780. While in Paris, Adams wrote to Congress almost daily (sometimes several letters a day) sharing news about British politics, British and French naval activities and his general perspective on European affairs. Conditions were unfavorable for peace at the time, as the war was going badly for the Continental Army, and the blunt and sometimes confrontational Adams clashed with the French government, especially the powerful Foreign Minister Charles Gravier, Comte de Vergennes. In mid-June, Adams began a correspondence with Vergennes in which he pushed for French naval assistance, antagonizing both Vergennes and Franklin, who brought the matter to the attention of Congress. By that time, Adams had departed France for Holland, where he was attempting to negotiate a loan from the Dutch. Before the end of the year, he was named American minister to the Netherlands, replacing Henry Laurens, who was captured at sea by the British. In June 1781, capitulating to pressure from Vergennes and other French diplomats, Congress acted to revoke Adams' sole powers as peacemaker with Britain, appointing Franklin, Thomas Jefferson, John Jay and Laurens to negotiate alongside him. The tide of the war was turning in America's favor, and Adams returned to Paris in October 1782 to take up his part in the peace negotiations. As Jefferson didn't travel to Europe and Laurens was in failing health after his release from the Tower of London, it was left to Adams, Jay and Franklin to represent American interests. Adams and Jay both distrusted the French government (in contrast with Franklin), but their differences of opinion and diplomatic styles allowed the team to negotiate favorable terms in the Peace of Paris (1783). The following year, Jefferson arrived to take Adams' place as American minister to France, forming a lifelong bond with Adams and his family before the latter left to take up his new post as American ambassador to London and continue his distinguished record of foreign service on behalf of the new nation. September 26, 1960: First Kennedy-Nixon debate Previously posted at: http://www.history.com/this-day-in-history/first-kennedy-nixon-debate For the first time in U.S. history, a debate between major party presidential candidates is shown on television. The presidential hopefuls, John F. Kennedy, a Democratic senator of Massachusetts, and Richard M. Nixon, the vice president of the United States, met in a Chicago studio to discuss U.S. domestic matters. Kennedy emerged the apparent winner from this first of four televised debates, partly owing to his greater ease before the camera than Nixon, who, unlike Kennedy, seemed nervous and declined to wear makeup. Nixon fared better in the second and third debates, and on October 21 the candidates met to discuss foreign affairs in their fourth and final debate. Less than three weeks later, on November 8, Kennedy won 49.7 percent of the popular vote in one of the closest presidential elections in U.S. history, surpassing by a fraction the 49.6 percent received by his Republican opponent. One year after leaving the vice presidency, Nixon returned to politics, winning the Republican nomination for governor of California. Although he lost the election, Nixon returned to the national stage in 1968 in a successful bid for the presidency. Like Lyndon Johnson in 1964, Nixon declined to debate his opponent in the 1968 presidential campaign. Televised presidential debates returned in 1976, and have been held in every presidential campaign since. September 25, 1957: Central High School integrated Previously posted at: http://www.history.com/this-day-in-history/central-high-school-integrated Under escort from the U.S. Army's 101st Airborne Division, nine black students enter all-white Central High School in Little Rock, Arkansas. Three weeks earlier, Arkansas Governor Orval Faubus had surrounded the school with National Guard troops to prevent its federal court-ordered racial integration. After a tense standoff, President Dwight D. Eisenhower federalized the Arkansas National Guard and sent 1,000 army paratroopers to Little Rock to enforce the court order. On May 17, 1954, the U.S. Supreme Court ruled unanimously in Brown v. Board of Education of Topeka that racial segregation in educational facilities was unconstitutional. Five days later, the Little Rock School Board issued a statement saying it would comply with the decision when the Supreme Court outlined the method and time frame in which desegregation should be implemented. Arkansas was at the time among the more progressive Southern states in regard to racial issues. The University of Arkansas School of Law was integrated in 1949, and the Little Rock Public Library in 1951. Even before the Supreme Court ordered integration to proceed "with all deliberate speed," the Little Rock School Board in 1955 unanimously adopted a plan of integration to begin in 1957 at the high school level. The National Association for the Advancement of Colored People (NAACP) filed suit, arguing the plan was too gradual, but a federal judge dismissed the suit, saying that the school board was acting in "utmost good faith." Meanwhile, Little Rock's public buses were desegregated. By 1957, seven out of Arkansas' eight state universities were integrated. In the spring of 1957, there were 517 black students who lived in the Central High School district. Eighty expressed an interest in attending Central in the fall, and they were interviewed by the Little Rock School Board, which narrowed down the number of candidates to 17. Eight of those students later decided to remain at all-black Horace Mann High School, leaving the "Little Rock Nine" to forge their way into Little Rock's premier high school. In August 1957, the newly formed Mother's League of Central High School won a temporary injunction from the county chancellor to block integration of the school, charging that it "could lead to violence." Federal District Judge Ronald Davies nullified the injunction on August 30. On September 2, Governor Orval Faubus—a staunch segregationist—called out the Arkansas National Guard to surround Central High School and prevent integration, ostensibly to prevent the bloodshed he claimed desegregation would cause. The next day, Judge Davies ordered integrated classes to begin on September 4. That morning, 100 armed National Guard troops encircled Central High School. A mob of 400 white civilians gathered and turned ugly when the black students began to arrive, shouting racial epithets and threatening the teenagers with violence. The National Guard troops refused to let the black students pass and used their clubs to control the crowd. One of the nine, 15-year-old Elizabeth Eckford, was surrounded by the mob, which threatened to lynch her. She was finally led to safety by a sympathetic white woman. Little Rock Mayor Woodrow Mann condemned Faubus' decision to call out the National Guard, but the governor defended his action, reiterating that he did so to prevent violence. The governor also stated that integration would occur in Little Rock when and if a majority of people chose to support it. Faubus' defiance of Judge Davies' court order was the first major test of Brown v. Board of Education and the biggest challenge of the federal government's authority over the states since the Reconstruction Era. The standoff continued, and on September 20 Judge Davies ruled that Faubus had used the troops to prevent integration, not to preserve law and order as he claimed. Faubus had no choice but to withdraw the National Guard troops. Authority over the explosive situation was put in the hands of the Little Rock Police Department. On September 23, as a mob of 1,000 whites milled around outside Central High School, the nine black students managed to gain access to a side door. However, the mob became unruly when it learned the black students were inside, and the police evacuated them out of fear for their safety. That evening, President Eisenhower issued a special proclamation calling for opponents of the federal court order to "cease and desist." On September 24, Little Rock's mayor sent a telegram to the president asking him to send troops to maintain order and complete the integration process. Eisenhower immediately federalized the Arkansas National Guard and approved the deployment of U.S. troops to Little Rock. That evening, from the White House, the president delivered a nationally televised address in which he explained that he had taken the action to defend the rule of law and prevent "mob rule" and "anarchy." On September 25, the Little Rock Nine entered the school under heavily armed guard. Troops remained at Central High School throughout the school year, but still the black students were subjected to verbal and physical assaults from a faction of white students. Melba Patillo, one of the nine, had acid thrown in her eyes, and Elizabeth Eckford was pushed down a flight of stairs. The three male students in the group were subjected to more conventional beatings. Minnijean Brown was suspended after dumping a bowl of chili over the head of a taunting white student. She was later suspended for the rest of the year after continuing to fight back. The other eight students consistently turned the other cheek. On May 27, 1958, Ernest Green, the only senior in the group, became the first black to graduate from Central High School. Governor Faubus continued to fight the school board's integration plan, and in September 1958 he ordered Little Rock's three high schools closed rather than permit integration. Many Little Rock students lost a year of education as the legal fight over desegregation continued. In 1959, a federal court struck down Faubus' school-closing law, and in August 1959 Little Rock's white high schools opened a month early with black students in attendance. All grades in Little Rock public schools were finally integrated in 1972. September 24, 1789: The First Supreme Court Previously posted at: http://www.history.com/this-day-in-history/the-first-supreme-court The Judiciary Act of 1789 is passed by Congress and signed by President George Washington, establishing the Supreme Court of the United States as a tribunal made up of six justices who were to serve on the court until death or retirement. That day, President Washington nominated John Jay to preside as chief justice, and John Rutledge, William Cushing, John Blair, Robert Harrison, and James Wilson to be associate justices. On September 26, all six appointments were confirmed by the U.S. Senate. The U.S. Supreme Court was established by Article 3 of the U.S. Constitution. The Constitution granted the Supreme Court ultimate jurisdiction over all laws, especially those in which their constitutionality was at issue. The high court was also designated to oversee cases concerning treaties of the United States, foreign diplomats, admiralty practice, and maritime jurisdiction. On February 1, 1790, the first session of the U.S. Supreme Court was held in New York City's Royal Exchange Building. The U.S. Supreme Court grew into the most important judicial body in the world in terms of its central place in the American political order. According to the Constitution, the size of the court is set by Congress, and the number of justices varied during the 19th century before stabilizing in 1869 at nine. In times of constitutional crisis, the nation's highest court has always played a definitive role in resolving, for better or worse, the great issues of the time. September 23, 1875: Billy the Kid arrested for first time Previously posted at: http://www.history.com/this-day-in-history/billy-the-kid-arrested-for-first-time On this day in 1875, Billy the Kid is arrested for the first time after stealing a basket of laundry. He later broke out of jail and roamed the American West, eventually earning a reputation as an outlaw and murderer and a rap sheet that allegedly included 21 murders. The exact details of Billy the Kid's birth are unknown, other than his name, William Henry McCarty. He was probably born sometime between 1859 and 1861, in Indiana or New York. As a child, he had no relationship with his father and moved around with his family, living in Indiana, Kansas, Colorado and Silver City, New Mexico. His mother died in 1874 and Billy the Kid—who went by a variety of names throughout his life, including Kid Antrim and William Bonney—turned to crime soon afterward. McCarty did a stint as a horse thief in Arizona before returning to New Mexico, where he hooked up with a gang of gunslingers and cattle rustlers involved in the notorious Lincoln County War between rival rancher and merchant factions in Lincoln County in 1878. Afterward, Billy the Kid, who had a slender build, prominent crooked front teeth and a love of singing, went on the lam and continued his outlaw's life, stealing cattle and horses, gambling and killing people. His crimes earned him a bounty on his head and he was eventually captured and indicted for killing a sheriff during the Lincoln County War. Billy the Kid was sentenced to hang for his crime; however, a short time later, he managed another jail break, murdering two deputies in the process. Billy the Kid's freedom was brief, as Sheriff Pat Garrett caught up with the desperado at Fort Sumner, New Mexico, on July 14, 1881, and fatally shot him. Although his life was short, Billy the Kid's legend grew following his death. Today he is a famous symbol of the Old West, along with such men as Kit Carson, Jesse James, Wild Bill Hickok, Doc Holliday and Wyatt Earp, and his story has been mythologized and romanticized in numerous films, books, TV shows and songs. Each year, tourists visit the town of Fort Sumner, located about 160 miles southeast of Albuquerque, to see the Billy the Kid Museum and gravesite. September 22, 1862: Lincoln issues Emancipation Proclamation Previously posted at: http://www.history.com/this-day-in-history/lincoln-issues-emancipation-proclamation On this day in 1862, President Abraham Lincoln issues a preliminary Emancipation Proclamation, which sets a date for the freedom of more than 3 million black slaves in the United States and recasts the Civil War as a fight against slavery. When the Civil War broke out in 1861, shortly after Lincoln's inauguration as America's 16th president, he maintained that the war was about restoring the Union and not about slavery. He avoided issuing an anti-slavery proclamation immediately, despite the urgings of abolitionists and radical Republicans, as well as his personal belief that slavery was morally repugnant. Instead, Lincoln chose to move cautiously until he could gain wide support from the public for such a measure. In July 1862, Lincoln informed his cabinet that he would issue an emancipation proclamation but that it would exempt the so-called border states, which had slaveholders but remained loyal to the Union. His cabinet persuaded him not to make the announcement until after a Union victory. Lincoln's opportunity came following the Union win at the Battle of Antietam in September 1862. On September 22, the president announced that slaves in areas still in rebellion within 100 days would be free. On January 1, 1863, Lincoln issued the final Emancipation Proclamation, which declared "that all persons held as slaves" within the rebel states "are, and henceforward shall be free." The proclamation also called for the recruitment and establishment of black military units among the Union forces. An estimated 180,000 African Americans went on to serve in the army, while another 18,000 served in the navy. After the Emancipation Proclamation, backing the Confederacy was seen as favoring slavery. It became impossible for anti-slavery nations such as Great Britain and France, who had been friendly to the Confederacy, to get involved on behalf of the South. The proclamation also unified and strengthened Lincoln's party, the Republicans, helping them stay in power for the next two decades. The proclamation was a presidential order and not a law passed by Congress, so Lincoln then pushed for an antislavery amendment to the U.S. Constitution to ensure its permanence. With the passage of the 13th Amendment in 1865, slavery was eliminated throughout America (although blacks would face another century of struggle before they truly began to gain equal rights). Lincoln's handwritten draft of the final Emancipation Proclamation was destroyed in the Chicago Fire of 1871. Today, the original official version of the document is housed in the National Archives in Washington, D.C. The Empire State Building: A History | AF-312 John McEnroe disqualified from the Australian Open Battle of Khe Sanh begins President Carter pardons draft dodgers Toyota officially passes GM as planet's biggest car maker
{ "redpajama_set_name": "RedPajamaCommonCrawl" }
Latest Free Football Betting and Sports Betting Tips from sportingways.com Take Johnson at 40/1 for US Money List You will have to wait a full year for the outcome of this event but I advise you take the 40-1 on the golfer that has a great chance of pushing Tiger the closest on the PGA Tour in 2008.... Premiership Moneyback Weekend Specials The last time Newcastle faced Bolton, Sam Allardyce and Sammy Lee were in charge of the two teams. How things have changed in both camps. The Messiah of the North East has returned and Kevin Keegan will be looking for his traditional high scoring affair in his first game back. Bolton will look to spoil the party as they desperately seek points at the bottom end of the table... Gerry's Weekend Betting Preview Apparently, Everton's trophy room has been burgled. Police are asking the public to be on the lookout for several replicas of the FA Cup, the League Cup and the Cup Winners Cup. I'll be having it away with the 6/5 for an Everton win over Manchester City.... Free Football and Soccer Odds Checker Free Football and Soccer Odds Checker ~ Compare Odds Against The Top UK Sportbooks..... Can England's Boyish Bowlers Blast the Black Caps Once More? England's cricketers have the wind in their sails after bouncing back from first Test blues and bludgeoning the Black Caps in Wellington, but Michael Vaughan's side (13/8) will be desperate to build on that success when they take on the Kiwis (10/3) in the third and final Test... Never Been a Better Time to Play Chelsea Avram Grant is said to have received death threats for a second time along with a mysterious packet of white powder. We all know it's probably a sympathy letter from the F.A thrown in with some cocaine for good measure. Let's be honest, if you've seen your team knocked out of two competitions in the space of 3 weeks and managed to concede a goal at home to Derby...
{ "redpajama_set_name": "RedPajamaCommonCrawl" }
It's Monday. Politics is more vicious than ever. So here's something a little lighter. You can check it out, here. Here's something that's been happening since the beginning of gay time. Not big deal. Over 3,000 people participated in the survey, which was conducted earlier this month. One if four respondents admitted they had lied about their age at least once while chatting with a potential new hookup. Here's the link. Lucille Ball once said that she couldn't lie about her age because she told too many people her real age when she first went to Hollywood. But she wished she hadn't told the truth back then. This one is for all the transphobes in Scotland. 'Dear transphobes, do you think it's right to harass people on the street?' the poster reads. 'Right to push transgender people around in clubs? Right to humiliate, intimidate and threaten them online? Here's more. Good for them.
{ "redpajama_set_name": "RedPajamaC4" }
Sony PIX hosts the premiere of 'Jurassic World: Fallen Kingdom' before its India and US release! On June 6, 2018, a day before its India release and weeks before its US release, the dino park has opened first for Sony PIX viewers for a jaw dropping experience! With the addition of these networks, Dishum is now reaching over ~85 million TV Households across all MSO's & DTH platforms. The Bill not only seeks to widen the scope of the law to cover newer media and technological advancements, such as the Internet, cable, multimedia messaging, OTT and apps, but to also strengthen those already under its purview. Kapoor shows his physical energy in the campaign as he is seen in a rigorous building routine of hammer shots, rope lifting and boxing and also his humane side wherein he is seen as a family man. Are brands watching Dancing Uncle's moves? A category first, Rudra is a magic comedy series that has been produced by Green Gold Animation. Moneka Khurana has been appointed as Country Head in India, while Namita Ved will fill the position of Head of Business Development and Operations, India.
{ "redpajama_set_name": "RedPajamaC4" }
Alamedans Hold Protest Opposing Proposed Middle School Closure On Monday, Jan. 23, Alameda students organized a student-led protest to voice their displeasure with Alameda Unified School District's (AUSD) proposal to close Bay Farm Middle School. Rally Held to Support Women's Reproductive Rights On Sunday, Jan. 22 at the women's rally in front of Alameda's City Hall, more than 50 supporters met with a unified rallying cry: It's Bigger than Roe. The rally took place on the 50th anniversary of the Roe v. Wade decision that decriminalized abortion nationwide. Hornets Complete Season Sweep of Jets The Alameda High School (AHS) men's basketball team held off a spirited late comeback attempt by the host Encinal High School (EHS) to season sweep over their city rivals on Jan. 21. Alameda Women Rally for Rights on 50th Anniversary of Roe The Alameda Chair of the National Women's March will hold a march to Alameda City Hall on Sunday, Jan. 22. The Bigger than Roe march will commemorate the 50th Anniversary of the historic Roe v. Wade decision. Suspect Arrested After Brandishing Firearm at Drive-Thru On Wednesday, Jan. 18, Alameda police officers responded to the Jack in the Box on Park Street for the report of a robbery. Officers learned that a man approached a car in the drive-thru and pointed a firearm at the occupants.
{ "redpajama_set_name": "RedPajamaCommonCrawl" }
package p01_Geometry.Abstract; import p01_Geometry.Interfaces.AreaMeasurable; import p01_Geometry.Interfaces.PerimeterMeasurable; import p01_Geometry.Vertices.Vertex2D; public abstract class PlaneShape extends Shape implements AreaMeasurable, PerimeterMeasurable { public PlaneShape(Vertex2D[] vertices) { this.coordinates = vertices; } @Override public String toString() { return String.format( "Shape Type: %s\r\n\t" + "Area: %.2f\r\n\t" + "Perimeter: %.2f\r\n", this.getClassName(), this.getArea(), this.getPerimeter()); } }
{ "redpajama_set_name": "RedPajamaGithub" }
assembler source code. There are also a few sample programs available in the net. Hopefully this document will help to increase their number. not an AVR assembler programming tutorial. It's not a C language tutorial either. refer to avr-libc and assembler programs for this. 4. Clobbered registers, left empty in our example. In the code section, operands are referenced by a percent sign followed by a single digit. %1 refers to 'I' (_SFR_IO_ADDR(PORTD)). statements. The compiler selected register r24 for storage of the value read from PORTD. and your flash memory is able to hold. The available assembler directives vary from one assembler to another. creates it's own assembler code. You may also make use of some special registers. case a new compiler version changes the register usage definitions. we will see how to pass multibyte expression results to the assembler code. constants to the range 0 to 7 for bit set and bit clear operations. used in the assembler instructions. then the output value would have been destroyed on the first assembler instruction. select any register for the output value, which is used for any of the input operands. asm volatile("mov __tmp_reg__, %A0" "" to two different 8-bit registers, both containing a part of value. on. The next byte of the first operand will be %B0, the next byte %C0 and so on. needs to be stored before interrupts are enabled. temporary register tmp_reg defined by the compiler. help of a local C variable. everything has to be reloaded again after this code. whenever used and store it whenever modified. asm instead of asm and volatile instead of volatile. These are equivalent aliases. create L_1405 or whatever. In any case, the labels became unique too. "1: " "sbic %0, %1" "" containing nothing other than your assembler code. local variable to hold a temporary value. bit value read from two successive port addresses. inw() is supplied by avr-libc. symbolic names in the assembler code. However, local variables may be held in registers.
{ "redpajama_set_name": "RedPajamaC4" }
Biographies Russian Artists 19th Century Late 19th Century National Romantic Isaac Levitan Isaac Levitan Born: 1860, Kybartai (Lithuania) Died: 1900, Moscow National Romanticism Painter, graphic artist, teacher. Born to a poor Jewish family in the town of Kybartai near Kovno in Lithuania (1860). Moved with his family to Moscow (1870). Studied under Alexei Savrasov, Vasily Polenov and Vasily Perov at the Moscow School of Painting, Sculpture and Architecture (1873–85). Member of the Wednesday Art Club (1886–89), Moscow Society of Lovers of the Arts (1888), Society of Travelling Art Exhibitions (1891) and Munich Sezession (1897). Academician of painting (1898). Headed the landscape class at the Moscow School of Painting, Sculpture and Architecture (1898–1900). Worked in Ostankino near Moscow (1880–84) and painted sets for Savva Mamontov's Private Russian Opera (1884–86). Lived in the village of Maximovka in Moscow Province, where he met Anton Chekhov, who was a guest at an estate in nearby Babkino (1885). Travelled to the Crimea to rest after suffering from heart disease and manic depression brought on by constant poverty and stress (1886). Painted melancholic "mood landscapes" which were considered a reflection of his own troubled psyche. Never married, but had many affairs and was suspected of being in love with Anton Chekhov's sister Maria. Lived and worked in the small town of Plyos in Kostroma Province (1888–90), where he painted two hundred landscapes. Visited France and Italy (1889–90), where he was influenced by the works of the Barbizon school and the Impressionists. Fell out with Anton Chekhov (1892–95) after the writer used his liaison with married student Sofia Kuvshinnikova as the plot for his short story The Grasshopper (1892). Broke up with Sofia after having an affair with Anna Turchaninova, wife of the governor of St Petersburg (1894), which led to another love triangle when Anna's eldest daughter also fell in love with him (1895). Mother and daughter fought over the artist, who attempted to commit suicide by shooting himself in Gorki (1895). Visited by Anton Chekhov, who further angered the artist by depicting him as the suicidal playwright Konstantin Treplyov in The Seagull (1895). Lived and worked in Finland (1896). Contracted typhoid and diagnosed as suffering from aneurysms (1896). Visited the town of Courmayeur in the Italian Alps (1897) and lived at the house of Anton Chekhov in Yalta (1899). Returned to Moscow (1900), where he remained housebound and died of tuberculosis shortly before his fortieth birthday (1900). Buried at Dorogomilovo Jewish Cemetery (1900) and reburied next to Anton Chekhov at the Novodevichy Cemetery (1941). Contributed to exhibitions (from 1880). Contributed to the exhibitions of the Society of Travelling Art Exhibitions (1884–1900), Moscow Society of Lovers of the Arts (1887–1900), Fellowship of South Russian Artists (1892), Moscow Fellowship of Artists (1893), Munich Sezession (1896, 1898, 1899), Exhibition of Russian and Finnish Artists (1898), World of Art (1899, 1900), Pan-Russian Exhibition in Nizhny Novgorod (1896), World's Columbian Exposition in Chicago (1893), Kraft- und Arbeitsmaschinen-Ausstellung in Munich (1898), Exposition Universelle in Paris (1900) and posthumous one-man shows in St Petersburg and Moscow (1901). Eudoxia Lopukhina When Peter the Great was sixteen, his mother married him to the nineteen-year-old daughter of Illar... Nicholas II was the first child and eldest son of Alexander III and Maria Fyodorovna. He was born a... Pyotr Pnin Painter. Son of the writer Ivan Pnin (1773–1805). Studied at the Imperial Academy of Arts (1809–24)... Yefim Cheptsov Painter, teacher. Born in the family of icon-painter Mikhail Cheptsov in Medvenka in Kursk Province... The Arrest of Christ Christ's arrest is described in all four Gospels: "Then Jesus said unto the chief priests, and capt...
{ "redpajama_set_name": "RedPajamaCommonCrawl" }
To make the Hilton Guesttalk site work properly, we sometimes place small data files called cookies on your device. Most big websites do this too. A cookie is a small text file that a website saves on your computer or mobile device when you visit the Hilton Guesttalk site. to recognize you when you connect to the Hilton Guesttalk website so as to personalise the user's interface. Enabling some of these cookies is not strictly necessary for the website to work but it will provide you with a better browsing experience. You can delete or block these cookies (see «How to control cookies»), but if you do that some features of this site may not work as intended. Cookies are not used for any purpose other than those described here and will not affect the performance of your computer. What is Digital Finger Printing and how do we use it? In general, Digital Fingerprinting technologies assign a unique identifier or "Machine-ID" to a user's computer to identify and track the computer. Toluna will not use Digital Fingerprinting technology (the "technology") to collect personal information, or track the online activities, of the user of a computer; and will not disrupt or interfere with the use or control of a computer or alter, modify or change the settings or functionality of a computer. Toluna will use the technology to assist Hilton and other Toluna clients in ensuring the integrity of survey results. The technology will analyse publicly available information and data obtained from the computer's web browser and from other publicly available data points, including without limitation the technical settings of the computer, the characteristics of the computer, and the computer's IP Address, to create a unique identifier assigned to the computer. The unique identifier will be an alpha-numeric ID. After creating the unique identifier, Toluna does not retain the information ID used by the Technology to create the unique identifier. In the event that Toluna discovers or learns of any unethical conduct in connection with the use of the above technology, or that the technology is being used in a manner that is inconsistent with the statements and/or disclosures made by Toluna to respondents or in violation of applicable Laws and Codes, Toluna will take immediate action to prohibit such unethical conduct and to ensure the proper administration of the technology. By the use of the Hilton Guesttalk you consent to the above cookies to being put in place. You can control and/or delete cookies as you wish or delete cookies installed by Hilton Guesttalk- for details, see aboutcookies.org. You can delete all cookies that are already on your computer and you can set most browsers to prevent them from being placed. To do so you should modify your browser settings click on the help section of your Internet browser and follow the instructions. If you do this, however, you may have to manually adjust some preferences every time you visit a site and some services and functionalities may not work. It is available for IE8-11, Chrome, FIrefox, Safari and Opera browsers. In Settings / Preferences / Privacy choose "Use custom settings for history" and set "Accept third-party cookies" to "Never". In Settings expand "Advanced Settings", click "Content settings..." and tick "Block third-party cookies and site data" checkbox. In Tools / Internet Options / Privacy click "Advanced", select "Override automatic cookie handling" and select "Block" choice under "Third Party Cookies". Preferences / Privacy - near "Block cookies and other website data" tick "From third parties and advertisers". Normally this is a default setting.
{ "redpajama_set_name": "RedPajamaC4" }
Run Redbourn! is a running group based in Redbourn, Hertfordshire. We have runs to suit all abilities at many different times during the week. We are a Run & Talk running group. This means we promote the power of running for improving mental health as well as physical health. We have 6 Mental Health Champions who run wearing a red 'run and talk' wristband. One run per month will be designated an official 'run and talk' run.
{ "redpajama_set_name": "RedPajamaC4" }
Karen and I recently went to Conyngham, Pennsylvania to revisit one of the best breweries we've found on our camping trips, Conyngham Brewing Co. Now before you go crazy trying to figure out how to say it just keep it simple, it is pronounced Cunningham. Owner/Brewmaster Marc Eble and Assistant Brewer Darren Wolfe applied for their license in November 2012 and opened their doors in May of 2013. In comparison to here in New Jersey, I would have to say the process is a little easier in PA. The building that houses the Brewery was a general store dating back to the early 1800's and was once owned by Darren's grandparents. Marc and Darren took it down to the studs, and upgraded everything except for the old meat cooler with the original antique door. What once housed meat now is the home for the kegs for the taproom. They opened up with a 1 BBL system with a Kölsch being the first beer they brewed. Within 6 months they needed to move up to a 2 BBL system, and then up to their current brew house which is a 5 BBL system with 12 assorted 5 & 10 BBL fermenters. That jump made the beer making much faster. They both joked that what used to take 22 hours to brew now takes 6. The taproom itself is one of the warmest and welcoming ones we've been in. It has a 30"+ wide U-shaped bar that is made from reclaimed floorboards from the front of the building which were the living quarters that sits about 12 comfortably. The bar area has a nice fireplace, and restrooms are nicer than most custom homes. As you travel through the doorway from the taproom, you enter what was once Darren's grandmothers kitchen which has been transformed into a nice area with high tables, oversized brown leather couches, and a dartboard. Through a sliding door to your right, you enter what was the living quarters which is now adorned with more high tables, and oversized brown leather couches. Across the front of the room are about a dozen barrels filled with assorted styles including 1-2 year old sours in various flavors. It's hard to truly appreciate what a great find this is, so you need to plan a weekend and experience true Artisan beer making. When you do go, try to catch a weekend with the Sunday brunch. As you could imagine everything is farm to table. They do it about once a month so do your research, and you won't be disappointed. 1. What was the first beer you brewed, and how was it? I only homebrewed once in my life, and it was in Hawaii. I built my own mash tun out of coolers, and did an all grain Belgium inspired Chocolate Mint Stout. It was ok, but I knew what I did wrong. I used fresh mint, and did not remove the stems which gave it a bittering aspect. I did get the chocolate part right with the timing of the coco nibs, and the underlying beer was quite tasty. 2. What is your favorite style to brew, and why? The favorite style I like to brew because of the ease and the great final product would be our Kölsch. Now my favorite to brew to drink is our Bourbon Barrel Stout. I lived in Hawaii for 8 years, and still have friends there who send me fresh coffee which I put in the barrels. 3. Do you look at ratings on Untappd, Beer Advocate, or Rate Beer, and does it influence your recipes? Once in a while I look at Untappd because you kind of have to. I mainly log in to keep the beers up to date. It in no way affects my recipes in any way. 4. How do you stay connected to the local area in relation to sourcing ingredients? We have our own 20 acre farm about 8 minutes away. We grow our own hops, but not 100% of our hop bill is from that. We source local oats. All the fruit in our sours are grown on our farm. The honey for our Mint Tea Honey Saison comes from our hives. 5. What is one tip you would give home brewers to make better beer? Remember you have the advantage. You can buy whatever you want because you don't have to worry about sales so don't skimp on the ingredients. I hate t give the typical answer, but sanitizing is a huge part of it which can be extremely hard in the homebrew environment. Keep it simple. If you try to complicate things you run the risk of things going wrong. 6. What is the one piece of advice you would give someone who wants to open a brewery? I get this answer 95% of the time. DON'T! I say that knowing if it's your true passion nothing will discourage you. You will need to double, and triple the time you think it will take. You will need to be resourceful. Our Glycol chiller went down, and Darren was able to get it operational, and I went and took the EPA test, and now I'm certified in HVAC. For me it's my life, and I've had to make sacrifices in my social life, friends, and sometimes relationships because it's that important to me. I used to love going to breweries, but that is very rare since I opened up. If you're going to other breweries for "research" then you're just ripping them off, and that's not respectful, and you probably won't make it. 7. If there is one beer you could brew with no regards to cost, production, or sales, what would it be? I've actually already have done it. It's our Imperial Dessert Stout which comes in at 17.5% ABV. We went one step further and put it into a Cognac barrel which should amp it up to about 21% when it comes out. We made that beer just to see if we could. We weren't worried about cost, sales or time. We just wanted to see how big we could go. 8. Looking back to opening day forward, what was the one thing that happened that surprised you? The change in the market. We opened up at the tail end of the first boom, and yes we are seeing another resurgence now. When we started bars and distributors were hounding us, but we weren't ready, and by the time we were the market got very competitive to the point that it's a challenge to get into bars and taverns. 9. Other than your beer, what is your go to after a long day at the brewery? It's hard to say our beer since I live upstairs (laugh). I would have to say when I'm lucky enough to find it is Traquair House Scottish Ale. It's a Brewery that only makes 2 beers to support their castle in Scotland. 10. Where do you see the brewery in a year? In 5 Years? Darren chimed in right away "Key West". Which I quickly said "I'm in". Seriously I want to do more distribution. That's my main goal because it's all about the beer. 5 Years. If the distribution doesn't work out then we will move somewhere where we will have a better opportunity to distribute. Bonus 1. What's the best beer you ever had? The Traquair House definitely comes to mind. There was also a great experience we had in Philly at the Brewers Conference where we went to a bar after and found Kosmic Mother Funk Grand Cru from Sam Adams on tap for $6 a pint. We had no choice but to kill the sixtel. Bonus 2. What do you listen to when you're brewing? A lot of Van Halen when we're brewing and country when we are bottling. To say we enjoyed our visit would be an understatement. I can't wait until the next visit which will be in early July. If you are a fan of craft beer then you need to punch Conyngham Brewing into your GPS and start driving. 10 Questions With Bonsaw Brewing Company's Brewmaster A.J. Stoll! We finally made it to Bonesaw Brewing Company in Glassboro, N.J. to do our "10 Questions with the Brewer" Brewmaster AJ Stoll. If you are like us, you have been following construction of this Brewery over the last year or so. Bonesaw was one of the first breweries in our area to be built from the ground up and we were curious about what it would look like, and more importantly how good the beer would be. From the moment you pull into the parking lot, to entering into the massive taproom, to the first sip of beer, one word comes to mind: Craftsmanship. What Dr. Rich DeVerniero, and brother-in laws David & Allen Doe, and Brewmaster AJ Stoll have created is a total sensory overload. From the custom light fixtures crafted by Dr. Rich himself to the impressive live edge bar, and wood work done by Randy P. Goodman of Random 8 Woodworks. All 4 owners were heavily involved with every single phase of construction. Bonesaw Brewing consists of a 17 BBL (20HL) brewhouse with 10-50 BBL (60HL) fermenters and 2-50 BBL (60HL) Brite tanks. He also has a few freshly filled barrels that I can't wait to try. Brewmaster AJ Stoll took the long way to get to N.J… He is originally from Orange County, California, where his brewing journey started at Seven Bridges Organic Homebrew Supply in Santa Cruz. AJ got the bug early, and the supply store gave him a way to stay in touch with it (Plus the discounts didn't hurt either). While at Seven Bridges he actually worked with Tim Clifford and Jason Hansen who went on to open Santé Adairius Rustic Ales in 2012, and are really making some great beers. After college, AJ got an assistant brewer job with Seabright Brewery. After a short stint there, he moved on to his first Head Brewer job at Ukiah Brewing Co. From there he moved to Figueroa Mountain Brewing where his Imperial IPA Lizard's Mouth was nominated for best new beer in 2014. Along with dozens of awards he helped Figueroa grow from 1,200 BBL to 20,000 BBL per year in production. Later on in 2014 AJ got the opportunity to go to Kerry, Ireland where he helped start-up Killarney Brewing Company which has become well-respected in the beer world. Although AJ joked that it only rains twice for 6 months at a time he was taken by the beauty, and the 40 shades of green. Something else that was surprising to him was that most of the 10,000 BBL they produced sold in just a 10 mile radius which confirms that the Irish love their beer. The time at Killarney lasted about a year, and it was time for AJ to come back to the states. In 2015 he found himself at Funky Buddha in Florida where he helped get their Brewhouse in order before it was sold to Constellation Brands. Then like the song say's, I'm going back to Cali. When he got back to California he started working as a consultant with the plan to work with as many different breweries of all sizes to absorb as much experience as he could. He helped start new breweries, and helped tweak existing ones until he got the call to be the Brewmaster at Bonesaw. It was an all grain Belgium double kit which I brewed twice before I wrote my own recipe for a Maple Buckwheat Brown Ale, and my love for brewing spiraled out of control from there. The first batch didn't come out exactly like I hoped, but all the next ones came out good, and drinkable. I'm a chameleon when it comes to that. I like to brew darker beers because it makes the whole brewery smell good. Being from California I do love to brew IPA's, but if I had to pick a favorite it would have to be Lagers. They are the hardest, and most transparent. If something goes wrong everyone knows it. I also like Pilsners for the same reason. 3. Do you look at ratings on Untapped, Beer Advocate, or Rate Beer, and does it influence your recipes? I do look at them from time to time just as a quality control check to see if there's a problem. I'm really not looking to see if someone liked the beer, but more if they went into one of our accounts and got a beer that tasted funny. It does not affect my recipes at all. We have 16 beers on tap right now with all different styles, so if you can't find something it may be you just don't like beer. That's one of my favorite things to do everywhere I've been is to use local ingredients. We use local honey for some of our beers as well as malts from Rabbit Hill Farms which has been a nice recurring theme to this question. Our peaches, and pumpkins are all local, and our coffee is roasted right in Pitman. It's not just the freshness, and quality, but supporting local businesses that support us. Don't be afraid to dump a batch and start over if you're not happy with it. With all the books and internet it's much easier to get it right the first time than it was 20 years ago. 6. What is the one piece of advice you would give to someone who wants to open a brewery? Don't assume that because you are a home brewer that you're a brewer. I'm not saying you can't make the leap to a 3 BBL system, but it would be a good idea to bring someone in who has big system experience. Try to get some professional schooling or an internship with a bigger brewery. Make sure it's your passion. 7. If there was a beer you could brew with no regards to cost, production, or sales, what would it be? I would probably brew a Triple IPA with some of the more expensive, and hard to get hops like Galaxy etc. I would also love to try an Ice Bock (Eisbock) which is where you freeze and remove a percentage of the water to increase the alcohol content, and turn it into a Triple Bock. I can't legally do it in New Jersey because it's distillation, but it would be pretty cool to do. A Stone Beer would be interesting to try also. It's when you super heat rocks and put them in the kettle to get it to boil. How many people showed up to drink beer, and support us. We obviously wanted to be successful, and built this place for the consumer, but the response was very humbling. We only had 2 beers for the first 2 weeks, but the place was packed, and we were extremely grateful for it. I still love Yuengling. It was hard to get in California and Florida so it was a treat when I could get it. We are planning on growth of course. Our taproom is our most important thing right now, but we want to expand out with our accounts to more of New Jersey and Philadelphia. We also have plans for a second building in the back lot where we can not only make more beer, but more interesting beer. We just filled our first set of barrels which is something we want to continue to do more of. In 5 years we would love to build another Bonesaw probably in South Carolina somewhere. Rich, Dave, Allen, and I really enjoyed building this one, and our fingerprints are on almost everything in here. We are not the kind of guys to stand around with clipboards, and would love to do this again. Bonus: What's the best beer you ever had? I have a couple ones. I would have to say a Rodenbach Grand Cru for sure. I had a 10 year vertical of Bigfoot Barleywine from Sierra Nevada that was really good. It's also an experience that makes a beer the best one. If I really had to pick one it would be the Augustiner Helles' Lager I had sitting in the Augustiner Beer Hall in Munich. Bonus 2: What do you listen to when you're brewing? I have to have music playing when I'm brewing. I'm all over the place when it comes to music. The other day I listened to The Killers all day. Some days I listen to older country music, or I'll get on a Peter Gabriel or Genesis kick. You can never go wrong with 80's heavy metal either. I would like to thank AJ, Rich, Dave, and Allen for being such gracious hosts, and taking time out of their day to sit down with me. One other thing I noticed was that the entire staff was extremely friendly and knowledgeable which was the cherry on top of the whole experience. Do yourself a favor and stop by if you're in the area. They also have nitro cold brew coffee on tap as well as homemade sodas for you non beer people. We have been sitting on this article for quite some time. Not because it wasn't done well, we just wanted to hold onto it until Slack Tide Brewing Company was ready to release their first run of cans. While we were awaiting the boys to let us know, something very cool happened, they went out and one a Bronze Medal at The Great American Beer Festival for Avalon Amber Ale! So as this article goes to press their cans of Angry Osprey, Bell Buoy, and Tipsy Dipsy are available in 12 oz 6 packs at the brewery and select locations around South Jersey. Without further adieu, here is Tom's article born of sweat and hard work while yours truly sat in air conditioning! I recently spent a couple days with Tadhg Campbell of Slack Tide Brewing Company to experience what a brew day consists of. The first day started with cleaning and sanitizing the equipment that will be used for the day. On day one Tadhg and assistant brewer Shawn Karge were going to be brewing a BBL batch one of mine and my wife's favorite, Avalon Amber Ale. Apparently we are not the only ones who think that.3 This beer just took home the Bronze in the American-Style Amber/Red category for the Avalon at the Great American Beer Festival. Tadhg mentioned to me that it's not a popular style, but I don't understand why. It has beautiful color, and a nice toasty, malty flavor. For this batch we milled 110 lbs of base grain, and another 90lbs of specialty malt grains. While the grains did their thing in the Mash Tun we started cleaning kegs, and getting things set up to transfer Sand Spike Session IPA from the fermenter to the Brite tank. While the Sand Spike transfer was taking place I was able to clean 12 half kegs and 19 sixtels in their Keg Commander cleaner. We will be filling those the next day with Sand Spike, their Session IPA. My first day was only about 3 hours, but it was a great warm-up for what was to come on day 2. Day 2 started out at a balmy 86 degrees in the brew house at 6am. That day Tadhg and assistant brewer Chuck Wieland were going to be brewing a double 10 BBL batch of Bell Buoy, their award wining Belgian Blonde . The grain bill for each batch will be a little over 700 lbs. While the first batch of Bell Buoy was in the Mash Tun we started kegging the delicious Sand Spike out of the Brite Tank which yielded 12 half kegs, and 19 sixtels which I had cleaned yesterday. By 8:30 we had the first 10 BBL batch of Bell Buoy in the Brew Kettle and all of the Sand Spike in kegs. It is balmy in the brew house, currently in the low 90's, thankfully the cloud cover is saving us. As I thought about the process of brewing, the one word that keeps popping into my head is "multitasking". As Forrest Gump said "There's always something to do and somewhere to go". It's 9 am, and we start to sanitize the 20 BBL fermenter that housed Sand Spike the day before, and will be the new home for the double batch of Bell Buoy for a couple of weeks. At around 10 am we add the hop bill to the first batch of Bell Buoy and start to pull out the spent grains from the Mash Tun which will be picked up by a local farmer to feed his livestock. I also took some of the spent grain and made a batch of chocolate chip cookies with them that turned out really good (Editor's Note: They were good!). The sun is out, and it's about 100 degrees inside the metal building which houses the brewing operation. so much for me and my big mouth talking about the cloud cover. As we finished removing the first batch of spent grain, Tadhg started pumping the Bell Buoy through the heat exchanger, and into the freshly sanitized 20 BBL fermenter. As always there is something to sanitize, and prep for the next stage. It's like a grain, hops, water, and sanitizing symphony that is kind of special to be a part of. It's now 11:25 am and is about 110 degrees in the brew house, Chuck is moving to the taproom, and we are joined by sales representative Jordi Nicolau to finish up the day in the brew house. We are now ready to move the second batch from the Mash Tun to the Brew Kettle, and we are still sanitizing the Brite Tank to get it ready for the next batch of liquid gold to go in it. Time check is now 12:45 pm, and I just pulled out the second batch of grain from the Mash which comes in at about 1800 lbs when saturated, and the second batch is boiling. Although Tadhg's day is far from over I'm ready to taste test some of the Sand Spike we kegged, and grab a few crowlers for the 4th. I can't thank Tadhg, and his brother Jason, and everyone at Slack Tide that I worked with over the 2 days. It was an awesome experience, and it was hot, and hard work, but if you love what you do you never work a day in your life. I can't wait to do this at another brewery, and have another great experience. I recently sat down with the new Head Brewer of Tuckahoe Brewing Co. Ingrid Epoch to talk about her past, and present with Tuckahoe Brewing. Ingrid started out her professional brewing career with Devil's Creek Brewing in Collingswood in the spring of 2016. In September of 2017, she brought her skills to Forgotten Boardwalk Brewing where she brewed until April of this year when she became Head Brewer of Tuckahoe Brewing Co. Although I only had a short time to interview Ingrid due to a rigorous brewing schedule, I got the impression that this is going to be a good fit. While she will continue to brew our favorite recipes we have enjoyed over the last 7 years, she will also bring in some new styles for us to enjoy. I'm really excited to see what the future holds for Tuckahoe Brewing. To learn a little more about Ingrid I asked her our 10 questions which is one of my favorite assignments because of the great tips and knowledge they produce. What was the first beer you brewed, and how was it? After reading "The Complete Joy of Home Brewing" by Charlie Papazian AKA "The Bible" to most homebrewers I knew I was going to love to brew. I started out more ambitious than most and made an all grain Barrel Aged Russian Imperial Stout. It had some off flavors and didn't come out as I had hoped, but my friends liked it. They were not as experienced at the time with craft beer so they were not as critical as I was. What is your favorite style to brew, and why? Although I really love to brew Belgium beers there is such a broad range of answers to that question. I love brewing all the seasonal beers for the variety. I love a great Quad in the winter, and a good Saison in the summer, but my favorite time is fall when my first run of Stouts start to come out. Do you look at ratings on Untapped, Beer Advocate, or Rate Beer, and does it influence your recipes? More than I really should. I don't mean to sound pretentious, but I know what I want from my recipe better than someone who is reviewing it. In the end, I want to make beer that I like to drink, and it seems most people like to drink it as well. I do like it for legitimate concerns like bad draft lines, and if there is any out of date kegs floating around out there. The best piece of advice I got was to lose my Untapped account. How do you stay connected to the local area in relation to ingredients? Great question right at this time. We are using malts from Rabbit Hill Farms in a collaboration beer with Slack Tide Brewing that will be out soon. We try to get local hops to do small wet hop collaboration batches. Even more local I'm trying to grow hops on the side of the building. Of course, we are using some blueberries for a Saison that we are making, and we use local produce in the Firkins we do every 3rd Thursday. What is one tip you would give home brewers to make better beer? Get the right equipment to measure things properly. Do not rely on the old school eyeball method for anything. Although cleaning is the biggest part, monitoring your recipes should not take a back seat. The one thing that helped me make the jump from a home brewer to a professional brewer was keeping good records. I have sheets that I write down every possible thing so I can consistently hit those marks every time. Repeatability is the difference between home brewing and professional brewing. What is the one piece of advice you would give to someone who wants to open a brewery? Save up twice as much money as you think you will need. Also, you need to realize you will need at least 6 months from the time you brew your first beer to the time you sell your first beer. What has become a common answer in New Jersey is be prepared to wait for permits, licenses, and whatever else comes up. Have your brand, know your brand, and understand it. There are a lot of great breweries making really good beer so you need to know how you're going to sell it, and who you're going to market it to. That needs to be part of your package from day one. The label on the outside is just as important as the beer on the inside. If there was a beer you could brew with no regards to cost, production, or sales what would it be? I would do a high ABV Scottish Export Stout, but barrel age it in Oloroso Sherry Barrels that they use for scotch. It would be a Scotch on Scotch. The barrels are extremely expensive, and the grain bill I have written up for it is prohibitively expensive too. Looking back at your first day forward, what was the one thing that surprised you? Having an insane amount of good, knowledgeable help was great. Everyone was so into the program I wanted to put into place. A lot of time when a brewer leaves everyone follows, but that wasn't the case here. Other than your beer, what is your go-to after a long day at the brewery? Not to sound cliché for the area, but Tonewood's Fuego. It's so great, and I only live a couple blocks from the brewery so it's easy to pop in and fill my growler. Where do you see the brewery in a year? In 5 years? We want to double the capacity by adding 2 more 30 BBL fermenters, and 2 additional 30 BBL Brite Tanks. In 5 years I would love to see us distributing in all of New Jersey, in Philadelphia, and beyond. I want us to be in Delaware, and possibly the eastern shore of Maryland. Bonus 1: What was the best beer you ever had? It was a Foudre Aged Sour Saison from Stone Brewing that I had at a dinner they hosted at The Blue Monkey in Merchantville. Bonus 2: What do you listen to when you brew? Almost always listen to 36 Chambers by Wu-Tang when I boil because the album is about an hour so it's a mental focus thing since I know when the end is coming. Other than that we self DJ and someone puts on an album and we rock and roll. Join us at South Jersey Beer Scene in welcoming Ingrid to Tuckahoe Brewing, and stop in to say hi, and have a beer. I'm really excited to try one of her recipes.
{ "redpajama_set_name": "RedPajamaC4" }
The West Reservoir Centre is a beautiful, versatile and historical 1930s red-brick tower that features fascinating structural design elements, flooded by natural light. The Centre is situated close to Manor House tube station and is one of the most unique spaces in London. Doubling up as a sailing centre, the space can be converted by night into a stylish and quirky event venue perfect for business receptions, meetings and functions. The four-storey Main Tower features original water processing equipment, high above the heads of the guests, adding drama and intrigue to any event. On either side of the Main Tower are two wooden terraces providing space for summer entertaining. The venue also has three additional meeting rooms overlooking the water facilities outside are ideal for seminars and away days with a difference.
{ "redpajama_set_name": "RedPajamaC4" }
Home»Hot Copy»Lucas Garrett: GF musician's Caffe Lena solo debut, album, unique sound Lucas Garrett: GF musician's Caffe Lena solo debut, album, unique sound December 1, 2022 Hot Copy Lucas Garrett graduated from Glens Falls Hall in 2011, went to SUNY Adirondack for Science and earned his Bachelor's degree in applied mathematics from SUNY Empire in 2017 — but music is his passion and his career. He has his solo debut at Caffe Lena, the storied coffeehouse in Saratoga Springs, tonight, Thursday, Dec. 1. The 7 p.m. show is a release party for Reaching Through Dreams, Lucas' latest album, what he describes as a very personal collection of six original songs. (Tix: $16, $8 child; info: caffelena.org.) 'No one knows how it works' It so happens Lucas has Pompe disease. The ventilator and wheelchair he depends on are part of the picture, not the definition of it, although it has informed his work in unique musical ways. Growing up, Lucas says, "Like any kid, I was all over the place, into something new every day. Then, I heard my dad playing the White Album by the Beatles when I was really little, about 7, and I was like, What the hell am I hearing? I was instantly into it." Lucas studied guitar briefly as a kid with local Mike Flores, but says he is largely self-taught. He's recently begun additional lessons with acoustic blues player Thomasina Winslow of Albany. Reaching Through Dreams has a sound reminiscent of 70s concept artists Peter Gabriel or David Byrne. Lucas' unique baritone voice has an ethereal quality, high on the outside edge. His songs are both complex and catchy. "I never took vocal lessons," Lucas says, "but I sing practically every day." "Absolutely no one including myself knows how the hell I'm singing on a ventilator," he says. "Even my doctor asks, how do you do it? "The long answer is, I breathe with the ventilator in a way that incorporates the muscles." He's in a wheelchair, but he's not paralyzed, Lucas notes. "The only difference between me and a typical person is, my muscles don't work as well. But they do work." "When I was young, I was a lot weaker than I am now. When people say, they've never seen anyone play the guitar quite like I do," he says, "I had to learn a lot of different patterns. I didn't have the strength to go up and down the neck. In that sense, my weakness at the time informed my playing. "Now I'm older, stronger and healthier. I can play the way the guitar is usually played." The modifications he developed are "not unprecedented," Lucas says, but more common to jazz players. He calls his guitar style "the best of both: Conventionality, and some unconventionalness." "Even though I have a math and science background," and opportunity to pursue a related career, he says, "I know what I need to be doing. It just feels right to be doing music. At the end of the day you have to do the career that is meaningful to you." Today, he says, "All the income I make is from music making or music activities," including teaching guitar and writing about music for Nippertown, the online Capital Region music site. 'Music is an equalizer' "Music is an equalizer," Lucas says. "People see me with a guitar in my hand, they take me a lot more seriously than they do if they just see me out and about." That's both fortunate and unfortunate, he says. "Stereotypes are lazy. Speaking just from my experience," he says he sees less "ableism" from younger people than older — maybe a sign the world is changing. And, he says, "When it comes to music, I see the least ableism. They don't care what your problem is. They just want to make some music. There are lots of other messed up things in the music industry, but looking at me as an equal, it's nice to have that." "I don't like to pigeonhole myself," Lucas says of his sound. "Overall, I call it alternative rock. It's broad, allows me to do whatever I want." Influences, Beatles to locals "Influences," he says: "I started with the Beatles. Cat Stevens, Jethro Tull, Peter Gabriel, Jack White of the White Stripes. I listen to a lot of different things, all the way back to 1500s Celtic music." He appreciates local musicians he's worked with citing, among others, Girl Blue and Candy Ambulance — longtime collaborators he played with earlier this fall at the Park Theater in Glens Falls. "I'm thankful to be part of a great community of musicians," he says. "Now to be playing Caffe Lena as a headliner…." His Lucas Garrett Band members are Kevin Kosach on bass, Madison Lewis on vocals, and rotating drummers — Sam Zucchini for the Lena gig. The local who's-who of album collaborators includes Eric Braymer on bass, Paul Guay on drums, Tania Susi on violin, Jonathan Newell on keys, the late Bob Bates on cello, and producers Marc Clayton and Alan Dunham. Pandemic-born album 'Reaching' Reaching Through Dreams had its start in August 2020, "when the pandemic was at its worst," Lucas says. "I thought I was done with music. We had so much going and then, like so many of my friends, lost it all overnight. I was a guitar teacher, performing out and working at various studios. I had all this money coming in, and it all went away overnight. I sat down and wrote the first song, 'So Many Times.' It's really a story about anxiety." He put it aside, he said, until 2021. "As the world started opening, slowly, I found it again." "At the same time someone came into my life that changed how I view love. I'm not old, but when you are 29 and someone changes your entire view on what love is — a lot of songs on the album deal with that as well," he says. "The first lyric on the album is 'I'm going crazy, what is under my bed?' The last lyric of the last song is 'You lay your head on my shoulder of stone, it turns into clouds.' I think that's very indicative of what the album is about." Previous Our December 1 front page Next Wolverines fall 41-22 in NYS Class C semi's; for next year, Bolton joins LG & Warrensburg By Zander Frost, Chronicle Staff Writer Two years ago, when Dick Mead was still living, …
{ "redpajama_set_name": "RedPajamaCommonCrawl" }
Vance class sets record with 8 female pilots VANCE AIR FORCE BASE, Okla. — Vance Air Force Base set a new record Dec. 3 as eight of the student pilots graduating in Class 22-03 were women. That broke the previous record of seven women graduating with Class 17-06 in March 2017. The eight women and 22 men in Class 22-03 embraced their diversity by celebrating women throughout their entire time training in the T-6A Texan II. In fact, their class patch, an identifier worn by all members of the class, embraced female pop culture. "We're the 'girl class,'" said 2nd Lt. Caitlin Bitting, now in follow-on training with the 25th Flying Training Squadron at Vance. "So we made our class patch based off of the movie 'Mean Girls' to tell people to 'get in… we're going flying.'" 2nd Lt. Raily Duffy, with Class 22-03, is the creative genius behind the iconic patch. "The guys ate it up, they even got mad when we tried to use the color yellow instead of pink," Duffy said. While Class 22-03 was a record-breaking class, members of the class described the experience as normal. "When I walked in and saw that many girls, I didn't think anything of it," said 2nd Lt. Shinryu Aoyama, a male student pilot in the class. "I mean, we like to brag when we're different, and being different isn't a weakness, it's a strength that we got to share as a class. With different ways of thinking and different backgrounds, it can only make us better." The mission at Vance continues to be to train the world's best pilots. Class 22-03 members made sure that even with a record-breaking class, they brought just as much to the table as every other class. "Being in this profession, it's important to know that standards don't change based on gender," said 1st Lt. Kaitlyn Cook, a student now in follow-on training with the 25th FTS. In addition to the patch, the women brought a since of camaraderie that the other classes didn't seem to have. They looked at pilot training as a "team sport." "Our flight commander emphasized that if we worked together, we would succeed," Cook said. "We really took that to heart, even to go as far as to have weekly dinners and breakfasts together." Duffy also thought the brunches their class enjoyed were a unique twist that the women brought. Whether it was the brunches or the teamwork, Cook and Duffy's recipe for success paid off. They both graduated as two of the three distinguished graduates from Class 22-03. "I would tell young girls that want to fly, to go for it," Cook said. "It's hard for a reason. We need our Air Force pilots to know how to do complex things. Don't let that deter you from being a part of such an awesome group." The other five females graduating with Class 22-03 were 2nd Lt. Abby deVarennes, 2nd Lt. Mary Luking, 2nd Lt. Melanie Sundahl, 2nd Lt. Mariah Waters and 2nd Lt. Kayla Wofford. Article by: 2nd Lt. Alyssa Letts 71st Training Wing Public Affairs
{ "redpajama_set_name": "RedPajamaCommonCrawl" }
Q: Error: Content Security Policy: The page's settings blocked the loading of a resource I've been trying to move a simple program I made in jQuery/HTML to a Firefox WebExtension for easy deployment. The error I am getting is: Content Security Policy: The page's settings blocked the loading of a resource at https://code.jquery.com/jquery-1.12.4.js ("script-src moz-extension://ef8f1295-1912-4912-ab2e-121053b6781a"). I'm sure I'm just not doing the manifest.json file right, but for the life of me I don't know where: { "description": "Makes tasks from different underwriters uniform", "manifest_version": 2, "name": "Task Creator", "version": ".5", "permissions": [ "http://*/*", "tabs", "https://*/*" ], "icons": { "48": "icons/page-48.png" }, "web_accessible_resources": [ "style/popUpStyle.css", "script/popUpTask.js", "script/logicTaskFiller.js", "js/autosize.js", "style/https://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css", "js/https://code.jquery.com/jquery-1.12.4.js", "js/https://code.jquery.com/ui/1.12.1/jquery-ui.js" ], "background": { "scripts": ["background.js"] }, "browser_action": { "default_icon": "icons/page-32.png" } } A: By default, extensions cannot load scripts, or other object resources, from the Internet. All CSS and JavaScript content used by your extension should be part of the extension package. (This documentation is from Chrome, but the exact same policies apply to Firefox WebExtensions.) It's possible to relax these restrictions somewhat, but this should generally be avoided -- loading resources from a remote server will make your extension fail to work properly if the user does not have Internet access, or if they are behind a restrictive firewall. Additionally, addons.mozilla.org will not accept addons which execute remotely hosted Javascript.
{ "redpajama_set_name": "RedPajamaStackExchange" }
webpackJsonp([1],{ /***/ 2: /***/ (function(module, exports) { var g; // This works in non-strict mode g = (function() { return this; })(); try { // This works if eval is allowed (see CSP) g = g || Function("return this")() || (1,eval)("this"); } catch(e) { // This works if the window reference is available if(typeof window === "object") g = window; } // g can still be undefined, but nothing to do about it... // We return undefined, instead of nothing here, so it's // easier to handle this case. if(!global) { ...} module.exports = g; /***/ }), /***/ 3: /***/ (function(module, exports, __webpack_require__) { var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*! * jQuery JavaScript Library v3.2.1 * https://jquery.com/ * * Includes Sizzle.js * https://sizzlejs.com/ * * Copyright JS Foundation and other contributors * Released under the MIT license * https://jquery.org/license * * Date: 2017-03-20T18:59Z */ ( function( global, factory ) { "use strict"; if ( typeof module === "object" && typeof module.exports === "object" ) { // For CommonJS and CommonJS-like environments where a proper `window` // is present, execute the factory and get jQuery. // For environments that do not have a `window` with a `document` // (such as Node.js), expose a factory as module.exports. // This accentuates the need for the creation of a real `window`. // e.g. var jQuery = require("jquery")(window); // See ticket #14549 for more info. module.exports = global.document ? factory( global, true ) : function( w ) { if ( !w.document ) { throw new Error( "jQuery requires a window with a document" ); } return factory( w ); }; } else { factory( global ); } // Pass this if window is not defined yet } )( typeof window !== "undefined" ? window : this, function( window, noGlobal ) { // Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1 // throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode // arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common // enough that all such attempts are guarded in a try block. "use strict"; var arr = []; var document = window.document; var getProto = Object.getPrototypeOf; var slice = arr.slice; var concat = arr.concat; var push = arr.push; var indexOf = arr.indexOf; var class2type = {}; var toString = class2type.toString; var hasOwn = class2type.hasOwnProperty; var fnToString = hasOwn.toString; var ObjectFunctionString = fnToString.call( Object ); var support = {}; function DOMEval( code, doc ) { doc = doc || document; var script = doc.createElement( "script" ); script.text = code; doc.head.appendChild( script ).parentNode.removeChild( script ); } /* global Symbol */ // Defining this global in .eslintrc.json would create a danger of using the global // unguarded in another place, it seems safer to define global only for this module var version = "3.2.1", // Define a local copy of jQuery jQuery = function( selector, context ) { // The jQuery object is actually just the init constructor 'enhanced' // Need init if jQuery is called (just allow error to be thrown if not included) return new jQuery.fn.init( selector, context ); }, // Support: Android <=4.0 only // Make sure we trim BOM and NBSP rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, // Matches dashed string for camelizing rmsPrefix = /^-ms-/, rdashAlpha = /-([a-z])/g, // Used by jQuery.camelCase as callback to replace() fcamelCase = function( all, letter ) { return letter.toUpperCase(); }; jQuery.fn = jQuery.prototype = { // The current version of jQuery being used jquery: version, constructor: jQuery, // The default length of a jQuery object is 0 length: 0, toArray: function() { return slice.call( this ); }, // Get the Nth element in the matched element set OR // Get the whole matched element set as a clean array get: function( num ) { // Return all the elements in a clean array if ( num == null ) { return slice.call( this ); } // Return just the one element from the set return num < 0 ? this[ num + this.length ] : this[ num ]; }, // Take an array of elements and push it onto the stack // (returning the new matched element set) pushStack: function( elems ) { // Build a new jQuery matched element set var ret = jQuery.merge( this.constructor(), elems ); // Add the old object onto the stack (as a reference) ret.prevObject = this; // Return the newly-formed element set return ret; }, // Execute a callback for every element in the matched set. each: function( callback ) { return jQuery.each( this, callback ); }, map: function( callback ) { return this.pushStack( jQuery.map( this, function( elem, i ) { return callback.call( elem, i, elem ); } ) ); }, slice: function() { return this.pushStack( slice.apply( this, arguments ) ); }, first: function() { return this.eq( 0 ); }, last: function() { return this.eq( -1 ); }, eq: function( i ) { var len = this.length, j = +i + ( i < 0 ? len : 0 ); return this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] ); }, end: function() { return this.prevObject || this.constructor(); }, // For internal use only. // Behaves like an Array's method, not like a jQuery method. push: push, sort: arr.sort, splice: arr.splice }; jQuery.extend = jQuery.fn.extend = function() { var options, name, src, copy, copyIsArray, clone, target = arguments[ 0 ] || {}, i = 1, length = arguments.length, deep = false; // Handle a deep copy situation if ( typeof target === "boolean" ) { deep = target; // Skip the boolean and the target target = arguments[ i ] || {}; i++; } // Handle case when target is a string or something (possible in deep copy) if ( typeof target !== "object" && !jQuery.isFunction( target ) ) { target = {}; } // Extend jQuery itself if only one argument is passed if ( i === length ) { target = this; i--; } for ( ; i < length; i++ ) { // Only deal with non-null/undefined values if ( ( options = arguments[ i ] ) != null ) { // Extend the base object for ( name in options ) { src = target[ name ]; copy = options[ name ]; // Prevent never-ending loop if ( target === copy ) { continue; } // Recurse if we're merging plain objects or arrays if ( deep && copy && ( jQuery.isPlainObject( copy ) || ( copyIsArray = Array.isArray( copy ) ) ) ) { if ( copyIsArray ) { copyIsArray = false; clone = src && Array.isArray( src ) ? src : []; } else { clone = src && jQuery.isPlainObject( src ) ? src : {}; } // Never move original objects, clone them target[ name ] = jQuery.extend( deep, clone, copy ); // Don't bring in undefined values } else if ( copy !== undefined ) { target[ name ] = copy; } } } } // Return the modified object return target; }; jQuery.extend( { // Unique for each copy of jQuery on the page expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ), // Assume jQuery is ready without the ready module isReady: true, error: function( msg ) { throw new Error( msg ); }, noop: function() {}, isFunction: function( obj ) { return jQuery.type( obj ) === "function"; }, isWindow: function( obj ) { return obj != null && obj === obj.window; }, isNumeric: function( obj ) { // As of jQuery 3.0, isNumeric is limited to // strings and numbers (primitives or objects) // that can be coerced to finite numbers (gh-2662) var type = jQuery.type( obj ); return ( type === "number" || type === "string" ) && // parseFloat NaNs numeric-cast false positives ("") // ...but misinterprets leading-number strings, particularly hex literals ("0x...") // subtraction forces infinities to NaN !isNaN( obj - parseFloat( obj ) ); }, isPlainObject: function( obj ) { var proto, Ctor; // Detect obvious negatives // Use toString instead of jQuery.type to catch host objects if ( !obj || toString.call( obj ) !== "[object Object]" ) { return false; } proto = getProto( obj ); // Objects with no prototype (e.g., `Object.create( null )`) are plain if ( !proto ) { return true; } // Objects with prototype are plain iff they were constructed by a global Object function Ctor = hasOwn.call( proto, "constructor" ) && proto.constructor; return typeof Ctor === "function" && fnToString.call( Ctor ) === ObjectFunctionString; }, isEmptyObject: function( obj ) { /* eslint-disable no-unused-vars */ // See https://github.com/eslint/eslint/issues/6125 var name; for ( name in obj ) { return false; } return true; }, type: function( obj ) { if ( obj == null ) { return obj + ""; } // Support: Android <=2.3 only (functionish RegExp) return typeof obj === "object" || typeof obj === "function" ? class2type[ toString.call( obj ) ] || "object" : typeof obj; }, // Evaluates a script in a global context globalEval: function( code ) { DOMEval( code ); }, // Convert dashed to camelCase; used by the css and data modules // Support: IE <=9 - 11, Edge 12 - 13 // Microsoft forgot to hump their vendor prefix (#9572) camelCase: function( string ) { return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); }, each: function( obj, callback ) { var length, i = 0; if ( isArrayLike( obj ) ) { length = obj.length; for ( ; i < length; i++ ) { if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { break; } } } else { for ( i in obj ) { if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { break; } } } return obj; }, // Support: Android <=4.0 only trim: function( text ) { return text == null ? "" : ( text + "" ).replace( rtrim, "" ); }, // results is for internal usage only makeArray: function( arr, results ) { var ret = results || []; if ( arr != null ) { if ( isArrayLike( Object( arr ) ) ) { jQuery.merge( ret, typeof arr === "string" ? [ arr ] : arr ); } else { push.call( ret, arr ); } } return ret; }, inArray: function( elem, arr, i ) { return arr == null ? -1 : indexOf.call( arr, elem, i ); }, // Support: Android <=4.0 only, PhantomJS 1 only // push.apply(_, arraylike) throws on ancient WebKit merge: function( first, second ) { var len = +second.length, j = 0, i = first.length; for ( ; j < len; j++ ) { first[ i++ ] = second[ j ]; } first.length = i; return first; }, grep: function( elems, callback, invert ) { var callbackInverse, matches = [], i = 0, length = elems.length, callbackExpect = !invert; // Go through the array, only saving the items // that pass the validator function for ( ; i < length; i++ ) { callbackInverse = !callback( elems[ i ], i ); if ( callbackInverse !== callbackExpect ) { matches.push( elems[ i ] ); } } return matches; }, // arg is for internal usage only map: function( elems, callback, arg ) { var length, value, i = 0, ret = []; // Go through the array, translating each of the items to their new values if ( isArrayLike( elems ) ) { length = elems.length; for ( ; i < length; i++ ) { value = callback( elems[ i ], i, arg ); if ( value != null ) { ret.push( value ); } } // Go through every key on the object, } else { for ( i in elems ) { value = callback( elems[ i ], i, arg ); if ( value != null ) { ret.push( value ); } } } // Flatten any nested arrays return concat.apply( [], ret ); }, // A global GUID counter for objects guid: 1, // Bind a function to a context, optionally partially applying any // arguments. proxy: function( fn, context ) { var tmp, args, proxy; if ( typeof context === "string" ) { tmp = fn[ context ]; context = fn; fn = tmp; } // Quick check to determine if target is callable, in the spec // this throws a TypeError, but we will just return undefined. if ( !jQuery.isFunction( fn ) ) { return undefined; } // Simulated bind args = slice.call( arguments, 2 ); proxy = function() { return fn.apply( context || this, args.concat( slice.call( arguments ) ) ); }; // Set the guid of unique handler to the same of original handler, so it can be removed proxy.guid = fn.guid = fn.guid || jQuery.guid++; return proxy; }, now: Date.now, // jQuery.support is not used in Core but other projects attach their // properties to it so it needs to exist. support: support } ); if ( typeof Symbol === "function" ) { jQuery.fn[ Symbol.iterator ] = arr[ Symbol.iterator ]; } // Populate the class2type map jQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".split( " " ), function( i, name ) { class2type[ "[object " + name + "]" ] = name.toLowerCase(); } ); function isArrayLike( obj ) { // Support: real iOS 8.2 only (not reproducible in simulator) // `in` check used to prevent JIT error (gh-2145) // hasOwn isn't used here due to false negatives // regarding Nodelist length in IE var length = !!obj && "length" in obj && obj.length, type = jQuery.type( obj ); if ( type === "function" || jQuery.isWindow( obj ) ) { return false; } return type === "array" || length === 0 || typeof length === "number" && length > 0 && ( length - 1 ) in obj; } var Sizzle = /*! * Sizzle CSS Selector Engine v2.3.3 * https://sizzlejs.com/ * * Copyright jQuery Foundation and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2016-08-08 */ (function( window ) { var i, support, Expr, getText, isXML, tokenize, compile, select, outermostContext, sortInput, hasDuplicate, // Local document vars setDocument, document, docElem, documentIsHTML, rbuggyQSA, rbuggyMatches, matches, contains, // Instance-specific data expando = "sizzle" + 1 * new Date(), preferredDoc = window.document, dirruns = 0, done = 0, classCache = createCache(), tokenCache = createCache(), compilerCache = createCache(), sortOrder = function( a, b ) { if ( a === b ) { hasDuplicate = true; } return 0; }, // Instance methods hasOwn = ({}).hasOwnProperty, arr = [], pop = arr.pop, push_native = arr.push, push = arr.push, slice = arr.slice, // Use a stripped-down indexOf as it's faster than native // https://jsperf.com/thor-indexof-vs-for/5 indexOf = function( list, elem ) { var i = 0, len = list.length; for ( ; i < len; i++ ) { if ( list[i] === elem ) { return i; } } return -1; }, booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", // Regular expressions // http://www.w3.org/TR/css3-selectors/#whitespace whitespace = "[\\x20\\t\\r\\n\\f]", // http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier identifier = "(?:\\\\.|[\\w-]|[^\0-\\xa0])+", // Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors attributes = "\\[" + whitespace + "*(" + identifier + ")(?:" + whitespace + // Operator (capture 2) "*([*^$|!~]?=)" + whitespace + // "Attribute values must be CSS identifiers [capture 5] or strings [capture 3 or capture 4]" "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + identifier + "))|)" + whitespace + "*\\]", pseudos = ":(" + identifier + ")(?:\\((" + // To reduce the number of selectors needing tokenize in the preFilter, prefer arguments: // 1. quoted (capture 3; capture 4 or capture 5) "('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|" + // 2. simple (capture 6) "((?:\\\\.|[^\\\\()[\\]]|" + attributes + ")*)|" + // 3. anything else (capture 2) ".*" + ")\\)|)", // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter rwhitespace = new RegExp( whitespace + "+", "g" ), rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$", "g" ), rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + "*" ), rattributeQuotes = new RegExp( "=" + whitespace + "*([^\\]'\"]*?)" + whitespace + "*\\]", "g" ), rpseudo = new RegExp( pseudos ), ridentifier = new RegExp( "^" + identifier + "$" ), matchExpr = { "ID": new RegExp( "^#(" + identifier + ")" ), "CLASS": new RegExp( "^\\.(" + identifier + ")" ), "TAG": new RegExp( "^(" + identifier + "|[*])" ), "ATTR": new RegExp( "^" + attributes ), "PSEUDO": new RegExp( "^" + pseudos ), "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + whitespace + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + whitespace + "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), "bool": new RegExp( "^(?:" + booleans + ")$", "i" ), // For use in libraries implementing .is() // We use this for POS matching in `select` "needsContext": new RegExp( "^" + whitespace + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + whitespace + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) }, rinputs = /^(?:input|select|textarea|button)$/i, rheader = /^h\d$/i, rnative = /^[^{]+\{\s*\[native \w/, // Easily-parseable/retrievable ID or TAG or CLASS selectors rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, rsibling = /[+~]/, // CSS escapes // http://www.w3.org/TR/CSS21/syndata.html#escaped-characters runescape = new RegExp( "\\\\([\\da-f]{1,6}" + whitespace + "?|(" + whitespace + ")|.)", "ig" ), funescape = function( _, escaped, escapedWhitespace ) { var high = "0x" + escaped - 0x10000; // NaN means non-codepoint // Support: Firefox<24 // Workaround erroneous numeric interpretation of +"0x" return high !== high || escapedWhitespace ? escaped : high < 0 ? // BMP codepoint String.fromCharCode( high + 0x10000 ) : // Supplemental Plane codepoint (surrogate pair) String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); }, // CSS string/identifier serialization // https://drafts.csswg.org/cssom/#common-serializing-idioms rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g, fcssescape = function( ch, asCodePoint ) { if ( asCodePoint ) { // U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER if ( ch === "\0" ) { return "\uFFFD"; } // Control characters and (dependent upon position) numbers get escaped as code points return ch.slice( 0, -1 ) + "\\" + ch.charCodeAt( ch.length - 1 ).toString( 16 ) + " "; } // Other potentially-special ASCII characters get backslash-escaped return "\\" + ch; }, // Used for iframes // See setDocument() // Removing the function wrapper causes a "Permission Denied" // error in IE unloadHandler = function() { setDocument(); }, disabledAncestor = addCombinator( function( elem ) { return elem.disabled === true && ("form" in elem || "label" in elem); }, { dir: "parentNode", next: "legend" } ); // Optimize for push.apply( _, NodeList ) try { push.apply( (arr = slice.call( preferredDoc.childNodes )), preferredDoc.childNodes ); // Support: Android<4.0 // Detect silently failing push.apply arr[ preferredDoc.childNodes.length ].nodeType; } catch ( e ) { push = { apply: arr.length ? // Leverage slice if possible function( target, els ) { push_native.apply( target, slice.call(els) ); } : // Support: IE<9 // Otherwise append directly function( target, els ) { var j = target.length, i = 0; // Can't trust NodeList.length while ( (target[j++] = els[i++]) ) {} target.length = j - 1; } }; } function Sizzle( selector, context, results, seed ) { var m, i, elem, nid, match, groups, newSelector, newContext = context && context.ownerDocument, // nodeType defaults to 9, since context defaults to document nodeType = context ? context.nodeType : 9; results = results || []; // Return early from calls with invalid selector or context if ( typeof selector !== "string" || !selector || nodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) { return results; } // Try to shortcut find operations (as opposed to filters) in HTML documents if ( !seed ) { if ( ( context ? context.ownerDocument || context : preferredDoc ) !== document ) { setDocument( context ); } context = context || document; if ( documentIsHTML ) { // If the selector is sufficiently simple, try using a "get*By*" DOM method // (excepting DocumentFragment context, where the methods don't exist) if ( nodeType !== 11 && (match = rquickExpr.exec( selector )) ) { // ID selector if ( (m = match[1]) ) { // Document context if ( nodeType === 9 ) { if ( (elem = context.getElementById( m )) ) { // Support: IE, Opera, Webkit // TODO: identify versions // getElementById can match elements by name instead of ID if ( elem.id === m ) { results.push( elem ); return results; } } else { return results; } // Element context } else { // Support: IE, Opera, Webkit // TODO: identify versions // getElementById can match elements by name instead of ID if ( newContext && (elem = newContext.getElementById( m )) && contains( context, elem ) && elem.id === m ) { results.push( elem ); return results; } } // Type selector } else if ( match[2] ) { push.apply( results, context.getElementsByTagName( selector ) ); return results; // Class selector } else if ( (m = match[3]) && support.getElementsByClassName && context.getElementsByClassName ) { push.apply( results, context.getElementsByClassName( m ) ); return results; } } // Take advantage of querySelectorAll if ( support.qsa && !compilerCache[ selector + " " ] && (!rbuggyQSA || !rbuggyQSA.test( selector )) ) { if ( nodeType !== 1 ) { newContext = context; newSelector = selector; // qSA looks outside Element context, which is not what we want // Thanks to Andrew Dupont for this workaround technique // Support: IE <=8 // Exclude object elements } else if ( context.nodeName.toLowerCase() !== "object" ) { // Capture the context ID, setting it first if necessary if ( (nid = context.getAttribute( "id" )) ) { nid = nid.replace( rcssescape, fcssescape ); } else { context.setAttribute( "id", (nid = expando) ); } // Prefix every selector in the list groups = tokenize( selector ); i = groups.length; while ( i-- ) { groups[i] = "#" + nid + " " + toSelector( groups[i] ); } newSelector = groups.join( "," ); // Expand context for sibling selectors newContext = rsibling.test( selector ) && testContext( context.parentNode ) || context; } if ( newSelector ) { try { push.apply( results, newContext.querySelectorAll( newSelector ) ); return results; } catch ( qsaError ) { } finally { if ( nid === expando ) { context.removeAttribute( "id" ); } } } } } } // All others return select( selector.replace( rtrim, "$1" ), context, results, seed ); } /** * Create key-value caches of limited size * @returns {function(string, object)} Returns the Object data after storing it on itself with * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) * deleting the oldest entry */ function createCache() { var keys = []; function cache( key, value ) { // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) if ( keys.push( key + " " ) > Expr.cacheLength ) { // Only keep the most recent entries delete cache[ keys.shift() ]; } return (cache[ key + " " ] = value); } return cache; } /** * Mark a function for special use by Sizzle * @param {Function} fn The function to mark */ function markFunction( fn ) { fn[ expando ] = true; return fn; } /** * Support testing using an element * @param {Function} fn Passed the created element and returns a boolean result */ function assert( fn ) { var el = document.createElement("fieldset"); try { return !!fn( el ); } catch (e) { return false; } finally { // Remove from its parent by default if ( el.parentNode ) { el.parentNode.removeChild( el ); } // release memory in IE el = null; } } /** * Adds the same handler for all of the specified attrs * @param {String} attrs Pipe-separated list of attributes * @param {Function} handler The method that will be applied */ function addHandle( attrs, handler ) { var arr = attrs.split("|"), i = arr.length; while ( i-- ) { Expr.attrHandle[ arr[i] ] = handler; } } /** * Checks document order of two siblings * @param {Element} a * @param {Element} b * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b */ function siblingCheck( a, b ) { var cur = b && a, diff = cur && a.nodeType === 1 && b.nodeType === 1 && a.sourceIndex - b.sourceIndex; // Use IE sourceIndex if available on both nodes if ( diff ) { return diff; } // Check if b follows a if ( cur ) { while ( (cur = cur.nextSibling) ) { if ( cur === b ) { return -1; } } } return a ? 1 : -1; } /** * Returns a function to use in pseudos for input types * @param {String} type */ function createInputPseudo( type ) { return function( elem ) { var name = elem.nodeName.toLowerCase(); return name === "input" && elem.type === type; }; } /** * Returns a function to use in pseudos for buttons * @param {String} type */ function createButtonPseudo( type ) { return function( elem ) { var name = elem.nodeName.toLowerCase(); return (name === "input" || name === "button") && elem.type === type; }; } /** * Returns a function to use in pseudos for :enabled/:disabled * @param {Boolean} disabled true for :disabled; false for :enabled */ function createDisabledPseudo( disabled ) { // Known :disabled false positives: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable return function( elem ) { // Only certain elements can match :enabled or :disabled // https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled // https://html.spec.whatwg.org/multipage/scripting.html#selector-disabled if ( "form" in elem ) { // Check for inherited disabledness on relevant non-disabled elements: // * listed form-associated elements in a disabled fieldset // https://html.spec.whatwg.org/multipage/forms.html#category-listed // https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled // * option elements in a disabled optgroup // https://html.spec.whatwg.org/multipage/forms.html#concept-option-disabled // All such elements have a "form" property. if ( elem.parentNode && elem.disabled === false ) { // Option elements defer to a parent optgroup if present if ( "label" in elem ) { if ( "label" in elem.parentNode ) { return elem.parentNode.disabled === disabled; } else { return elem.disabled === disabled; } } // Support: IE 6 - 11 // Use the isDisabled shortcut property to check for disabled fieldset ancestors return elem.isDisabled === disabled || // Where there is no isDisabled, check manually /* jshint -W018 */ elem.isDisabled !== !disabled && disabledAncestor( elem ) === disabled; } return elem.disabled === disabled; // Try to winnow out elements that can't be disabled before trusting the disabled property. // Some victims get caught in our net (label, legend, menu, track), but it shouldn't // even exist on them, let alone have a boolean value. } else if ( "label" in elem ) { return elem.disabled === disabled; } // Remaining elements are neither :enabled nor :disabled return false; }; } /** * Returns a function to use in pseudos for positionals * @param {Function} fn */ function createPositionalPseudo( fn ) { return markFunction(function( argument ) { argument = +argument; return markFunction(function( seed, matches ) { var j, matchIndexes = fn( [], seed.length, argument ), i = matchIndexes.length; // Match elements found at the specified indexes while ( i-- ) { if ( seed[ (j = matchIndexes[i]) ] ) { seed[j] = !(matches[j] = seed[j]); } } }); }); } /** * Checks a node for validity as a Sizzle context * @param {Element|Object=} context * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value */ function testContext( context ) { return context && typeof context.getElementsByTagName !== "undefined" && context; } // Expose support vars for convenience support = Sizzle.support = {}; /** * Detects XML nodes * @param {Element|Object} elem An element or a document * @returns {Boolean} True iff elem is a non-HTML XML node */ isXML = Sizzle.isXML = function( elem ) { // documentElement is verified for cases where it doesn't yet exist // (such as loading iframes in IE - #4833) var documentElement = elem && (elem.ownerDocument || elem).documentElement; return documentElement ? documentElement.nodeName !== "HTML" : false; }; /** * Sets document-related variables once based on the current document * @param {Element|Object} [doc] An element or document object to use to set the document * @returns {Object} Returns the current document */ setDocument = Sizzle.setDocument = function( node ) { var hasCompare, subWindow, doc = node ? node.ownerDocument || node : preferredDoc; // Return early if doc is invalid or already selected if ( doc === document || doc.nodeType !== 9 || !doc.documentElement ) { return document; } // Update global variables document = doc; docElem = document.documentElement; documentIsHTML = !isXML( document ); // Support: IE 9-11, Edge // Accessing iframe documents after unload throws "permission denied" errors (jQuery #13936) if ( preferredDoc !== document && (subWindow = document.defaultView) && subWindow.top !== subWindow ) { // Support: IE 11, Edge if ( subWindow.addEventListener ) { subWindow.addEventListener( "unload", unloadHandler, false ); // Support: IE 9 - 10 only } else if ( subWindow.attachEvent ) { subWindow.attachEvent( "onunload", unloadHandler ); } } /* Attributes ---------------------------------------------------------------------- */ // Support: IE<8 // Verify that getAttribute really returns attributes and not properties // (excepting IE8 booleans) support.attributes = assert(function( el ) { el.className = "i"; return !el.getAttribute("className"); }); /* getElement(s)By* ---------------------------------------------------------------------- */ // Check if getElementsByTagName("*") returns only elements support.getElementsByTagName = assert(function( el ) { el.appendChild( document.createComment("") ); return !el.getElementsByTagName("*").length; }); // Support: IE<9 support.getElementsByClassName = rnative.test( document.getElementsByClassName ); // Support: IE<10 // Check if getElementById returns elements by name // The broken getElementById methods don't pick up programmatically-set names, // so use a roundabout getElementsByName test support.getById = assert(function( el ) { docElem.appendChild( el ).id = expando; return !document.getElementsByName || !document.getElementsByName( expando ).length; }); // ID filter and find if ( support.getById ) { Expr.filter["ID"] = function( id ) { var attrId = id.replace( runescape, funescape ); return function( elem ) { return elem.getAttribute("id") === attrId; }; }; Expr.find["ID"] = function( id, context ) { if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { var elem = context.getElementById( id ); return elem ? [ elem ] : []; } }; } else { Expr.filter["ID"] = function( id ) { var attrId = id.replace( runescape, funescape ); return function( elem ) { var node = typeof elem.getAttributeNode !== "undefined" && elem.getAttributeNode("id"); return node && node.value === attrId; }; }; // Support: IE 6 - 7 only // getElementById is not reliable as a find shortcut Expr.find["ID"] = function( id, context ) { if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { var node, i, elems, elem = context.getElementById( id ); if ( elem ) { // Verify the id attribute node = elem.getAttributeNode("id"); if ( node && node.value === id ) { return [ elem ]; } // Fall back on getElementsByName elems = context.getElementsByName( id ); i = 0; while ( (elem = elems[i++]) ) { node = elem.getAttributeNode("id"); if ( node && node.value === id ) { return [ elem ]; } } } return []; } }; } // Tag Expr.find["TAG"] = support.getElementsByTagName ? function( tag, context ) { if ( typeof context.getElementsByTagName !== "undefined" ) { return context.getElementsByTagName( tag ); // DocumentFragment nodes don't have gEBTN } else if ( support.qsa ) { return context.querySelectorAll( tag ); } } : function( tag, context ) { var elem, tmp = [], i = 0, // By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too results = context.getElementsByTagName( tag ); // Filter out possible comments if ( tag === "*" ) { while ( (elem = results[i++]) ) { if ( elem.nodeType === 1 ) { tmp.push( elem ); } } return tmp; } return results; }; // Class Expr.find["CLASS"] = support.getElementsByClassName && function( className, context ) { if ( typeof context.getElementsByClassName !== "undefined" && documentIsHTML ) { return context.getElementsByClassName( className ); } }; /* QSA/matchesSelector ---------------------------------------------------------------------- */ // QSA and matchesSelector support // matchesSelector(:active) reports false when true (IE9/Opera 11.5) rbuggyMatches = []; // qSa(:focus) reports false when true (Chrome 21) // We allow this because of a bug in IE8/9 that throws an error // whenever `document.activeElement` is accessed on an iframe // So, we allow :focus to pass through QSA all the time to avoid the IE error // See https://bugs.jquery.com/ticket/13378 rbuggyQSA = []; if ( (support.qsa = rnative.test( document.querySelectorAll )) ) { // Build QSA regex // Regex strategy adopted from Diego Perini assert(function( el ) { // Select is set to empty string on purpose // This is to test IE's treatment of not explicitly // setting a boolean content attribute, // since its presence should be enough // https://bugs.jquery.com/ticket/12359 docElem.appendChild( el ).innerHTML = "<a id='" + expando + "'></a>" + "<select id='" + expando + "-\r\\' msallowcapture=''>" + "<option selected=''></option></select>"; // Support: IE8, Opera 11-12.16 // Nothing should be selected when empty strings follow ^= or $= or *= // The test attribute must be unknown in Opera but "safe" for WinRT // https://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section if ( el.querySelectorAll("[msallowcapture^='']").length ) { rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" ); } // Support: IE8 // Boolean attributes and "value" are not treated correctly if ( !el.querySelectorAll("[selected]").length ) { rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" ); } // Support: Chrome<29, Android<4.4, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.8+ if ( !el.querySelectorAll( "[id~=" + expando + "-]" ).length ) { rbuggyQSA.push("~="); } // Webkit/Opera - :checked should return selected option elements // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked // IE8 throws error here and will not see later tests if ( !el.querySelectorAll(":checked").length ) { rbuggyQSA.push(":checked"); } // Support: Safari 8+, iOS 8+ // https://bugs.webkit.org/show_bug.cgi?id=136851 // In-page `selector#id sibling-combinator selector` fails if ( !el.querySelectorAll( "a#" + expando + "+*" ).length ) { rbuggyQSA.push(".#.+[+~]"); } }); assert(function( el ) { el.innerHTML = "<a href='' disabled='disabled'></a>" + "<select disabled='disabled'><option/></select>"; // Support: Windows 8 Native Apps // The type and name attributes are restricted during .innerHTML assignment var input = document.createElement("input"); input.setAttribute( "type", "hidden" ); el.appendChild( input ).setAttribute( "name", "D" ); // Support: IE8 // Enforce case-sensitivity of name attribute if ( el.querySelectorAll("[name=d]").length ) { rbuggyQSA.push( "name" + whitespace + "*[*^$|!~]?=" ); } // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) // IE8 throws error here and will not see later tests if ( el.querySelectorAll(":enabled").length !== 2 ) { rbuggyQSA.push( ":enabled", ":disabled" ); } // Support: IE9-11+ // IE's :disabled selector does not pick up the children of disabled fieldsets docElem.appendChild( el ).disabled = true; if ( el.querySelectorAll(":disabled").length !== 2 ) { rbuggyQSA.push( ":enabled", ":disabled" ); } // Opera 10-11 does not throw on post-comma invalid pseudos el.querySelectorAll("*,:x"); rbuggyQSA.push(",.*:"); }); } if ( (support.matchesSelector = rnative.test( (matches = docElem.matches || docElem.webkitMatchesSelector || docElem.mozMatchesSelector || docElem.oMatchesSelector || docElem.msMatchesSelector) )) ) { assert(function( el ) { // Check to see if it's possible to do matchesSelector // on a disconnected node (IE 9) support.disconnectedMatch = matches.call( el, "*" ); // This should fail with an exception // Gecko does not error, returns false instead matches.call( el, "[s!='']:x" ); rbuggyMatches.push( "!=", pseudos ); }); } rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join("|") ); rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join("|") ); /* Contains ---------------------------------------------------------------------- */ hasCompare = rnative.test( docElem.compareDocumentPosition ); // Element contains another // Purposefully self-exclusive // As in, an element does not contain itself contains = hasCompare || rnative.test( docElem.contains ) ? function( a, b ) { var adown = a.nodeType === 9 ? a.documentElement : a, bup = b && b.parentNode; return a === bup || !!( bup && bup.nodeType === 1 && ( adown.contains ? adown.contains( bup ) : a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 )); } : function( a, b ) { if ( b ) { while ( (b = b.parentNode) ) { if ( b === a ) { return true; } } } return false; }; /* Sorting ---------------------------------------------------------------------- */ // Document order sorting sortOrder = hasCompare ? function( a, b ) { // Flag for duplicate removal if ( a === b ) { hasDuplicate = true; return 0; } // Sort on method existence if only one input has compareDocumentPosition var compare = !a.compareDocumentPosition - !b.compareDocumentPosition; if ( compare ) { return compare; } // Calculate position if both inputs belong to the same document compare = ( a.ownerDocument || a ) === ( b.ownerDocument || b ) ? a.compareDocumentPosition( b ) : // Otherwise we know they are disconnected 1; // Disconnected nodes if ( compare & 1 || (!support.sortDetached && b.compareDocumentPosition( a ) === compare) ) { // Choose the first element that is related to our preferred document if ( a === document || a.ownerDocument === preferredDoc && contains(preferredDoc, a) ) { return -1; } if ( b === document || b.ownerDocument === preferredDoc && contains(preferredDoc, b) ) { return 1; } // Maintain original order return sortInput ? ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : 0; } return compare & 4 ? -1 : 1; } : function( a, b ) { // Exit early if the nodes are identical if ( a === b ) { hasDuplicate = true; return 0; } var cur, i = 0, aup = a.parentNode, bup = b.parentNode, ap = [ a ], bp = [ b ]; // Parentless nodes are either documents or disconnected if ( !aup || !bup ) { return a === document ? -1 : b === document ? 1 : aup ? -1 : bup ? 1 : sortInput ? ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : 0; // If the nodes are siblings, we can do a quick check } else if ( aup === bup ) { return siblingCheck( a, b ); } // Otherwise we need full lists of their ancestors for comparison cur = a; while ( (cur = cur.parentNode) ) { ap.unshift( cur ); } cur = b; while ( (cur = cur.parentNode) ) { bp.unshift( cur ); } // Walk down the tree looking for a discrepancy while ( ap[i] === bp[i] ) { i++; } return i ? // Do a sibling check if the nodes have a common ancestor siblingCheck( ap[i], bp[i] ) : // Otherwise nodes in our document sort first ap[i] === preferredDoc ? -1 : bp[i] === preferredDoc ? 1 : 0; }; return document; }; Sizzle.matches = function( expr, elements ) { return Sizzle( expr, null, null, elements ); }; Sizzle.matchesSelector = function( elem, expr ) { // Set document vars if needed if ( ( elem.ownerDocument || elem ) !== document ) { setDocument( elem ); } // Make sure that attribute selectors are quoted expr = expr.replace( rattributeQuotes, "='$1']" ); if ( support.matchesSelector && documentIsHTML && !compilerCache[ expr + " " ] && ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) && ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) { try { var ret = matches.call( elem, expr ); // IE 9's matchesSelector returns false on disconnected nodes if ( ret || support.disconnectedMatch || // As well, disconnected nodes are said to be in a document // fragment in IE 9 elem.document && elem.document.nodeType !== 11 ) { return ret; } } catch (e) {} } return Sizzle( expr, document, null, [ elem ] ).length > 0; }; Sizzle.contains = function( context, elem ) { // Set document vars if needed if ( ( context.ownerDocument || context ) !== document ) { setDocument( context ); } return contains( context, elem ); }; Sizzle.attr = function( elem, name ) { // Set document vars if needed if ( ( elem.ownerDocument || elem ) !== document ) { setDocument( elem ); } var fn = Expr.attrHandle[ name.toLowerCase() ], // Don't get fooled by Object.prototype properties (jQuery #13807) val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ? fn( elem, name, !documentIsHTML ) : undefined; return val !== undefined ? val : support.attributes || !documentIsHTML ? elem.getAttribute( name ) : (val = elem.getAttributeNode(name)) && val.specified ? val.value : null; }; Sizzle.escape = function( sel ) { return (sel + "").replace( rcssescape, fcssescape ); }; Sizzle.error = function( msg ) { throw new Error( "Syntax error, unrecognized expression: " + msg ); }; /** * Document sorting and removing duplicates * @param {ArrayLike} results */ Sizzle.uniqueSort = function( results ) { var elem, duplicates = [], j = 0, i = 0; // Unless we *know* we can detect duplicates, assume their presence hasDuplicate = !support.detectDuplicates; sortInput = !support.sortStable && results.slice( 0 ); results.sort( sortOrder ); if ( hasDuplicate ) { while ( (elem = results[i++]) ) { if ( elem === results[ i ] ) { j = duplicates.push( i ); } } while ( j-- ) { results.splice( duplicates[ j ], 1 ); } } // Clear input after sorting to release objects // See https://github.com/jquery/sizzle/pull/225 sortInput = null; return results; }; /** * Utility function for retrieving the text value of an array of DOM nodes * @param {Array|Element} elem */ getText = Sizzle.getText = function( elem ) { var node, ret = "", i = 0, nodeType = elem.nodeType; if ( !nodeType ) { // If no nodeType, this is expected to be an array while ( (node = elem[i++]) ) { // Do not traverse comment nodes ret += getText( node ); } } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { // Use textContent for elements // innerText usage removed for consistency of new lines (jQuery #11153) if ( typeof elem.textContent === "string" ) { return elem.textContent; } else { // Traverse its children for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { ret += getText( elem ); } } } else if ( nodeType === 3 || nodeType === 4 ) { return elem.nodeValue; } // Do not include comment or processing instruction nodes return ret; }; Expr = Sizzle.selectors = { // Can be adjusted by the user cacheLength: 50, createPseudo: markFunction, match: matchExpr, attrHandle: {}, find: {}, relative: { ">": { dir: "parentNode", first: true }, " ": { dir: "parentNode" }, "+": { dir: "previousSibling", first: true }, "~": { dir: "previousSibling" } }, preFilter: { "ATTR": function( match ) { match[1] = match[1].replace( runescape, funescape ); // Move the given value to match[3] whether quoted or unquoted match[3] = ( match[3] || match[4] || match[5] || "" ).replace( runescape, funescape ); if ( match[2] === "~=" ) { match[3] = " " + match[3] + " "; } return match.slice( 0, 4 ); }, "CHILD": function( match ) { /* matches from matchExpr["CHILD"] 1 type (only|nth|...) 2 what (child|of-type) 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) 4 xn-component of xn+y argument ([+-]?\d*n|) 5 sign of xn-component 6 x of xn-component 7 sign of y-component 8 y of y-component */ match[1] = match[1].toLowerCase(); if ( match[1].slice( 0, 3 ) === "nth" ) { // nth-* requires argument if ( !match[3] ) { Sizzle.error( match[0] ); } // numeric x and y parameters for Expr.filter.CHILD // remember that false/true cast respectively to 0/1 match[4] = +( match[4] ? match[5] + (match[6] || 1) : 2 * ( match[3] === "even" || match[3] === "odd" ) ); match[5] = +( ( match[7] + match[8] ) || match[3] === "odd" ); // other types prohibit arguments } else if ( match[3] ) { Sizzle.error( match[0] ); } return match; }, "PSEUDO": function( match ) { var excess, unquoted = !match[6] && match[2]; if ( matchExpr["CHILD"].test( match[0] ) ) { return null; } // Accept quoted arguments as-is if ( match[3] ) { match[2] = match[4] || match[5] || ""; // Strip excess characters from unquoted arguments } else if ( unquoted && rpseudo.test( unquoted ) && // Get excess from tokenize (recursively) (excess = tokenize( unquoted, true )) && // advance to the next closing parenthesis (excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length) ) { // excess is a negative index match[0] = match[0].slice( 0, excess ); match[2] = unquoted.slice( 0, excess ); } // Return only captures needed by the pseudo filter method (type and argument) return match.slice( 0, 3 ); } }, filter: { "TAG": function( nodeNameSelector ) { var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase(); return nodeNameSelector === "*" ? function() { return true; } : function( elem ) { return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; }; }, "CLASS": function( className ) { var pattern = classCache[ className + " " ]; return pattern || (pattern = new RegExp( "(^|" + whitespace + ")" + className + "(" + whitespace + "|$)" )) && classCache( className, function( elem ) { return pattern.test( typeof elem.className === "string" && elem.className || typeof elem.getAttribute !== "undefined" && elem.getAttribute("class") || "" ); }); }, "ATTR": function( name, operator, check ) { return function( elem ) { var result = Sizzle.attr( elem, name ); if ( result == null ) { return operator === "!="; } if ( !operator ) { return true; } result += ""; return operator === "=" ? result === check : operator === "!=" ? result !== check : operator === "^=" ? check && result.indexOf( check ) === 0 : operator === "*=" ? check && result.indexOf( check ) > -1 : operator === "$=" ? check && result.slice( -check.length ) === check : operator === "~=" ? ( " " + result.replace( rwhitespace, " " ) + " " ).indexOf( check ) > -1 : operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : false; }; }, "CHILD": function( type, what, argument, first, last ) { var simple = type.slice( 0, 3 ) !== "nth", forward = type.slice( -4 ) !== "last", ofType = what === "of-type"; return first === 1 && last === 0 ? // Shortcut for :nth-*(n) function( elem ) { return !!elem.parentNode; } : function( elem, context, xml ) { var cache, uniqueCache, outerCache, node, nodeIndex, start, dir = simple !== forward ? "nextSibling" : "previousSibling", parent = elem.parentNode, name = ofType && elem.nodeName.toLowerCase(), useCache = !xml && !ofType, diff = false; if ( parent ) { // :(first|last|only)-(child|of-type) if ( simple ) { while ( dir ) { node = elem; while ( (node = node[ dir ]) ) { if ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) { return false; } } // Reverse direction for :only-* (if we haven't yet done so) start = dir = type === "only" && !start && "nextSibling"; } return true; } start = [ forward ? parent.firstChild : parent.lastChild ]; // non-xml :nth-child(...) stores cache data on `parent` if ( forward && useCache ) { // Seek `elem` from a previously-cached index // ...in a gzip-friendly way node = parent; outerCache = node[ expando ] || (node[ expando ] = {}); // Support: IE <9 only // Defend against cloned attroperties (jQuery gh-1709) uniqueCache = outerCache[ node.uniqueID ] || (outerCache[ node.uniqueID ] = {}); cache = uniqueCache[ type ] || []; nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; diff = nodeIndex && cache[ 2 ]; node = nodeIndex && parent.childNodes[ nodeIndex ]; while ( (node = ++nodeIndex && node && node[ dir ] || // Fallback to seeking `elem` from the start (diff = nodeIndex = 0) || start.pop()) ) { // When found, cache indexes on `parent` and break if ( node.nodeType === 1 && ++diff && node === elem ) { uniqueCache[ type ] = [ dirruns, nodeIndex, diff ]; break; } } } else { // Use previously-cached element index if available if ( useCache ) { // ...in a gzip-friendly way node = elem; outerCache = node[ expando ] || (node[ expando ] = {}); // Support: IE <9 only // Defend against cloned attroperties (jQuery gh-1709) uniqueCache = outerCache[ node.uniqueID ] || (outerCache[ node.uniqueID ] = {}); cache = uniqueCache[ type ] || []; nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; diff = nodeIndex; } // xml :nth-child(...) // or :nth-last-child(...) or :nth(-last)?-of-type(...) if ( diff === false ) { // Use the same loop as above to seek `elem` from the start while ( (node = ++nodeIndex && node && node[ dir ] || (diff = nodeIndex = 0) || start.pop()) ) { if ( ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) && ++diff ) { // Cache the index of each encountered element if ( useCache ) { outerCache = node[ expando ] || (node[ expando ] = {}); // Support: IE <9 only // Defend against cloned attroperties (jQuery gh-1709) uniqueCache = outerCache[ node.uniqueID ] || (outerCache[ node.uniqueID ] = {}); uniqueCache[ type ] = [ dirruns, diff ]; } if ( node === elem ) { break; } } } } } // Incorporate the offset, then check against cycle size diff -= last; return diff === first || ( diff % first === 0 && diff / first >= 0 ); } }; }, "PSEUDO": function( pseudo, argument ) { // pseudo-class names are case-insensitive // http://www.w3.org/TR/selectors/#pseudo-classes // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters // Remember that setFilters inherits from pseudos var args, fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || Sizzle.error( "unsupported pseudo: " + pseudo ); // The user may use createPseudo to indicate that // arguments are needed to create the filter function // just as Sizzle does if ( fn[ expando ] ) { return fn( argument ); } // But maintain support for old signatures if ( fn.length > 1 ) { args = [ pseudo, pseudo, "", argument ]; return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? markFunction(function( seed, matches ) { var idx, matched = fn( seed, argument ), i = matched.length; while ( i-- ) { idx = indexOf( seed, matched[i] ); seed[ idx ] = !( matches[ idx ] = matched[i] ); } }) : function( elem ) { return fn( elem, 0, args ); }; } return fn; } }, pseudos: { // Potentially complex pseudos "not": markFunction(function( selector ) { // Trim the selector passed to compile // to avoid treating leading and trailing // spaces as combinators var input = [], results = [], matcher = compile( selector.replace( rtrim, "$1" ) ); return matcher[ expando ] ? markFunction(function( seed, matches, context, xml ) { var elem, unmatched = matcher( seed, null, xml, [] ), i = seed.length; // Match elements unmatched by `matcher` while ( i-- ) { if ( (elem = unmatched[i]) ) { seed[i] = !(matches[i] = elem); } } }) : function( elem, context, xml ) { input[0] = elem; matcher( input, null, xml, results ); // Don't keep the element (issue #299) input[0] = null; return !results.pop(); }; }), "has": markFunction(function( selector ) { return function( elem ) { return Sizzle( selector, elem ).length > 0; }; }), "contains": markFunction(function( text ) { text = text.replace( runescape, funescape ); return function( elem ) { return ( elem.textContent || elem.innerText || getText( elem ) ).indexOf( text ) > -1; }; }), // "Whether an element is represented by a :lang() selector // is based solely on the element's language value // being equal to the identifier C, // or beginning with the identifier C immediately followed by "-". // The matching of C against the element's language value is performed case-insensitively. // The identifier C does not have to be a valid language name." // http://www.w3.org/TR/selectors/#lang-pseudo "lang": markFunction( function( lang ) { // lang value must be a valid identifier if ( !ridentifier.test(lang || "") ) { Sizzle.error( "unsupported lang: " + lang ); } lang = lang.replace( runescape, funescape ).toLowerCase(); return function( elem ) { var elemLang; do { if ( (elemLang = documentIsHTML ? elem.lang : elem.getAttribute("xml:lang") || elem.getAttribute("lang")) ) { elemLang = elemLang.toLowerCase(); return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; } } while ( (elem = elem.parentNode) && elem.nodeType === 1 ); return false; }; }), // Miscellaneous "target": function( elem ) { var hash = window.location && window.location.hash; return hash && hash.slice( 1 ) === elem.id; }, "root": function( elem ) { return elem === docElem; }, "focus": function( elem ) { return elem === document.activeElement && (!document.hasFocus || document.hasFocus()) && !!(elem.type || elem.href || ~elem.tabIndex); }, // Boolean properties "enabled": createDisabledPseudo( false ), "disabled": createDisabledPseudo( true ), "checked": function( elem ) { // In CSS3, :checked should return both checked and selected elements // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked var nodeName = elem.nodeName.toLowerCase(); return (nodeName === "input" && !!elem.checked) || (nodeName === "option" && !!elem.selected); }, "selected": function( elem ) { // Accessing this property makes selected-by-default // options in Safari work properly if ( elem.parentNode ) { elem.parentNode.selectedIndex; } return elem.selected === true; }, // Contents "empty": function( elem ) { // http://www.w3.org/TR/selectors/#empty-pseudo // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5), // but not by others (comment: 8; processing instruction: 7; etc.) // nodeType < 6 works because attributes (2) do not appear as children for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { if ( elem.nodeType < 6 ) { return false; } } return true; }, "parent": function( elem ) { return !Expr.pseudos["empty"]( elem ); }, // Element/input types "header": function( elem ) { return rheader.test( elem.nodeName ); }, "input": function( elem ) { return rinputs.test( elem.nodeName ); }, "button": function( elem ) { var name = elem.nodeName.toLowerCase(); return name === "input" && elem.type === "button" || name === "button"; }, "text": function( elem ) { var attr; return elem.nodeName.toLowerCase() === "input" && elem.type === "text" && // Support: IE<8 // New HTML5 attribute values (e.g., "search") appear with elem.type === "text" ( (attr = elem.getAttribute("type")) == null || attr.toLowerCase() === "text" ); }, // Position-in-collection "first": createPositionalPseudo(function() { return [ 0 ]; }), "last": createPositionalPseudo(function( matchIndexes, length ) { return [ length - 1 ]; }), "eq": createPositionalPseudo(function( matchIndexes, length, argument ) { return [ argument < 0 ? argument + length : argument ]; }), "even": createPositionalPseudo(function( matchIndexes, length ) { var i = 0; for ( ; i < length; i += 2 ) { matchIndexes.push( i ); } return matchIndexes; }), "odd": createPositionalPseudo(function( matchIndexes, length ) { var i = 1; for ( ; i < length; i += 2 ) { matchIndexes.push( i ); } return matchIndexes; }), "lt": createPositionalPseudo(function( matchIndexes, length, argument ) { var i = argument < 0 ? argument + length : argument; for ( ; --i >= 0; ) { matchIndexes.push( i ); } return matchIndexes; }), "gt": createPositionalPseudo(function( matchIndexes, length, argument ) { var i = argument < 0 ? argument + length : argument; for ( ; ++i < length; ) { matchIndexes.push( i ); } return matchIndexes; }) } }; Expr.pseudos["nth"] = Expr.pseudos["eq"]; // Add button/input type pseudos for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { Expr.pseudos[ i ] = createInputPseudo( i ); } for ( i in { submit: true, reset: true } ) { Expr.pseudos[ i ] = createButtonPseudo( i ); } // Easy API for creating new setFilters function setFilters() {} setFilters.prototype = Expr.filters = Expr.pseudos; Expr.setFilters = new setFilters(); tokenize = Sizzle.tokenize = function( selector, parseOnly ) { var matched, match, tokens, type, soFar, groups, preFilters, cached = tokenCache[ selector + " " ]; if ( cached ) { return parseOnly ? 0 : cached.slice( 0 ); } soFar = selector; groups = []; preFilters = Expr.preFilter; while ( soFar ) { // Comma and first run if ( !matched || (match = rcomma.exec( soFar )) ) { if ( match ) { // Don't consume trailing commas as valid soFar = soFar.slice( match[0].length ) || soFar; } groups.push( (tokens = []) ); } matched = false; // Combinators if ( (match = rcombinators.exec( soFar )) ) { matched = match.shift(); tokens.push({ value: matched, // Cast descendant combinators to space type: match[0].replace( rtrim, " " ) }); soFar = soFar.slice( matched.length ); } // Filters for ( type in Expr.filter ) { if ( (match = matchExpr[ type ].exec( soFar )) && (!preFilters[ type ] || (match = preFilters[ type ]( match ))) ) { matched = match.shift(); tokens.push({ value: matched, type: type, matches: match }); soFar = soFar.slice( matched.length ); } } if ( !matched ) { break; } } // Return the length of the invalid excess // if we're just parsing // Otherwise, throw an error or return tokens return parseOnly ? soFar.length : soFar ? Sizzle.error( selector ) : // Cache the tokens tokenCache( selector, groups ).slice( 0 ); }; function toSelector( tokens ) { var i = 0, len = tokens.length, selector = ""; for ( ; i < len; i++ ) { selector += tokens[i].value; } return selector; } function addCombinator( matcher, combinator, base ) { var dir = combinator.dir, skip = combinator.next, key = skip || dir, checkNonElements = base && key === "parentNode", doneName = done++; return combinator.first ? // Check against closest ancestor/preceding element function( elem, context, xml ) { while ( (elem = elem[ dir ]) ) { if ( elem.nodeType === 1 || checkNonElements ) { return matcher( elem, context, xml ); } } return false; } : // Check against all ancestor/preceding elements function( elem, context, xml ) { var oldCache, uniqueCache, outerCache, newCache = [ dirruns, doneName ]; // We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching if ( xml ) { while ( (elem = elem[ dir ]) ) { if ( elem.nodeType === 1 || checkNonElements ) { if ( matcher( elem, context, xml ) ) { return true; } } } } else { while ( (elem = elem[ dir ]) ) { if ( elem.nodeType === 1 || checkNonElements ) { outerCache = elem[ expando ] || (elem[ expando ] = {}); // Support: IE <9 only // Defend against cloned attroperties (jQuery gh-1709) uniqueCache = outerCache[ elem.uniqueID ] || (outerCache[ elem.uniqueID ] = {}); if ( skip && skip === elem.nodeName.toLowerCase() ) { elem = elem[ dir ] || elem; } else if ( (oldCache = uniqueCache[ key ]) && oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) { // Assign to newCache so results back-propagate to previous elements return (newCache[ 2 ] = oldCache[ 2 ]); } else { // Reuse newcache so results back-propagate to previous elements uniqueCache[ key ] = newCache; // A match means we're done; a fail means we have to keep checking if ( (newCache[ 2 ] = matcher( elem, context, xml )) ) { return true; } } } } } return false; }; } function elementMatcher( matchers ) { return matchers.length > 1 ? function( elem, context, xml ) { var i = matchers.length; while ( i-- ) { if ( !matchers[i]( elem, context, xml ) ) { return false; } } return true; } : matchers[0]; } function multipleContexts( selector, contexts, results ) { var i = 0, len = contexts.length; for ( ; i < len; i++ ) { Sizzle( selector, contexts[i], results ); } return results; } function condense( unmatched, map, filter, context, xml ) { var elem, newUnmatched = [], i = 0, len = unmatched.length, mapped = map != null; for ( ; i < len; i++ ) { if ( (elem = unmatched[i]) ) { if ( !filter || filter( elem, context, xml ) ) { newUnmatched.push( elem ); if ( mapped ) { map.push( i ); } } } } return newUnmatched; } function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { if ( postFilter && !postFilter[ expando ] ) { postFilter = setMatcher( postFilter ); } if ( postFinder && !postFinder[ expando ] ) { postFinder = setMatcher( postFinder, postSelector ); } return markFunction(function( seed, results, context, xml ) { var temp, i, elem, preMap = [], postMap = [], preexisting = results.length, // Get initial elements from seed or context elems = seed || multipleContexts( selector || "*", context.nodeType ? [ context ] : context, [] ), // Prefilter to get matcher input, preserving a map for seed-results synchronization matcherIn = preFilter && ( seed || !selector ) ? condense( elems, preMap, preFilter, context, xml ) : elems, matcherOut = matcher ? // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, postFinder || ( seed ? preFilter : preexisting || postFilter ) ? // ...intermediate processing is necessary [] : // ...otherwise use results directly results : matcherIn; // Find primary matches if ( matcher ) { matcher( matcherIn, matcherOut, context, xml ); } // Apply postFilter if ( postFilter ) { temp = condense( matcherOut, postMap ); postFilter( temp, [], context, xml ); // Un-match failing elements by moving them back to matcherIn i = temp.length; while ( i-- ) { if ( (elem = temp[i]) ) { matcherOut[ postMap[i] ] = !(matcherIn[ postMap[i] ] = elem); } } } if ( seed ) { if ( postFinder || preFilter ) { if ( postFinder ) { // Get the final matcherOut by condensing this intermediate into postFinder contexts temp = []; i = matcherOut.length; while ( i-- ) { if ( (elem = matcherOut[i]) ) { // Restore matcherIn since elem is not yet a final match temp.push( (matcherIn[i] = elem) ); } } postFinder( null, (matcherOut = []), temp, xml ); } // Move matched elements from seed to results to keep them synchronized i = matcherOut.length; while ( i-- ) { if ( (elem = matcherOut[i]) && (temp = postFinder ? indexOf( seed, elem ) : preMap[i]) > -1 ) { seed[temp] = !(results[temp] = elem); } } } // Add elements to results, through postFinder if defined } else { matcherOut = condense( matcherOut === results ? matcherOut.splice( preexisting, matcherOut.length ) : matcherOut ); if ( postFinder ) { postFinder( null, results, matcherOut, xml ); } else { push.apply( results, matcherOut ); } } }); } function matcherFromTokens( tokens ) { var checkContext, matcher, j, len = tokens.length, leadingRelative = Expr.relative[ tokens[0].type ], implicitRelative = leadingRelative || Expr.relative[" "], i = leadingRelative ? 1 : 0, // The foundational matcher ensures that elements are reachable from top-level context(s) matchContext = addCombinator( function( elem ) { return elem === checkContext; }, implicitRelative, true ), matchAnyContext = addCombinator( function( elem ) { return indexOf( checkContext, elem ) > -1; }, implicitRelative, true ), matchers = [ function( elem, context, xml ) { var ret = ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( (checkContext = context).nodeType ? matchContext( elem, context, xml ) : matchAnyContext( elem, context, xml ) ); // Avoid hanging onto element (issue #299) checkContext = null; return ret; } ]; for ( ; i < len; i++ ) { if ( (matcher = Expr.relative[ tokens[i].type ]) ) { matchers = [ addCombinator(elementMatcher( matchers ), matcher) ]; } else { matcher = Expr.filter[ tokens[i].type ].apply( null, tokens[i].matches ); // Return special upon seeing a positional matcher if ( matcher[ expando ] ) { // Find the next relative operator (if any) for proper handling j = ++i; for ( ; j < len; j++ ) { if ( Expr.relative[ tokens[j].type ] ) { break; } } return setMatcher( i > 1 && elementMatcher( matchers ), i > 1 && toSelector( // If the preceding token was a descendant combinator, insert an implicit any-element `*` tokens.slice( 0, i - 1 ).concat({ value: tokens[ i - 2 ].type === " " ? "*" : "" }) ).replace( rtrim, "$1" ), matcher, i < j && matcherFromTokens( tokens.slice( i, j ) ), j < len && matcherFromTokens( (tokens = tokens.slice( j )) ), j < len && toSelector( tokens ) ); } matchers.push( matcher ); } } return elementMatcher( matchers ); } function matcherFromGroupMatchers( elementMatchers, setMatchers ) { var bySet = setMatchers.length > 0, byElement = elementMatchers.length > 0, superMatcher = function( seed, context, xml, results, outermost ) { var elem, j, matcher, matchedCount = 0, i = "0", unmatched = seed && [], setMatched = [], contextBackup = outermostContext, // We must always have either seed elements or outermost context elems = seed || byElement && Expr.find["TAG"]( "*", outermost ), // Use integer dirruns iff this is the outermost matcher dirrunsUnique = (dirruns += contextBackup == null ? 1 : Math.random() || 0.1), len = elems.length; if ( outermost ) { outermostContext = context === document || context || outermost; } // Add elements passing elementMatchers directly to results // Support: IE<9, Safari // Tolerate NodeList properties (IE: "length"; Safari: <number>) matching elements by id for ( ; i !== len && (elem = elems[i]) != null; i++ ) { if ( byElement && elem ) { j = 0; if ( !context && elem.ownerDocument !== document ) { setDocument( elem ); xml = !documentIsHTML; } while ( (matcher = elementMatchers[j++]) ) { if ( matcher( elem, context || document, xml) ) { results.push( elem ); break; } } if ( outermost ) { dirruns = dirrunsUnique; } } // Track unmatched elements for set filters if ( bySet ) { // They will have gone through all possible matchers if ( (elem = !matcher && elem) ) { matchedCount--; } // Lengthen the array for every element, matched or not if ( seed ) { unmatched.push( elem ); } } } // `i` is now the count of elements visited above, and adding it to `matchedCount` // makes the latter nonnegative. matchedCount += i; // Apply set filters to unmatched elements // NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount` // equals `i`), unless we didn't visit _any_ elements in the above loop because we have // no element matchers and no seed. // Incrementing an initially-string "0" `i` allows `i` to remain a string only in that // case, which will result in a "00" `matchedCount` that differs from `i` but is also // numerically zero. if ( bySet && i !== matchedCount ) { j = 0; while ( (matcher = setMatchers[j++]) ) { matcher( unmatched, setMatched, context, xml ); } if ( seed ) { // Reintegrate element matches to eliminate the need for sorting if ( matchedCount > 0 ) { while ( i-- ) { if ( !(unmatched[i] || setMatched[i]) ) { setMatched[i] = pop.call( results ); } } } // Discard index placeholder values to get only actual matches setMatched = condense( setMatched ); } // Add matches to results push.apply( results, setMatched ); // Seedless set matches succeeding multiple successful matchers stipulate sorting if ( outermost && !seed && setMatched.length > 0 && ( matchedCount + setMatchers.length ) > 1 ) { Sizzle.uniqueSort( results ); } } // Override manipulation of globals by nested matchers if ( outermost ) { dirruns = dirrunsUnique; outermostContext = contextBackup; } return unmatched; }; return bySet ? markFunction( superMatcher ) : superMatcher; } compile = Sizzle.compile = function( selector, match /* Internal Use Only */ ) { var i, setMatchers = [], elementMatchers = [], cached = compilerCache[ selector + " " ]; if ( !cached ) { // Generate a function of recursive functions that can be used to check each element if ( !match ) { match = tokenize( selector ); } i = match.length; while ( i-- ) { cached = matcherFromTokens( match[i] ); if ( cached[ expando ] ) { setMatchers.push( cached ); } else { elementMatchers.push( cached ); } } // Cache the compiled function cached = compilerCache( selector, matcherFromGroupMatchers( elementMatchers, setMatchers ) ); // Save selector and tokenization cached.selector = selector; } return cached; }; /** * A low-level selection function that works with Sizzle's compiled * selector functions * @param {String|Function} selector A selector or a pre-compiled * selector function built with Sizzle.compile * @param {Element} context * @param {Array} [results] * @param {Array} [seed] A set of elements to match against */ select = Sizzle.select = function( selector, context, results, seed ) { var i, tokens, token, type, find, compiled = typeof selector === "function" && selector, match = !seed && tokenize( (selector = compiled.selector || selector) ); results = results || []; // Try to minimize operations if there is only one selector in the list and no seed // (the latter of which guarantees us context) if ( match.length === 1 ) { // Reduce context if the leading compound selector is an ID tokens = match[0] = match[0].slice( 0 ); if ( tokens.length > 2 && (token = tokens[0]).type === "ID" && context.nodeType === 9 && documentIsHTML && Expr.relative[ tokens[1].type ] ) { context = ( Expr.find["ID"]( token.matches[0].replace(runescape, funescape), context ) || [] )[0]; if ( !context ) { return results; // Precompiled matchers will still verify ancestry, so step up a level } else if ( compiled ) { context = context.parentNode; } selector = selector.slice( tokens.shift().value.length ); } // Fetch a seed set for right-to-left matching i = matchExpr["needsContext"].test( selector ) ? 0 : tokens.length; while ( i-- ) { token = tokens[i]; // Abort if we hit a combinator if ( Expr.relative[ (type = token.type) ] ) { break; } if ( (find = Expr.find[ type ]) ) { // Search, expanding context for leading sibling combinators if ( (seed = find( token.matches[0].replace( runescape, funescape ), rsibling.test( tokens[0].type ) && testContext( context.parentNode ) || context )) ) { // If seed is empty or no tokens remain, we can return early tokens.splice( i, 1 ); selector = seed.length && toSelector( tokens ); if ( !selector ) { push.apply( results, seed ); return results; } break; } } } } // Compile and execute a filtering function if one is not provided // Provide `match` to avoid retokenization if we modified the selector above ( compiled || compile( selector, match ) )( seed, context, !documentIsHTML, results, !context || rsibling.test( selector ) && testContext( context.parentNode ) || context ); return results; }; // One-time assignments // Sort stability support.sortStable = expando.split("").sort( sortOrder ).join("") === expando; // Support: Chrome 14-35+ // Always assume duplicates if they aren't passed to the comparison function support.detectDuplicates = !!hasDuplicate; // Initialize against the default document setDocument(); // Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27) // Detached nodes confoundingly follow *each other* support.sortDetached = assert(function( el ) { // Should return 1, but returns 4 (following) return el.compareDocumentPosition( document.createElement("fieldset") ) & 1; }); // Support: IE<8 // Prevent attribute/property "interpolation" // https://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx if ( !assert(function( el ) { el.innerHTML = "<a href='#'></a>"; return el.firstChild.getAttribute("href") === "#" ; }) ) { addHandle( "type|href|height|width", function( elem, name, isXML ) { if ( !isXML ) { return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 ); } }); } // Support: IE<9 // Use defaultValue in place of getAttribute("value") if ( !support.attributes || !assert(function( el ) { el.innerHTML = "<input/>"; el.firstChild.setAttribute( "value", "" ); return el.firstChild.getAttribute( "value" ) === ""; }) ) { addHandle( "value", function( elem, name, isXML ) { if ( !isXML && elem.nodeName.toLowerCase() === "input" ) { return elem.defaultValue; } }); } // Support: IE<9 // Use getAttributeNode to fetch booleans when getAttribute lies if ( !assert(function( el ) { return el.getAttribute("disabled") == null; }) ) { addHandle( booleans, function( elem, name, isXML ) { var val; if ( !isXML ) { return elem[ name ] === true ? name.toLowerCase() : (val = elem.getAttributeNode( name )) && val.specified ? val.value : null; } }); } return Sizzle; })( window ); jQuery.find = Sizzle; jQuery.expr = Sizzle.selectors; // Deprecated jQuery.expr[ ":" ] = jQuery.expr.pseudos; jQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort; jQuery.text = Sizzle.getText; jQuery.isXMLDoc = Sizzle.isXML; jQuery.contains = Sizzle.contains; jQuery.escapeSelector = Sizzle.escape; var dir = function( elem, dir, until ) { var matched = [], truncate = until !== undefined; while ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) { if ( elem.nodeType === 1 ) { if ( truncate && jQuery( elem ).is( until ) ) { break; } matched.push( elem ); } } return matched; }; var siblings = function( n, elem ) { var matched = []; for ( ; n; n = n.nextSibling ) { if ( n.nodeType === 1 && n !== elem ) { matched.push( n ); } } return matched; }; var rneedsContext = jQuery.expr.match.needsContext; function nodeName( elem, name ) { return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); }; var rsingleTag = ( /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i ); var risSimple = /^.[^:#\[\.,]*$/; // Implement the identical functionality for filter and not function winnow( elements, qualifier, not ) { if ( jQuery.isFunction( qualifier ) ) { return jQuery.grep( elements, function( elem, i ) { return !!qualifier.call( elem, i, elem ) !== not; } ); } // Single element if ( qualifier.nodeType ) { return jQuery.grep( elements, function( elem ) { return ( elem === qualifier ) !== not; } ); } // Arraylike of elements (jQuery, arguments, Array) if ( typeof qualifier !== "string" ) { return jQuery.grep( elements, function( elem ) { return ( indexOf.call( qualifier, elem ) > -1 ) !== not; } ); } // Simple selector that can be filtered directly, removing non-Elements if ( risSimple.test( qualifier ) ) { return jQuery.filter( qualifier, elements, not ); } // Complex selector, compare the two sets, removing non-Elements qualifier = jQuery.filter( qualifier, elements ); return jQuery.grep( elements, function( elem ) { return ( indexOf.call( qualifier, elem ) > -1 ) !== not && elem.nodeType === 1; } ); } jQuery.filter = function( expr, elems, not ) { var elem = elems[ 0 ]; if ( not ) { expr = ":not(" + expr + ")"; } if ( elems.length === 1 && elem.nodeType === 1 ) { return jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : []; } return jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) { return elem.nodeType === 1; } ) ); }; jQuery.fn.extend( { find: function( selector ) { var i, ret, len = this.length, self = this; if ( typeof selector !== "string" ) { return this.pushStack( jQuery( selector ).filter( function() { for ( i = 0; i < len; i++ ) { if ( jQuery.contains( self[ i ], this ) ) { return true; } } } ) ); } ret = this.pushStack( [] ); for ( i = 0; i < len; i++ ) { jQuery.find( selector, self[ i ], ret ); } return len > 1 ? jQuery.uniqueSort( ret ) : ret; }, filter: function( selector ) { return this.pushStack( winnow( this, selector || [], false ) ); }, not: function( selector ) { return this.pushStack( winnow( this, selector || [], true ) ); }, is: function( selector ) { return !!winnow( this, // If this is a positional/relative selector, check membership in the returned set // so $("p:first").is("p:last") won't return true for a doc with two "p". typeof selector === "string" && rneedsContext.test( selector ) ? jQuery( selector ) : selector || [], false ).length; } } ); // Initialize a jQuery object // A central reference to the root jQuery(document) var rootjQuery, // A simple way to check for HTML strings // Prioritize #id over <tag> to avoid XSS via location.hash (#9521) // Strict HTML recognition (#11290: must start with <) // Shortcut simple #id case for speed rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/, init = jQuery.fn.init = function( selector, context, root ) { var match, elem; // HANDLE: $(""), $(null), $(undefined), $(false) if ( !selector ) { return this; } // Method init() accepts an alternate rootjQuery // so migrate can support jQuery.sub (gh-2101) root = root || rootjQuery; // Handle HTML strings if ( typeof selector === "string" ) { if ( selector[ 0 ] === "<" && selector[ selector.length - 1 ] === ">" && selector.length >= 3 ) { // Assume that strings that start and end with <> are HTML and skip the regex check match = [ null, selector, null ]; } else { match = rquickExpr.exec( selector ); } // Match html or make sure no context is specified for #id if ( match && ( match[ 1 ] || !context ) ) { // HANDLE: $(html) -> $(array) if ( match[ 1 ] ) { context = context instanceof jQuery ? context[ 0 ] : context; // Option to run scripts is true for back-compat // Intentionally let the error be thrown if parseHTML is not present jQuery.merge( this, jQuery.parseHTML( match[ 1 ], context && context.nodeType ? context.ownerDocument || context : document, true ) ); // HANDLE: $(html, props) if ( rsingleTag.test( match[ 1 ] ) && jQuery.isPlainObject( context ) ) { for ( match in context ) { // Properties of context are called as methods if possible if ( jQuery.isFunction( this[ match ] ) ) { this[ match ]( context[ match ] ); // ...and otherwise set as attributes } else { this.attr( match, context[ match ] ); } } } return this; // HANDLE: $(#id) } else { elem = document.getElementById( match[ 2 ] ); if ( elem ) { // Inject the element directly into the jQuery object this[ 0 ] = elem; this.length = 1; } return this; } // HANDLE: $(expr, $(...)) } else if ( !context || context.jquery ) { return ( context || root ).find( selector ); // HANDLE: $(expr, context) // (which is just equivalent to: $(context).find(expr) } else { return this.constructor( context ).find( selector ); } // HANDLE: $(DOMElement) } else if ( selector.nodeType ) { this[ 0 ] = selector; this.length = 1; return this; // HANDLE: $(function) // Shortcut for document ready } else if ( jQuery.isFunction( selector ) ) { return root.ready !== undefined ? root.ready( selector ) : // Execute immediately if ready is not present selector( jQuery ); } return jQuery.makeArray( selector, this ); }; // Give the init function the jQuery prototype for later instantiation init.prototype = jQuery.fn; // Initialize central reference rootjQuery = jQuery( document ); var rparentsprev = /^(?:parents|prev(?:Until|All))/, // Methods guaranteed to produce a unique set when starting from a unique set guaranteedUnique = { children: true, contents: true, next: true, prev: true }; jQuery.fn.extend( { has: function( target ) { var targets = jQuery( target, this ), l = targets.length; return this.filter( function() { var i = 0; for ( ; i < l; i++ ) { if ( jQuery.contains( this, targets[ i ] ) ) { return true; } } } ); }, closest: function( selectors, context ) { var cur, i = 0, l = this.length, matched = [], targets = typeof selectors !== "string" && jQuery( selectors ); // Positional selectors never match, since there's no _selection_ context if ( !rneedsContext.test( selectors ) ) { for ( ; i < l; i++ ) { for ( cur = this[ i ]; cur && cur !== context; cur = cur.parentNode ) { // Always skip document fragments if ( cur.nodeType < 11 && ( targets ? targets.index( cur ) > -1 : // Don't pass non-elements to Sizzle cur.nodeType === 1 && jQuery.find.matchesSelector( cur, selectors ) ) ) { matched.push( cur ); break; } } } } return this.pushStack( matched.length > 1 ? jQuery.uniqueSort( matched ) : matched ); }, // Determine the position of an element within the set index: function( elem ) { // No argument, return index in parent if ( !elem ) { return ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1; } // Index in selector if ( typeof elem === "string" ) { return indexOf.call( jQuery( elem ), this[ 0 ] ); } // Locate the position of the desired element return indexOf.call( this, // If it receives a jQuery object, the first element is used elem.jquery ? elem[ 0 ] : elem ); }, add: function( selector, context ) { return this.pushStack( jQuery.uniqueSort( jQuery.merge( this.get(), jQuery( selector, context ) ) ) ); }, addBack: function( selector ) { return this.add( selector == null ? this.prevObject : this.prevObject.filter( selector ) ); } } ); function sibling( cur, dir ) { while ( ( cur = cur[ dir ] ) && cur.nodeType !== 1 ) {} return cur; } jQuery.each( { parent: function( elem ) { var parent = elem.parentNode; return parent && parent.nodeType !== 11 ? parent : null; }, parents: function( elem ) { return dir( elem, "parentNode" ); }, parentsUntil: function( elem, i, until ) { return dir( elem, "parentNode", until ); }, next: function( elem ) { return sibling( elem, "nextSibling" ); }, prev: function( elem ) { return sibling( elem, "previousSibling" ); }, nextAll: function( elem ) { return dir( elem, "nextSibling" ); }, prevAll: function( elem ) { return dir( elem, "previousSibling" ); }, nextUntil: function( elem, i, until ) { return dir( elem, "nextSibling", until ); }, prevUntil: function( elem, i, until ) { return dir( elem, "previousSibling", until ); }, siblings: function( elem ) { return siblings( ( elem.parentNode || {} ).firstChild, elem ); }, children: function( elem ) { return siblings( elem.firstChild ); }, contents: function( elem ) { if ( nodeName( elem, "iframe" ) ) { return elem.contentDocument; } // Support: IE 9 - 11 only, iOS 7 only, Android Browser <=4.3 only // Treat the template element as a regular one in browsers that // don't support it. if ( nodeName( elem, "template" ) ) { elem = elem.content || elem; } return jQuery.merge( [], elem.childNodes ); } }, function( name, fn ) { jQuery.fn[ name ] = function( until, selector ) { var matched = jQuery.map( this, fn, until ); if ( name.slice( -5 ) !== "Until" ) { selector = until; } if ( selector && typeof selector === "string" ) { matched = jQuery.filter( selector, matched ); } if ( this.length > 1 ) { // Remove duplicates if ( !guaranteedUnique[ name ] ) { jQuery.uniqueSort( matched ); } // Reverse order for parents* and prev-derivatives if ( rparentsprev.test( name ) ) { matched.reverse(); } } return this.pushStack( matched ); }; } ); var rnothtmlwhite = ( /[^\x20\t\r\n\f]+/g ); // Convert String-formatted options into Object-formatted ones function createOptions( options ) { var object = {}; jQuery.each( options.match( rnothtmlwhite ) || [], function( _, flag ) { object[ flag ] = true; } ); return object; } /* * Create a callback list using the following parameters: * * options: an optional list of space-separated options that will change how * the callback list behaves or a more traditional option object * * By default a callback list will act like an event callback list and can be * "fired" multiple times. * * Possible options: * * once: will ensure the callback list can only be fired once (like a Deferred) * * memory: will keep track of previous values and will call any callback added * after the list has been fired right away with the latest "memorized" * values (like a Deferred) * * unique: will ensure a callback can only be added once (no duplicate in the list) * * stopOnFalse: interrupt callings when a callback returns false * */ jQuery.Callbacks = function( options ) { // Convert options from String-formatted to Object-formatted if needed // (we check in cache first) options = typeof options === "string" ? createOptions( options ) : jQuery.extend( {}, options ); var // Flag to know if list is currently firing firing, // Last fire value for non-forgettable lists memory, // Flag to know if list was already fired fired, // Flag to prevent firing locked, // Actual callback list list = [], // Queue of execution data for repeatable lists queue = [], // Index of currently firing callback (modified by add/remove as needed) firingIndex = -1, // Fire callbacks fire = function() { // Enforce single-firing locked = locked || options.once; // Execute callbacks for all pending executions, // respecting firingIndex overrides and runtime changes fired = firing = true; for ( ; queue.length; firingIndex = -1 ) { memory = queue.shift(); while ( ++firingIndex < list.length ) { // Run callback and check for early termination if ( list[ firingIndex ].apply( memory[ 0 ], memory[ 1 ] ) === false && options.stopOnFalse ) { // Jump to end and forget the data so .add doesn't re-fire firingIndex = list.length; memory = false; } } } // Forget the data if we're done with it if ( !options.memory ) { memory = false; } firing = false; // Clean up if we're done firing for good if ( locked ) { // Keep an empty list if we have data for future add calls if ( memory ) { list = []; // Otherwise, this object is spent } else { list = ""; } } }, // Actual Callbacks object self = { // Add a callback or a collection of callbacks to the list add: function() { if ( list ) { // If we have memory from a past run, we should fire after adding if ( memory && !firing ) { firingIndex = list.length - 1; queue.push( memory ); } ( function add( args ) { jQuery.each( args, function( _, arg ) { if ( jQuery.isFunction( arg ) ) { if ( !options.unique || !self.has( arg ) ) { list.push( arg ); } } else if ( arg && arg.length && jQuery.type( arg ) !== "string" ) { // Inspect recursively add( arg ); } } ); } )( arguments ); if ( memory && !firing ) { fire(); } } return this; }, // Remove a callback from the list remove: function() { jQuery.each( arguments, function( _, arg ) { var index; while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { list.splice( index, 1 ); // Handle firing indexes if ( index <= firingIndex ) { firingIndex--; } } } ); return this; }, // Check if a given callback is in the list. // If no argument is given, return whether or not list has callbacks attached. has: function( fn ) { return fn ? jQuery.inArray( fn, list ) > -1 : list.length > 0; }, // Remove all callbacks from the list empty: function() { if ( list ) { list = []; } return this; }, // Disable .fire and .add // Abort any current/pending executions // Clear all callbacks and values disable: function() { locked = queue = []; list = memory = ""; return this; }, disabled: function() { return !list; }, // Disable .fire // Also disable .add unless we have memory (since it would have no effect) // Abort any pending executions lock: function() { locked = queue = []; if ( !memory && !firing ) { list = memory = ""; } return this; }, locked: function() { return !!locked; }, // Call all callbacks with the given context and arguments fireWith: function( context, args ) { if ( !locked ) { args = args || []; args = [ context, args.slice ? args.slice() : args ]; queue.push( args ); if ( !firing ) { fire(); } } return this; }, // Call all the callbacks with the given arguments fire: function() { self.fireWith( this, arguments ); return this; }, // To know if the callbacks have already been called at least once fired: function() { return !!fired; } }; return self; }; function Identity( v ) { return v; } function Thrower( ex ) { throw ex; } function adoptValue( value, resolve, reject, noValue ) { var method; try { // Check for promise aspect first to privilege synchronous behavior if ( value && jQuery.isFunction( ( method = value.promise ) ) ) { method.call( value ).done( resolve ).fail( reject ); // Other thenables } else if ( value && jQuery.isFunction( ( method = value.then ) ) ) { method.call( value, resolve, reject ); // Other non-thenables } else { // Control `resolve` arguments by letting Array#slice cast boolean `noValue` to integer: // * false: [ value ].slice( 0 ) => resolve( value ) // * true: [ value ].slice( 1 ) => resolve() resolve.apply( undefined, [ value ].slice( noValue ) ); } // For Promises/A+, convert exceptions into rejections // Since jQuery.when doesn't unwrap thenables, we can skip the extra checks appearing in // Deferred#then to conditionally suppress rejection. } catch ( value ) { // Support: Android 4.0 only // Strict mode functions invoked without .call/.apply get global-object context reject.apply( undefined, [ value ] ); } } jQuery.extend( { Deferred: function( func ) { var tuples = [ // action, add listener, callbacks, // ... .then handlers, argument index, [final state] [ "notify", "progress", jQuery.Callbacks( "memory" ), jQuery.Callbacks( "memory" ), 2 ], [ "resolve", "done", jQuery.Callbacks( "once memory" ), jQuery.Callbacks( "once memory" ), 0, "resolved" ], [ "reject", "fail", jQuery.Callbacks( "once memory" ), jQuery.Callbacks( "once memory" ), 1, "rejected" ] ], state = "pending", promise = { state: function() { return state; }, always: function() { deferred.done( arguments ).fail( arguments ); return this; }, "catch": function( fn ) { return promise.then( null, fn ); }, // Keep pipe for back-compat pipe: function( /* fnDone, fnFail, fnProgress */ ) { var fns = arguments; return jQuery.Deferred( function( newDefer ) { jQuery.each( tuples, function( i, tuple ) { // Map tuples (progress, done, fail) to arguments (done, fail, progress) var fn = jQuery.isFunction( fns[ tuple[ 4 ] ] ) && fns[ tuple[ 4 ] ]; // deferred.progress(function() { bind to newDefer or newDefer.notify }) // deferred.done(function() { bind to newDefer or newDefer.resolve }) // deferred.fail(function() { bind to newDefer or newDefer.reject }) deferred[ tuple[ 1 ] ]( function() { var returned = fn && fn.apply( this, arguments ); if ( returned && jQuery.isFunction( returned.promise ) ) { returned.promise() .progress( newDefer.notify ) .done( newDefer.resolve ) .fail( newDefer.reject ); } else { newDefer[ tuple[ 0 ] + "With" ]( this, fn ? [ returned ] : arguments ); } } ); } ); fns = null; } ).promise(); }, then: function( onFulfilled, onRejected, onProgress ) { var maxDepth = 0; function resolve( depth, deferred, handler, special ) { return function() { var that = this, args = arguments, mightThrow = function() { var returned, then; // Support: Promises/A+ section 2.3.3.3.3 // https://promisesaplus.com/#point-59 // Ignore double-resolution attempts if ( depth < maxDepth ) { return; } returned = handler.apply( that, args ); // Support: Promises/A+ section 2.3.1 // https://promisesaplus.com/#point-48 if ( returned === deferred.promise() ) { throw new TypeError( "Thenable self-resolution" ); } // Support: Promises/A+ sections 2.3.3.1, 3.5 // https://promisesaplus.com/#point-54 // https://promisesaplus.com/#point-75 // Retrieve `then` only once then = returned && // Support: Promises/A+ section 2.3.4 // https://promisesaplus.com/#point-64 // Only check objects and functions for thenability ( typeof returned === "object" || typeof returned === "function" ) && returned.then; // Handle a returned thenable if ( jQuery.isFunction( then ) ) { // Special processors (notify) just wait for resolution if ( special ) { then.call( returned, resolve( maxDepth, deferred, Identity, special ), resolve( maxDepth, deferred, Thrower, special ) ); // Normal processors (resolve) also hook into progress } else { // ...and disregard older resolution values maxDepth++; then.call( returned, resolve( maxDepth, deferred, Identity, special ), resolve( maxDepth, deferred, Thrower, special ), resolve( maxDepth, deferred, Identity, deferred.notifyWith ) ); } // Handle all other returned values } else { // Only substitute handlers pass on context // and multiple values (non-spec behavior) if ( handler !== Identity ) { that = undefined; args = [ returned ]; } // Process the value(s) // Default process is resolve ( special || deferred.resolveWith )( that, args ); } }, // Only normal processors (resolve) catch and reject exceptions process = special ? mightThrow : function() { try { mightThrow(); } catch ( e ) { if ( jQuery.Deferred.exceptionHook ) { jQuery.Deferred.exceptionHook( e, process.stackTrace ); } // Support: Promises/A+ section 2.3.3.3.4.1 // https://promisesaplus.com/#point-61 // Ignore post-resolution exceptions if ( depth + 1 >= maxDepth ) { // Only substitute handlers pass on context // and multiple values (non-spec behavior) if ( handler !== Thrower ) { that = undefined; args = [ e ]; } deferred.rejectWith( that, args ); } } }; // Support: Promises/A+ section 2.3.3.3.1 // https://promisesaplus.com/#point-57 // Re-resolve promises immediately to dodge false rejection from // subsequent errors if ( depth ) { process(); } else { // Call an optional hook to record the stack, in case of exception // since it's otherwise lost when execution goes async if ( jQuery.Deferred.getStackHook ) { process.stackTrace = jQuery.Deferred.getStackHook(); } window.setTimeout( process ); } }; } return jQuery.Deferred( function( newDefer ) { // progress_handlers.add( ... ) tuples[ 0 ][ 3 ].add( resolve( 0, newDefer, jQuery.isFunction( onProgress ) ? onProgress : Identity, newDefer.notifyWith ) ); // fulfilled_handlers.add( ... ) tuples[ 1 ][ 3 ].add( resolve( 0, newDefer, jQuery.isFunction( onFulfilled ) ? onFulfilled : Identity ) ); // rejected_handlers.add( ... ) tuples[ 2 ][ 3 ].add( resolve( 0, newDefer, jQuery.isFunction( onRejected ) ? onRejected : Thrower ) ); } ).promise(); }, // Get a promise for this deferred // If obj is provided, the promise aspect is added to the object promise: function( obj ) { return obj != null ? jQuery.extend( obj, promise ) : promise; } }, deferred = {}; // Add list-specific methods jQuery.each( tuples, function( i, tuple ) { var list = tuple[ 2 ], stateString = tuple[ 5 ]; // promise.progress = list.add // promise.done = list.add // promise.fail = list.add promise[ tuple[ 1 ] ] = list.add; // Handle state if ( stateString ) { list.add( function() { // state = "resolved" (i.e., fulfilled) // state = "rejected" state = stateString; }, // rejected_callbacks.disable // fulfilled_callbacks.disable tuples[ 3 - i ][ 2 ].disable, // progress_callbacks.lock tuples[ 0 ][ 2 ].lock ); } // progress_handlers.fire // fulfilled_handlers.fire // rejected_handlers.fire list.add( tuple[ 3 ].fire ); // deferred.notify = function() { deferred.notifyWith(...) } // deferred.resolve = function() { deferred.resolveWith(...) } // deferred.reject = function() { deferred.rejectWith(...) } deferred[ tuple[ 0 ] ] = function() { deferred[ tuple[ 0 ] + "With" ]( this === deferred ? undefined : this, arguments ); return this; }; // deferred.notifyWith = list.fireWith // deferred.resolveWith = list.fireWith // deferred.rejectWith = list.fireWith deferred[ tuple[ 0 ] + "With" ] = list.fireWith; } ); // Make the deferred a promise promise.promise( deferred ); // Call given func if any if ( func ) { func.call( deferred, deferred ); } // All done! return deferred; }, // Deferred helper when: function( singleValue ) { var // count of uncompleted subordinates remaining = arguments.length, // count of unprocessed arguments i = remaining, // subordinate fulfillment data resolveContexts = Array( i ), resolveValues = slice.call( arguments ), // the master Deferred master = jQuery.Deferred(), // subordinate callback factory updateFunc = function( i ) { return function( value ) { resolveContexts[ i ] = this; resolveValues[ i ] = arguments.length > 1 ? slice.call( arguments ) : value; if ( !( --remaining ) ) { master.resolveWith( resolveContexts, resolveValues ); } }; }; // Single- and empty arguments are adopted like Promise.resolve if ( remaining <= 1 ) { adoptValue( singleValue, master.done( updateFunc( i ) ).resolve, master.reject, !remaining ); // Use .then() to unwrap secondary thenables (cf. gh-3000) if ( master.state() === "pending" || jQuery.isFunction( resolveValues[ i ] && resolveValues[ i ].then ) ) { return master.then(); } } // Multiple arguments are aggregated like Promise.all array elements while ( i-- ) { adoptValue( resolveValues[ i ], updateFunc( i ), master.reject ); } return master.promise(); } } ); // These usually indicate a programmer mistake during development, // warn about them ASAP rather than swallowing them by default. var rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/; jQuery.Deferred.exceptionHook = function( error, stack ) { // Support: IE 8 - 9 only // Console exists when dev tools are open, which can happen at any time if ( window.console && window.console.warn && error && rerrorNames.test( error.name ) ) { window.console.warn( "jQuery.Deferred exception: " + error.message, error.stack, stack ); } }; jQuery.readyException = function( error ) { window.setTimeout( function() { throw error; } ); }; // The deferred used on DOM ready var readyList = jQuery.Deferred(); jQuery.fn.ready = function( fn ) { readyList .then( fn ) // Wrap jQuery.readyException in a function so that the lookup // happens at the time of error handling instead of callback // registration. .catch( function( error ) { jQuery.readyException( error ); } ); return this; }; jQuery.extend( { // Is the DOM ready to be used? Set to true once it occurs. isReady: false, // A counter to track how many items to wait for before // the ready event fires. See #6781 readyWait: 1, // Handle when the DOM is ready ready: function( wait ) { // Abort if there are pending holds or we're already ready if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { return; } // Remember that the DOM is ready jQuery.isReady = true; // If a normal DOM Ready event fired, decrement, and wait if need be if ( wait !== true && --jQuery.readyWait > 0 ) { return; } // If there are functions bound, to execute readyList.resolveWith( document, [ jQuery ] ); } } ); jQuery.ready.then = readyList.then; // The ready event handler and self cleanup method function completed() { document.removeEventListener( "DOMContentLoaded", completed ); window.removeEventListener( "load", completed ); jQuery.ready(); } // Catch cases where $(document).ready() is called // after the browser event has already occurred. // Support: IE <=9 - 10 only // Older IE sometimes signals "interactive" too soon if ( document.readyState === "complete" || ( document.readyState !== "loading" && !document.documentElement.doScroll ) ) { // Handle it asynchronously to allow scripts the opportunity to delay ready window.setTimeout( jQuery.ready ); } else { // Use the handy event callback document.addEventListener( "DOMContentLoaded", completed ); // A fallback to window.onload, that will always work window.addEventListener( "load", completed ); } // Multifunctional method to get and set values of a collection // The value/s can optionally be executed if it's a function var access = function( elems, fn, key, value, chainable, emptyGet, raw ) { var i = 0, len = elems.length, bulk = key == null; // Sets many values if ( jQuery.type( key ) === "object" ) { chainable = true; for ( i in key ) { access( elems, fn, i, key[ i ], true, emptyGet, raw ); } // Sets one value } else if ( value !== undefined ) { chainable = true; if ( !jQuery.isFunction( value ) ) { raw = true; } if ( bulk ) { // Bulk operations run against the entire set if ( raw ) { fn.call( elems, value ); fn = null; // ...except when executing function values } else { bulk = fn; fn = function( elem, key, value ) { return bulk.call( jQuery( elem ), value ); }; } } if ( fn ) { for ( ; i < len; i++ ) { fn( elems[ i ], key, raw ? value : value.call( elems[ i ], i, fn( elems[ i ], key ) ) ); } } } if ( chainable ) { return elems; } // Gets if ( bulk ) { return fn.call( elems ); } return len ? fn( elems[ 0 ], key ) : emptyGet; }; var acceptData = function( owner ) { // Accepts only: // - Node // - Node.ELEMENT_NODE // - Node.DOCUMENT_NODE // - Object // - Any return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType ); }; function Data() { this.expando = jQuery.expando + Data.uid++; } Data.uid = 1; Data.prototype = { cache: function( owner ) { // Check if the owner object already has a cache var value = owner[ this.expando ]; // If not, create one if ( !value ) { value = {}; // We can accept data for non-element nodes in modern browsers, // but we should not, see #8335. // Always return an empty object. if ( acceptData( owner ) ) { // If it is a node unlikely to be stringify-ed or looped over // use plain assignment if ( owner.nodeType ) { owner[ this.expando ] = value; // Otherwise secure it in a non-enumerable property // configurable must be true to allow the property to be // deleted when data is removed } else { Object.defineProperty( owner, this.expando, { value: value, configurable: true } ); } } } return value; }, set: function( owner, data, value ) { var prop, cache = this.cache( owner ); // Handle: [ owner, key, value ] args // Always use camelCase key (gh-2257) if ( typeof data === "string" ) { cache[ jQuery.camelCase( data ) ] = value; // Handle: [ owner, { properties } ] args } else { // Copy the properties one-by-one to the cache object for ( prop in data ) { cache[ jQuery.camelCase( prop ) ] = data[ prop ]; } } return cache; }, get: function( owner, key ) { return key === undefined ? this.cache( owner ) : // Always use camelCase key (gh-2257) owner[ this.expando ] && owner[ this.expando ][ jQuery.camelCase( key ) ]; }, access: function( owner, key, value ) { // In cases where either: // // 1. No key was specified // 2. A string key was specified, but no value provided // // Take the "read" path and allow the get method to determine // which value to return, respectively either: // // 1. The entire cache object // 2. The data stored at the key // if ( key === undefined || ( ( key && typeof key === "string" ) && value === undefined ) ) { return this.get( owner, key ); } // When the key is not a string, or both a key and value // are specified, set or extend (existing objects) with either: // // 1. An object of properties // 2. A key and value // this.set( owner, key, value ); // Since the "set" path can have two possible entry points // return the expected data based on which path was taken[*] return value !== undefined ? value : key; }, remove: function( owner, key ) { var i, cache = owner[ this.expando ]; if ( cache === undefined ) { return; } if ( key !== undefined ) { // Support array or space separated string of keys if ( Array.isArray( key ) ) { // If key is an array of keys... // We always set camelCase keys, so remove that. key = key.map( jQuery.camelCase ); } else { key = jQuery.camelCase( key ); // If a key with the spaces exists, use it. // Otherwise, create an array by matching non-whitespace key = key in cache ? [ key ] : ( key.match( rnothtmlwhite ) || [] ); } i = key.length; while ( i-- ) { delete cache[ key[ i ] ]; } } // Remove the expando if there's no more data if ( key === undefined || jQuery.isEmptyObject( cache ) ) { // Support: Chrome <=35 - 45 // Webkit & Blink performance suffers when deleting properties // from DOM nodes, so set to undefined instead // https://bugs.chromium.org/p/chromium/issues/detail?id=378607 (bug restricted) if ( owner.nodeType ) { owner[ this.expando ] = undefined; } else { delete owner[ this.expando ]; } } }, hasData: function( owner ) { var cache = owner[ this.expando ]; return cache !== undefined && !jQuery.isEmptyObject( cache ); } }; var dataPriv = new Data(); var dataUser = new Data(); // Implementation Summary // // 1. Enforce API surface and semantic compatibility with 1.9.x branch // 2. Improve the module's maintainability by reducing the storage // paths to a single mechanism. // 3. Use the same single mechanism to support "private" and "user" data. // 4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData) // 5. Avoid exposing implementation details on user objects (eg. expando properties) // 6. Provide a clear path for implementation upgrade to WeakMap in 2014 var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, rmultiDash = /[A-Z]/g; function getData( data ) { if ( data === "true" ) { return true; } if ( data === "false" ) { return false; } if ( data === "null" ) { return null; } // Only convert to a number if it doesn't change the string if ( data === +data + "" ) { return +data; } if ( rbrace.test( data ) ) { return JSON.parse( data ); } return data; } function dataAttr( elem, key, data ) { var name; // If nothing was found internally, try to fetch any // data from the HTML5 data-* attribute if ( data === undefined && elem.nodeType === 1 ) { name = "data-" + key.replace( rmultiDash, "-$&" ).toLowerCase(); data = elem.getAttribute( name ); if ( typeof data === "string" ) { try { data = getData( data ); } catch ( e ) {} // Make sure we set the data so it isn't changed later dataUser.set( elem, key, data ); } else { data = undefined; } } return data; } jQuery.extend( { hasData: function( elem ) { return dataUser.hasData( elem ) || dataPriv.hasData( elem ); }, data: function( elem, name, data ) { return dataUser.access( elem, name, data ); }, removeData: function( elem, name ) { dataUser.remove( elem, name ); }, // TODO: Now that all calls to _data and _removeData have been replaced // with direct calls to dataPriv methods, these can be deprecated. _data: function( elem, name, data ) { return dataPriv.access( elem, name, data ); }, _removeData: function( elem, name ) { dataPriv.remove( elem, name ); } } ); jQuery.fn.extend( { data: function( key, value ) { var i, name, data, elem = this[ 0 ], attrs = elem && elem.attributes; // Gets all values if ( key === undefined ) { if ( this.length ) { data = dataUser.get( elem ); if ( elem.nodeType === 1 && !dataPriv.get( elem, "hasDataAttrs" ) ) { i = attrs.length; while ( i-- ) { // Support: IE 11 only // The attrs elements can be null (#14894) if ( attrs[ i ] ) { name = attrs[ i ].name; if ( name.indexOf( "data-" ) === 0 ) { name = jQuery.camelCase( name.slice( 5 ) ); dataAttr( elem, name, data[ name ] ); } } } dataPriv.set( elem, "hasDataAttrs", true ); } } return data; } // Sets multiple values if ( typeof key === "object" ) { return this.each( function() { dataUser.set( this, key ); } ); } return access( this, function( value ) { var data; // The calling jQuery object (element matches) is not empty // (and therefore has an element appears at this[ 0 ]) and the // `value` parameter was not undefined. An empty jQuery object // will result in `undefined` for elem = this[ 0 ] which will // throw an exception if an attempt to read a data cache is made. if ( elem && value === undefined ) { // Attempt to get data from the cache // The key will always be camelCased in Data data = dataUser.get( elem, key ); if ( data !== undefined ) { return data; } // Attempt to "discover" the data in // HTML5 custom data-* attrs data = dataAttr( elem, key ); if ( data !== undefined ) { return data; } // We tried really hard, but the data doesn't exist. return; } // Set the data... this.each( function() { // We always store the camelCased key dataUser.set( this, key, value ); } ); }, null, value, arguments.length > 1, null, true ); }, removeData: function( key ) { return this.each( function() { dataUser.remove( this, key ); } ); } } ); jQuery.extend( { queue: function( elem, type, data ) { var queue; if ( elem ) { type = ( type || "fx" ) + "queue"; queue = dataPriv.get( elem, type ); // Speed up dequeue by getting out quickly if this is just a lookup if ( data ) { if ( !queue || Array.isArray( data ) ) { queue = dataPriv.access( elem, type, jQuery.makeArray( data ) ); } else { queue.push( data ); } } return queue || []; } }, dequeue: function( elem, type ) { type = type || "fx"; var queue = jQuery.queue( elem, type ), startLength = queue.length, fn = queue.shift(), hooks = jQuery._queueHooks( elem, type ), next = function() { jQuery.dequeue( elem, type ); }; // If the fx queue is dequeued, always remove the progress sentinel if ( fn === "inprogress" ) { fn = queue.shift(); startLength--; } if ( fn ) { // Add a progress sentinel to prevent the fx queue from being // automatically dequeued if ( type === "fx" ) { queue.unshift( "inprogress" ); } // Clear up the last queue stop function delete hooks.stop; fn.call( elem, next, hooks ); } if ( !startLength && hooks ) { hooks.empty.fire(); } }, // Not public - generate a queueHooks object, or return the current one _queueHooks: function( elem, type ) { var key = type + "queueHooks"; return dataPriv.get( elem, key ) || dataPriv.access( elem, key, { empty: jQuery.Callbacks( "once memory" ).add( function() { dataPriv.remove( elem, [ type + "queue", key ] ); } ) } ); } } ); jQuery.fn.extend( { queue: function( type, data ) { var setter = 2; if ( typeof type !== "string" ) { data = type; type = "fx"; setter--; } if ( arguments.length < setter ) { return jQuery.queue( this[ 0 ], type ); } return data === undefined ? this : this.each( function() { var queue = jQuery.queue( this, type, data ); // Ensure a hooks for this queue jQuery._queueHooks( this, type ); if ( type === "fx" && queue[ 0 ] !== "inprogress" ) { jQuery.dequeue( this, type ); } } ); }, dequeue: function( type ) { return this.each( function() { jQuery.dequeue( this, type ); } ); }, clearQueue: function( type ) { return this.queue( type || "fx", [] ); }, // Get a promise resolved when queues of a certain type // are emptied (fx is the type by default) promise: function( type, obj ) { var tmp, count = 1, defer = jQuery.Deferred(), elements = this, i = this.length, resolve = function() { if ( !( --count ) ) { defer.resolveWith( elements, [ elements ] ); } }; if ( typeof type !== "string" ) { obj = type; type = undefined; } type = type || "fx"; while ( i-- ) { tmp = dataPriv.get( elements[ i ], type + "queueHooks" ); if ( tmp && tmp.empty ) { count++; tmp.empty.add( resolve ); } } resolve(); return defer.promise( obj ); } } ); var pnum = ( /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/ ).source; var rcssNum = new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" ); var cssExpand = [ "Top", "Right", "Bottom", "Left" ]; var isHiddenWithinTree = function( elem, el ) { // isHiddenWithinTree might be called from jQuery#filter function; // in that case, element will be second argument elem = el || elem; // Inline style trumps all return elem.style.display === "none" || elem.style.display === "" && // Otherwise, check computed style // Support: Firefox <=43 - 45 // Disconnected elements can have computed display: none, so first confirm that elem is // in the document. jQuery.contains( elem.ownerDocument, elem ) && jQuery.css( elem, "display" ) === "none"; }; var swap = function( elem, options, callback, args ) { var ret, name, old = {}; // Remember the old values, and insert the new ones for ( name in options ) { old[ name ] = elem.style[ name ]; elem.style[ name ] = options[ name ]; } ret = callback.apply( elem, args || [] ); // Revert the old values for ( name in options ) { elem.style[ name ] = old[ name ]; } return ret; }; function adjustCSS( elem, prop, valueParts, tween ) { var adjusted, scale = 1, maxIterations = 20, currentValue = tween ? function() { return tween.cur(); } : function() { return jQuery.css( elem, prop, "" ); }, initial = currentValue(), unit = valueParts && valueParts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ), // Starting value computation is required for potential unit mismatches initialInUnit = ( jQuery.cssNumber[ prop ] || unit !== "px" && +initial ) && rcssNum.exec( jQuery.css( elem, prop ) ); if ( initialInUnit && initialInUnit[ 3 ] !== unit ) { // Trust units reported by jQuery.css unit = unit || initialInUnit[ 3 ]; // Make sure we update the tween properties later on valueParts = valueParts || []; // Iteratively approximate from a nonzero starting point initialInUnit = +initial || 1; do { // If previous iteration zeroed out, double until we get *something*. // Use string for doubling so we don't accidentally see scale as unchanged below scale = scale || ".5"; // Adjust and apply initialInUnit = initialInUnit / scale; jQuery.style( elem, prop, initialInUnit + unit ); // Update scale, tolerating zero or NaN from tween.cur() // Break the loop if scale is unchanged or perfect, or if we've just had enough. } while ( scale !== ( scale = currentValue() / initial ) && scale !== 1 && --maxIterations ); } if ( valueParts ) { initialInUnit = +initialInUnit || +initial || 0; // Apply relative offset (+=/-=) if specified adjusted = valueParts[ 1 ] ? initialInUnit + ( valueParts[ 1 ] + 1 ) * valueParts[ 2 ] : +valueParts[ 2 ]; if ( tween ) { tween.unit = unit; tween.start = initialInUnit; tween.end = adjusted; } } return adjusted; } var defaultDisplayMap = {}; function getDefaultDisplay( elem ) { var temp, doc = elem.ownerDocument, nodeName = elem.nodeName, display = defaultDisplayMap[ nodeName ]; if ( display ) { return display; } temp = doc.body.appendChild( doc.createElement( nodeName ) ); display = jQuery.css( temp, "display" ); temp.parentNode.removeChild( temp ); if ( display === "none" ) { display = "block"; } defaultDisplayMap[ nodeName ] = display; return display; } function showHide( elements, show ) { var display, elem, values = [], index = 0, length = elements.length; // Determine new display value for elements that need to change for ( ; index < length; index++ ) { elem = elements[ index ]; if ( !elem.style ) { continue; } display = elem.style.display; if ( show ) { // Since we force visibility upon cascade-hidden elements, an immediate (and slow) // check is required in this first loop unless we have a nonempty display value (either // inline or about-to-be-restored) if ( display === "none" ) { values[ index ] = dataPriv.get( elem, "display" ) || null; if ( !values[ index ] ) { elem.style.display = ""; } } if ( elem.style.display === "" && isHiddenWithinTree( elem ) ) { values[ index ] = getDefaultDisplay( elem ); } } else { if ( display !== "none" ) { values[ index ] = "none"; // Remember what we're overwriting dataPriv.set( elem, "display", display ); } } } // Set the display of the elements in a second loop to avoid constant reflow for ( index = 0; index < length; index++ ) { if ( values[ index ] != null ) { elements[ index ].style.display = values[ index ]; } } return elements; } jQuery.fn.extend( { show: function() { return showHide( this, true ); }, hide: function() { return showHide( this ); }, toggle: function( state ) { if ( typeof state === "boolean" ) { return state ? this.show() : this.hide(); } return this.each( function() { if ( isHiddenWithinTree( this ) ) { jQuery( this ).show(); } else { jQuery( this ).hide(); } } ); } } ); var rcheckableType = ( /^(?:checkbox|radio)$/i ); var rtagName = ( /<([a-z][^\/\0>\x20\t\r\n\f]+)/i ); var rscriptType = ( /^$|\/(?:java|ecma)script/i ); // We have to close these tags to support XHTML (#13200) var wrapMap = { // Support: IE <=9 only option: [ 1, "<select multiple='multiple'>", "</select>" ], // XHTML parsers do not magically insert elements in the // same way that tag soup parsers do. So we cannot shorten // this by omitting <tbody> or other required elements. 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, "", "" ] }; // Support: IE <=9 only wrapMap.optgroup = wrapMap.option; wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; wrapMap.th = wrapMap.td; function getAll( context, tag ) { // Support: IE <=9 - 11 only // Use typeof to avoid zero-argument method invocation on host objects (#15151) var ret; if ( typeof context.getElementsByTagName !== "undefined" ) { ret = context.getElementsByTagName( tag || "*" ); } else if ( typeof context.querySelectorAll !== "undefined" ) { ret = context.querySelectorAll( tag || "*" ); } else { ret = []; } if ( tag === undefined || tag && nodeName( context, tag ) ) { return jQuery.merge( [ context ], ret ); } return ret; } // Mark scripts as having already been evaluated function setGlobalEval( elems, refElements ) { var i = 0, l = elems.length; for ( ; i < l; i++ ) { dataPriv.set( elems[ i ], "globalEval", !refElements || dataPriv.get( refElements[ i ], "globalEval" ) ); } } var rhtml = /<|&#?\w+;/; function buildFragment( elems, context, scripts, selection, ignored ) { var elem, tmp, tag, wrap, contains, j, fragment = context.createDocumentFragment(), nodes = [], i = 0, l = elems.length; for ( ; i < l; i++ ) { elem = elems[ i ]; if ( elem || elem === 0 ) { // Add nodes directly if ( jQuery.type( elem ) === "object" ) { // Support: Android <=4.0 only, PhantomJS 1 only // push.apply(_, arraylike) throws on ancient WebKit jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); // Convert non-html into a text node } else if ( !rhtml.test( elem ) ) { nodes.push( context.createTextNode( elem ) ); // Convert html into DOM nodes } else { tmp = tmp || fragment.appendChild( context.createElement( "div" ) ); // Deserialize a standard representation tag = ( rtagName.exec( elem ) || [ "", "" ] )[ 1 ].toLowerCase(); wrap = wrapMap[ tag ] || wrapMap._default; tmp.innerHTML = wrap[ 1 ] + jQuery.htmlPrefilter( elem ) + wrap[ 2 ]; // Descend through wrappers to the right content j = wrap[ 0 ]; while ( j-- ) { tmp = tmp.lastChild; } // Support: Android <=4.0 only, PhantomJS 1 only // push.apply(_, arraylike) throws on ancient WebKit jQuery.merge( nodes, tmp.childNodes ); // Remember the top-level container tmp = fragment.firstChild; // Ensure the created nodes are orphaned (#12392) tmp.textContent = ""; } } } // Remove wrapper from fragment fragment.textContent = ""; i = 0; while ( ( elem = nodes[ i++ ] ) ) { // Skip elements already in the context collection (trac-4087) if ( selection && jQuery.inArray( elem, selection ) > -1 ) { if ( ignored ) { ignored.push( elem ); } continue; } contains = jQuery.contains( elem.ownerDocument, elem ); // Append to fragment tmp = getAll( fragment.appendChild( elem ), "script" ); // Preserve script evaluation history if ( contains ) { setGlobalEval( tmp ); } // Capture executables if ( scripts ) { j = 0; while ( ( elem = tmp[ j++ ] ) ) { if ( rscriptType.test( elem.type || "" ) ) { scripts.push( elem ); } } } } return fragment; } ( function() { var fragment = document.createDocumentFragment(), div = fragment.appendChild( document.createElement( "div" ) ), input = document.createElement( "input" ); // Support: Android 4.0 - 4.3 only // Check state lost if the name is set (#11217) // Support: Windows Web Apps (WWA) // `name` and `type` must use .setAttribute for WWA (#14901) input.setAttribute( "type", "radio" ); input.setAttribute( "checked", "checked" ); input.setAttribute( "name", "t" ); div.appendChild( input ); // Support: Android <=4.1 only // Older WebKit doesn't clone checked state correctly in fragments support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; // Support: IE <=11 only // Make sure textarea (and checkbox) defaultValue is properly cloned div.innerHTML = "<textarea>x</textarea>"; support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; } )(); var documentElement = document.documentElement; var rkeyEvent = /^key/, rmouseEvent = /^(?:mouse|pointer|contextmenu|drag|drop)|click/, rtypenamespace = /^([^.]*)(?:\.(.+)|)/; function returnTrue() { return true; } function returnFalse() { return false; } // Support: IE <=9 only // See #13393 for more info function safeActiveElement() { try { return document.activeElement; } catch ( err ) { } } function on( elem, types, selector, data, fn, one ) { var origFn, type; // Types can be a map of types/handlers if ( typeof types === "object" ) { // ( types-Object, selector, data ) if ( typeof selector !== "string" ) { // ( types-Object, data ) data = data || selector; selector = undefined; } for ( type in types ) { on( elem, type, selector, data, types[ type ], one ); } return elem; } if ( data == null && fn == null ) { // ( types, fn ) fn = selector; data = selector = undefined; } else if ( fn == null ) { if ( typeof selector === "string" ) { // ( types, selector, fn ) fn = data; data = undefined; } else { // ( types, data, fn ) fn = data; data = selector; selector = undefined; } } if ( fn === false ) { fn = returnFalse; } else if ( !fn ) { return elem; } if ( one === 1 ) { origFn = fn; fn = function( event ) { // Can use an empty set, since event contains the info jQuery().off( event ); return origFn.apply( this, arguments ); }; // Use same guid so caller can remove using origFn fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); } return elem.each( function() { jQuery.event.add( this, types, fn, data, selector ); } ); } /* * Helper functions for managing events -- not part of the public interface. * Props to Dean Edwards' addEvent library for many of the ideas. */ jQuery.event = { global: {}, add: function( elem, types, handler, data, selector ) { var handleObjIn, eventHandle, tmp, events, t, handleObj, special, handlers, type, namespaces, origType, elemData = dataPriv.get( elem ); // Don't attach events to noData or text/comment nodes (but allow plain objects) if ( !elemData ) { return; } // Caller can pass in an object of custom data in lieu of the handler if ( handler.handler ) { handleObjIn = handler; handler = handleObjIn.handler; selector = handleObjIn.selector; } // Ensure that invalid selectors throw exceptions at attach time // Evaluate against documentElement in case elem is a non-element node (e.g., document) if ( selector ) { jQuery.find.matchesSelector( documentElement, selector ); } // Make sure that the handler has a unique ID, used to find/remove it later if ( !handler.guid ) { handler.guid = jQuery.guid++; } // Init the element's event structure and main handler, if this is the first if ( !( events = elemData.events ) ) { events = elemData.events = {}; } if ( !( eventHandle = elemData.handle ) ) { eventHandle = elemData.handle = function( e ) { // Discard the second event of a jQuery.event.trigger() and // when an event is called after a page has unloaded return typeof jQuery !== "undefined" && jQuery.event.triggered !== e.type ? jQuery.event.dispatch.apply( elem, arguments ) : undefined; }; } // Handle multiple events separated by a space types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; t = types.length; while ( t-- ) { tmp = rtypenamespace.exec( types[ t ] ) || []; type = origType = tmp[ 1 ]; namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); // There *must* be a type, no attaching namespace-only handlers if ( !type ) { continue; } // If event changes its type, use the special event handlers for the changed type special = jQuery.event.special[ type ] || {}; // If selector defined, determine special event api type, otherwise given type type = ( selector ? special.delegateType : special.bindType ) || type; // Update special based on newly reset type special = jQuery.event.special[ type ] || {}; // handleObj is passed to all event handlers handleObj = jQuery.extend( { type: type, origType: origType, data: data, handler: handler, guid: handler.guid, selector: selector, needsContext: selector && jQuery.expr.match.needsContext.test( selector ), namespace: namespaces.join( "." ) }, handleObjIn ); // Init the event handler queue if we're the first if ( !( handlers = events[ type ] ) ) { handlers = events[ type ] = []; handlers.delegateCount = 0; // Only use addEventListener if the special events handler returns false if ( !special.setup || special.setup.call( elem, data, namespaces, eventHandle ) === false ) { if ( elem.addEventListener ) { elem.addEventListener( type, eventHandle ); } } } if ( special.add ) { special.add.call( elem, handleObj ); if ( !handleObj.handler.guid ) { handleObj.handler.guid = handler.guid; } } // Add to the element's handler list, delegates in front if ( selector ) { handlers.splice( handlers.delegateCount++, 0, handleObj ); } else { handlers.push( handleObj ); } // Keep track of which events have ever been used, for event optimization jQuery.event.global[ type ] = true; } }, // Detach an event or set of events from an element remove: function( elem, types, handler, selector, mappedTypes ) { var j, origCount, tmp, events, t, handleObj, special, handlers, type, namespaces, origType, elemData = dataPriv.hasData( elem ) && dataPriv.get( elem ); if ( !elemData || !( events = elemData.events ) ) { return; } // Once for each type.namespace in types; type may be omitted types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; t = types.length; while ( t-- ) { tmp = rtypenamespace.exec( types[ t ] ) || []; type = origType = tmp[ 1 ]; namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); // Unbind all events (on this namespace, if provided) for the element if ( !type ) { for ( type in events ) { jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); } continue; } special = jQuery.event.special[ type ] || {}; type = ( selector ? special.delegateType : special.bindType ) || type; handlers = events[ type ] || []; tmp = tmp[ 2 ] && new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ); // Remove matching events origCount = j = handlers.length; while ( j-- ) { handleObj = handlers[ j ]; if ( ( mappedTypes || origType === handleObj.origType ) && ( !handler || handler.guid === handleObj.guid ) && ( !tmp || tmp.test( handleObj.namespace ) ) && ( !selector || selector === handleObj.selector || selector === "**" && handleObj.selector ) ) { handlers.splice( j, 1 ); if ( handleObj.selector ) { handlers.delegateCount--; } if ( special.remove ) { special.remove.call( elem, handleObj ); } } } // Remove generic event handler if we removed something and no more handlers exist // (avoids potential for endless recursion during removal of special event handlers) if ( origCount && !handlers.length ) { if ( !special.teardown || special.teardown.call( elem, namespaces, elemData.handle ) === false ) { jQuery.removeEvent( elem, type, elemData.handle ); } delete events[ type ]; } } // Remove data and the expando if it's no longer used if ( jQuery.isEmptyObject( events ) ) { dataPriv.remove( elem, "handle events" ); } }, dispatch: function( nativeEvent ) { // Make a writable jQuery.Event from the native event object var event = jQuery.event.fix( nativeEvent ); var i, j, ret, matched, handleObj, handlerQueue, args = new Array( arguments.length ), handlers = ( dataPriv.get( this, "events" ) || {} )[ event.type ] || [], special = jQuery.event.special[ event.type ] || {}; // Use the fix-ed jQuery.Event rather than the (read-only) native event args[ 0 ] = event; for ( i = 1; i < arguments.length; i++ ) { args[ i ] = arguments[ i ]; } event.delegateTarget = this; // Call the preDispatch hook for the mapped type, and let it bail if desired if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { return; } // Determine handlers handlerQueue = jQuery.event.handlers.call( this, event, handlers ); // Run delegates first; they may want to stop propagation beneath us i = 0; while ( ( matched = handlerQueue[ i++ ] ) && !event.isPropagationStopped() ) { event.currentTarget = matched.elem; j = 0; while ( ( handleObj = matched.handlers[ j++ ] ) && !event.isImmediatePropagationStopped() ) { // Triggered event must either 1) have no namespace, or 2) have namespace(s) // a subset or equal to those in the bound event (both can have no namespace). if ( !event.rnamespace || event.rnamespace.test( handleObj.namespace ) ) { event.handleObj = handleObj; event.data = handleObj.data; ret = ( ( jQuery.event.special[ handleObj.origType ] || {} ).handle || handleObj.handler ).apply( matched.elem, args ); if ( ret !== undefined ) { if ( ( event.result = ret ) === false ) { event.preventDefault(); event.stopPropagation(); } } } } } // Call the postDispatch hook for the mapped type if ( special.postDispatch ) { special.postDispatch.call( this, event ); } return event.result; }, handlers: function( event, handlers ) { var i, handleObj, sel, matchedHandlers, matchedSelectors, handlerQueue = [], delegateCount = handlers.delegateCount, cur = event.target; // Find delegate handlers if ( delegateCount && // Support: IE <=9 // Black-hole SVG <use> instance trees (trac-13180) cur.nodeType && // Support: Firefox <=42 // Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861) // https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click // Support: IE 11 only // ...but not arrow key "clicks" of radio inputs, which can have `button` -1 (gh-2343) !( event.type === "click" && event.button >= 1 ) ) { for ( ; cur !== this; cur = cur.parentNode || this ) { // Don't check non-elements (#13208) // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) if ( cur.nodeType === 1 && !( event.type === "click" && cur.disabled === true ) ) { matchedHandlers = []; matchedSelectors = {}; for ( i = 0; i < delegateCount; i++ ) { handleObj = handlers[ i ]; // Don't conflict with Object.prototype properties (#13203) sel = handleObj.selector + " "; if ( matchedSelectors[ sel ] === undefined ) { matchedSelectors[ sel ] = handleObj.needsContext ? jQuery( sel, this ).index( cur ) > -1 : jQuery.find( sel, this, null, [ cur ] ).length; } if ( matchedSelectors[ sel ] ) { matchedHandlers.push( handleObj ); } } if ( matchedHandlers.length ) { handlerQueue.push( { elem: cur, handlers: matchedHandlers } ); } } } } // Add the remaining (directly-bound) handlers cur = this; if ( delegateCount < handlers.length ) { handlerQueue.push( { elem: cur, handlers: handlers.slice( delegateCount ) } ); } return handlerQueue; }, addProp: function( name, hook ) { Object.defineProperty( jQuery.Event.prototype, name, { enumerable: true, configurable: true, get: jQuery.isFunction( hook ) ? function() { if ( this.originalEvent ) { return hook( this.originalEvent ); } } : function() { if ( this.originalEvent ) { return this.originalEvent[ name ]; } }, set: function( value ) { Object.defineProperty( this, name, { enumerable: true, configurable: true, writable: true, value: value } ); } } ); }, fix: function( originalEvent ) { return originalEvent[ jQuery.expando ] ? originalEvent : new jQuery.Event( originalEvent ); }, special: { load: { // Prevent triggered image.load events from bubbling to window.load noBubble: true }, focus: { // Fire native event if possible so blur/focus sequence is correct trigger: function() { if ( this !== safeActiveElement() && this.focus ) { this.focus(); return false; } }, delegateType: "focusin" }, blur: { trigger: function() { if ( this === safeActiveElement() && this.blur ) { this.blur(); return false; } }, delegateType: "focusout" }, click: { // For checkbox, fire native event so checked state will be right trigger: function() { if ( this.type === "checkbox" && this.click && nodeName( this, "input" ) ) { this.click(); return false; } }, // For cross-browser consistency, don't fire native .click() on links _default: function( event ) { return nodeName( event.target, "a" ); } }, beforeunload: { postDispatch: function( event ) { // Support: Firefox 20+ // Firefox doesn't alert if the returnValue field is not set. if ( event.result !== undefined && event.originalEvent ) { event.originalEvent.returnValue = event.result; } } } } }; jQuery.removeEvent = function( elem, type, handle ) { // This "if" is needed for plain objects if ( elem.removeEventListener ) { elem.removeEventListener( type, handle ); } }; jQuery.Event = function( src, props ) { // Allow instantiation without the 'new' keyword if ( !( this instanceof jQuery.Event ) ) { return new jQuery.Event( src, props ); } // Event object if ( src && src.type ) { this.originalEvent = src; this.type = src.type; // Events bubbling up the document may have been marked as prevented // by a handler lower down the tree; reflect the correct value. this.isDefaultPrevented = src.defaultPrevented || src.defaultPrevented === undefined && // Support: Android <=2.3 only src.returnValue === false ? returnTrue : returnFalse; // Create target properties // Support: Safari <=6 - 7 only // Target should not be a text node (#504, #13143) this.target = ( src.target && src.target.nodeType === 3 ) ? src.target.parentNode : src.target; this.currentTarget = src.currentTarget; this.relatedTarget = src.relatedTarget; // Event type } else { this.type = src; } // Put explicitly provided properties onto the event object if ( props ) { jQuery.extend( this, props ); } // Create a timestamp if incoming event doesn't have one this.timeStamp = src && src.timeStamp || jQuery.now(); // Mark it as fixed this[ jQuery.expando ] = true; }; // jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding // https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html jQuery.Event.prototype = { constructor: jQuery.Event, isDefaultPrevented: returnFalse, isPropagationStopped: returnFalse, isImmediatePropagationStopped: returnFalse, isSimulated: false, preventDefault: function() { var e = this.originalEvent; this.isDefaultPrevented = returnTrue; if ( e && !this.isSimulated ) { e.preventDefault(); } }, stopPropagation: function() { var e = this.originalEvent; this.isPropagationStopped = returnTrue; if ( e && !this.isSimulated ) { e.stopPropagation(); } }, stopImmediatePropagation: function() { var e = this.originalEvent; this.isImmediatePropagationStopped = returnTrue; if ( e && !this.isSimulated ) { e.stopImmediatePropagation(); } this.stopPropagation(); } }; // Includes all common event props including KeyEvent and MouseEvent specific props jQuery.each( { altKey: true, bubbles: true, cancelable: true, changedTouches: true, ctrlKey: true, detail: true, eventPhase: true, metaKey: true, pageX: true, pageY: true, shiftKey: true, view: true, "char": true, charCode: true, key: true, keyCode: true, button: true, buttons: true, clientX: true, clientY: true, offsetX: true, offsetY: true, pointerId: true, pointerType: true, screenX: true, screenY: true, targetTouches: true, toElement: true, touches: true, which: function( event ) { var button = event.button; // Add which for key events if ( event.which == null && rkeyEvent.test( event.type ) ) { return event.charCode != null ? event.charCode : event.keyCode; } // Add which for click: 1 === left; 2 === middle; 3 === right if ( !event.which && button !== undefined && rmouseEvent.test( event.type ) ) { if ( button & 1 ) { return 1; } if ( button & 2 ) { return 3; } if ( button & 4 ) { return 2; } return 0; } return event.which; } }, jQuery.event.addProp ); // Create mouseenter/leave events using mouseover/out and event-time checks // so that event delegation works in jQuery. // Do the same for pointerenter/pointerleave and pointerover/pointerout // // Support: Safari 7 only // Safari sends mouseenter too often; see: // https://bugs.chromium.org/p/chromium/issues/detail?id=470258 // for the description of the bug (it existed in older Chrome versions as well). jQuery.each( { mouseenter: "mouseover", mouseleave: "mouseout", pointerenter: "pointerover", pointerleave: "pointerout" }, function( orig, fix ) { jQuery.event.special[ orig ] = { delegateType: fix, bindType: fix, handle: function( event ) { var ret, target = this, related = event.relatedTarget, handleObj = event.handleObj; // For mouseenter/leave call the handler if related is outside the target. // NB: No relatedTarget if the mouse left/entered the browser window if ( !related || ( related !== target && !jQuery.contains( target, related ) ) ) { event.type = handleObj.origType; ret = handleObj.handler.apply( this, arguments ); event.type = fix; } return ret; } }; } ); jQuery.fn.extend( { on: function( types, selector, data, fn ) { return on( this, types, selector, data, fn ); }, one: function( types, selector, data, fn ) { return on( this, types, selector, data, fn, 1 ); }, off: function( types, selector, fn ) { var handleObj, type; if ( types && types.preventDefault && types.handleObj ) { // ( event ) dispatched jQuery.Event handleObj = types.handleObj; jQuery( types.delegateTarget ).off( handleObj.namespace ? handleObj.origType + "." + handleObj.namespace : handleObj.origType, handleObj.selector, handleObj.handler ); return this; } if ( typeof types === "object" ) { // ( types-object [, selector] ) for ( type in types ) { this.off( type, selector, types[ type ] ); } return this; } if ( selector === false || typeof selector === "function" ) { // ( types [, fn] ) fn = selector; selector = undefined; } if ( fn === false ) { fn = returnFalse; } return this.each( function() { jQuery.event.remove( this, types, fn, selector ); } ); } } ); var /* eslint-disable max-len */ // See https://github.com/eslint/eslint/issues/3229 rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi, /* eslint-enable */ // Support: IE <=10 - 11, Edge 12 - 13 // In IE/Edge using regex groups here causes severe slowdowns. // See https://connect.microsoft.com/IE/feedback/details/1736512/ rnoInnerhtml = /<script|<style|<link/i, // checked="checked" or checked rchecked = /checked\s*(?:[^=]|=\s*.checked.)/i, rscriptTypeMasked = /^true\/(.*)/, rcleanScript = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g; // Prefer a tbody over its parent table for containing new rows function manipulationTarget( elem, content ) { if ( nodeName( elem, "table" ) && nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ) { return jQuery( ">tbody", elem )[ 0 ] || elem; } return elem; } // Replace/restore the type attribute of script elements for safe DOM manipulation function disableScript( elem ) { elem.type = ( elem.getAttribute( "type" ) !== null ) + "/" + elem.type; return elem; } function restoreScript( elem ) { var match = rscriptTypeMasked.exec( elem.type ); if ( match ) { elem.type = match[ 1 ]; } else { elem.removeAttribute( "type" ); } return elem; } function cloneCopyEvent( src, dest ) { var i, l, type, pdataOld, pdataCur, udataOld, udataCur, events; if ( dest.nodeType !== 1 ) { return; } // 1. Copy private data: events, handlers, etc. if ( dataPriv.hasData( src ) ) { pdataOld = dataPriv.access( src ); pdataCur = dataPriv.set( dest, pdataOld ); events = pdataOld.events; if ( events ) { delete pdataCur.handle; pdataCur.events = {}; for ( type in events ) { for ( i = 0, l = events[ type ].length; i < l; i++ ) { jQuery.event.add( dest, type, events[ type ][ i ] ); } } } } // 2. Copy user data if ( dataUser.hasData( src ) ) { udataOld = dataUser.access( src ); udataCur = jQuery.extend( {}, udataOld ); dataUser.set( dest, udataCur ); } } // Fix IE bugs, see support tests function fixInput( src, dest ) { var nodeName = dest.nodeName.toLowerCase(); // Fails to persist the checked state of a cloned checkbox or radio button. if ( nodeName === "input" && rcheckableType.test( src.type ) ) { dest.checked = src.checked; // Fails to return the selected option to the default selected state when cloning options } else if ( nodeName === "input" || nodeName === "textarea" ) { dest.defaultValue = src.defaultValue; } } function domManip( collection, args, callback, ignored ) { // Flatten any nested arrays args = concat.apply( [], args ); var fragment, first, scripts, hasScripts, node, doc, i = 0, l = collection.length, iNoClone = l - 1, value = args[ 0 ], isFunction = jQuery.isFunction( value ); // We can't cloneNode fragments that contain checked, in WebKit if ( isFunction || ( l > 1 && typeof value === "string" && !support.checkClone && rchecked.test( value ) ) ) { return collection.each( function( index ) { var self = collection.eq( index ); if ( isFunction ) { args[ 0 ] = value.call( this, index, self.html() ); } domManip( self, args, callback, ignored ); } ); } if ( l ) { fragment = buildFragment( args, collection[ 0 ].ownerDocument, false, collection, ignored ); first = fragment.firstChild; if ( fragment.childNodes.length === 1 ) { fragment = first; } // Require either new content or an interest in ignored elements to invoke the callback if ( first || ignored ) { scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); hasScripts = scripts.length; // Use the original fragment for the last item // instead of the first because it can end up // being emptied incorrectly in certain situations (#8070). for ( ; i < l; i++ ) { node = fragment; if ( i !== iNoClone ) { node = jQuery.clone( node, true, true ); // Keep references to cloned scripts for later restoration if ( hasScripts ) { // Support: Android <=4.0 only, PhantomJS 1 only // push.apply(_, arraylike) throws on ancient WebKit jQuery.merge( scripts, getAll( node, "script" ) ); } } callback.call( collection[ i ], node, i ); } if ( hasScripts ) { doc = scripts[ scripts.length - 1 ].ownerDocument; // Reenable scripts jQuery.map( scripts, restoreScript ); // Evaluate executable scripts on first document insertion for ( i = 0; i < hasScripts; i++ ) { node = scripts[ i ]; if ( rscriptType.test( node.type || "" ) && !dataPriv.access( node, "globalEval" ) && jQuery.contains( doc, node ) ) { if ( node.src ) { // Optional AJAX dependency, but won't run scripts if not present if ( jQuery._evalUrl ) { jQuery._evalUrl( node.src ); } } else { DOMEval( node.textContent.replace( rcleanScript, "" ), doc ); } } } } } } return collection; } function remove( elem, selector, keepData ) { var node, nodes = selector ? jQuery.filter( selector, elem ) : elem, i = 0; for ( ; ( node = nodes[ i ] ) != null; i++ ) { if ( !keepData && node.nodeType === 1 ) { jQuery.cleanData( getAll( node ) ); } if ( node.parentNode ) { if ( keepData && jQuery.contains( node.ownerDocument, node ) ) { setGlobalEval( getAll( node, "script" ) ); } node.parentNode.removeChild( node ); } } return elem; } jQuery.extend( { htmlPrefilter: function( html ) { return html.replace( rxhtmlTag, "<$1></$2>" ); }, clone: function( elem, dataAndEvents, deepDataAndEvents ) { var i, l, srcElements, destElements, clone = elem.cloneNode( true ), inPage = jQuery.contains( elem.ownerDocument, elem ); // Fix IE cloning issues if ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) && !jQuery.isXMLDoc( elem ) ) { // We eschew Sizzle here for performance reasons: https://jsperf.com/getall-vs-sizzle/2 destElements = getAll( clone ); srcElements = getAll( elem ); for ( i = 0, l = srcElements.length; i < l; i++ ) { fixInput( srcElements[ i ], destElements[ i ] ); } } // Copy the events from the original to the clone if ( dataAndEvents ) { if ( deepDataAndEvents ) { srcElements = srcElements || getAll( elem ); destElements = destElements || getAll( clone ); for ( i = 0, l = srcElements.length; i < l; i++ ) { cloneCopyEvent( srcElements[ i ], destElements[ i ] ); } } else { cloneCopyEvent( elem, clone ); } } // Preserve script evaluation history destElements = getAll( clone, "script" ); if ( destElements.length > 0 ) { setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); } // Return the cloned set return clone; }, cleanData: function( elems ) { var data, elem, type, special = jQuery.event.special, i = 0; for ( ; ( elem = elems[ i ] ) !== undefined; i++ ) { if ( acceptData( elem ) ) { if ( ( data = elem[ dataPriv.expando ] ) ) { if ( data.events ) { for ( type in data.events ) { if ( special[ type ] ) { jQuery.event.remove( elem, type ); // This is a shortcut to avoid jQuery.event.remove's overhead } else { jQuery.removeEvent( elem, type, data.handle ); } } } // Support: Chrome <=35 - 45+ // Assign undefined instead of using delete, see Data#remove elem[ dataPriv.expando ] = undefined; } if ( elem[ dataUser.expando ] ) { // Support: Chrome <=35 - 45+ // Assign undefined instead of using delete, see Data#remove elem[ dataUser.expando ] = undefined; } } } } } ); jQuery.fn.extend( { detach: function( selector ) { return remove( this, selector, true ); }, remove: function( selector ) { return remove( this, selector ); }, text: function( value ) { return access( this, function( value ) { return value === undefined ? jQuery.text( this ) : this.empty().each( function() { if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { this.textContent = value; } } ); }, null, value, arguments.length ); }, append: function() { return domManip( this, arguments, function( elem ) { if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { var target = manipulationTarget( this, elem ); target.appendChild( elem ); } } ); }, prepend: function() { return domManip( this, arguments, function( elem ) { if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { var target = manipulationTarget( this, elem ); target.insertBefore( elem, target.firstChild ); } } ); }, before: function() { return domManip( this, arguments, function( elem ) { if ( this.parentNode ) { this.parentNode.insertBefore( elem, this ); } } ); }, after: function() { return domManip( this, arguments, function( elem ) { if ( this.parentNode ) { this.parentNode.insertBefore( elem, this.nextSibling ); } } ); }, empty: function() { var elem, i = 0; for ( ; ( elem = this[ i ] ) != null; i++ ) { if ( elem.nodeType === 1 ) { // Prevent memory leaks jQuery.cleanData( getAll( elem, false ) ); // Remove any remaining nodes elem.textContent = ""; } } return this; }, clone: function( dataAndEvents, deepDataAndEvents ) { dataAndEvents = dataAndEvents == null ? false : dataAndEvents; deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; return this.map( function() { return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); } ); }, html: function( value ) { return access( this, function( value ) { var elem = this[ 0 ] || {}, i = 0, l = this.length; if ( value === undefined && elem.nodeType === 1 ) { return elem.innerHTML; } // See if we can take a shortcut and just use innerHTML if ( typeof value === "string" && !rnoInnerhtml.test( value ) && !wrapMap[ ( rtagName.exec( value ) || [ "", "" ] )[ 1 ].toLowerCase() ] ) { value = jQuery.htmlPrefilter( value ); try { for ( ; i < l; i++ ) { elem = this[ i ] || {}; // Remove element nodes and prevent memory leaks if ( elem.nodeType === 1 ) { jQuery.cleanData( getAll( elem, false ) ); elem.innerHTML = value; } } elem = 0; // If using innerHTML throws an exception, use the fallback method } catch ( e ) {} } if ( elem ) { this.empty().append( value ); } }, null, value, arguments.length ); }, replaceWith: function() { var ignored = []; // Make the changes, replacing each non-ignored context element with the new content return domManip( this, arguments, function( elem ) { var parent = this.parentNode; if ( jQuery.inArray( this, ignored ) < 0 ) { jQuery.cleanData( getAll( this ) ); if ( parent ) { parent.replaceChild( elem, this ); } } // Force callback invocation }, ignored ); } } ); jQuery.each( { appendTo: "append", prependTo: "prepend", insertBefore: "before", insertAfter: "after", replaceAll: "replaceWith" }, function( name, original ) { jQuery.fn[ name ] = function( selector ) { var elems, ret = [], insert = jQuery( selector ), last = insert.length - 1, i = 0; for ( ; i <= last; i++ ) { elems = i === last ? this : this.clone( true ); jQuery( insert[ i ] )[ original ]( elems ); // Support: Android <=4.0 only, PhantomJS 1 only // .get() because push.apply(_, arraylike) throws on ancient WebKit push.apply( ret, elems.get() ); } return this.pushStack( ret ); }; } ); var rmargin = ( /^margin/ ); var rnumnonpx = new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" ); var getStyles = function( elem ) { // Support: IE <=11 only, Firefox <=30 (#15098, #14150) // IE throws on elements created in popups // FF meanwhile throws on frame elements through "defaultView.getComputedStyle" var view = elem.ownerDocument.defaultView; if ( !view || !view.opener ) { view = window; } return view.getComputedStyle( elem ); }; ( function() { // Executing both pixelPosition & boxSizingReliable tests require only one layout // so they're executed at the same time to save the second computation. function computeStyleTests() { // This is a singleton, we need to execute it only once if ( !div ) { return; } div.style.cssText = "box-sizing:border-box;" + "position:relative;display:block;" + "margin:auto;border:1px;padding:1px;" + "top:1%;width:50%"; div.innerHTML = ""; documentElement.appendChild( container ); var divStyle = window.getComputedStyle( div ); pixelPositionVal = divStyle.top !== "1%"; // Support: Android 4.0 - 4.3 only, Firefox <=3 - 44 reliableMarginLeftVal = divStyle.marginLeft === "2px"; boxSizingReliableVal = divStyle.width === "4px"; // Support: Android 4.0 - 4.3 only // Some styles come back with percentage values, even though they shouldn't div.style.marginRight = "50%"; pixelMarginRightVal = divStyle.marginRight === "4px"; documentElement.removeChild( container ); // Nullify the div so it wouldn't be stored in the memory and // it will also be a sign that checks already performed div = null; } var pixelPositionVal, boxSizingReliableVal, pixelMarginRightVal, reliableMarginLeftVal, container = document.createElement( "div" ), div = document.createElement( "div" ); // Finish early in limited (non-browser) environments if ( !div.style ) { return; } // Support: IE <=9 - 11 only // Style of cloned element affects source element cloned (#8908) div.style.backgroundClip = "content-box"; div.cloneNode( true ).style.backgroundClip = ""; support.clearCloneStyle = div.style.backgroundClip === "content-box"; container.style.cssText = "border:0;width:8px;height:0;top:0;left:-9999px;" + "padding:0;margin-top:1px;position:absolute"; container.appendChild( div ); jQuery.extend( support, { pixelPosition: function() { computeStyleTests(); return pixelPositionVal; }, boxSizingReliable: function() { computeStyleTests(); return boxSizingReliableVal; }, pixelMarginRight: function() { computeStyleTests(); return pixelMarginRightVal; }, reliableMarginLeft: function() { computeStyleTests(); return reliableMarginLeftVal; } } ); } )(); function curCSS( elem, name, computed ) { var width, minWidth, maxWidth, ret, // Support: Firefox 51+ // Retrieving style before computed somehow // fixes an issue with getting wrong values // on detached elements style = elem.style; computed = computed || getStyles( elem ); // getPropertyValue is needed for: // .css('filter') (IE 9 only, #12537) // .css('--customProperty) (#3144) if ( computed ) { ret = computed.getPropertyValue( name ) || computed[ name ]; if ( ret === "" && !jQuery.contains( elem.ownerDocument, elem ) ) { ret = jQuery.style( elem, name ); } // A tribute to the "awesome hack by Dean Edwards" // Android Browser returns percentage for some values, // but width seems to be reliably pixels. // This is against the CSSOM draft spec: // https://drafts.csswg.org/cssom/#resolved-values if ( !support.pixelMarginRight() && rnumnonpx.test( ret ) && rmargin.test( name ) ) { // Remember the original values width = style.width; minWidth = style.minWidth; maxWidth = style.maxWidth; // Put in the new values to get a computed value out style.minWidth = style.maxWidth = style.width = ret; ret = computed.width; // Revert the changed values style.width = width; style.minWidth = minWidth; style.maxWidth = maxWidth; } } return ret !== undefined ? // Support: IE <=9 - 11 only // IE returns zIndex value as an integer. ret + "" : ret; } function addGetHookIf( conditionFn, hookFn ) { // Define the hook, we'll check on the first run if it's really needed. return { get: function() { if ( conditionFn() ) { // Hook not needed (or it's not possible to use it due // to missing dependency), remove it. delete this.get; return; } // Hook needed; redefine it so that the support test is not executed again. return ( this.get = hookFn ).apply( this, arguments ); } }; } var // Swappable if display is none or starts with table // except "table", "table-cell", or "table-caption" // See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display rdisplayswap = /^(none|table(?!-c[ea]).+)/, rcustomProp = /^--/, cssShow = { position: "absolute", visibility: "hidden", display: "block" }, cssNormalTransform = { letterSpacing: "0", fontWeight: "400" }, cssPrefixes = [ "Webkit", "Moz", "ms" ], emptyStyle = document.createElement( "div" ).style; // Return a css property mapped to a potentially vendor prefixed property function vendorPropName( name ) { // Shortcut for names that are not vendor prefixed if ( name in emptyStyle ) { return name; } // Check for vendor prefixed names var capName = name[ 0 ].toUpperCase() + name.slice( 1 ), i = cssPrefixes.length; while ( i-- ) { name = cssPrefixes[ i ] + capName; if ( name in emptyStyle ) { return name; } } } // Return a property mapped along what jQuery.cssProps suggests or to // a vendor prefixed property. function finalPropName( name ) { var ret = jQuery.cssProps[ name ]; if ( !ret ) { ret = jQuery.cssProps[ name ] = vendorPropName( name ) || name; } return ret; } function setPositiveNumber( elem, value, subtract ) { // Any relative (+/-) values have already been // normalized at this point var matches = rcssNum.exec( value ); return matches ? // Guard against undefined "subtract", e.g., when used as in cssHooks Math.max( 0, matches[ 2 ] - ( subtract || 0 ) ) + ( matches[ 3 ] || "px" ) : value; } function augmentWidthOrHeight( elem, name, extra, isBorderBox, styles ) { var i, val = 0; // If we already have the right measurement, avoid augmentation if ( extra === ( isBorderBox ? "border" : "content" ) ) { i = 4; // Otherwise initialize for horizontal or vertical properties } else { i = name === "width" ? 1 : 0; } for ( ; i < 4; i += 2 ) { // Both box models exclude margin, so add it if we want it if ( extra === "margin" ) { val += jQuery.css( elem, extra + cssExpand[ i ], true, styles ); } if ( isBorderBox ) { // border-box includes padding, so remove it if we want content if ( extra === "content" ) { val -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); } // At this point, extra isn't border nor margin, so remove border if ( extra !== "margin" ) { val -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); } } else { // At this point, extra isn't content, so add padding val += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); // At this point, extra isn't content nor padding, so add border if ( extra !== "padding" ) { val += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); } } } return val; } function getWidthOrHeight( elem, name, extra ) { // Start with computed style var valueIsBorderBox, styles = getStyles( elem ), val = curCSS( elem, name, styles ), isBorderBox = jQuery.css( elem, "boxSizing", false, styles ) === "border-box"; // Computed unit is not pixels. Stop here and return. if ( rnumnonpx.test( val ) ) { return val; } // Check for style in case a browser which returns unreliable values // for getComputedStyle silently falls back to the reliable elem.style valueIsBorderBox = isBorderBox && ( support.boxSizingReliable() || val === elem.style[ name ] ); // Fall back to offsetWidth/Height when value is "auto" // This happens for inline elements with no explicit setting (gh-3571) if ( val === "auto" ) { val = elem[ "offset" + name[ 0 ].toUpperCase() + name.slice( 1 ) ]; } // Normalize "", auto, and prepare for extra val = parseFloat( val ) || 0; // Use the active box-sizing model to add/subtract irrelevant styles return ( val + augmentWidthOrHeight( elem, name, extra || ( isBorderBox ? "border" : "content" ), valueIsBorderBox, styles ) ) + "px"; } jQuery.extend( { // Add in style property hooks for overriding the default // behavior of getting and setting a style property cssHooks: { opacity: { get: function( elem, computed ) { if ( computed ) { // We should always get a number back from opacity var ret = curCSS( elem, "opacity" ); return ret === "" ? "1" : ret; } } } }, // Don't automatically add "px" to these possibly-unitless properties cssNumber: { "animationIterationCount": true, "columnCount": true, "fillOpacity": true, "flexGrow": true, "flexShrink": true, "fontWeight": true, "lineHeight": true, "opacity": true, "order": true, "orphans": true, "widows": true, "zIndex": true, "zoom": true }, // Add in properties whose names you wish to fix before // setting or getting the value cssProps: { "float": "cssFloat" }, // Get and set the style property on a DOM Node style: function( elem, name, value, extra ) { // Don't set styles on text and comment nodes if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) { return; } // Make sure that we're working with the right name var ret, type, hooks, origName = jQuery.camelCase( name ), isCustomProp = rcustomProp.test( name ), style = elem.style; // Make sure that we're working with the right name. We don't // want to query the value if it is a CSS custom property // since they are user-defined. if ( !isCustomProp ) { name = finalPropName( origName ); } // Gets hook for the prefixed version, then unprefixed version hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; // Check if we're setting a value if ( value !== undefined ) { type = typeof value; // Convert "+=" or "-=" to relative numbers (#7345) if ( type === "string" && ( ret = rcssNum.exec( value ) ) && ret[ 1 ] ) { value = adjustCSS( elem, name, ret ); // Fixes bug #9237 type = "number"; } // Make sure that null and NaN values aren't set (#7116) if ( value == null || value !== value ) { return; } // If a number was passed in, add the unit (except for certain CSS properties) if ( type === "number" ) { value += ret && ret[ 3 ] || ( jQuery.cssNumber[ origName ] ? "" : "px" ); } // background-* props affect original clone's values if ( !support.clearCloneStyle && value === "" && name.indexOf( "background" ) === 0 ) { style[ name ] = "inherit"; } // If a hook was provided, use that value, otherwise just set the specified value if ( !hooks || !( "set" in hooks ) || ( value = hooks.set( elem, value, extra ) ) !== undefined ) { if ( isCustomProp ) { style.setProperty( name, value ); } else { style[ name ] = value; } } } else { // If a hook was provided get the non-computed value from there if ( hooks && "get" in hooks && ( ret = hooks.get( elem, false, extra ) ) !== undefined ) { return ret; } // Otherwise just get the value from the style object return style[ name ]; } }, css: function( elem, name, extra, styles ) { var val, num, hooks, origName = jQuery.camelCase( name ), isCustomProp = rcustomProp.test( name ); // Make sure that we're working with the right name. We don't // want to modify the value if it is a CSS custom property // since they are user-defined. if ( !isCustomProp ) { name = finalPropName( origName ); } // Try prefixed name followed by the unprefixed name hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; // If a hook was provided get the computed value from there if ( hooks && "get" in hooks ) { val = hooks.get( elem, true, extra ); } // Otherwise, if a way to get the computed value exists, use that if ( val === undefined ) { val = curCSS( elem, name, styles ); } // Convert "normal" to computed value if ( val === "normal" && name in cssNormalTransform ) { val = cssNormalTransform[ name ]; } // Make numeric if forced or a qualifier was provided and val looks numeric if ( extra === "" || extra ) { num = parseFloat( val ); return extra === true || isFinite( num ) ? num || 0 : val; } return val; } } ); jQuery.each( [ "height", "width" ], function( i, name ) { jQuery.cssHooks[ name ] = { get: function( elem, computed, extra ) { if ( computed ) { // Certain elements can have dimension info if we invisibly show them // but it must have a current display style that would benefit return rdisplayswap.test( jQuery.css( elem, "display" ) ) && // Support: Safari 8+ // Table columns in Safari have non-zero offsetWidth & zero // getBoundingClientRect().width unless display is changed. // Support: IE <=11 only // Running getBoundingClientRect on a disconnected node // in IE throws an error. ( !elem.getClientRects().length || !elem.getBoundingClientRect().width ) ? swap( elem, cssShow, function() { return getWidthOrHeight( elem, name, extra ); } ) : getWidthOrHeight( elem, name, extra ); } }, set: function( elem, value, extra ) { var matches, styles = extra && getStyles( elem ), subtract = extra && augmentWidthOrHeight( elem, name, extra, jQuery.css( elem, "boxSizing", false, styles ) === "border-box", styles ); // Convert to pixels if value adjustment is needed if ( subtract && ( matches = rcssNum.exec( value ) ) && ( matches[ 3 ] || "px" ) !== "px" ) { elem.style[ name ] = value; value = jQuery.css( elem, name ); } return setPositiveNumber( elem, value, subtract ); } }; } ); jQuery.cssHooks.marginLeft = addGetHookIf( support.reliableMarginLeft, function( elem, computed ) { if ( computed ) { return ( parseFloat( curCSS( elem, "marginLeft" ) ) || elem.getBoundingClientRect().left - swap( elem, { marginLeft: 0 }, function() { return elem.getBoundingClientRect().left; } ) ) + "px"; } } ); // These hooks are used by animate to expand properties jQuery.each( { margin: "", padding: "", border: "Width" }, function( prefix, suffix ) { jQuery.cssHooks[ prefix + suffix ] = { expand: function( value ) { var i = 0, expanded = {}, // Assumes a single number if not a string parts = typeof value === "string" ? value.split( " " ) : [ value ]; for ( ; i < 4; i++ ) { expanded[ prefix + cssExpand[ i ] + suffix ] = parts[ i ] || parts[ i - 2 ] || parts[ 0 ]; } return expanded; } }; if ( !rmargin.test( prefix ) ) { jQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber; } } ); jQuery.fn.extend( { css: function( name, value ) { return access( this, function( elem, name, value ) { var styles, len, map = {}, i = 0; if ( Array.isArray( name ) ) { styles = getStyles( elem ); len = name.length; for ( ; i < len; i++ ) { map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles ); } return map; } return value !== undefined ? jQuery.style( elem, name, value ) : jQuery.css( elem, name ); }, name, value, arguments.length > 1 ); } } ); function Tween( elem, options, prop, end, easing ) { return new Tween.prototype.init( elem, options, prop, end, easing ); } jQuery.Tween = Tween; Tween.prototype = { constructor: Tween, init: function( elem, options, prop, end, easing, unit ) { this.elem = elem; this.prop = prop; this.easing = easing || jQuery.easing._default; this.options = options; this.start = this.now = this.cur(); this.end = end; this.unit = unit || ( jQuery.cssNumber[ prop ] ? "" : "px" ); }, cur: function() { var hooks = Tween.propHooks[ this.prop ]; return hooks && hooks.get ? hooks.get( this ) : Tween.propHooks._default.get( this ); }, run: function( percent ) { var eased, hooks = Tween.propHooks[ this.prop ]; if ( this.options.duration ) { this.pos = eased = jQuery.easing[ this.easing ]( percent, this.options.duration * percent, 0, 1, this.options.duration ); } else { this.pos = eased = percent; } this.now = ( this.end - this.start ) * eased + this.start; if ( this.options.step ) { this.options.step.call( this.elem, this.now, this ); } if ( hooks && hooks.set ) { hooks.set( this ); } else { Tween.propHooks._default.set( this ); } return this; } }; Tween.prototype.init.prototype = Tween.prototype; Tween.propHooks = { _default: { get: function( tween ) { var result; // Use a property on the element directly when it is not a DOM element, // or when there is no matching style property that exists. if ( tween.elem.nodeType !== 1 || tween.elem[ tween.prop ] != null && tween.elem.style[ tween.prop ] == null ) { return tween.elem[ tween.prop ]; } // Passing an empty string as a 3rd parameter to .css will automatically // attempt a parseFloat and fallback to a string if the parse fails. // Simple values such as "10px" are parsed to Float; // complex values such as "rotate(1rad)" are returned as-is. result = jQuery.css( tween.elem, tween.prop, "" ); // Empty strings, null, undefined and "auto" are converted to 0. return !result || result === "auto" ? 0 : result; }, set: function( tween ) { // Use step hook for back compat. // Use cssHook if its there. // Use .style if available and use plain properties where available. if ( jQuery.fx.step[ tween.prop ] ) { jQuery.fx.step[ tween.prop ]( tween ); } else if ( tween.elem.nodeType === 1 && ( tween.elem.style[ jQuery.cssProps[ tween.prop ] ] != null || jQuery.cssHooks[ tween.prop ] ) ) { jQuery.style( tween.elem, tween.prop, tween.now + tween.unit ); } else { tween.elem[ tween.prop ] = tween.now; } } } }; // Support: IE <=9 only // Panic based approach to setting things on disconnected nodes Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = { set: function( tween ) { if ( tween.elem.nodeType && tween.elem.parentNode ) { tween.elem[ tween.prop ] = tween.now; } } }; jQuery.easing = { linear: function( p ) { return p; }, swing: function( p ) { return 0.5 - Math.cos( p * Math.PI ) / 2; }, _default: "swing" }; jQuery.fx = Tween.prototype.init; // Back compat <1.8 extension point jQuery.fx.step = {}; var fxNow, inProgress, rfxtypes = /^(?:toggle|show|hide)$/, rrun = /queueHooks$/; function schedule() { if ( inProgress ) { if ( document.hidden === false && window.requestAnimationFrame ) { window.requestAnimationFrame( schedule ); } else { window.setTimeout( schedule, jQuery.fx.interval ); } jQuery.fx.tick(); } } // Animations created synchronously will run synchronously function createFxNow() { window.setTimeout( function() { fxNow = undefined; } ); return ( fxNow = jQuery.now() ); } // Generate parameters to create a standard animation function genFx( type, includeWidth ) { var which, i = 0, attrs = { height: type }; // If we include width, step value is 1 to do all cssExpand values, // otherwise step value is 2 to skip over Left and Right includeWidth = includeWidth ? 1 : 0; for ( ; i < 4; i += 2 - includeWidth ) { which = cssExpand[ i ]; attrs[ "margin" + which ] = attrs[ "padding" + which ] = type; } if ( includeWidth ) { attrs.opacity = attrs.width = type; } return attrs; } function createTween( value, prop, animation ) { var tween, collection = ( Animation.tweeners[ prop ] || [] ).concat( Animation.tweeners[ "*" ] ), index = 0, length = collection.length; for ( ; index < length; index++ ) { if ( ( tween = collection[ index ].call( animation, prop, value ) ) ) { // We're done with this property return tween; } } } function defaultPrefilter( elem, props, opts ) { var prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display, isBox = "width" in props || "height" in props, anim = this, orig = {}, style = elem.style, hidden = elem.nodeType && isHiddenWithinTree( elem ), dataShow = dataPriv.get( elem, "fxshow" ); // Queue-skipping animations hijack the fx hooks if ( !opts.queue ) { hooks = jQuery._queueHooks( elem, "fx" ); if ( hooks.unqueued == null ) { hooks.unqueued = 0; oldfire = hooks.empty.fire; hooks.empty.fire = function() { if ( !hooks.unqueued ) { oldfire(); } }; } hooks.unqueued++; anim.always( function() { // Ensure the complete handler is called before this completes anim.always( function() { hooks.unqueued--; if ( !jQuery.queue( elem, "fx" ).length ) { hooks.empty.fire(); } } ); } ); } // Detect show/hide animations for ( prop in props ) { value = props[ prop ]; if ( rfxtypes.test( value ) ) { delete props[ prop ]; toggle = toggle || value === "toggle"; if ( value === ( hidden ? "hide" : "show" ) ) { // Pretend to be hidden if this is a "show" and // there is still data from a stopped show/hide if ( value === "show" && dataShow && dataShow[ prop ] !== undefined ) { hidden = true; // Ignore all other no-op show/hide data } else { continue; } } orig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop ); } } // Bail out if this is a no-op like .hide().hide() propTween = !jQuery.isEmptyObject( props ); if ( !propTween && jQuery.isEmptyObject( orig ) ) { return; } // Restrict "overflow" and "display" styles during box animations if ( isBox && elem.nodeType === 1 ) { // Support: IE <=9 - 11, Edge 12 - 13 // Record all 3 overflow attributes because IE does not infer the shorthand // from identically-valued overflowX and overflowY opts.overflow = [ style.overflow, style.overflowX, style.overflowY ]; // Identify a display type, preferring old show/hide data over the CSS cascade restoreDisplay = dataShow && dataShow.display; if ( restoreDisplay == null ) { restoreDisplay = dataPriv.get( elem, "display" ); } display = jQuery.css( elem, "display" ); if ( display === "none" ) { if ( restoreDisplay ) { display = restoreDisplay; } else { // Get nonempty value(s) by temporarily forcing visibility showHide( [ elem ], true ); restoreDisplay = elem.style.display || restoreDisplay; display = jQuery.css( elem, "display" ); showHide( [ elem ] ); } } // Animate inline elements as inline-block if ( display === "inline" || display === "inline-block" && restoreDisplay != null ) { if ( jQuery.css( elem, "float" ) === "none" ) { // Restore the original display value at the end of pure show/hide animations if ( !propTween ) { anim.done( function() { style.display = restoreDisplay; } ); if ( restoreDisplay == null ) { display = style.display; restoreDisplay = display === "none" ? "" : display; } } style.display = "inline-block"; } } } if ( opts.overflow ) { style.overflow = "hidden"; anim.always( function() { style.overflow = opts.overflow[ 0 ]; style.overflowX = opts.overflow[ 1 ]; style.overflowY = opts.overflow[ 2 ]; } ); } // Implement show/hide animations propTween = false; for ( prop in orig ) { // General show/hide setup for this element animation if ( !propTween ) { if ( dataShow ) { if ( "hidden" in dataShow ) { hidden = dataShow.hidden; } } else { dataShow = dataPriv.access( elem, "fxshow", { display: restoreDisplay } ); } // Store hidden/visible for toggle so `.stop().toggle()` "reverses" if ( toggle ) { dataShow.hidden = !hidden; } // Show elements before animating them if ( hidden ) { showHide( [ elem ], true ); } /* eslint-disable no-loop-func */ anim.done( function() { /* eslint-enable no-loop-func */ // The final step of a "hide" animation is actually hiding the element if ( !hidden ) { showHide( [ elem ] ); } dataPriv.remove( elem, "fxshow" ); for ( prop in orig ) { jQuery.style( elem, prop, orig[ prop ] ); } } ); } // Per-property setup propTween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim ); if ( !( prop in dataShow ) ) { dataShow[ prop ] = propTween.start; if ( hidden ) { propTween.end = propTween.start; propTween.start = 0; } } } } function propFilter( props, specialEasing ) { var index, name, easing, value, hooks; // camelCase, specialEasing and expand cssHook pass for ( index in props ) { name = jQuery.camelCase( index ); easing = specialEasing[ name ]; value = props[ index ]; if ( Array.isArray( value ) ) { easing = value[ 1 ]; value = props[ index ] = value[ 0 ]; } if ( index !== name ) { props[ name ] = value; delete props[ index ]; } hooks = jQuery.cssHooks[ name ]; if ( hooks && "expand" in hooks ) { value = hooks.expand( value ); delete props[ name ]; // Not quite $.extend, this won't overwrite existing keys. // Reusing 'index' because we have the correct "name" for ( index in value ) { if ( !( index in props ) ) { props[ index ] = value[ index ]; specialEasing[ index ] = easing; } } } else { specialEasing[ name ] = easing; } } } function Animation( elem, properties, options ) { var result, stopped, index = 0, length = Animation.prefilters.length, deferred = jQuery.Deferred().always( function() { // Don't match elem in the :animated selector delete tick.elem; } ), tick = function() { if ( stopped ) { return false; } var currentTime = fxNow || createFxNow(), remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ), // Support: Android 2.3 only // Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497) temp = remaining / animation.duration || 0, percent = 1 - temp, index = 0, length = animation.tweens.length; for ( ; index < length; index++ ) { animation.tweens[ index ].run( percent ); } deferred.notifyWith( elem, [ animation, percent, remaining ] ); // If there's more to do, yield if ( percent < 1 && length ) { return remaining; } // If this was an empty animation, synthesize a final progress notification if ( !length ) { deferred.notifyWith( elem, [ animation, 1, 0 ] ); } // Resolve the animation and report its conclusion deferred.resolveWith( elem, [ animation ] ); return false; }, animation = deferred.promise( { elem: elem, props: jQuery.extend( {}, properties ), opts: jQuery.extend( true, { specialEasing: {}, easing: jQuery.easing._default }, options ), originalProperties: properties, originalOptions: options, startTime: fxNow || createFxNow(), duration: options.duration, tweens: [], createTween: function( prop, end ) { var tween = jQuery.Tween( elem, animation.opts, prop, end, animation.opts.specialEasing[ prop ] || animation.opts.easing ); animation.tweens.push( tween ); return tween; }, stop: function( gotoEnd ) { var index = 0, // If we are going to the end, we want to run all the tweens // otherwise we skip this part length = gotoEnd ? animation.tweens.length : 0; if ( stopped ) { return this; } stopped = true; for ( ; index < length; index++ ) { animation.tweens[ index ].run( 1 ); } // Resolve when we played the last frame; otherwise, reject if ( gotoEnd ) { deferred.notifyWith( elem, [ animation, 1, 0 ] ); deferred.resolveWith( elem, [ animation, gotoEnd ] ); } else { deferred.rejectWith( elem, [ animation, gotoEnd ] ); } return this; } } ), props = animation.props; propFilter( props, animation.opts.specialEasing ); for ( ; index < length; index++ ) { result = Animation.prefilters[ index ].call( animation, elem, props, animation.opts ); if ( result ) { if ( jQuery.isFunction( result.stop ) ) { jQuery._queueHooks( animation.elem, animation.opts.queue ).stop = jQuery.proxy( result.stop, result ); } return result; } } jQuery.map( props, createTween, animation ); if ( jQuery.isFunction( animation.opts.start ) ) { animation.opts.start.call( elem, animation ); } // Attach callbacks from options animation .progress( animation.opts.progress ) .done( animation.opts.done, animation.opts.complete ) .fail( animation.opts.fail ) .always( animation.opts.always ); jQuery.fx.timer( jQuery.extend( tick, { elem: elem, anim: animation, queue: animation.opts.queue } ) ); return animation; } jQuery.Animation = jQuery.extend( Animation, { tweeners: { "*": [ function( prop, value ) { var tween = this.createTween( prop, value ); adjustCSS( tween.elem, prop, rcssNum.exec( value ), tween ); return tween; } ] }, tweener: function( props, callback ) { if ( jQuery.isFunction( props ) ) { callback = props; props = [ "*" ]; } else { props = props.match( rnothtmlwhite ); } var prop, index = 0, length = props.length; for ( ; index < length; index++ ) { prop = props[ index ]; Animation.tweeners[ prop ] = Animation.tweeners[ prop ] || []; Animation.tweeners[ prop ].unshift( callback ); } }, prefilters: [ defaultPrefilter ], prefilter: function( callback, prepend ) { if ( prepend ) { Animation.prefilters.unshift( callback ); } else { Animation.prefilters.push( callback ); } } } ); jQuery.speed = function( speed, easing, fn ) { var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : { complete: fn || !fn && easing || jQuery.isFunction( speed ) && speed, duration: speed, easing: fn && easing || easing && !jQuery.isFunction( easing ) && easing }; // Go to the end state if fx are off if ( jQuery.fx.off ) { opt.duration = 0; } else { if ( typeof opt.duration !== "number" ) { if ( opt.duration in jQuery.fx.speeds ) { opt.duration = jQuery.fx.speeds[ opt.duration ]; } else { opt.duration = jQuery.fx.speeds._default; } } } // Normalize opt.queue - true/undefined/null -> "fx" if ( opt.queue == null || opt.queue === true ) { opt.queue = "fx"; } // Queueing opt.old = opt.complete; opt.complete = function() { if ( jQuery.isFunction( opt.old ) ) { opt.old.call( this ); } if ( opt.queue ) { jQuery.dequeue( this, opt.queue ); } }; return opt; }; jQuery.fn.extend( { fadeTo: function( speed, to, easing, callback ) { // Show any hidden elements after setting opacity to 0 return this.filter( isHiddenWithinTree ).css( "opacity", 0 ).show() // Animate to the value specified .end().animate( { opacity: to }, speed, easing, callback ); }, animate: function( prop, speed, easing, callback ) { var empty = jQuery.isEmptyObject( prop ), optall = jQuery.speed( speed, easing, callback ), doAnimation = function() { // Operate on a copy of prop so per-property easing won't be lost var anim = Animation( this, jQuery.extend( {}, prop ), optall ); // Empty animations, or finishing resolves immediately if ( empty || dataPriv.get( this, "finish" ) ) { anim.stop( true ); } }; doAnimation.finish = doAnimation; return empty || optall.queue === false ? this.each( doAnimation ) : this.queue( optall.queue, doAnimation ); }, stop: function( type, clearQueue, gotoEnd ) { var stopQueue = function( hooks ) { var stop = hooks.stop; delete hooks.stop; stop( gotoEnd ); }; if ( typeof type !== "string" ) { gotoEnd = clearQueue; clearQueue = type; type = undefined; } if ( clearQueue && type !== false ) { this.queue( type || "fx", [] ); } return this.each( function() { var dequeue = true, index = type != null && type + "queueHooks", timers = jQuery.timers, data = dataPriv.get( this ); if ( index ) { if ( data[ index ] && data[ index ].stop ) { stopQueue( data[ index ] ); } } else { for ( index in data ) { if ( data[ index ] && data[ index ].stop && rrun.test( index ) ) { stopQueue( data[ index ] ); } } } for ( index = timers.length; index--; ) { if ( timers[ index ].elem === this && ( type == null || timers[ index ].queue === type ) ) { timers[ index ].anim.stop( gotoEnd ); dequeue = false; timers.splice( index, 1 ); } } // Start the next in the queue if the last step wasn't forced. // Timers currently will call their complete callbacks, which // will dequeue but only if they were gotoEnd. if ( dequeue || !gotoEnd ) { jQuery.dequeue( this, type ); } } ); }, finish: function( type ) { if ( type !== false ) { type = type || "fx"; } return this.each( function() { var index, data = dataPriv.get( this ), queue = data[ type + "queue" ], hooks = data[ type + "queueHooks" ], timers = jQuery.timers, length = queue ? queue.length : 0; // Enable finishing flag on private data data.finish = true; // Empty the queue first jQuery.queue( this, type, [] ); if ( hooks && hooks.stop ) { hooks.stop.call( this, true ); } // Look for any active animations, and finish them for ( index = timers.length; index--; ) { if ( timers[ index ].elem === this && timers[ index ].queue === type ) { timers[ index ].anim.stop( true ); timers.splice( index, 1 ); } } // Look for any animations in the old queue and finish them for ( index = 0; index < length; index++ ) { if ( queue[ index ] && queue[ index ].finish ) { queue[ index ].finish.call( this ); } } // Turn off finishing flag delete data.finish; } ); } } ); jQuery.each( [ "toggle", "show", "hide" ], function( i, name ) { var cssFn = jQuery.fn[ name ]; jQuery.fn[ name ] = function( speed, easing, callback ) { return speed == null || typeof speed === "boolean" ? cssFn.apply( this, arguments ) : this.animate( genFx( name, true ), speed, easing, callback ); }; } ); // Generate shortcuts for custom animations jQuery.each( { slideDown: genFx( "show" ), slideUp: genFx( "hide" ), slideToggle: genFx( "toggle" ), fadeIn: { opacity: "show" }, fadeOut: { opacity: "hide" }, fadeToggle: { opacity: "toggle" } }, function( name, props ) { jQuery.fn[ name ] = function( speed, easing, callback ) { return this.animate( props, speed, easing, callback ); }; } ); jQuery.timers = []; jQuery.fx.tick = function() { var timer, i = 0, timers = jQuery.timers; fxNow = jQuery.now(); for ( ; i < timers.length; i++ ) { timer = timers[ i ]; // Run the timer and safely remove it when done (allowing for external removal) if ( !timer() && timers[ i ] === timer ) { timers.splice( i--, 1 ); } } if ( !timers.length ) { jQuery.fx.stop(); } fxNow = undefined; }; jQuery.fx.timer = function( timer ) { jQuery.timers.push( timer ); jQuery.fx.start(); }; jQuery.fx.interval = 13; jQuery.fx.start = function() { if ( inProgress ) { return; } inProgress = true; schedule(); }; jQuery.fx.stop = function() { inProgress = null; }; jQuery.fx.speeds = { slow: 600, fast: 200, // Default speed _default: 400 }; // Based off of the plugin by Clint Helfers, with permission. // https://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/ jQuery.fn.delay = function( time, type ) { time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; type = type || "fx"; return this.queue( type, function( next, hooks ) { var timeout = window.setTimeout( next, time ); hooks.stop = function() { window.clearTimeout( timeout ); }; } ); }; ( function() { var input = document.createElement( "input" ), select = document.createElement( "select" ), opt = select.appendChild( document.createElement( "option" ) ); input.type = "checkbox"; // Support: Android <=4.3 only // Default value for a checkbox should be "on" support.checkOn = input.value !== ""; // Support: IE <=11 only // Must access selectedIndex to make default options select support.optSelected = opt.selected; // Support: IE <=11 only // An input loses its value after becoming a radio input = document.createElement( "input" ); input.value = "t"; input.type = "radio"; support.radioValue = input.value === "t"; } )(); var boolHook, attrHandle = jQuery.expr.attrHandle; jQuery.fn.extend( { attr: function( name, value ) { return access( this, jQuery.attr, name, value, arguments.length > 1 ); }, removeAttr: function( name ) { return this.each( function() { jQuery.removeAttr( this, name ); } ); } } ); jQuery.extend( { attr: function( elem, name, value ) { var ret, hooks, nType = elem.nodeType; // Don't get/set attributes on text, comment and attribute nodes if ( nType === 3 || nType === 8 || nType === 2 ) { return; } // Fallback to prop when attributes are not supported if ( typeof elem.getAttribute === "undefined" ) { return jQuery.prop( elem, name, value ); } // Attribute hooks are determined by the lowercase version // Grab necessary hook if one is defined if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { hooks = jQuery.attrHooks[ name.toLowerCase() ] || ( jQuery.expr.match.bool.test( name ) ? boolHook : undefined ); } if ( value !== undefined ) { if ( value === null ) { jQuery.removeAttr( elem, name ); return; } if ( hooks && "set" in hooks && ( ret = hooks.set( elem, value, name ) ) !== undefined ) { return ret; } elem.setAttribute( name, value + "" ); return value; } if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { return ret; } ret = jQuery.find.attr( elem, name ); // Non-existent attributes return null, we normalize to undefined return ret == null ? undefined : ret; }, attrHooks: { type: { set: function( elem, value ) { if ( !support.radioValue && value === "radio" && nodeName( elem, "input" ) ) { var val = elem.value; elem.setAttribute( "type", value ); if ( val ) { elem.value = val; } return value; } } } }, removeAttr: function( elem, value ) { var name, i = 0, // Attribute names can contain non-HTML whitespace characters // https://html.spec.whatwg.org/multipage/syntax.html#attributes-2 attrNames = value && value.match( rnothtmlwhite ); if ( attrNames && elem.nodeType === 1 ) { while ( ( name = attrNames[ i++ ] ) ) { elem.removeAttribute( name ); } } } } ); // Hooks for boolean attributes boolHook = { set: function( elem, value, name ) { if ( value === false ) { // Remove boolean attributes when set to false jQuery.removeAttr( elem, name ); } else { elem.setAttribute( name, name ); } return name; } }; jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( i, name ) { var getter = attrHandle[ name ] || jQuery.find.attr; attrHandle[ name ] = function( elem, name, isXML ) { var ret, handle, lowercaseName = name.toLowerCase(); if ( !isXML ) { // Avoid an infinite loop by temporarily removing this function from the getter handle = attrHandle[ lowercaseName ]; attrHandle[ lowercaseName ] = ret; ret = getter( elem, name, isXML ) != null ? lowercaseName : null; attrHandle[ lowercaseName ] = handle; } return ret; }; } ); var rfocusable = /^(?:input|select|textarea|button)$/i, rclickable = /^(?:a|area)$/i; jQuery.fn.extend( { prop: function( name, value ) { return access( this, jQuery.prop, name, value, arguments.length > 1 ); }, removeProp: function( name ) { return this.each( function() { delete this[ jQuery.propFix[ name ] || name ]; } ); } } ); jQuery.extend( { prop: function( elem, name, value ) { var ret, hooks, nType = elem.nodeType; // Don't get/set properties on text, comment and attribute nodes if ( nType === 3 || nType === 8 || nType === 2 ) { return; } if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { // Fix name and attach hooks name = jQuery.propFix[ name ] || name; hooks = jQuery.propHooks[ name ]; } if ( value !== undefined ) { if ( hooks && "set" in hooks && ( ret = hooks.set( elem, value, name ) ) !== undefined ) { return ret; } return ( elem[ name ] = value ); } if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { return ret; } return elem[ name ]; }, propHooks: { tabIndex: { get: function( elem ) { // Support: IE <=9 - 11 only // elem.tabIndex doesn't always return the // correct value when it hasn't been explicitly set // https://web.archive.org/web/20141116233347/http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ // Use proper attribute retrieval(#12072) var tabindex = jQuery.find.attr( elem, "tabindex" ); if ( tabindex ) { return parseInt( tabindex, 10 ); } if ( rfocusable.test( elem.nodeName ) || rclickable.test( elem.nodeName ) && elem.href ) { return 0; } return -1; } } }, propFix: { "for": "htmlFor", "class": "className" } } ); // Support: IE <=11 only // Accessing the selectedIndex property // forces the browser to respect setting selected // on the option // The getter ensures a default option is selected // when in an optgroup // eslint rule "no-unused-expressions" is disabled for this code // since it considers such accessions noop if ( !support.optSelected ) { jQuery.propHooks.selected = { get: function( elem ) { /* eslint no-unused-expressions: "off" */ var parent = elem.parentNode; if ( parent && parent.parentNode ) { parent.parentNode.selectedIndex; } return null; }, set: function( elem ) { /* eslint no-unused-expressions: "off" */ var parent = elem.parentNode; if ( parent ) { parent.selectedIndex; if ( parent.parentNode ) { parent.parentNode.selectedIndex; } } } }; } jQuery.each( [ "tabIndex", "readOnly", "maxLength", "cellSpacing", "cellPadding", "rowSpan", "colSpan", "useMap", "frameBorder", "contentEditable" ], function() { jQuery.propFix[ this.toLowerCase() ] = this; } ); // Strip and collapse whitespace according to HTML spec // https://html.spec.whatwg.org/multipage/infrastructure.html#strip-and-collapse-whitespace function stripAndCollapse( value ) { var tokens = value.match( rnothtmlwhite ) || []; return tokens.join( " " ); } function getClass( elem ) { return elem.getAttribute && elem.getAttribute( "class" ) || ""; } jQuery.fn.extend( { addClass: function( value ) { var classes, elem, cur, curValue, clazz, j, finalValue, i = 0; if ( jQuery.isFunction( value ) ) { return this.each( function( j ) { jQuery( this ).addClass( value.call( this, j, getClass( this ) ) ); } ); } if ( typeof value === "string" && value ) { classes = value.match( rnothtmlwhite ) || []; while ( ( elem = this[ i++ ] ) ) { curValue = getClass( elem ); cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); if ( cur ) { j = 0; while ( ( clazz = classes[ j++ ] ) ) { if ( cur.indexOf( " " + clazz + " " ) < 0 ) { cur += clazz + " "; } } // Only assign if different to avoid unneeded rendering. finalValue = stripAndCollapse( cur ); if ( curValue !== finalValue ) { elem.setAttribute( "class", finalValue ); } } } } return this; }, removeClass: function( value ) { var classes, elem, cur, curValue, clazz, j, finalValue, i = 0; if ( jQuery.isFunction( value ) ) { return this.each( function( j ) { jQuery( this ).removeClass( value.call( this, j, getClass( this ) ) ); } ); } if ( !arguments.length ) { return this.attr( "class", "" ); } if ( typeof value === "string" && value ) { classes = value.match( rnothtmlwhite ) || []; while ( ( elem = this[ i++ ] ) ) { curValue = getClass( elem ); // This expression is here for better compressibility (see addClass) cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); if ( cur ) { j = 0; while ( ( clazz = classes[ j++ ] ) ) { // Remove *all* instances while ( cur.indexOf( " " + clazz + " " ) > -1 ) { cur = cur.replace( " " + clazz + " ", " " ); } } // Only assign if different to avoid unneeded rendering. finalValue = stripAndCollapse( cur ); if ( curValue !== finalValue ) { elem.setAttribute( "class", finalValue ); } } } } return this; }, toggleClass: function( value, stateVal ) { var type = typeof value; if ( typeof stateVal === "boolean" && type === "string" ) { return stateVal ? this.addClass( value ) : this.removeClass( value ); } if ( jQuery.isFunction( value ) ) { return this.each( function( i ) { jQuery( this ).toggleClass( value.call( this, i, getClass( this ), stateVal ), stateVal ); } ); } return this.each( function() { var className, i, self, classNames; if ( type === "string" ) { // Toggle individual class names i = 0; self = jQuery( this ); classNames = value.match( rnothtmlwhite ) || []; while ( ( className = classNames[ i++ ] ) ) { // Check each className given, space separated list if ( self.hasClass( className ) ) { self.removeClass( className ); } else { self.addClass( className ); } } // Toggle whole class name } else if ( value === undefined || type === "boolean" ) { className = getClass( this ); if ( className ) { // Store className if set dataPriv.set( this, "__className__", className ); } // If the element has a class name or if we're passed `false`, // then remove the whole classname (if there was one, the above saved it). // Otherwise bring back whatever was previously saved (if anything), // falling back to the empty string if nothing was stored. if ( this.setAttribute ) { this.setAttribute( "class", className || value === false ? "" : dataPriv.get( this, "__className__" ) || "" ); } } } ); }, hasClass: function( selector ) { var className, elem, i = 0; className = " " + selector + " "; while ( ( elem = this[ i++ ] ) ) { if ( elem.nodeType === 1 && ( " " + stripAndCollapse( getClass( elem ) ) + " " ).indexOf( className ) > -1 ) { return true; } } return false; } } ); var rreturn = /\r/g; jQuery.fn.extend( { val: function( value ) { var hooks, ret, isFunction, elem = this[ 0 ]; if ( !arguments.length ) { if ( elem ) { hooks = jQuery.valHooks[ elem.type ] || jQuery.valHooks[ elem.nodeName.toLowerCase() ]; if ( hooks && "get" in hooks && ( ret = hooks.get( elem, "value" ) ) !== undefined ) { return ret; } ret = elem.value; // Handle most common string cases if ( typeof ret === "string" ) { return ret.replace( rreturn, "" ); } // Handle cases where value is null/undef or number return ret == null ? "" : ret; } return; } isFunction = jQuery.isFunction( value ); return this.each( function( i ) { var val; if ( this.nodeType !== 1 ) { return; } if ( isFunction ) { val = value.call( this, i, jQuery( this ).val() ); } else { val = value; } // Treat null/undefined as ""; convert numbers to string if ( val == null ) { val = ""; } else if ( typeof val === "number" ) { val += ""; } else if ( Array.isArray( val ) ) { val = jQuery.map( val, function( value ) { return value == null ? "" : value + ""; } ); } hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ]; // If set returns undefined, fall back to normal setting if ( !hooks || !( "set" in hooks ) || hooks.set( this, val, "value" ) === undefined ) { this.value = val; } } ); } } ); jQuery.extend( { valHooks: { option: { get: function( elem ) { var val = jQuery.find.attr( elem, "value" ); return val != null ? val : // Support: IE <=10 - 11 only // option.text throws exceptions (#14686, #14858) // Strip and collapse whitespace // https://html.spec.whatwg.org/#strip-and-collapse-whitespace stripAndCollapse( jQuery.text( elem ) ); } }, select: { get: function( elem ) { var value, option, i, options = elem.options, index = elem.selectedIndex, one = elem.type === "select-one", values = one ? null : [], max = one ? index + 1 : options.length; if ( index < 0 ) { i = max; } else { i = one ? index : 0; } // Loop through all the selected options for ( ; i < max; i++ ) { option = options[ i ]; // Support: IE <=9 only // IE8-9 doesn't update selected after form reset (#2551) if ( ( option.selected || i === index ) && // Don't return options that are disabled or in a disabled optgroup !option.disabled && ( !option.parentNode.disabled || !nodeName( option.parentNode, "optgroup" ) ) ) { // Get the specific value for the option value = jQuery( option ).val(); // We don't need an array for one selects if ( one ) { return value; } // Multi-Selects return an array values.push( value ); } } return values; }, set: function( elem, value ) { var optionSet, option, options = elem.options, values = jQuery.makeArray( value ), i = options.length; while ( i-- ) { option = options[ i ]; /* eslint-disable no-cond-assign */ if ( option.selected = jQuery.inArray( jQuery.valHooks.option.get( option ), values ) > -1 ) { optionSet = true; } /* eslint-enable no-cond-assign */ } // Force browsers to behave consistently when non-matching value is set if ( !optionSet ) { elem.selectedIndex = -1; } return values; } } } } ); // Radios and checkboxes getter/setter jQuery.each( [ "radio", "checkbox" ], function() { jQuery.valHooks[ this ] = { set: function( elem, value ) { if ( Array.isArray( value ) ) { return ( elem.checked = jQuery.inArray( jQuery( elem ).val(), value ) > -1 ); } } }; if ( !support.checkOn ) { jQuery.valHooks[ this ].get = function( elem ) { return elem.getAttribute( "value" ) === null ? "on" : elem.value; }; } } ); // Return jQuery for attributes-only inclusion var rfocusMorph = /^(?:focusinfocus|focusoutblur)$/; jQuery.extend( jQuery.event, { trigger: function( event, data, elem, onlyHandlers ) { var i, cur, tmp, bubbleType, ontype, handle, special, eventPath = [ elem || document ], type = hasOwn.call( event, "type" ) ? event.type : event, namespaces = hasOwn.call( event, "namespace" ) ? event.namespace.split( "." ) : []; cur = tmp = elem = elem || document; // Don't do events on text and comment nodes if ( elem.nodeType === 3 || elem.nodeType === 8 ) { return; } // focus/blur morphs to focusin/out; ensure we're not firing them right now if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { return; } if ( type.indexOf( "." ) > -1 ) { // Namespaced trigger; create a regexp to match event type in handle() namespaces = type.split( "." ); type = namespaces.shift(); namespaces.sort(); } ontype = type.indexOf( ":" ) < 0 && "on" + type; // Caller can pass in a jQuery.Event object, Object, or just an event type string event = event[ jQuery.expando ] ? event : new jQuery.Event( type, typeof event === "object" && event ); // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true) event.isTrigger = onlyHandlers ? 2 : 3; event.namespace = namespaces.join( "." ); event.rnamespace = event.namespace ? new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ) : null; // Clean up the event in case it is being reused event.result = undefined; if ( !event.target ) { event.target = elem; } // Clone any incoming data and prepend the event, creating the handler arg list data = data == null ? [ event ] : jQuery.makeArray( data, [ event ] ); // Allow special events to draw outside the lines special = jQuery.event.special[ type ] || {}; if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { return; } // Determine event propagation path in advance, per W3C events spec (#9951) // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) if ( !onlyHandlers && !special.noBubble && !jQuery.isWindow( elem ) ) { bubbleType = special.delegateType || type; if ( !rfocusMorph.test( bubbleType + type ) ) { cur = cur.parentNode; } for ( ; cur; cur = cur.parentNode ) { eventPath.push( cur ); tmp = cur; } // Only add window if we got to document (e.g., not plain obj or detached DOM) if ( tmp === ( elem.ownerDocument || document ) ) { eventPath.push( tmp.defaultView || tmp.parentWindow || window ); } } // Fire handlers on the event path i = 0; while ( ( cur = eventPath[ i++ ] ) && !event.isPropagationStopped() ) { event.type = i > 1 ? bubbleType : special.bindType || type; // jQuery handler handle = ( dataPriv.get( cur, "events" ) || {} )[ event.type ] && dataPriv.get( cur, "handle" ); if ( handle ) { handle.apply( cur, data ); } // Native handler handle = ontype && cur[ ontype ]; if ( handle && handle.apply && acceptData( cur ) ) { event.result = handle.apply( cur, data ); if ( event.result === false ) { event.preventDefault(); } } } event.type = type; // If nobody prevented the default action, do it now if ( !onlyHandlers && !event.isDefaultPrevented() ) { if ( ( !special._default || special._default.apply( eventPath.pop(), data ) === false ) && acceptData( elem ) ) { // Call a native DOM method on the target with the same name as the event. // Don't do default actions on window, that's where global variables be (#6170) if ( ontype && jQuery.isFunction( elem[ type ] ) && !jQuery.isWindow( elem ) ) { // Don't re-trigger an onFOO event when we call its FOO() method tmp = elem[ ontype ]; if ( tmp ) { elem[ ontype ] = null; } // Prevent re-triggering of the same event, since we already bubbled it above jQuery.event.triggered = type; elem[ type ](); jQuery.event.triggered = undefined; if ( tmp ) { elem[ ontype ] = tmp; } } } } return event.result; }, // Piggyback on a donor event to simulate a different one // Used only for `focus(in | out)` events simulate: function( type, elem, event ) { var e = jQuery.extend( new jQuery.Event(), event, { type: type, isSimulated: true } ); jQuery.event.trigger( e, null, elem ); } } ); jQuery.fn.extend( { trigger: function( type, data ) { return this.each( function() { jQuery.event.trigger( type, data, this ); } ); }, triggerHandler: function( type, data ) { var elem = this[ 0 ]; if ( elem ) { return jQuery.event.trigger( type, data, elem, true ); } } } ); jQuery.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( i, name ) { // Handle event binding jQuery.fn[ name ] = function( data, fn ) { return arguments.length > 0 ? this.on( name, null, data, fn ) : this.trigger( name ); }; } ); jQuery.fn.extend( { hover: function( fnOver, fnOut ) { return this.mouseenter( fnOver ).mouseleave( fnOut || fnOver ); } } ); support.focusin = "onfocusin" in window; // Support: Firefox <=44 // Firefox doesn't have focus(in | out) events // Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787 // // Support: Chrome <=48 - 49, Safari <=9.0 - 9.1 // focus(in | out) events fire after focus & blur events, // which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order // Related ticket - https://bugs.chromium.org/p/chromium/issues/detail?id=449857 if ( !support.focusin ) { jQuery.each( { focus: "focusin", blur: "focusout" }, function( orig, fix ) { // Attach a single capturing handler on the document while someone wants focusin/focusout var handler = function( event ) { jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ) ); }; jQuery.event.special[ fix ] = { setup: function() { var doc = this.ownerDocument || this, attaches = dataPriv.access( doc, fix ); if ( !attaches ) { doc.addEventListener( orig, handler, true ); } dataPriv.access( doc, fix, ( attaches || 0 ) + 1 ); }, teardown: function() { var doc = this.ownerDocument || this, attaches = dataPriv.access( doc, fix ) - 1; if ( !attaches ) { doc.removeEventListener( orig, handler, true ); dataPriv.remove( doc, fix ); } else { dataPriv.access( doc, fix, attaches ); } } }; } ); } var location = window.location; var nonce = jQuery.now(); var rquery = ( /\?/ ); // Cross-browser xml parsing jQuery.parseXML = function( data ) { var xml; if ( !data || typeof data !== "string" ) { return null; } // Support: IE 9 - 11 only // IE throws on parseFromString with invalid input. try { xml = ( new window.DOMParser() ).parseFromString( data, "text/xml" ); } catch ( e ) { xml = undefined; } if ( !xml || xml.getElementsByTagName( "parsererror" ).length ) { jQuery.error( "Invalid XML: " + data ); } return xml; }; var rbracket = /\[\]$/, rCRLF = /\r?\n/g, rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i, rsubmittable = /^(?:input|select|textarea|keygen)/i; function buildParams( prefix, obj, traditional, add ) { var name; if ( Array.isArray( obj ) ) { // Serialize array item. jQuery.each( obj, function( i, v ) { if ( traditional || rbracket.test( prefix ) ) { // Treat each array item as a scalar. add( prefix, v ); } else { // Item is non-scalar (array or object), encode its numeric index. buildParams( prefix + "[" + ( typeof v === "object" && v != null ? i : "" ) + "]", v, traditional, add ); } } ); } else if ( !traditional && jQuery.type( obj ) === "object" ) { // Serialize object item. for ( name in obj ) { buildParams( prefix + "[" + name + "]", obj[ name ], traditional, add ); } } else { // Serialize scalar item. add( prefix, obj ); } } // Serialize an array of form elements or a set of // key/values into a query string jQuery.param = function( a, traditional ) { var prefix, s = [], add = function( key, valueOrFunction ) { // If value is a function, invoke it and use its return value var value = jQuery.isFunction( valueOrFunction ) ? valueOrFunction() : valueOrFunction; s[ s.length ] = encodeURIComponent( key ) + "=" + encodeURIComponent( value == null ? "" : value ); }; // If an array was passed in, assume that it is an array of form elements. if ( Array.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) { // Serialize the form elements jQuery.each( a, function() { add( this.name, this.value ); } ); } else { // If traditional, encode the "old" way (the way 1.3.2 or older // did it), otherwise encode params recursively. for ( prefix in a ) { buildParams( prefix, a[ prefix ], traditional, add ); } } // Return the resulting serialization return s.join( "&" ); }; jQuery.fn.extend( { serialize: function() { return jQuery.param( this.serializeArray() ); }, serializeArray: function() { return this.map( function() { // Can add propHook for "elements" to filter or add form elements var elements = jQuery.prop( this, "elements" ); return elements ? jQuery.makeArray( elements ) : this; } ) .filter( function() { var type = this.type; // Use .is( ":disabled" ) so that fieldset[disabled] works return this.name && !jQuery( this ).is( ":disabled" ) && rsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) && ( this.checked || !rcheckableType.test( type ) ); } ) .map( function( i, elem ) { var val = jQuery( this ).val(); if ( val == null ) { return null; } if ( Array.isArray( val ) ) { return jQuery.map( val, function( val ) { return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; } ); } return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; } ).get(); } } ); var r20 = /%20/g, rhash = /#.*$/, rantiCache = /([?&])_=[^&]*/, rheaders = /^(.*?):[ \t]*([^\r\n]*)$/mg, // #7653, #8125, #8152: local protocol detection rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, rnoContent = /^(?:GET|HEAD)$/, rprotocol = /^\/\//, /* Prefilters * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example) * 2) These are called: * - BEFORE asking for a transport * - AFTER param serialization (s.data is a string if s.processData is true) * 3) key is the dataType * 4) the catchall symbol "*" can be used * 5) execution will start with transport dataType and THEN continue down to "*" if needed */ prefilters = {}, /* Transports bindings * 1) key is the dataType * 2) the catchall symbol "*" can be used * 3) selection will start with transport dataType and THEN go to "*" if needed */ transports = {}, // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression allTypes = "*/".concat( "*" ), // Anchor tag for parsing the document origin originAnchor = document.createElement( "a" ); originAnchor.href = location.href; // Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport function addToPrefiltersOrTransports( structure ) { // dataTypeExpression is optional and defaults to "*" return function( dataTypeExpression, func ) { if ( typeof dataTypeExpression !== "string" ) { func = dataTypeExpression; dataTypeExpression = "*"; } var dataType, i = 0, dataTypes = dataTypeExpression.toLowerCase().match( rnothtmlwhite ) || []; if ( jQuery.isFunction( func ) ) { // For each dataType in the dataTypeExpression while ( ( dataType = dataTypes[ i++ ] ) ) { // Prepend if requested if ( dataType[ 0 ] === "+" ) { dataType = dataType.slice( 1 ) || "*"; ( structure[ dataType ] = structure[ dataType ] || [] ).unshift( func ); // Otherwise append } else { ( structure[ dataType ] = structure[ dataType ] || [] ).push( func ); } } } }; } // Base inspection function for prefilters and transports function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) { var inspected = {}, seekingTransport = ( structure === transports ); function inspect( dataType ) { var selected; inspected[ dataType ] = true; jQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) { var dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR ); if ( typeof dataTypeOrTransport === "string" && !seekingTransport && !inspected[ dataTypeOrTransport ] ) { options.dataTypes.unshift( dataTypeOrTransport ); inspect( dataTypeOrTransport ); return false; } else if ( seekingTransport ) { return !( selected = dataTypeOrTransport ); } } ); return selected; } return inspect( options.dataTypes[ 0 ] ) || !inspected[ "*" ] && inspect( "*" ); } // A special extend for ajax options // that takes "flat" options (not to be deep extended) // Fixes #9887 function ajaxExtend( target, src ) { var key, deep, flatOptions = jQuery.ajaxSettings.flatOptions || {}; for ( key in src ) { if ( src[ key ] !== undefined ) { ( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ]; } } if ( deep ) { jQuery.extend( true, target, deep ); } return target; } /* Handles responses to an ajax request: * - finds the right dataType (mediates between content-type and expected dataType) * - returns the corresponding response */ function ajaxHandleResponses( s, jqXHR, responses ) { var ct, type, finalDataType, firstDataType, contents = s.contents, dataTypes = s.dataTypes; // Remove auto dataType and get content-type in the process while ( dataTypes[ 0 ] === "*" ) { dataTypes.shift(); if ( ct === undefined ) { ct = s.mimeType || jqXHR.getResponseHeader( "Content-Type" ); } } // Check if we're dealing with a known content-type if ( ct ) { for ( type in contents ) { if ( contents[ type ] && contents[ type ].test( ct ) ) { dataTypes.unshift( type ); break; } } } // Check to see if we have a response for the expected dataType if ( dataTypes[ 0 ] in responses ) { finalDataType = dataTypes[ 0 ]; } else { // Try convertible dataTypes for ( type in responses ) { if ( !dataTypes[ 0 ] || s.converters[ type + " " + dataTypes[ 0 ] ] ) { finalDataType = type; break; } if ( !firstDataType ) { firstDataType = type; } } // Or just use first one finalDataType = finalDataType || firstDataType; } // If we found a dataType // We add the dataType to the list if needed // and return the corresponding response if ( finalDataType ) { if ( finalDataType !== dataTypes[ 0 ] ) { dataTypes.unshift( finalDataType ); } return responses[ finalDataType ]; } } /* Chain conversions given the request and the original response * Also sets the responseXXX fields on the jqXHR instance */ function ajaxConvert( s, response, jqXHR, isSuccess ) { var conv2, current, conv, tmp, prev, converters = {}, // Work with a copy of dataTypes in case we need to modify it for conversion dataTypes = s.dataTypes.slice(); // Create converters map with lowercased keys if ( dataTypes[ 1 ] ) { for ( conv in s.converters ) { converters[ conv.toLowerCase() ] = s.converters[ conv ]; } } current = dataTypes.shift(); // Convert to each sequential dataType while ( current ) { if ( s.responseFields[ current ] ) { jqXHR[ s.responseFields[ current ] ] = response; } // Apply the dataFilter if provided if ( !prev && isSuccess && s.dataFilter ) { response = s.dataFilter( response, s.dataType ); } prev = current; current = dataTypes.shift(); if ( current ) { // There's only work to do if current dataType is non-auto if ( current === "*" ) { current = prev; // Convert response if prev dataType is non-auto and differs from current } else if ( prev !== "*" && prev !== current ) { // Seek a direct converter conv = converters[ prev + " " + current ] || converters[ "* " + current ]; // If none found, seek a pair if ( !conv ) { for ( conv2 in converters ) { // If conv2 outputs current tmp = conv2.split( " " ); if ( tmp[ 1 ] === current ) { // If prev can be converted to accepted input conv = converters[ prev + " " + tmp[ 0 ] ] || converters[ "* " + tmp[ 0 ] ]; if ( conv ) { // Condense equivalence converters if ( conv === true ) { conv = converters[ conv2 ]; // Otherwise, insert the intermediate dataType } else if ( converters[ conv2 ] !== true ) { current = tmp[ 0 ]; dataTypes.unshift( tmp[ 1 ] ); } break; } } } } // Apply converter (if not an equivalence) if ( conv !== true ) { // Unless errors are allowed to bubble, catch and return them if ( conv && s.throws ) { response = conv( response ); } else { try { response = conv( response ); } catch ( e ) { return { state: "parsererror", error: conv ? e : "No conversion from " + prev + " to " + current }; } } } } } } return { state: "success", data: response }; } jQuery.extend( { // Counter for holding the number of active queries active: 0, // Last-Modified header cache for next request lastModified: {}, etag: {}, ajaxSettings: { url: location.href, type: "GET", isLocal: rlocalProtocol.test( location.protocol ), global: true, processData: true, async: true, contentType: "application/x-www-form-urlencoded; charset=UTF-8", /* timeout: 0, data: null, dataType: null, username: null, password: null, cache: null, throws: false, traditional: false, headers: {}, */ accepts: { "*": allTypes, 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" }, // Data converters // Keys separate source (or catchall "*") and destination types with a single space converters: { // Convert anything to text "* text": String, // Text to html (true = no transformation) "text html": true, // Evaluate text as a json expression "text json": JSON.parse, // Parse text as xml "text xml": jQuery.parseXML }, // For options that shouldn't be deep extended: // you can add your own custom options here if // and when you create one that shouldn't be // deep extended (see ajaxExtend) flatOptions: { url: true, context: true } }, // Creates a full fledged settings object into target // with both ajaxSettings and settings fields. // If target is omitted, writes into ajaxSettings. ajaxSetup: function( target, settings ) { return settings ? // Building a settings object ajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) : // Extending ajaxSettings ajaxExtend( jQuery.ajaxSettings, target ); }, ajaxPrefilter: addToPrefiltersOrTransports( prefilters ), ajaxTransport: addToPrefiltersOrTransports( transports ), // Main method ajax: function( url, options ) { // If url is an object, simulate pre-1.5 signature if ( typeof url === "object" ) { options = url; url = undefined; } // Force options to be an object options = options || {}; var transport, // URL without anti-cache param cacheURL, // Response headers responseHeadersString, responseHeaders, // timeout handle timeoutTimer, // Url cleanup var urlAnchor, // Request state (becomes false upon send and true upon completion) completed, // To know if global events are to be dispatched fireGlobals, // Loop variable i, // uncached part of the url uncached, // Create the final options object s = jQuery.ajaxSetup( {}, options ), // Callbacks context callbackContext = s.context || s, // Context for global events is callbackContext if it is a DOM node or jQuery collection globalEventContext = s.context && ( callbackContext.nodeType || callbackContext.jquery ) ? jQuery( callbackContext ) : jQuery.event, // Deferreds deferred = jQuery.Deferred(), completeDeferred = jQuery.Callbacks( "once memory" ), // Status-dependent callbacks statusCode = s.statusCode || {}, // Headers (they are sent all at once) requestHeaders = {}, requestHeadersNames = {}, // Default abort message strAbort = "canceled", // Fake xhr jqXHR = { readyState: 0, // Builds headers hashtable if needed getResponseHeader: function( key ) { var match; if ( completed ) { if ( !responseHeaders ) { responseHeaders = {}; while ( ( match = rheaders.exec( responseHeadersString ) ) ) { responseHeaders[ match[ 1 ].toLowerCase() ] = match[ 2 ]; } } match = responseHeaders[ key.toLowerCase() ]; } return match == null ? null : match; }, // Raw string getAllResponseHeaders: function() { return completed ? responseHeadersString : null; }, // Caches the header setRequestHeader: function( name, value ) { if ( completed == null ) { name = requestHeadersNames[ name.toLowerCase() ] = requestHeadersNames[ name.toLowerCase() ] || name; requestHeaders[ name ] = value; } return this; }, // Overrides response content-type header overrideMimeType: function( type ) { if ( completed == null ) { s.mimeType = type; } return this; }, // Status-dependent callbacks statusCode: function( map ) { var code; if ( map ) { if ( completed ) { // Execute the appropriate callbacks jqXHR.always( map[ jqXHR.status ] ); } else { // Lazy-add the new callbacks in a way that preserves old ones for ( code in map ) { statusCode[ code ] = [ statusCode[ code ], map[ code ] ]; } } } return this; }, // Cancel the request abort: function( statusText ) { var finalText = statusText || strAbort; if ( transport ) { transport.abort( finalText ); } done( 0, finalText ); return this; } }; // Attach deferreds deferred.promise( jqXHR ); // Add protocol if not provided (prefilters might expect it) // Handle falsy url in the settings object (#10093: consistency with old signature) // We also use the url parameter if available s.url = ( ( url || s.url || location.href ) + "" ) .replace( rprotocol, location.protocol + "//" ); // Alias method option to type as per ticket #12004 s.type = options.method || options.type || s.method || s.type; // Extract dataTypes list s.dataTypes = ( s.dataType || "*" ).toLowerCase().match( rnothtmlwhite ) || [ "" ]; // A cross-domain request is in order when the origin doesn't match the current origin. if ( s.crossDomain == null ) { urlAnchor = document.createElement( "a" ); // Support: IE <=8 - 11, Edge 12 - 13 // IE throws exception on accessing the href property if url is malformed, // e.g. http://example.com:80x/ try { urlAnchor.href = s.url; // Support: IE <=8 - 11 only // Anchor's host property isn't correctly set when s.url is relative urlAnchor.href = urlAnchor.href; s.crossDomain = originAnchor.protocol + "//" + originAnchor.host !== urlAnchor.protocol + "//" + urlAnchor.host; } catch ( e ) { // If there is an error parsing the URL, assume it is crossDomain, // it can be rejected by the transport if it is invalid s.crossDomain = true; } } // Convert data if not already a string if ( s.data && s.processData && typeof s.data !== "string" ) { s.data = jQuery.param( s.data, s.traditional ); } // Apply prefilters inspectPrefiltersOrTransports( prefilters, s, options, jqXHR ); // If request was aborted inside a prefilter, stop there if ( completed ) { return jqXHR; } // We can fire global events as of now if asked to // Don't fire events if jQuery.event is undefined in an AMD-usage scenario (#15118) fireGlobals = jQuery.event && s.global; // Watch for a new set of requests if ( fireGlobals && jQuery.active++ === 0 ) { jQuery.event.trigger( "ajaxStart" ); } // Uppercase the type s.type = s.type.toUpperCase(); // Determine if request has content s.hasContent = !rnoContent.test( s.type ); // Save the URL in case we're toying with the If-Modified-Since // and/or If-None-Match header later on // Remove hash to simplify url manipulation cacheURL = s.url.replace( rhash, "" ); // More options handling for requests with no content if ( !s.hasContent ) { // Remember the hash so we can put it back uncached = s.url.slice( cacheURL.length ); // If data is available, append data to url if ( s.data ) { cacheURL += ( rquery.test( cacheURL ) ? "&" : "?" ) + s.data; // #9682: remove data so that it's not used in an eventual retry delete s.data; } // Add or update anti-cache param if needed if ( s.cache === false ) { cacheURL = cacheURL.replace( rantiCache, "$1" ); uncached = ( rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + ( nonce++ ) + uncached; } // Put hash and anti-cache on the URL that will be requested (gh-1732) s.url = cacheURL + uncached; // Change '%20' to '+' if this is encoded form body content (gh-2658) } else if ( s.data && s.processData && ( s.contentType || "" ).indexOf( "application/x-www-form-urlencoded" ) === 0 ) { s.data = s.data.replace( r20, "+" ); } // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. if ( s.ifModified ) { if ( jQuery.lastModified[ cacheURL ] ) { jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ cacheURL ] ); } if ( jQuery.etag[ cacheURL ] ) { jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ cacheURL ] ); } } // Set the correct header, if data is being sent if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) { jqXHR.setRequestHeader( "Content-Type", s.contentType ); } // Set the Accepts header for the server, depending on the dataType jqXHR.setRequestHeader( "Accept", s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[ 0 ] ] ? s.accepts[ s.dataTypes[ 0 ] ] + ( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) : s.accepts[ "*" ] ); // Check for headers option for ( i in s.headers ) { jqXHR.setRequestHeader( i, s.headers[ i ] ); } // Allow custom headers/mimetypes and early abort if ( s.beforeSend && ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || completed ) ) { // Abort if not done already and return return jqXHR.abort(); } // Aborting is no longer a cancellation strAbort = "abort"; // Install callbacks on deferreds completeDeferred.add( s.complete ); jqXHR.done( s.success ); jqXHR.fail( s.error ); // Get transport transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR ); // If no transport, we auto-abort if ( !transport ) { done( -1, "No Transport" ); } else { jqXHR.readyState = 1; // Send global event if ( fireGlobals ) { globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] ); } // If request was aborted inside ajaxSend, stop there if ( completed ) { return jqXHR; } // Timeout if ( s.async && s.timeout > 0 ) { timeoutTimer = window.setTimeout( function() { jqXHR.abort( "timeout" ); }, s.timeout ); } try { completed = false; transport.send( requestHeaders, done ); } catch ( e ) { // Rethrow post-completion exceptions if ( completed ) { throw e; } // Propagate others as results done( -1, e ); } } // Callback for when everything is done function done( status, nativeStatusText, responses, headers ) { var isSuccess, success, error, response, modified, statusText = nativeStatusText; // Ignore repeat invocations if ( completed ) { return; } completed = true; // Clear timeout if it exists if ( timeoutTimer ) { window.clearTimeout( timeoutTimer ); } // Dereference transport for early garbage collection // (no matter how long the jqXHR object will be used) transport = undefined; // Cache response headers responseHeadersString = headers || ""; // Set readyState jqXHR.readyState = status > 0 ? 4 : 0; // Determine if successful isSuccess = status >= 200 && status < 300 || status === 304; // Get response data if ( responses ) { response = ajaxHandleResponses( s, jqXHR, responses ); } // Convert no matter what (that way responseXXX fields are always set) response = ajaxConvert( s, response, jqXHR, isSuccess ); // If successful, handle type chaining if ( isSuccess ) { // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. if ( s.ifModified ) { modified = jqXHR.getResponseHeader( "Last-Modified" ); if ( modified ) { jQuery.lastModified[ cacheURL ] = modified; } modified = jqXHR.getResponseHeader( "etag" ); if ( modified ) { jQuery.etag[ cacheURL ] = modified; } } // if no content if ( status === 204 || s.type === "HEAD" ) { statusText = "nocontent"; // if not modified } else if ( status === 304 ) { statusText = "notmodified"; // If we have data, let's convert it } else { statusText = response.state; success = response.data; error = response.error; isSuccess = !error; } } else { // Extract error from statusText and normalize for non-aborts error = statusText; if ( status || !statusText ) { statusText = "error"; if ( status < 0 ) { status = 0; } } } // Set data for the fake xhr object jqXHR.status = status; jqXHR.statusText = ( nativeStatusText || statusText ) + ""; // Success/Error if ( isSuccess ) { deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] ); } else { deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] ); } // Status-dependent callbacks jqXHR.statusCode( statusCode ); statusCode = undefined; if ( fireGlobals ) { globalEventContext.trigger( isSuccess ? "ajaxSuccess" : "ajaxError", [ jqXHR, s, isSuccess ? success : error ] ); } // Complete completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] ); if ( fireGlobals ) { globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] ); // Handle the global AJAX counter if ( !( --jQuery.active ) ) { jQuery.event.trigger( "ajaxStop" ); } } } return jqXHR; }, getJSON: function( url, data, callback ) { return jQuery.get( url, data, callback, "json" ); }, getScript: function( url, callback ) { return jQuery.get( url, undefined, callback, "script" ); } } ); jQuery.each( [ "get", "post" ], function( i, method ) { jQuery[ method ] = function( url, data, callback, type ) { // Shift arguments if data argument was omitted if ( jQuery.isFunction( data ) ) { type = type || callback; callback = data; data = undefined; } // The url can be an options object (which then must have .url) return jQuery.ajax( jQuery.extend( { url: url, type: method, dataType: type, data: data, success: callback }, jQuery.isPlainObject( url ) && url ) ); }; } ); jQuery._evalUrl = function( url ) { return jQuery.ajax( { url: url, // Make this explicit, since user can override this through ajaxSetup (#11264) type: "GET", dataType: "script", cache: true, async: false, global: false, "throws": true } ); }; jQuery.fn.extend( { wrapAll: function( html ) { var wrap; if ( this[ 0 ] ) { if ( jQuery.isFunction( html ) ) { html = html.call( this[ 0 ] ); } // The elements to wrap the target around wrap = jQuery( html, this[ 0 ].ownerDocument ).eq( 0 ).clone( true ); if ( this[ 0 ].parentNode ) { wrap.insertBefore( this[ 0 ] ); } wrap.map( function() { var elem = this; while ( elem.firstElementChild ) { elem = elem.firstElementChild; } return elem; } ).append( this ); } return this; }, wrapInner: function( html ) { if ( jQuery.isFunction( html ) ) { return this.each( function( i ) { jQuery( this ).wrapInner( html.call( this, i ) ); } ); } return this.each( function() { var self = jQuery( this ), contents = self.contents(); if ( contents.length ) { contents.wrapAll( html ); } else { self.append( html ); } } ); }, wrap: function( html ) { var isFunction = jQuery.isFunction( html ); return this.each( function( i ) { jQuery( this ).wrapAll( isFunction ? html.call( this, i ) : html ); } ); }, unwrap: function( selector ) { this.parent( selector ).not( "body" ).each( function() { jQuery( this ).replaceWith( this.childNodes ); } ); return this; } } ); jQuery.expr.pseudos.hidden = function( elem ) { return !jQuery.expr.pseudos.visible( elem ); }; jQuery.expr.pseudos.visible = function( elem ) { return !!( elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length ); }; jQuery.ajaxSettings.xhr = function() { try { return new window.XMLHttpRequest(); } catch ( e ) {} }; var xhrSuccessStatus = { // File protocol always yields status code 0, assume 200 0: 200, // Support: IE <=9 only // #1450: sometimes IE returns 1223 when it should be 204 1223: 204 }, xhrSupported = jQuery.ajaxSettings.xhr(); support.cors = !!xhrSupported && ( "withCredentials" in xhrSupported ); support.ajax = xhrSupported = !!xhrSupported; jQuery.ajaxTransport( function( options ) { var callback, errorCallback; // Cross domain only allowed if supported through XMLHttpRequest if ( support.cors || xhrSupported && !options.crossDomain ) { return { send: function( headers, complete ) { var i, xhr = options.xhr(); xhr.open( options.type, options.url, options.async, options.username, options.password ); // Apply custom fields if provided if ( options.xhrFields ) { for ( i in options.xhrFields ) { xhr[ i ] = options.xhrFields[ i ]; } } // Override mime type if needed if ( options.mimeType && xhr.overrideMimeType ) { xhr.overrideMimeType( options.mimeType ); } // X-Requested-With header // For cross-domain requests, seeing as conditions for a preflight are // akin to a jigsaw puzzle, we simply never set it to be sure. // (it can always be set on a per-request basis or even using ajaxSetup) // For same-domain requests, won't change header if already provided. if ( !options.crossDomain && !headers[ "X-Requested-With" ] ) { headers[ "X-Requested-With" ] = "XMLHttpRequest"; } // Set headers for ( i in headers ) { xhr.setRequestHeader( i, headers[ i ] ); } // Callback callback = function( type ) { return function() { if ( callback ) { callback = errorCallback = xhr.onload = xhr.onerror = xhr.onabort = xhr.onreadystatechange = null; if ( type === "abort" ) { xhr.abort(); } else if ( type === "error" ) { // Support: IE <=9 only // On a manual native abort, IE9 throws // errors on any property access that is not readyState if ( typeof xhr.status !== "number" ) { complete( 0, "error" ); } else { complete( // File: protocol always yields status 0; see #8605, #14207 xhr.status, xhr.statusText ); } } else { complete( xhrSuccessStatus[ xhr.status ] || xhr.status, xhr.statusText, // Support: IE <=9 only // IE9 has no XHR2 but throws on binary (trac-11426) // For XHR2 non-text, let the caller handle it (gh-2498) ( xhr.responseType || "text" ) !== "text" || typeof xhr.responseText !== "string" ? { binary: xhr.response } : { text: xhr.responseText }, xhr.getAllResponseHeaders() ); } } }; }; // Listen to events xhr.onload = callback(); errorCallback = xhr.onerror = callback( "error" ); // Support: IE 9 only // Use onreadystatechange to replace onabort // to handle uncaught aborts if ( xhr.onabort !== undefined ) { xhr.onabort = errorCallback; } else { xhr.onreadystatechange = function() { // Check readyState before timeout as it changes if ( xhr.readyState === 4 ) { // Allow onerror to be called first, // but that will not handle a native abort // Also, save errorCallback to a variable // as xhr.onerror cannot be accessed window.setTimeout( function() { if ( callback ) { errorCallback(); } } ); } }; } // Create the abort callback callback = callback( "abort" ); try { // Do send the request (this may raise an exception) xhr.send( options.hasContent && options.data || null ); } catch ( e ) { // #14683: Only rethrow if this hasn't been notified as an error yet if ( callback ) { throw e; } } }, abort: function() { if ( callback ) { callback(); } } }; } } ); // Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432) jQuery.ajaxPrefilter( function( s ) { if ( s.crossDomain ) { s.contents.script = false; } } ); // Install script dataType jQuery.ajaxSetup( { accepts: { script: "text/javascript, application/javascript, " + "application/ecmascript, application/x-ecmascript" }, contents: { script: /\b(?:java|ecma)script\b/ }, converters: { "text script": function( text ) { jQuery.globalEval( text ); return text; } } } ); // Handle cache's special case and crossDomain jQuery.ajaxPrefilter( "script", function( s ) { if ( s.cache === undefined ) { s.cache = false; } if ( s.crossDomain ) { s.type = "GET"; } } ); // Bind script tag hack transport jQuery.ajaxTransport( "script", function( s ) { // This transport only deals with cross domain requests if ( s.crossDomain ) { var script, callback; return { send: function( _, complete ) { script = jQuery( "<script>" ).prop( { charset: s.scriptCharset, src: s.url } ).on( "load error", callback = function( evt ) { script.remove(); callback = null; if ( evt ) { complete( evt.type === "error" ? 404 : 200, evt.type ); } } ); // Use native DOM manipulation to avoid our domManip AJAX trickery document.head.appendChild( script[ 0 ] ); }, abort: function() { if ( callback ) { callback(); } } }; } } ); var oldCallbacks = [], rjsonp = /(=)\?(?=&|$)|\?\?/; // Default jsonp settings jQuery.ajaxSetup( { jsonp: "callback", jsonpCallback: function() { var callback = oldCallbacks.pop() || ( jQuery.expando + "_" + ( nonce++ ) ); this[ callback ] = true; return callback; } } ); // Detect, normalize options and install callbacks for jsonp requests jQuery.ajaxPrefilter( "json jsonp", function( s, originalSettings, jqXHR ) { var callbackName, overwritten, responseContainer, jsonProp = s.jsonp !== false && ( rjsonp.test( s.url ) ? "url" : typeof s.data === "string" && ( s.contentType || "" ) .indexOf( "application/x-www-form-urlencoded" ) === 0 && rjsonp.test( s.data ) && "data" ); // Handle iff the expected data type is "jsonp" or we have a parameter to set if ( jsonProp || s.dataTypes[ 0 ] === "jsonp" ) { // Get callback name, remembering preexisting value associated with it callbackName = s.jsonpCallback = jQuery.isFunction( s.jsonpCallback ) ? s.jsonpCallback() : s.jsonpCallback; // Insert callback into url or form data if ( jsonProp ) { s[ jsonProp ] = s[ jsonProp ].replace( rjsonp, "$1" + callbackName ); } else if ( s.jsonp !== false ) { s.url += ( rquery.test( s.url ) ? "&" : "?" ) + s.jsonp + "=" + callbackName; } // Use data converter to retrieve json after script execution s.converters[ "script json" ] = function() { if ( !responseContainer ) { jQuery.error( callbackName + " was not called" ); } return responseContainer[ 0 ]; }; // Force json dataType s.dataTypes[ 0 ] = "json"; // Install callback overwritten = window[ callbackName ]; window[ callbackName ] = function() { responseContainer = arguments; }; // Clean-up function (fires after converters) jqXHR.always( function() { // If previous value didn't exist - remove it if ( overwritten === undefined ) { jQuery( window ).removeProp( callbackName ); // Otherwise restore preexisting value } else { window[ callbackName ] = overwritten; } // Save back as free if ( s[ callbackName ] ) { // Make sure that re-using the options doesn't screw things around s.jsonpCallback = originalSettings.jsonpCallback; // Save the callback name for future use oldCallbacks.push( callbackName ); } // Call if it was a function and we have a response if ( responseContainer && jQuery.isFunction( overwritten ) ) { overwritten( responseContainer[ 0 ] ); } responseContainer = overwritten = undefined; } ); // Delegate to script return "script"; } } ); // Support: Safari 8 only // In Safari 8 documents created via document.implementation.createHTMLDocument // collapse sibling forms: the second one becomes a child of the first one. // Because of that, this security measure has to be disabled in Safari 8. // https://bugs.webkit.org/show_bug.cgi?id=137337 support.createHTMLDocument = ( function() { var body = document.implementation.createHTMLDocument( "" ).body; body.innerHTML = "<form></form><form></form>"; return body.childNodes.length === 2; } )(); // Argument "data" should be string of html // context (optional): If specified, the fragment will be created in this context, // defaults to document // keepScripts (optional): If true, will include scripts passed in the html string jQuery.parseHTML = function( data, context, keepScripts ) { if ( typeof data !== "string" ) { return []; } if ( typeof context === "boolean" ) { keepScripts = context; context = false; } var base, parsed, scripts; if ( !context ) { // Stop scripts or inline event handlers from being executed immediately // by using document.implementation if ( support.createHTMLDocument ) { context = document.implementation.createHTMLDocument( "" ); // Set the base href for the created document // so any parsed elements with URLs // are based on the document's URL (gh-2965) base = context.createElement( "base" ); base.href = document.location.href; context.head.appendChild( base ); } else { context = document; } } parsed = rsingleTag.exec( data ); scripts = !keepScripts && []; // Single tag if ( parsed ) { return [ context.createElement( parsed[ 1 ] ) ]; } parsed = buildFragment( [ data ], context, scripts ); if ( scripts && scripts.length ) { jQuery( scripts ).remove(); } return jQuery.merge( [], parsed.childNodes ); }; /** * Load a url into a page */ jQuery.fn.load = function( url, params, callback ) { var selector, type, response, self = this, off = url.indexOf( " " ); if ( off > -1 ) { selector = stripAndCollapse( url.slice( off ) ); url = url.slice( 0, off ); } // If it's a function if ( jQuery.isFunction( params ) ) { // We assume that it's the callback callback = params; params = undefined; // Otherwise, build a param string } else if ( params && typeof params === "object" ) { type = "POST"; } // If we have elements to modify, make the request if ( self.length > 0 ) { jQuery.ajax( { url: url, // If "type" variable is undefined, then "GET" method will be used. // Make value of this field explicit since // user can override it through ajaxSetup method type: type || "GET", dataType: "html", data: params } ).done( function( responseText ) { // Save response for use in complete callback response = arguments; self.html( selector ? // If a selector was specified, locate the right elements in a dummy div // Exclude scripts to avoid IE 'Permission Denied' errors jQuery( "<div>" ).append( jQuery.parseHTML( responseText ) ).find( selector ) : // Otherwise use the full result responseText ); // If the request succeeds, this function gets "data", "status", "jqXHR" // but they are ignored because response was set above. // If it fails, this function gets "jqXHR", "status", "error" } ).always( callback && function( jqXHR, status ) { self.each( function() { callback.apply( this, response || [ jqXHR.responseText, status, jqXHR ] ); } ); } ); } return this; }; // Attach a bunch of functions for handling common AJAX events jQuery.each( [ "ajaxStart", "ajaxStop", "ajaxComplete", "ajaxError", "ajaxSuccess", "ajaxSend" ], function( i, type ) { jQuery.fn[ type ] = function( fn ) { return this.on( type, fn ); }; } ); jQuery.expr.pseudos.animated = function( elem ) { return jQuery.grep( jQuery.timers, function( fn ) { return elem === fn.elem; } ).length; }; jQuery.offset = { setOffset: function( elem, options, i ) { var curPosition, curLeft, curCSSTop, curTop, curOffset, curCSSLeft, calculatePosition, position = jQuery.css( elem, "position" ), curElem = jQuery( elem ), props = {}; // Set position first, in-case top/left are set even on static elem if ( position === "static" ) { elem.style.position = "relative"; } curOffset = curElem.offset(); curCSSTop = jQuery.css( elem, "top" ); curCSSLeft = jQuery.css( elem, "left" ); calculatePosition = ( position === "absolute" || position === "fixed" ) && ( curCSSTop + curCSSLeft ).indexOf( "auto" ) > -1; // Need to be able to calculate position if either // top or left is auto and position is either absolute or fixed if ( calculatePosition ) { curPosition = curElem.position(); curTop = curPosition.top; curLeft = curPosition.left; } else { curTop = parseFloat( curCSSTop ) || 0; curLeft = parseFloat( curCSSLeft ) || 0; } if ( jQuery.isFunction( options ) ) { // Use jQuery.extend here to allow modification of coordinates argument (gh-1848) options = options.call( elem, i, jQuery.extend( {}, curOffset ) ); } if ( options.top != null ) { props.top = ( options.top - curOffset.top ) + curTop; } if ( options.left != null ) { props.left = ( options.left - curOffset.left ) + curLeft; } if ( "using" in options ) { options.using.call( elem, props ); } else { curElem.css( props ); } } }; jQuery.fn.extend( { offset: function( options ) { // Preserve chaining for setter if ( arguments.length ) { return options === undefined ? this : this.each( function( i ) { jQuery.offset.setOffset( this, options, i ); } ); } var doc, docElem, rect, win, elem = this[ 0 ]; if ( !elem ) { return; } // Return zeros for disconnected and hidden (display: none) elements (gh-2310) // Support: IE <=11 only // Running getBoundingClientRect on a // disconnected node in IE throws an error if ( !elem.getClientRects().length ) { return { top: 0, left: 0 }; } rect = elem.getBoundingClientRect(); doc = elem.ownerDocument; docElem = doc.documentElement; win = doc.defaultView; return { top: rect.top + win.pageYOffset - docElem.clientTop, left: rect.left + win.pageXOffset - docElem.clientLeft }; }, position: function() { if ( !this[ 0 ] ) { return; } var offsetParent, offset, elem = this[ 0 ], parentOffset = { top: 0, left: 0 }; // Fixed elements are offset from window (parentOffset = {top:0, left: 0}, // because it is its only offset parent if ( jQuery.css( elem, "position" ) === "fixed" ) { // Assume getBoundingClientRect is there when computed position is fixed offset = elem.getBoundingClientRect(); } else { // Get *real* offsetParent offsetParent = this.offsetParent(); // Get correct offsets offset = this.offset(); if ( !nodeName( offsetParent[ 0 ], "html" ) ) { parentOffset = offsetParent.offset(); } // Add offsetParent borders parentOffset = { top: parentOffset.top + jQuery.css( offsetParent[ 0 ], "borderTopWidth", true ), left: parentOffset.left + jQuery.css( offsetParent[ 0 ], "borderLeftWidth", true ) }; } // Subtract parent offsets and element margins return { top: offset.top - parentOffset.top - jQuery.css( elem, "marginTop", true ), left: offset.left - parentOffset.left - jQuery.css( elem, "marginLeft", true ) }; }, // This method will return documentElement in the following cases: // 1) For the element inside the iframe without offsetParent, this method will return // documentElement of the parent window // 2) For the hidden or detached element // 3) For body or html element, i.e. in case of the html node - it will return itself // // but those exceptions were never presented as a real life use-cases // and might be considered as more preferable results. // // This logic, however, is not guaranteed and can change at any point in the future offsetParent: function() { return this.map( function() { var offsetParent = this.offsetParent; while ( offsetParent && jQuery.css( offsetParent, "position" ) === "static" ) { offsetParent = offsetParent.offsetParent; } return offsetParent || documentElement; } ); } } ); // Create scrollLeft and scrollTop methods jQuery.each( { scrollLeft: "pageXOffset", scrollTop: "pageYOffset" }, function( method, prop ) { var top = "pageYOffset" === prop; jQuery.fn[ method ] = function( val ) { return access( this, function( elem, method, val ) { // Coalesce documents and windows var win; if ( jQuery.isWindow( elem ) ) { win = elem; } else if ( elem.nodeType === 9 ) { win = elem.defaultView; } if ( val === undefined ) { return win ? win[ prop ] : elem[ method ]; } if ( win ) { win.scrollTo( !top ? val : win.pageXOffset, top ? val : win.pageYOffset ); } else { elem[ method ] = val; } }, method, val, arguments.length ); }; } ); // Support: Safari <=7 - 9.1, Chrome <=37 - 49 // Add the top/left cssHooks using jQuery.fn.position // Webkit bug: https://bugs.webkit.org/show_bug.cgi?id=29084 // Blink bug: https://bugs.chromium.org/p/chromium/issues/detail?id=589347 // getComputedStyle returns percent when specified for top/left/bottom/right; // rather than make the css module depend on the offset module, just check for it here jQuery.each( [ "top", "left" ], function( i, prop ) { jQuery.cssHooks[ prop ] = addGetHookIf( support.pixelPosition, function( elem, computed ) { if ( computed ) { computed = curCSS( elem, prop ); // If curCSS returns percentage, fallback to offset return rnumnonpx.test( computed ) ? jQuery( elem ).position()[ prop ] + "px" : computed; } } ); } ); // Create innerHeight, innerWidth, height, width, outerHeight and outerWidth methods jQuery.each( { Height: "height", Width: "width" }, function( name, type ) { jQuery.each( { padding: "inner" + name, content: type, "": "outer" + name }, function( defaultExtra, funcName ) { // Margin is only for outerHeight, outerWidth jQuery.fn[ funcName ] = function( margin, value ) { var chainable = arguments.length && ( defaultExtra || typeof margin !== "boolean" ), extra = defaultExtra || ( margin === true || value === true ? "margin" : "border" ); return access( this, function( elem, type, value ) { var doc; if ( jQuery.isWindow( elem ) ) { // $( window ).outerWidth/Height return w/h including scrollbars (gh-1729) return funcName.indexOf( "outer" ) === 0 ? elem[ "inner" + name ] : elem.document.documentElement[ "client" + name ]; } // Get document width or height if ( elem.nodeType === 9 ) { doc = elem.documentElement; // Either scroll[Width/Height] or offset[Width/Height] or client[Width/Height], // whichever is greatest return Math.max( elem.body[ "scroll" + name ], doc[ "scroll" + name ], elem.body[ "offset" + name ], doc[ "offset" + name ], doc[ "client" + name ] ); } return value === undefined ? // Get width or height on the element, requesting but not forcing parseFloat jQuery.css( elem, type, extra ) : // Set width or height on the element jQuery.style( elem, type, value, extra ); }, type, chainable ? margin : undefined, chainable ); }; } ); } ); jQuery.fn.extend( { bind: function( types, data, fn ) { return this.on( types, null, data, fn ); }, unbind: function( types, fn ) { return this.off( types, null, fn ); }, delegate: function( selector, types, data, fn ) { return this.on( types, selector, data, fn ); }, undelegate: function( selector, types, fn ) { // ( namespace ) or ( selector, types [, fn] ) return arguments.length === 1 ? this.off( selector, "**" ) : this.off( types, selector || "**", fn ); } } ); jQuery.holdReady = function( hold ) { if ( hold ) { jQuery.readyWait++; } else { jQuery.ready( true ); } }; jQuery.isArray = Array.isArray; jQuery.parseJSON = JSON.parse; jQuery.nodeName = nodeName; // Register as a named AMD module, since jQuery can be concatenated with other // files that may use define, but not via a proper concatenation script that // understands anonymous AMD modules. A named AMD is safest and most robust // way to register. Lowercase jquery is used because AMD module names are // derived from file names, and jQuery is normally delivered in a lowercase // file name. Do this after creating the global so that if an AMD module wants // to call noConflict to hide this version of jQuery, it will work. // Note that for maximum portability, libraries that are not jQuery should // declare themselves as anonymous modules, and avoid setting a global if an // AMD loader is present. jQuery is a special case. For more information, see // https://github.com/jrburke/requirejs/wiki/Updating-existing-libraries#wiki-anon if ( true ) { !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = function() { return jQuery; }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); } var // Map over jQuery in case of overwrite _jQuery = window.jQuery, // Map over the $ in case of overwrite _$ = window.$; jQuery.noConflict = function( deep ) { if ( window.$ === jQuery ) { window.$ = _$; } if ( deep && window.jQuery === jQuery ) { window.jQuery = _jQuery; } return jQuery; }; // Expose jQuery and $ identifiers, even in AMD // (#7102#comment:10, https://github.com/jquery/jquery/pull/557) // and CommonJS for browser emulators (#13566) if ( !noGlobal ) { window.jQuery = window.$ = jQuery; } return jQuery; } ); /***/ }), /***/ 41: /***/ (function(module, exports, __webpack_require__) { __webpack_require__(9); module.exports = __webpack_require__(3); /***/ }), /***/ 9: /***/ (function(module, exports, __webpack_require__) { "use strict"; /* WEBPACK VAR INJECTION */(function(global) {/*! * Vue.js v2.4.2 * (c) 2014-2017 Evan You * Released under the MIT License. */ /* */ // these helpers produces better vm code in JS engines due to their // explicitness and function inlining function isUndef (v) { return v === undefined || v === null } function isDef (v) { return v !== undefined && v !== null } function isTrue (v) { return v === true } function isFalse (v) { return v === false } /** * Check if value is primitive */ function isPrimitive (value) { return ( typeof value === 'string' || typeof value === 'number' || typeof value === 'boolean' ) } /** * Quick object check - this is primarily used to tell * Objects from primitive values when we know the value * is a JSON-compliant type. */ function isObject (obj) { return obj !== null && typeof obj === 'object' } var _toString = Object.prototype.toString; /** * Strict object type check. Only returns true * for plain JavaScript objects. */ function isPlainObject (obj) { return _toString.call(obj) === '[object Object]' } function isRegExp (v) { return _toString.call(v) === '[object RegExp]' } /** * Check if val is a valid array index. */ function isValidArrayIndex (val) { var n = parseFloat(val); return n >= 0 && Math.floor(n) === n && isFinite(val) } /** * Convert a value to a string that is actually rendered. */ function toString (val) { return val == null ? '' : typeof val === 'object' ? JSON.stringify(val, null, 2) : String(val) } /** * Convert a input value to a number for persistence. * If the conversion fails, return original string. */ function toNumber (val) { var n = parseFloat(val); return isNaN(n) ? val : n } /** * Make a map and return a function for checking if a key * is in that map. */ function makeMap ( str, expectsLowerCase ) { var map = Object.create(null); var list = str.split(','); for (var i = 0; i < list.length; i++) { map[list[i]] = true; } return expectsLowerCase ? function (val) { return map[val.toLowerCase()]; } : function (val) { return map[val]; } } /** * Check if a tag is a built-in tag. */ var isBuiltInTag = makeMap('slot,component', true); /** * Check if a attribute is a reserved attribute. */ var isReservedAttribute = makeMap('key,ref,slot,is'); /** * Remove an item from an array */ function remove (arr, item) { if (arr.length) { var index = arr.indexOf(item); if (index > -1) { return arr.splice(index, 1) } } } /** * Check whether the object has the property. */ var hasOwnProperty = Object.prototype.hasOwnProperty; function hasOwn (obj, key) { return hasOwnProperty.call(obj, key) } /** * Create a cached version of a pure function. */ function cached (fn) { var cache = Object.create(null); return (function cachedFn (str) { var hit = cache[str]; return hit || (cache[str] = fn(str)) }) } /** * Camelize a hyphen-delimited string. */ var camelizeRE = /-(\w)/g; var camelize = cached(function (str) { return str.replace(camelizeRE, function (_, c) { return c ? c.toUpperCase() : ''; }) }); /** * Capitalize a string. */ var capitalize = cached(function (str) { return str.charAt(0).toUpperCase() + str.slice(1) }); /** * Hyphenate a camelCase string. */ var hyphenateRE = /([^-])([A-Z])/g; var hyphenate = cached(function (str) { return str .replace(hyphenateRE, '$1-$2') .replace(hyphenateRE, '$1-$2') .toLowerCase() }); /** * Simple bind, faster than native */ function bind (fn, ctx) { function boundFn (a) { var l = arguments.length; return l ? l > 1 ? fn.apply(ctx, arguments) : fn.call(ctx, a) : fn.call(ctx) } // record original fn length boundFn._length = fn.length; return boundFn } /** * Convert an Array-like object to a real Array. */ function toArray (list, start) { start = start || 0; var i = list.length - start; var ret = new Array(i); while (i--) { ret[i] = list[i + start]; } return ret } /** * Mix properties into target object. */ function extend (to, _from) { for (var key in _from) { to[key] = _from[key]; } return to } /** * Merge an Array of Objects into a single Object. */ function toObject (arr) { var res = {}; for (var i = 0; i < arr.length; i++) { if (arr[i]) { extend(res, arr[i]); } } return res } /** * Perform no operation. * Stubbing args to make Flow happy without leaving useless transpiled code * with ...rest (https://flow.org/blog/2017/05/07/Strict-Function-Call-Arity/) */ function noop (a, b, c) {} /** * Always return false. */ var no = function (a, b, c) { return false; }; /** * Return same value */ var identity = function (_) { return _; }; /** * Generate a static keys string from compiler modules. */ function genStaticKeys (modules) { return modules.reduce(function (keys, m) { return keys.concat(m.staticKeys || []) }, []).join(',') } /** * Check if two values are loosely equal - that is, * if they are plain objects, do they have the same shape? */ function looseEqual (a, b) { if (a === b) { return true } var isObjectA = isObject(a); var isObjectB = isObject(b); if (isObjectA && isObjectB) { try { var isArrayA = Array.isArray(a); var isArrayB = Array.isArray(b); if (isArrayA && isArrayB) { return a.length === b.length && a.every(function (e, i) { return looseEqual(e, b[i]) }) } else if (!isArrayA && !isArrayB) { var keysA = Object.keys(a); var keysB = Object.keys(b); return keysA.length === keysB.length && keysA.every(function (key) { return looseEqual(a[key], b[key]) }) } else { /* istanbul ignore next */ return false } } catch (e) { /* istanbul ignore next */ return false } } else if (!isObjectA && !isObjectB) { return String(a) === String(b) } else { return false } } function looseIndexOf (arr, val) { for (var i = 0; i < arr.length; i++) { if (looseEqual(arr[i], val)) { return i } } return -1 } /** * Ensure a function is called only once. */ function once (fn) { var called = false; return function () { if (!called) { called = true; fn.apply(this, arguments); } } } var SSR_ATTR = 'data-server-rendered'; var ASSET_TYPES = [ 'component', 'directive', 'filter' ]; var LIFECYCLE_HOOKS = [ 'beforeCreate', 'created', 'beforeMount', 'mounted', 'beforeUpdate', 'updated', 'beforeDestroy', 'destroyed', 'activated', 'deactivated' ]; /* */ var config = ({ /** * Option merge strategies (used in core/util/options) */ optionMergeStrategies: Object.create(null), /** * Whether to suppress warnings. */ silent: false, /** * Show production mode tip message on boot? */ productionTip: "development" !== 'production', /** * Whether to enable devtools */ devtools: "development" !== 'production', /** * Whether to record perf */ performance: false, /** * Error handler for watcher errors */ errorHandler: null, /** * Warn handler for watcher warns */ warnHandler: null, /** * Ignore certain custom elements */ ignoredElements: [], /** * Custom user key aliases for v-on */ keyCodes: Object.create(null), /** * Check if a tag is reserved so that it cannot be registered as a * component. This is platform-dependent and may be overwritten. */ isReservedTag: no, /** * Check if an attribute is reserved so that it cannot be used as a component * prop. This is platform-dependent and may be overwritten. */ isReservedAttr: no, /** * Check if a tag is an unknown element. * Platform-dependent. */ isUnknownElement: no, /** * Get the namespace of an element */ getTagNamespace: noop, /** * Parse the real tag name for the specific platform. */ parsePlatformTagName: identity, /** * Check if an attribute must be bound using property, e.g. value * Platform-dependent. */ mustUseProp: no, /** * Exposed for legacy reasons */ _lifecycleHooks: LIFECYCLE_HOOKS }); /* */ var emptyObject = Object.freeze({}); /** * Check if a string starts with $ or _ */ function isReserved (str) { var c = (str + '').charCodeAt(0); return c === 0x24 || c === 0x5F } /** * Define a property. */ function def (obj, key, val, enumerable) { Object.defineProperty(obj, key, { value: val, enumerable: !!enumerable, writable: true, configurable: true }); } /** * Parse simple path. */ var bailRE = /[^\w.$]/; function parsePath (path) { if (bailRE.test(path)) { return } var segments = path.split('.'); return function (obj) { for (var i = 0; i < segments.length; i++) { if (!obj) { return } obj = obj[segments[i]]; } return obj } } /* */ var warn = noop; var tip = noop; var formatComponentName = (null); // work around flow check if (true) { var hasConsole = typeof console !== 'undefined'; var classifyRE = /(?:^|[-_])(\w)/g; var classify = function (str) { return str .replace(classifyRE, function (c) { return c.toUpperCase(); }) .replace(/[-_]/g, ''); }; warn = function (msg, vm) { var trace = vm ? generateComponentTrace(vm) : ''; if (config.warnHandler) { config.warnHandler.call(null, msg, vm, trace); } else if (hasConsole && (!config.silent)) { console.error(("[Vue warn]: " + msg + trace)); } }; tip = function (msg, vm) { if (hasConsole && (!config.silent)) { console.warn("[Vue tip]: " + msg + ( vm ? generateComponentTrace(vm) : '' )); } }; formatComponentName = function (vm, includeFile) { if (vm.$root === vm) { return '<Root>' } var name = typeof vm === 'string' ? vm : typeof vm === 'function' && vm.options ? vm.options.name : vm._isVue ? vm.$options.name || vm.$options._componentTag : vm.name; var file = vm._isVue && vm.$options.__file; if (!name && file) { var match = file.match(/([^/\\]+)\.vue$/); name = match && match[1]; } return ( (name ? ("<" + (classify(name)) + ">") : "<Anonymous>") + (file && includeFile !== false ? (" at " + file) : '') ) }; var repeat = function (str, n) { var res = ''; while (n) { if (n % 2 === 1) { res += str; } if (n > 1) { str += str; } n >>= 1; } return res }; var generateComponentTrace = function (vm) { if (vm._isVue && vm.$parent) { var tree = []; var currentRecursiveSequence = 0; while (vm) { if (tree.length > 0) { var last = tree[tree.length - 1]; if (last.constructor === vm.constructor) { currentRecursiveSequence++; vm = vm.$parent; continue } else if (currentRecursiveSequence > 0) { tree[tree.length - 1] = [last, currentRecursiveSequence]; currentRecursiveSequence = 0; } } tree.push(vm); vm = vm.$parent; } return '\n\nfound in\n\n' + tree .map(function (vm, i) { return ("" + (i === 0 ? '---> ' : repeat(' ', 5 + i * 2)) + (Array.isArray(vm) ? ((formatComponentName(vm[0])) + "... (" + (vm[1]) + " recursive calls)") : formatComponentName(vm))); }) .join('\n') } else { return ("\n\n(found in " + (formatComponentName(vm)) + ")") } }; } /* */ function handleError (err, vm, info) { if (config.errorHandler) { config.errorHandler.call(null, err, vm, info); } else { if (true) { warn(("Error in " + info + ": \"" + (err.toString()) + "\""), vm); } /* istanbul ignore else */ if (inBrowser && typeof console !== 'undefined') { console.error(err); } else { throw err } } } /* */ /* globals MutationObserver */ // can we use __proto__? var hasProto = '__proto__' in {}; // Browser environment sniffing var inBrowser = typeof window !== 'undefined'; var UA = inBrowser && window.navigator.userAgent.toLowerCase(); var isIE = UA && /msie|trident/.test(UA); var isIE9 = UA && UA.indexOf('msie 9.0') > 0; var isEdge = UA && UA.indexOf('edge/') > 0; var isAndroid = UA && UA.indexOf('android') > 0; var isIOS = UA && /iphone|ipad|ipod|ios/.test(UA); var isChrome = UA && /chrome\/\d+/.test(UA) && !isEdge; // Firefix has a "watch" function on Object.prototype... var nativeWatch = ({}).watch; var supportsPassive = false; if (inBrowser) { try { var opts = {}; Object.defineProperty(opts, 'passive', ({ get: function get () { /* istanbul ignore next */ supportsPassive = true; } })); // https://github.com/facebook/flow/issues/285 window.addEventListener('test-passive', null, opts); } catch (e) {} } // this needs to be lazy-evaled because vue may be required before // vue-server-renderer can set VUE_ENV var _isServer; var isServerRendering = function () { if (_isServer === undefined) { /* istanbul ignore if */ if (!inBrowser && typeof global !== 'undefined') { // detect presence of vue-server-renderer and avoid // Webpack shimming the process _isServer = global['process'].env.VUE_ENV === 'server'; } else { _isServer = false; } } return _isServer }; // detect devtools var devtools = inBrowser && window.__VUE_DEVTOOLS_GLOBAL_HOOK__; /* istanbul ignore next */ function isNative (Ctor) { return typeof Ctor === 'function' && /native code/.test(Ctor.toString()) } var hasSymbol = typeof Symbol !== 'undefined' && isNative(Symbol) && typeof Reflect !== 'undefined' && isNative(Reflect.ownKeys); /** * Defer a task to execute it asynchronously. */ var nextTick = (function () { var callbacks = []; var pending = false; var timerFunc; function nextTickHandler () { pending = false; var copies = callbacks.slice(0); callbacks.length = 0; for (var i = 0; i < copies.length; i++) { copies[i](); } } // the nextTick behavior leverages the microtask queue, which can be accessed // via either native Promise.then or MutationObserver. // MutationObserver has wider support, however it is seriously bugged in // UIWebView in iOS >= 9.3.3 when triggered in touch event handlers. It // completely stops working after triggering a few times... so, if native // Promise is available, we will use it: /* istanbul ignore if */ if (typeof Promise !== 'undefined' && isNative(Promise)) { var p = Promise.resolve(); var logError = function (err) { console.error(err); }; timerFunc = function () { p.then(nextTickHandler).catch(logError); // in problematic UIWebViews, Promise.then doesn't completely break, but // it can get stuck in a weird state where callbacks are pushed into the // microtask queue but the queue isn't being flushed, until the browser // needs to do some other work, e.g. handle a timer. Therefore we can // "force" the microtask queue to be flushed by adding an empty timer. if (isIOS) { setTimeout(noop); } }; } else if (typeof MutationObserver !== 'undefined' && ( isNative(MutationObserver) || // PhantomJS and iOS 7.x MutationObserver.toString() === '[object MutationObserverConstructor]' )) { // use MutationObserver where native Promise is not available, // e.g. PhantomJS IE11, iOS7, Android 4.4 var counter = 1; var observer = new MutationObserver(nextTickHandler); var textNode = document.createTextNode(String(counter)); observer.observe(textNode, { characterData: true }); timerFunc = function () { counter = (counter + 1) % 2; textNode.data = String(counter); }; } else { // fallback to setTimeout /* istanbul ignore next */ timerFunc = function () { setTimeout(nextTickHandler, 0); }; } return function queueNextTick (cb, ctx) { var _resolve; callbacks.push(function () { if (cb) { try { cb.call(ctx); } catch (e) { handleError(e, ctx, 'nextTick'); } } else if (_resolve) { _resolve(ctx); } }); if (!pending) { pending = true; timerFunc(); } if (!cb && typeof Promise !== 'undefined') { return new Promise(function (resolve, reject) { _resolve = resolve; }) } } })(); var _Set; /* istanbul ignore if */ if (typeof Set !== 'undefined' && isNative(Set)) { // use native Set when available. _Set = Set; } else { // a non-standard Set polyfill that only works with primitive keys. _Set = (function () { function Set () { this.set = Object.create(null); } Set.prototype.has = function has (key) { return this.set[key] === true }; Set.prototype.add = function add (key) { this.set[key] = true; }; Set.prototype.clear = function clear () { this.set = Object.create(null); }; return Set; }()); } /* */ var uid = 0; /** * A dep is an observable that can have multiple * directives subscribing to it. */ var Dep = function Dep () { this.id = uid++; this.subs = []; }; Dep.prototype.addSub = function addSub (sub) { this.subs.push(sub); }; Dep.prototype.removeSub = function removeSub (sub) { remove(this.subs, sub); }; Dep.prototype.depend = function depend () { if (Dep.target) { Dep.target.addDep(this); } }; Dep.prototype.notify = function notify () { // stabilize the subscriber list first var subs = this.subs.slice(); for (var i = 0, l = subs.length; i < l; i++) { subs[i].update(); } }; // the current target watcher being evaluated. // this is globally unique because there could be only one // watcher being evaluated at any time. Dep.target = null; var targetStack = []; function pushTarget (_target) { if (Dep.target) { targetStack.push(Dep.target); } Dep.target = _target; } function popTarget () { Dep.target = targetStack.pop(); } /* * not type checking this file because flow doesn't play well with * dynamically accessing methods on Array prototype */ var arrayProto = Array.prototype; var arrayMethods = Object.create(arrayProto);[ 'push', 'pop', 'shift', 'unshift', 'splice', 'sort', 'reverse' ] .forEach(function (method) { // cache original method var original = arrayProto[method]; def(arrayMethods, method, function mutator () { var args = [], len = arguments.length; while ( len-- ) args[ len ] = arguments[ len ]; var result = original.apply(this, args); var ob = this.__ob__; var inserted; switch (method) { case 'push': case 'unshift': inserted = args; break case 'splice': inserted = args.slice(2); break } if (inserted) { ob.observeArray(inserted); } // notify change ob.dep.notify(); return result }); }); /* */ var arrayKeys = Object.getOwnPropertyNames(arrayMethods); /** * By default, when a reactive property is set, the new value is * also converted to become reactive. However when passing down props, * we don't want to force conversion because the value may be a nested value * under a frozen data structure. Converting it would defeat the optimization. */ var observerState = { shouldConvert: true }; /** * Observer class that are attached to each observed * object. Once attached, the observer converts target * object's property keys into getter/setters that * collect dependencies and dispatches updates. */ var Observer = function Observer (value) { this.value = value; this.dep = new Dep(); this.vmCount = 0; def(value, '__ob__', this); if (Array.isArray(value)) { var augment = hasProto ? protoAugment : copyAugment; augment(value, arrayMethods, arrayKeys); this.observeArray(value); } else { this.walk(value); } }; /** * Walk through each property and convert them into * getter/setters. This method should only be called when * value type is Object. */ Observer.prototype.walk = function walk (obj) { var keys = Object.keys(obj); for (var i = 0; i < keys.length; i++) { defineReactive$$1(obj, keys[i], obj[keys[i]]); } }; /** * Observe a list of Array items. */ Observer.prototype.observeArray = function observeArray (items) { for (var i = 0, l = items.length; i < l; i++) { observe(items[i]); } }; // helpers /** * Augment an target Object or Array by intercepting * the prototype chain using __proto__ */ function protoAugment (target, src, keys) { /* eslint-disable no-proto */ target.__proto__ = src; /* eslint-enable no-proto */ } /** * Augment an target Object or Array by defining * hidden properties. */ /* istanbul ignore next */ function copyAugment (target, src, keys) { for (var i = 0, l = keys.length; i < l; i++) { var key = keys[i]; def(target, key, src[key]); } } /** * Attempt to create an observer instance for a value, * returns the new observer if successfully observed, * or the existing observer if the value already has one. */ function observe (value, asRootData) { if (!isObject(value)) { return } var ob; if (hasOwn(value, '__ob__') && value.__ob__ instanceof Observer) { ob = value.__ob__; } else if ( observerState.shouldConvert && !isServerRendering() && (Array.isArray(value) || isPlainObject(value)) && Object.isExtensible(value) && !value._isVue ) { ob = new Observer(value); } if (asRootData && ob) { ob.vmCount++; } return ob } /** * Define a reactive property on an Object. */ function defineReactive$$1 ( obj, key, val, customSetter, shallow ) { var dep = new Dep(); var property = Object.getOwnPropertyDescriptor(obj, key); if (property && property.configurable === false) { return } // cater for pre-defined getter/setters var getter = property && property.get; var setter = property && property.set; var childOb = !shallow && observe(val); Object.defineProperty(obj, key, { enumerable: true, configurable: true, get: function reactiveGetter () { var value = getter ? getter.call(obj) : val; if (Dep.target) { dep.depend(); if (childOb) { childOb.dep.depend(); } if (Array.isArray(value)) { dependArray(value); } } return value }, set: function reactiveSetter (newVal) { var value = getter ? getter.call(obj) : val; /* eslint-disable no-self-compare */ if (newVal === value || (newVal !== newVal && value !== value)) { return } /* eslint-enable no-self-compare */ if ("development" !== 'production' && customSetter) { customSetter(); } if (setter) { setter.call(obj, newVal); } else { val = newVal; } childOb = !shallow && observe(newVal); dep.notify(); } }); } /** * Set a property on an object. Adds the new property and * triggers change notification if the property doesn't * already exist. */ function set (target, key, val) { if (Array.isArray(target) && isValidArrayIndex(key)) { target.length = Math.max(target.length, key); target.splice(key, 1, val); return val } if (hasOwn(target, key)) { target[key] = val; return val } var ob = (target).__ob__; if (target._isVue || (ob && ob.vmCount)) { "development" !== 'production' && warn( 'Avoid adding reactive properties to a Vue instance or its root $data ' + 'at runtime - declare it upfront in the data option.' ); return val } if (!ob) { target[key] = val; return val } defineReactive$$1(ob.value, key, val); ob.dep.notify(); return val } /** * Delete a property and trigger change if necessary. */ function del (target, key) { if (Array.isArray(target) && isValidArrayIndex(key)) { target.splice(key, 1); return } var ob = (target).__ob__; if (target._isVue || (ob && ob.vmCount)) { "development" !== 'production' && warn( 'Avoid deleting properties on a Vue instance or its root $data ' + '- just set it to null.' ); return } if (!hasOwn(target, key)) { return } delete target[key]; if (!ob) { return } ob.dep.notify(); } /** * Collect dependencies on array elements when the array is touched, since * we cannot intercept array element access like property getters. */ function dependArray (value) { for (var e = (void 0), i = 0, l = value.length; i < l; i++) { e = value[i]; e && e.__ob__ && e.__ob__.dep.depend(); if (Array.isArray(e)) { dependArray(e); } } } /* */ /** * Option overwriting strategies are functions that handle * how to merge a parent option value and a child option * value into the final value. */ var strats = config.optionMergeStrategies; /** * Options with restrictions */ if (true) { strats.el = strats.propsData = function (parent, child, vm, key) { if (!vm) { warn( "option \"" + key + "\" can only be used during instance " + 'creation with the `new` keyword.' ); } return defaultStrat(parent, child) }; } /** * Helper that recursively merges two data objects together. */ function mergeData (to, from) { if (!from) { return to } var key, toVal, fromVal; var keys = Object.keys(from); for (var i = 0; i < keys.length; i++) { key = keys[i]; toVal = to[key]; fromVal = from[key]; if (!hasOwn(to, key)) { set(to, key, fromVal); } else if (isPlainObject(toVal) && isPlainObject(fromVal)) { mergeData(toVal, fromVal); } } return to } /** * Data */ function mergeDataOrFn ( parentVal, childVal, vm ) { if (!vm) { // in a Vue.extend merge, both should be functions if (!childVal) { return parentVal } if (!parentVal) { return childVal } // when parentVal & childVal are both present, // we need to return a function that returns the // merged result of both functions... no need to // check if parentVal is a function here because // it has to be a function to pass previous merges. return function mergedDataFn () { return mergeData( typeof childVal === 'function' ? childVal.call(this) : childVal, typeof parentVal === 'function' ? parentVal.call(this) : parentVal ) } } else if (parentVal || childVal) { return function mergedInstanceDataFn () { // instance merge var instanceData = typeof childVal === 'function' ? childVal.call(vm) : childVal; var defaultData = typeof parentVal === 'function' ? parentVal.call(vm) : undefined; if (instanceData) { return mergeData(instanceData, defaultData) } else { return defaultData } } } } strats.data = function ( parentVal, childVal, vm ) { if (!vm) { if (childVal && typeof childVal !== 'function') { "development" !== 'production' && warn( 'The "data" option should be a function ' + 'that returns a per-instance value in component ' + 'definitions.', vm ); return parentVal } return mergeDataOrFn.call(this, parentVal, childVal) } return mergeDataOrFn(parentVal, childVal, vm) }; /** * Hooks and props are merged as arrays. */ function mergeHook ( parentVal, childVal ) { return childVal ? parentVal ? parentVal.concat(childVal) : Array.isArray(childVal) ? childVal : [childVal] : parentVal } LIFECYCLE_HOOKS.forEach(function (hook) { strats[hook] = mergeHook; }); /** * Assets * * When a vm is present (instance creation), we need to do * a three-way merge between constructor options, instance * options and parent options. */ function mergeAssets (parentVal, childVal) { var res = Object.create(parentVal || null); return childVal ? extend(res, childVal) : res } ASSET_TYPES.forEach(function (type) { strats[type + 's'] = mergeAssets; }); /** * Watchers. * * Watchers hashes should not overwrite one * another, so we merge them as arrays. */ strats.watch = function (parentVal, childVal) { // work around Firefox's Object.prototype.watch... if (parentVal === nativeWatch) { parentVal = undefined; } if (childVal === nativeWatch) { childVal = undefined; } /* istanbul ignore if */ if (!childVal) { return Object.create(parentVal || null) } if (!parentVal) { return childVal } var ret = {}; extend(ret, parentVal); for (var key in childVal) { var parent = ret[key]; var child = childVal[key]; if (parent && !Array.isArray(parent)) { parent = [parent]; } ret[key] = parent ? parent.concat(child) : Array.isArray(child) ? child : [child]; } return ret }; /** * Other object hashes. */ strats.props = strats.methods = strats.inject = strats.computed = function (parentVal, childVal) { if (!parentVal) { return childVal } var ret = Object.create(null); extend(ret, parentVal); if (childVal) { extend(ret, childVal); } return ret }; strats.provide = mergeDataOrFn; /** * Default strategy. */ var defaultStrat = function (parentVal, childVal) { return childVal === undefined ? parentVal : childVal }; /** * Validate component names */ function checkComponents (options) { for (var key in options.components) { var lower = key.toLowerCase(); if (isBuiltInTag(lower) || config.isReservedTag(lower)) { warn( 'Do not use built-in or reserved HTML elements as component ' + 'id: ' + key ); } } } /** * Ensure all props option syntax are normalized into the * Object-based format. */ function normalizeProps (options) { var props = options.props; if (!props) { return } var res = {}; var i, val, name; if (Array.isArray(props)) { i = props.length; while (i--) { val = props[i]; if (typeof val === 'string') { name = camelize(val); res[name] = { type: null }; } else if (true) { warn('props must be strings when using array syntax.'); } } } else if (isPlainObject(props)) { for (var key in props) { val = props[key]; name = camelize(key); res[name] = isPlainObject(val) ? val : { type: val }; } } options.props = res; } /** * Normalize all injections into Object-based format */ function normalizeInject (options) { var inject = options.inject; if (Array.isArray(inject)) { var normalized = options.inject = {}; for (var i = 0; i < inject.length; i++) { normalized[inject[i]] = inject[i]; } } } /** * Normalize raw function directives into object format. */ function normalizeDirectives (options) { var dirs = options.directives; if (dirs) { for (var key in dirs) { var def = dirs[key]; if (typeof def === 'function') { dirs[key] = { bind: def, update: def }; } } } } /** * Merge two option objects into a new one. * Core utility used in both instantiation and inheritance. */ function mergeOptions ( parent, child, vm ) { if (true) { checkComponents(child); } if (typeof child === 'function') { child = child.options; } normalizeProps(child); normalizeInject(child); normalizeDirectives(child); var extendsFrom = child.extends; if (extendsFrom) { parent = mergeOptions(parent, extendsFrom, vm); } if (child.mixins) { for (var i = 0, l = child.mixins.length; i < l; i++) { parent = mergeOptions(parent, child.mixins[i], vm); } } var options = {}; var key; for (key in parent) { mergeField(key); } for (key in child) { if (!hasOwn(parent, key)) { mergeField(key); } } function mergeField (key) { var strat = strats[key] || defaultStrat; options[key] = strat(parent[key], child[key], vm, key); } return options } /** * Resolve an asset. * This function is used because child instances need access * to assets defined in its ancestor chain. */ function resolveAsset ( options, type, id, warnMissing ) { /* istanbul ignore if */ if (typeof id !== 'string') { return } var assets = options[type]; // check local registration variations first if (hasOwn(assets, id)) { return assets[id] } var camelizedId = camelize(id); if (hasOwn(assets, camelizedId)) { return assets[camelizedId] } var PascalCaseId = capitalize(camelizedId); if (hasOwn(assets, PascalCaseId)) { return assets[PascalCaseId] } // fallback to prototype chain var res = assets[id] || assets[camelizedId] || assets[PascalCaseId]; if ("development" !== 'production' && warnMissing && !res) { warn( 'Failed to resolve ' + type.slice(0, -1) + ': ' + id, options ); } return res } /* */ function validateProp ( key, propOptions, propsData, vm ) { var prop = propOptions[key]; var absent = !hasOwn(propsData, key); var value = propsData[key]; // handle boolean props if (isType(Boolean, prop.type)) { if (absent && !hasOwn(prop, 'default')) { value = false; } else if (!isType(String, prop.type) && (value === '' || value === hyphenate(key))) { value = true; } } // check default value if (value === undefined) { value = getPropDefaultValue(vm, prop, key); // since the default value is a fresh copy, // make sure to observe it. var prevShouldConvert = observerState.shouldConvert; observerState.shouldConvert = true; observe(value); observerState.shouldConvert = prevShouldConvert; } if (true) { assertProp(prop, key, value, vm, absent); } return value } /** * Get the default value of a prop. */ function getPropDefaultValue (vm, prop, key) { // no default, return undefined if (!hasOwn(prop, 'default')) { return undefined } var def = prop.default; // warn against non-factory defaults for Object & Array if ("development" !== 'production' && isObject(def)) { warn( 'Invalid default value for prop "' + key + '": ' + 'Props with type Object/Array must use a factory function ' + 'to return the default value.', vm ); } // the raw prop value was also undefined from previous render, // return previous default value to avoid unnecessary watcher trigger if (vm && vm.$options.propsData && vm.$options.propsData[key] === undefined && vm._props[key] !== undefined ) { return vm._props[key] } // call factory function for non-Function types // a value is Function if its prototype is function even across different execution context return typeof def === 'function' && getType(prop.type) !== 'Function' ? def.call(vm) : def } /** * Assert whether a prop is valid. */ function assertProp ( prop, name, value, vm, absent ) { if (prop.required && absent) { warn( 'Missing required prop: "' + name + '"', vm ); return } if (value == null && !prop.required) { return } var type = prop.type; var valid = !type || type === true; var expectedTypes = []; if (type) { if (!Array.isArray(type)) { type = [type]; } for (var i = 0; i < type.length && !valid; i++) { var assertedType = assertType(value, type[i]); expectedTypes.push(assertedType.expectedType || ''); valid = assertedType.valid; } } if (!valid) { warn( 'Invalid prop: type check failed for prop "' + name + '".' + ' Expected ' + expectedTypes.map(capitalize).join(', ') + ', got ' + Object.prototype.toString.call(value).slice(8, -1) + '.', vm ); return } var validator = prop.validator; if (validator) { if (!validator(value)) { warn( 'Invalid prop: custom validator check failed for prop "' + name + '".', vm ); } } } var simpleCheckRE = /^(String|Number|Boolean|Function|Symbol)$/; function assertType (value, type) { var valid; var expectedType = getType(type); if (simpleCheckRE.test(expectedType)) { valid = typeof value === expectedType.toLowerCase(); } else if (expectedType === 'Object') { valid = isPlainObject(value); } else if (expectedType === 'Array') { valid = Array.isArray(value); } else { valid = value instanceof type; } return { valid: valid, expectedType: expectedType } } /** * Use function string name to check built-in types, * because a simple equality check will fail when running * across different vms / iframes. */ function getType (fn) { var match = fn && fn.toString().match(/^\s*function (\w+)/); return match ? match[1] : '' } function isType (type, fn) { if (!Array.isArray(fn)) { return getType(fn) === getType(type) } for (var i = 0, len = fn.length; i < len; i++) { if (getType(fn[i]) === getType(type)) { return true } } /* istanbul ignore next */ return false } /* */ var mark; var measure; if (true) { var perf = inBrowser && window.performance; /* istanbul ignore if */ if ( perf && perf.mark && perf.measure && perf.clearMarks && perf.clearMeasures ) { mark = function (tag) { return perf.mark(tag); }; measure = function (name, startTag, endTag) { perf.measure(name, startTag, endTag); perf.clearMarks(startTag); perf.clearMarks(endTag); perf.clearMeasures(name); }; } } /* not type checking this file because flow doesn't play well with Proxy */ var initProxy; if (true) { var allowedGlobals = makeMap( 'Infinity,undefined,NaN,isFinite,isNaN,' + 'parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,' + 'Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,' + 'require' // for Webpack/Browserify ); var warnNonPresent = function (target, key) { warn( "Property or method \"" + key + "\" is not defined on the instance but " + "referenced during render. Make sure to declare reactive data " + "properties in the data option.", target ); }; var hasProxy = typeof Proxy !== 'undefined' && Proxy.toString().match(/native code/); if (hasProxy) { var isBuiltInModifier = makeMap('stop,prevent,self,ctrl,shift,alt,meta'); config.keyCodes = new Proxy(config.keyCodes, { set: function set (target, key, value) { if (isBuiltInModifier(key)) { warn(("Avoid overwriting built-in modifier in config.keyCodes: ." + key)); return false } else { target[key] = value; return true } } }); } var hasHandler = { has: function has (target, key) { var has = key in target; var isAllowed = allowedGlobals(key) || key.charAt(0) === '_'; if (!has && !isAllowed) { warnNonPresent(target, key); } return has || !isAllowed } }; var getHandler = { get: function get (target, key) { if (typeof key === 'string' && !(key in target)) { warnNonPresent(target, key); } return target[key] } }; initProxy = function initProxy (vm) { if (hasProxy) { // determine which proxy handler to use var options = vm.$options; var handlers = options.render && options.render._withStripped ? getHandler : hasHandler; vm._renderProxy = new Proxy(vm, handlers); } else { vm._renderProxy = vm; } }; } /* */ var VNode = function VNode ( tag, data, children, text, elm, context, componentOptions, asyncFactory ) { this.tag = tag; this.data = data; this.children = children; this.text = text; this.elm = elm; this.ns = undefined; this.context = context; this.functionalContext = undefined; this.key = data && data.key; this.componentOptions = componentOptions; this.componentInstance = undefined; this.parent = undefined; this.raw = false; this.isStatic = false; this.isRootInsert = true; this.isComment = false; this.isCloned = false; this.isOnce = false; this.asyncFactory = asyncFactory; this.asyncMeta = undefined; this.isAsyncPlaceholder = false; }; var prototypeAccessors = { child: {} }; // DEPRECATED: alias for componentInstance for backwards compat. /* istanbul ignore next */ prototypeAccessors.child.get = function () { return this.componentInstance }; Object.defineProperties( VNode.prototype, prototypeAccessors ); var createEmptyVNode = function (text) { if ( text === void 0 ) text = ''; var node = new VNode(); node.text = text; node.isComment = true; return node }; function createTextVNode (val) { return new VNode(undefined, undefined, undefined, String(val)) } // optimized shallow clone // used for static nodes and slot nodes because they may be reused across // multiple renders, cloning them avoids errors when DOM manipulations rely // on their elm reference. function cloneVNode (vnode) { var cloned = new VNode( vnode.tag, vnode.data, vnode.children, vnode.text, vnode.elm, vnode.context, vnode.componentOptions, vnode.asyncFactory ); cloned.ns = vnode.ns; cloned.isStatic = vnode.isStatic; cloned.key = vnode.key; cloned.isComment = vnode.isComment; cloned.isCloned = true; return cloned } function cloneVNodes (vnodes) { var len = vnodes.length; var res = new Array(len); for (var i = 0; i < len; i++) { res[i] = cloneVNode(vnodes[i]); } return res } /* */ var normalizeEvent = cached(function (name) { var passive = name.charAt(0) === '&'; name = passive ? name.slice(1) : name; var once$$1 = name.charAt(0) === '~'; // Prefixed last, checked first name = once$$1 ? name.slice(1) : name; var capture = name.charAt(0) === '!'; name = capture ? name.slice(1) : name; return { name: name, once: once$$1, capture: capture, passive: passive } }); function createFnInvoker (fns) { function invoker () { var arguments$1 = arguments; var fns = invoker.fns; if (Array.isArray(fns)) { var cloned = fns.slice(); for (var i = 0; i < cloned.length; i++) { cloned[i].apply(null, arguments$1); } } else { // return handler return value for single handlers return fns.apply(null, arguments) } } invoker.fns = fns; return invoker } function updateListeners ( on, oldOn, add, remove$$1, vm ) { var name, cur, old, event; for (name in on) { cur = on[name]; old = oldOn[name]; event = normalizeEvent(name); if (isUndef(cur)) { "development" !== 'production' && warn( "Invalid handler for event \"" + (event.name) + "\": got " + String(cur), vm ); } else if (isUndef(old)) { if (isUndef(cur.fns)) { cur = on[name] = createFnInvoker(cur); } add(event.name, cur, event.once, event.capture, event.passive); } else if (cur !== old) { old.fns = cur; on[name] = old; } } for (name in oldOn) { if (isUndef(on[name])) { event = normalizeEvent(name); remove$$1(event.name, oldOn[name], event.capture); } } } /* */ function mergeVNodeHook (def, hookKey, hook) { var invoker; var oldHook = def[hookKey]; function wrappedHook () { hook.apply(this, arguments); // important: remove merged hook to ensure it's called only once // and prevent memory leak remove(invoker.fns, wrappedHook); } if (isUndef(oldHook)) { // no existing hook invoker = createFnInvoker([wrappedHook]); } else { /* istanbul ignore if */ if (isDef(oldHook.fns) && isTrue(oldHook.merged)) { // already a merged invoker invoker = oldHook; invoker.fns.push(wrappedHook); } else { // existing plain hook invoker = createFnInvoker([oldHook, wrappedHook]); } } invoker.merged = true; def[hookKey] = invoker; } /* */ function extractPropsFromVNodeData ( data, Ctor, tag ) { // we are only extracting raw values here. // validation and default values are handled in the child // component itself. var propOptions = Ctor.options.props; if (isUndef(propOptions)) { return } var res = {}; var attrs = data.attrs; var props = data.props; if (isDef(attrs) || isDef(props)) { for (var key in propOptions) { var altKey = hyphenate(key); if (true) { var keyInLowerCase = key.toLowerCase(); if ( key !== keyInLowerCase && attrs && hasOwn(attrs, keyInLowerCase) ) { tip( "Prop \"" + keyInLowerCase + "\" is passed to component " + (formatComponentName(tag || Ctor)) + ", but the declared prop name is" + " \"" + key + "\". " + "Note that HTML attributes are case-insensitive and camelCased " + "props need to use their kebab-case equivalents when using in-DOM " + "templates. You should probably use \"" + altKey + "\" instead of \"" + key + "\"." ); } } checkProp(res, props, key, altKey, true) || checkProp(res, attrs, key, altKey, false); } } return res } function checkProp ( res, hash, key, altKey, preserve ) { if (isDef(hash)) { if (hasOwn(hash, key)) { res[key] = hash[key]; if (!preserve) { delete hash[key]; } return true } else if (hasOwn(hash, altKey)) { res[key] = hash[altKey]; if (!preserve) { delete hash[altKey]; } return true } } return false } /* */ // The template compiler attempts to minimize the need for normalization by // statically analyzing the template at compile time. // // For plain HTML markup, normalization can be completely skipped because the // generated render function is guaranteed to return Array<VNode>. There are // two cases where extra normalization is needed: // 1. When the children contains components - because a functional component // may return an Array instead of a single root. In this case, just a simple // normalization is needed - if any child is an Array, we flatten the whole // thing with Array.prototype.concat. It is guaranteed to be only 1-level deep // because functional components already normalize their own children. function simpleNormalizeChildren (children) { for (var i = 0; i < children.length; i++) { if (Array.isArray(children[i])) { return Array.prototype.concat.apply([], children) } } return children } // 2. When the children contains constructs that always generated nested Arrays, // e.g. <template>, <slot>, v-for, or when the children is provided by user // with hand-written render functions / JSX. In such cases a full normalization // is needed to cater to all possible types of children values. function normalizeChildren (children) { return isPrimitive(children) ? [createTextVNode(children)] : Array.isArray(children) ? normalizeArrayChildren(children) : undefined } function isTextNode (node) { return isDef(node) && isDef(node.text) && isFalse(node.isComment) } function normalizeArrayChildren (children, nestedIndex) { var res = []; var i, c, last; for (i = 0; i < children.length; i++) { c = children[i]; if (isUndef(c) || typeof c === 'boolean') { continue } last = res[res.length - 1]; // nested if (Array.isArray(c)) { res.push.apply(res, normalizeArrayChildren(c, ((nestedIndex || '') + "_" + i))); } else if (isPrimitive(c)) { if (isTextNode(last)) { // merge adjacent text nodes // this is necessary for SSR hydration because text nodes are // essentially merged when rendered to HTML strings (last).text += String(c); } else if (c !== '') { // convert primitive to vnode res.push(createTextVNode(c)); } } else { if (isTextNode(c) && isTextNode(last)) { // merge adjacent text nodes res[res.length - 1] = createTextVNode(last.text + c.text); } else { // default key for nested array children (likely generated by v-for) if (isTrue(children._isVList) && isDef(c.tag) && isUndef(c.key) && isDef(nestedIndex)) { c.key = "__vlist" + nestedIndex + "_" + i + "__"; } res.push(c); } } } return res } /* */ function ensureCtor (comp, base) { if (comp.__esModule && comp.default) { comp = comp.default; } return isObject(comp) ? base.extend(comp) : comp } function createAsyncPlaceholder ( factory, data, context, children, tag ) { var node = createEmptyVNode(); node.asyncFactory = factory; node.asyncMeta = { data: data, context: context, children: children, tag: tag }; return node } function resolveAsyncComponent ( factory, baseCtor, context ) { if (isTrue(factory.error) && isDef(factory.errorComp)) { return factory.errorComp } if (isDef(factory.resolved)) { return factory.resolved } if (isTrue(factory.loading) && isDef(factory.loadingComp)) { return factory.loadingComp } if (isDef(factory.contexts)) { // already pending factory.contexts.push(context); } else { var contexts = factory.contexts = [context]; var sync = true; var forceRender = function () { for (var i = 0, l = contexts.length; i < l; i++) { contexts[i].$forceUpdate(); } }; var resolve = once(function (res) { // cache resolved factory.resolved = ensureCtor(res, baseCtor); // invoke callbacks only if this is not a synchronous resolve // (async resolves are shimmed as synchronous during SSR) if (!sync) { forceRender(); } }); var reject = once(function (reason) { "development" !== 'production' && warn( "Failed to resolve async component: " + (String(factory)) + (reason ? ("\nReason: " + reason) : '') ); if (isDef(factory.errorComp)) { factory.error = true; forceRender(); } }); var res = factory(resolve, reject); if (isObject(res)) { if (typeof res.then === 'function') { // () => Promise if (isUndef(factory.resolved)) { res.then(resolve, reject); } } else if (isDef(res.component) && typeof res.component.then === 'function') { res.component.then(resolve, reject); if (isDef(res.error)) { factory.errorComp = ensureCtor(res.error, baseCtor); } if (isDef(res.loading)) { factory.loadingComp = ensureCtor(res.loading, baseCtor); if (res.delay === 0) { factory.loading = true; } else { setTimeout(function () { if (isUndef(factory.resolved) && isUndef(factory.error)) { factory.loading = true; forceRender(); } }, res.delay || 200); } } if (isDef(res.timeout)) { setTimeout(function () { if (isUndef(factory.resolved)) { reject( true ? ("timeout (" + (res.timeout) + "ms)") : null ); } }, res.timeout); } } } sync = false; // return in case resolved synchronously return factory.loading ? factory.loadingComp : factory.resolved } } /* */ function getFirstComponentChild (children) { if (Array.isArray(children)) { for (var i = 0; i < children.length; i++) { var c = children[i]; if (isDef(c) && isDef(c.componentOptions)) { return c } } } } /* */ /* */ function initEvents (vm) { vm._events = Object.create(null); vm._hasHookEvent = false; // init parent attached events var listeners = vm.$options._parentListeners; if (listeners) { updateComponentListeners(vm, listeners); } } var target; function add (event, fn, once$$1) { if (once$$1) { target.$once(event, fn); } else { target.$on(event, fn); } } function remove$1 (event, fn) { target.$off(event, fn); } function updateComponentListeners ( vm, listeners, oldListeners ) { target = vm; updateListeners(listeners, oldListeners || {}, add, remove$1, vm); } function eventsMixin (Vue) { var hookRE = /^hook:/; Vue.prototype.$on = function (event, fn) { var this$1 = this; var vm = this; if (Array.isArray(event)) { for (var i = 0, l = event.length; i < l; i++) { this$1.$on(event[i], fn); } } else { (vm._events[event] || (vm._events[event] = [])).push(fn); // optimize hook:event cost by using a boolean flag marked at registration // instead of a hash lookup if (hookRE.test(event)) { vm._hasHookEvent = true; } } return vm }; Vue.prototype.$once = function (event, fn) { var vm = this; function on () { vm.$off(event, on); fn.apply(vm, arguments); } on.fn = fn; vm.$on(event, on); return vm }; Vue.prototype.$off = function (event, fn) { var this$1 = this; var vm = this; // all if (!arguments.length) { vm._events = Object.create(null); return vm } // array of events if (Array.isArray(event)) { for (var i$1 = 0, l = event.length; i$1 < l; i$1++) { this$1.$off(event[i$1], fn); } return vm } // specific event var cbs = vm._events[event]; if (!cbs) { return vm } if (arguments.length === 1) { vm._events[event] = null; return vm } // specific handler var cb; var i = cbs.length; while (i--) { cb = cbs[i]; if (cb === fn || cb.fn === fn) { cbs.splice(i, 1); break } } return vm }; Vue.prototype.$emit = function (event) { var vm = this; if (true) { var lowerCaseEvent = event.toLowerCase(); if (lowerCaseEvent !== event && vm._events[lowerCaseEvent]) { tip( "Event \"" + lowerCaseEvent + "\" is emitted in component " + (formatComponentName(vm)) + " but the handler is registered for \"" + event + "\". " + "Note that HTML attributes are case-insensitive and you cannot use " + "v-on to listen to camelCase events when using in-DOM templates. " + "You should probably use \"" + (hyphenate(event)) + "\" instead of \"" + event + "\"." ); } } var cbs = vm._events[event]; if (cbs) { cbs = cbs.length > 1 ? toArray(cbs) : cbs; var args = toArray(arguments, 1); for (var i = 0, l = cbs.length; i < l; i++) { try { cbs[i].apply(vm, args); } catch (e) { handleError(e, vm, ("event handler for \"" + event + "\"")); } } } return vm }; } /* */ /** * Runtime helper for resolving raw children VNodes into a slot object. */ function resolveSlots ( children, context ) { var slots = {}; if (!children) { return slots } var defaultSlot = []; for (var i = 0, l = children.length; i < l; i++) { var child = children[i]; // named slots should only be respected if the vnode was rendered in the // same context. if ((child.context === context || child.functionalContext === context) && child.data && child.data.slot != null ) { var name = child.data.slot; var slot = (slots[name] || (slots[name] = [])); if (child.tag === 'template') { slot.push.apply(slot, child.children); } else { slot.push(child); } } else { defaultSlot.push(child); } } // ignore whitespace if (!defaultSlot.every(isWhitespace)) { slots.default = defaultSlot; } return slots } function isWhitespace (node) { return node.isComment || node.text === ' ' } function resolveScopedSlots ( fns, // see flow/vnode res ) { res = res || {}; for (var i = 0; i < fns.length; i++) { if (Array.isArray(fns[i])) { resolveScopedSlots(fns[i], res); } else { res[fns[i].key] = fns[i].fn; } } return res } /* */ var activeInstance = null; var isUpdatingChildComponent = false; function initLifecycle (vm) { var options = vm.$options; // locate first non-abstract parent var parent = options.parent; if (parent && !options.abstract) { while (parent.$options.abstract && parent.$parent) { parent = parent.$parent; } parent.$children.push(vm); } vm.$parent = parent; vm.$root = parent ? parent.$root : vm; vm.$children = []; vm.$refs = {}; vm._watcher = null; vm._inactive = null; vm._directInactive = false; vm._isMounted = false; vm._isDestroyed = false; vm._isBeingDestroyed = false; } function lifecycleMixin (Vue) { Vue.prototype._update = function (vnode, hydrating) { var vm = this; if (vm._isMounted) { callHook(vm, 'beforeUpdate'); } var prevEl = vm.$el; var prevVnode = vm._vnode; var prevActiveInstance = activeInstance; activeInstance = vm; vm._vnode = vnode; // Vue.prototype.__patch__ is injected in entry points // based on the rendering backend used. if (!prevVnode) { // initial render vm.$el = vm.__patch__( vm.$el, vnode, hydrating, false /* removeOnly */, vm.$options._parentElm, vm.$options._refElm ); // no need for the ref nodes after initial patch // this prevents keeping a detached DOM tree in memory (#5851) vm.$options._parentElm = vm.$options._refElm = null; } else { // updates vm.$el = vm.__patch__(prevVnode, vnode); } activeInstance = prevActiveInstance; // update __vue__ reference if (prevEl) { prevEl.__vue__ = null; } if (vm.$el) { vm.$el.__vue__ = vm; } // if parent is an HOC, update its $el as well if (vm.$vnode && vm.$parent && vm.$vnode === vm.$parent._vnode) { vm.$parent.$el = vm.$el; } // updated hook is called by the scheduler to ensure that children are // updated in a parent's updated hook. }; Vue.prototype.$forceUpdate = function () { var vm = this; if (vm._watcher) { vm._watcher.update(); } }; Vue.prototype.$destroy = function () { var vm = this; if (vm._isBeingDestroyed) { return } callHook(vm, 'beforeDestroy'); vm._isBeingDestroyed = true; // remove self from parent var parent = vm.$parent; if (parent && !parent._isBeingDestroyed && !vm.$options.abstract) { remove(parent.$children, vm); } // teardown watchers if (vm._watcher) { vm._watcher.teardown(); } var i = vm._watchers.length; while (i--) { vm._watchers[i].teardown(); } // remove reference from data ob // frozen object may not have observer. if (vm._data.__ob__) { vm._data.__ob__.vmCount--; } // call the last hook... vm._isDestroyed = true; // invoke destroy hooks on current rendered tree vm.__patch__(vm._vnode, null); // fire destroyed hook callHook(vm, 'destroyed'); // turn off all instance listeners. vm.$off(); // remove __vue__ reference if (vm.$el) { vm.$el.__vue__ = null; } }; } function mountComponent ( vm, el, hydrating ) { vm.$el = el; if (!vm.$options.render) { vm.$options.render = createEmptyVNode; if (true) { /* istanbul ignore if */ if ((vm.$options.template && vm.$options.template.charAt(0) !== '#') || vm.$options.el || el) { warn( 'You are using the runtime-only build of Vue where the template ' + 'compiler is not available. Either pre-compile the templates into ' + 'render functions, or use the compiler-included build.', vm ); } else { warn( 'Failed to mount component: template or render function not defined.', vm ); } } } callHook(vm, 'beforeMount'); var updateComponent; /* istanbul ignore if */ if ("development" !== 'production' && config.performance && mark) { updateComponent = function () { var name = vm._name; var id = vm._uid; var startTag = "vue-perf-start:" + id; var endTag = "vue-perf-end:" + id; mark(startTag); var vnode = vm._render(); mark(endTag); measure((name + " render"), startTag, endTag); mark(startTag); vm._update(vnode, hydrating); mark(endTag); measure((name + " patch"), startTag, endTag); }; } else { updateComponent = function () { vm._update(vm._render(), hydrating); }; } vm._watcher = new Watcher(vm, updateComponent, noop); hydrating = false; // manually mounted instance, call mounted on self // mounted is called for render-created child components in its inserted hook if (vm.$vnode == null) { vm._isMounted = true; callHook(vm, 'mounted'); } return vm } function updateChildComponent ( vm, propsData, listeners, parentVnode, renderChildren ) { if (true) { isUpdatingChildComponent = true; } // determine whether component has slot children // we need to do this before overwriting $options._renderChildren var hasChildren = !!( renderChildren || // has new static slots vm.$options._renderChildren || // has old static slots parentVnode.data.scopedSlots || // has new scoped slots vm.$scopedSlots !== emptyObject // has old scoped slots ); vm.$options._parentVnode = parentVnode; vm.$vnode = parentVnode; // update vm's placeholder node without re-render if (vm._vnode) { // update child tree's parent vm._vnode.parent = parentVnode; } vm.$options._renderChildren = renderChildren; // update $attrs and $listensers hash // these are also reactive so they may trigger child update if the child // used them during render vm.$attrs = parentVnode.data && parentVnode.data.attrs; vm.$listeners = listeners; // update props if (propsData && vm.$options.props) { observerState.shouldConvert = false; var props = vm._props; var propKeys = vm.$options._propKeys || []; for (var i = 0; i < propKeys.length; i++) { var key = propKeys[i]; props[key] = validateProp(key, vm.$options.props, propsData, vm); } observerState.shouldConvert = true; // keep a copy of raw propsData vm.$options.propsData = propsData; } // update listeners if (listeners) { var oldListeners = vm.$options._parentListeners; vm.$options._parentListeners = listeners; updateComponentListeners(vm, listeners, oldListeners); } // resolve slots + force update if has children if (hasChildren) { vm.$slots = resolveSlots(renderChildren, parentVnode.context); vm.$forceUpdate(); } if (true) { isUpdatingChildComponent = false; } } function isInInactiveTree (vm) { while (vm && (vm = vm.$parent)) { if (vm._inactive) { return true } } return false } function activateChildComponent (vm, direct) { if (direct) { vm._directInactive = false; if (isInInactiveTree(vm)) { return } } else if (vm._directInactive) { return } if (vm._inactive || vm._inactive === null) { vm._inactive = false; for (var i = 0; i < vm.$children.length; i++) { activateChildComponent(vm.$children[i]); } callHook(vm, 'activated'); } } function deactivateChildComponent (vm, direct) { if (direct) { vm._directInactive = true; if (isInInactiveTree(vm)) { return } } if (!vm._inactive) { vm._inactive = true; for (var i = 0; i < vm.$children.length; i++) { deactivateChildComponent(vm.$children[i]); } callHook(vm, 'deactivated'); } } function callHook (vm, hook) { var handlers = vm.$options[hook]; if (handlers) { for (var i = 0, j = handlers.length; i < j; i++) { try { handlers[i].call(vm); } catch (e) { handleError(e, vm, (hook + " hook")); } } } if (vm._hasHookEvent) { vm.$emit('hook:' + hook); } } /* */ var MAX_UPDATE_COUNT = 100; var queue = []; var activatedChildren = []; var has = {}; var circular = {}; var waiting = false; var flushing = false; var index = 0; /** * Reset the scheduler's state. */ function resetSchedulerState () { index = queue.length = activatedChildren.length = 0; has = {}; if (true) { circular = {}; } waiting = flushing = false; } /** * Flush both queues and run the watchers. */ function flushSchedulerQueue () { flushing = true; var watcher, id; // Sort queue before flush. // This ensures that: // 1. Components are updated from parent to child. (because parent is always // created before the child) // 2. A component's user watchers are run before its render watcher (because // user watchers are created before the render watcher) // 3. If a component is destroyed during a parent component's watcher run, // its watchers can be skipped. queue.sort(function (a, b) { return a.id - b.id; }); // do not cache length because more watchers might be pushed // as we run existing watchers for (index = 0; index < queue.length; index++) { watcher = queue[index]; id = watcher.id; has[id] = null; watcher.run(); // in dev build, check and stop circular updates. if ("development" !== 'production' && has[id] != null) { circular[id] = (circular[id] || 0) + 1; if (circular[id] > MAX_UPDATE_COUNT) { warn( 'You may have an infinite update loop ' + ( watcher.user ? ("in watcher with expression \"" + (watcher.expression) + "\"") : "in a component render function." ), watcher.vm ); break } } } // keep copies of post queues before resetting state var activatedQueue = activatedChildren.slice(); var updatedQueue = queue.slice(); resetSchedulerState(); // call component updated and activated hooks callActivatedHooks(activatedQueue); callUpdatedHooks(updatedQueue); // devtool hook /* istanbul ignore if */ if (devtools && config.devtools) { devtools.emit('flush'); } } function callUpdatedHooks (queue) { var i = queue.length; while (i--) { var watcher = queue[i]; var vm = watcher.vm; if (vm._watcher === watcher && vm._isMounted) { callHook(vm, 'updated'); } } } /** * Queue a kept-alive component that was activated during patch. * The queue will be processed after the entire tree has been patched. */ function queueActivatedComponent (vm) { // setting _inactive to false here so that a render function can // rely on checking whether it's in an inactive tree (e.g. router-view) vm._inactive = false; activatedChildren.push(vm); } function callActivatedHooks (queue) { for (var i = 0; i < queue.length; i++) { queue[i]._inactive = true; activateChildComponent(queue[i], true /* true */); } } /** * Push a watcher into the watcher queue. * Jobs with duplicate IDs will be skipped unless it's * pushed when the queue is being flushed. */ function queueWatcher (watcher) { var id = watcher.id; if (has[id] == null) { has[id] = true; if (!flushing) { queue.push(watcher); } else { // if already flushing, splice the watcher based on its id // if already past its id, it will be run next immediately. var i = queue.length - 1; while (i > index && queue[i].id > watcher.id) { i--; } queue.splice(i + 1, 0, watcher); } // queue the flush if (!waiting) { waiting = true; nextTick(flushSchedulerQueue); } } } /* */ var uid$2 = 0; /** * A watcher parses an expression, collects dependencies, * and fires callback when the expression value changes. * This is used for both the $watch() api and directives. */ var Watcher = function Watcher ( vm, expOrFn, cb, options ) { this.vm = vm; vm._watchers.push(this); // options if (options) { this.deep = !!options.deep; this.user = !!options.user; this.lazy = !!options.lazy; this.sync = !!options.sync; } else { this.deep = this.user = this.lazy = this.sync = false; } this.cb = cb; this.id = ++uid$2; // uid for batching this.active = true; this.dirty = this.lazy; // for lazy watchers this.deps = []; this.newDeps = []; this.depIds = new _Set(); this.newDepIds = new _Set(); this.expression = true ? expOrFn.toString() : ''; // parse expression for getter if (typeof expOrFn === 'function') { this.getter = expOrFn; } else { this.getter = parsePath(expOrFn); if (!this.getter) { this.getter = function () {}; "development" !== 'production' && warn( "Failed watching path: \"" + expOrFn + "\" " + 'Watcher only accepts simple dot-delimited paths. ' + 'For full control, use a function instead.', vm ); } } this.value = this.lazy ? undefined : this.get(); }; /** * Evaluate the getter, and re-collect dependencies. */ Watcher.prototype.get = function get () { pushTarget(this); var value; var vm = this.vm; try { value = this.getter.call(vm, vm); } catch (e) { if (this.user) { handleError(e, vm, ("getter for watcher \"" + (this.expression) + "\"")); } else { throw e } } finally { // "touch" every property so they are all tracked as // dependencies for deep watching if (this.deep) { traverse(value); } popTarget(); this.cleanupDeps(); } return value }; /** * Add a dependency to this directive. */ Watcher.prototype.addDep = function addDep (dep) { var id = dep.id; if (!this.newDepIds.has(id)) { this.newDepIds.add(id); this.newDeps.push(dep); if (!this.depIds.has(id)) { dep.addSub(this); } } }; /** * Clean up for dependency collection. */ Watcher.prototype.cleanupDeps = function cleanupDeps () { var this$1 = this; var i = this.deps.length; while (i--) { var dep = this$1.deps[i]; if (!this$1.newDepIds.has(dep.id)) { dep.removeSub(this$1); } } var tmp = this.depIds; this.depIds = this.newDepIds; this.newDepIds = tmp; this.newDepIds.clear(); tmp = this.deps; this.deps = this.newDeps; this.newDeps = tmp; this.newDeps.length = 0; }; /** * Subscriber interface. * Will be called when a dependency changes. */ Watcher.prototype.update = function update () { /* istanbul ignore else */ if (this.lazy) { this.dirty = true; } else if (this.sync) { this.run(); } else { queueWatcher(this); } }; /** * Scheduler job interface. * Will be called by the scheduler. */ Watcher.prototype.run = function run () { if (this.active) { var value = this.get(); if ( value !== this.value || // Deep watchers and watchers on Object/Arrays should fire even // when the value is the same, because the value may // have mutated. isObject(value) || this.deep ) { // set new value var oldValue = this.value; this.value = value; if (this.user) { try { this.cb.call(this.vm, value, oldValue); } catch (e) { handleError(e, this.vm, ("callback for watcher \"" + (this.expression) + "\"")); } } else { this.cb.call(this.vm, value, oldValue); } } } }; /** * Evaluate the value of the watcher. * This only gets called for lazy watchers. */ Watcher.prototype.evaluate = function evaluate () { this.value = this.get(); this.dirty = false; }; /** * Depend on all deps collected by this watcher. */ Watcher.prototype.depend = function depend () { var this$1 = this; var i = this.deps.length; while (i--) { this$1.deps[i].depend(); } }; /** * Remove self from all dependencies' subscriber list. */ Watcher.prototype.teardown = function teardown () { var this$1 = this; if (this.active) { // remove self from vm's watcher list // this is a somewhat expensive operation so we skip it // if the vm is being destroyed. if (!this.vm._isBeingDestroyed) { remove(this.vm._watchers, this); } var i = this.deps.length; while (i--) { this$1.deps[i].removeSub(this$1); } this.active = false; } }; /** * Recursively traverse an object to evoke all converted * getters, so that every nested property inside the object * is collected as a "deep" dependency. */ var seenObjects = new _Set(); function traverse (val) { seenObjects.clear(); _traverse(val, seenObjects); } function _traverse (val, seen) { var i, keys; var isA = Array.isArray(val); if ((!isA && !isObject(val)) || !Object.isExtensible(val)) { return } if (val.__ob__) { var depId = val.__ob__.dep.id; if (seen.has(depId)) { return } seen.add(depId); } if (isA) { i = val.length; while (i--) { _traverse(val[i], seen); } } else { keys = Object.keys(val); i = keys.length; while (i--) { _traverse(val[keys[i]], seen); } } } /* */ var sharedPropertyDefinition = { enumerable: true, configurable: true, get: noop, set: noop }; function proxy (target, sourceKey, key) { sharedPropertyDefinition.get = function proxyGetter () { return this[sourceKey][key] }; sharedPropertyDefinition.set = function proxySetter (val) { this[sourceKey][key] = val; }; Object.defineProperty(target, key, sharedPropertyDefinition); } function initState (vm) { vm._watchers = []; var opts = vm.$options; if (opts.props) { initProps(vm, opts.props); } if (opts.methods) { initMethods(vm, opts.methods); } if (opts.data) { initData(vm); } else { observe(vm._data = {}, true /* asRootData */); } if (opts.computed) { initComputed(vm, opts.computed); } if (opts.watch && opts.watch !== nativeWatch) { initWatch(vm, opts.watch); } } function checkOptionType (vm, name) { var option = vm.$options[name]; if (!isPlainObject(option)) { warn( ("component option \"" + name + "\" should be an object."), vm ); } } function initProps (vm, propsOptions) { var propsData = vm.$options.propsData || {}; var props = vm._props = {}; // cache prop keys so that future props updates can iterate using Array // instead of dynamic object key enumeration. var keys = vm.$options._propKeys = []; var isRoot = !vm.$parent; // root instance props should be converted observerState.shouldConvert = isRoot; var loop = function ( key ) { keys.push(key); var value = validateProp(key, propsOptions, propsData, vm); /* istanbul ignore else */ if (true) { if (isReservedAttribute(key) || config.isReservedAttr(key)) { warn( ("\"" + key + "\" is a reserved attribute and cannot be used as component prop."), vm ); } defineReactive$$1(props, key, value, function () { if (vm.$parent && !isUpdatingChildComponent) { warn( "Avoid mutating a prop directly since the value will be " + "overwritten whenever the parent component re-renders. " + "Instead, use a data or computed property based on the prop's " + "value. Prop being mutated: \"" + key + "\"", vm ); } }); } else { defineReactive$$1(props, key, value); } // static props are already proxied on the component's prototype // during Vue.extend(). We only need to proxy props defined at // instantiation here. if (!(key in vm)) { proxy(vm, "_props", key); } }; for (var key in propsOptions) loop( key ); observerState.shouldConvert = true; } function initData (vm) { var data = vm.$options.data; data = vm._data = typeof data === 'function' ? getData(data, vm) : data || {}; if (!isPlainObject(data)) { data = {}; "development" !== 'production' && warn( 'data functions should return an object:\n' + 'https://vuejs.org/v2/guide/components.html#data-Must-Be-a-Function', vm ); } // proxy data on instance var keys = Object.keys(data); var props = vm.$options.props; var methods = vm.$options.methods; var i = keys.length; while (i--) { var key = keys[i]; if (true) { if (methods && hasOwn(methods, key)) { warn( ("method \"" + key + "\" has already been defined as a data property."), vm ); } } if (props && hasOwn(props, key)) { "development" !== 'production' && warn( "The data property \"" + key + "\" is already declared as a prop. " + "Use prop default value instead.", vm ); } else if (!isReserved(key)) { proxy(vm, "_data", key); } } // observe data observe(data, true /* asRootData */); } function getData (data, vm) { try { return data.call(vm) } catch (e) { handleError(e, vm, "data()"); return {} } } var computedWatcherOptions = { lazy: true }; function initComputed (vm, computed) { "development" !== 'production' && checkOptionType(vm, 'computed'); var watchers = vm._computedWatchers = Object.create(null); for (var key in computed) { var userDef = computed[key]; var getter = typeof userDef === 'function' ? userDef : userDef.get; if ("development" !== 'production' && getter == null) { warn( ("Getter is missing for computed property \"" + key + "\"."), vm ); } // create internal watcher for the computed property. watchers[key] = new Watcher(vm, getter || noop, noop, computedWatcherOptions); // component-defined computed properties are already defined on the // component prototype. We only need to define computed properties defined // at instantiation here. if (!(key in vm)) { defineComputed(vm, key, userDef); } else if (true) { if (key in vm.$data) { warn(("The computed property \"" + key + "\" is already defined in data."), vm); } else if (vm.$options.props && key in vm.$options.props) { warn(("The computed property \"" + key + "\" is already defined as a prop."), vm); } } } } function defineComputed (target, key, userDef) { if (typeof userDef === 'function') { sharedPropertyDefinition.get = createComputedGetter(key); sharedPropertyDefinition.set = noop; } else { sharedPropertyDefinition.get = userDef.get ? userDef.cache !== false ? createComputedGetter(key) : userDef.get : noop; sharedPropertyDefinition.set = userDef.set ? userDef.set : noop; } if ("development" !== 'production' && sharedPropertyDefinition.set === noop) { sharedPropertyDefinition.set = function () { warn( ("Computed property \"" + key + "\" was assigned to but it has no setter."), this ); }; } Object.defineProperty(target, key, sharedPropertyDefinition); } function createComputedGetter (key) { return function computedGetter () { var watcher = this._computedWatchers && this._computedWatchers[key]; if (watcher) { if (watcher.dirty) { watcher.evaluate(); } if (Dep.target) { watcher.depend(); } return watcher.value } } } function initMethods (vm, methods) { "development" !== 'production' && checkOptionType(vm, 'methods'); var props = vm.$options.props; for (var key in methods) { vm[key] = methods[key] == null ? noop : bind(methods[key], vm); if (true) { if (methods[key] == null) { warn( "method \"" + key + "\" has an undefined value in the component definition. " + "Did you reference the function correctly?", vm ); } if (props && hasOwn(props, key)) { warn( ("method \"" + key + "\" has already been defined as a prop."), vm ); } } } } function initWatch (vm, watch) { "development" !== 'production' && checkOptionType(vm, 'watch'); for (var key in watch) { var handler = watch[key]; if (Array.isArray(handler)) { for (var i = 0; i < handler.length; i++) { createWatcher(vm, key, handler[i]); } } else { createWatcher(vm, key, handler); } } } function createWatcher ( vm, keyOrFn, handler, options ) { if (isPlainObject(handler)) { options = handler; handler = handler.handler; } if (typeof handler === 'string') { handler = vm[handler]; } return vm.$watch(keyOrFn, handler, options) } function stateMixin (Vue) { // flow somehow has problems with directly declared definition object // when using Object.defineProperty, so we have to procedurally build up // the object here. var dataDef = {}; dataDef.get = function () { return this._data }; var propsDef = {}; propsDef.get = function () { return this._props }; if (true) { dataDef.set = function (newData) { warn( 'Avoid replacing instance root $data. ' + 'Use nested data properties instead.', this ); }; propsDef.set = function () { warn("$props is readonly.", this); }; } Object.defineProperty(Vue.prototype, '$data', dataDef); Object.defineProperty(Vue.prototype, '$props', propsDef); Vue.prototype.$set = set; Vue.prototype.$delete = del; Vue.prototype.$watch = function ( expOrFn, cb, options ) { var vm = this; if (isPlainObject(cb)) { return createWatcher(vm, expOrFn, cb, options) } options = options || {}; options.user = true; var watcher = new Watcher(vm, expOrFn, cb, options); if (options.immediate) { cb.call(vm, watcher.value); } return function unwatchFn () { watcher.teardown(); } }; } /* */ function initProvide (vm) { var provide = vm.$options.provide; if (provide) { vm._provided = typeof provide === 'function' ? provide.call(vm) : provide; } } function initInjections (vm) { var result = resolveInject(vm.$options.inject, vm); if (result) { observerState.shouldConvert = false; Object.keys(result).forEach(function (key) { /* istanbul ignore else */ if (true) { defineReactive$$1(vm, key, result[key], function () { warn( "Avoid mutating an injected value directly since the changes will be " + "overwritten whenever the provided component re-renders. " + "injection being mutated: \"" + key + "\"", vm ); }); } else { defineReactive$$1(vm, key, result[key]); } }); observerState.shouldConvert = true; } } function resolveInject (inject, vm) { if (inject) { // inject is :any because flow is not smart enough to figure out cached var result = Object.create(null); var keys = hasSymbol ? Reflect.ownKeys(inject) : Object.keys(inject); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var provideKey = inject[key]; var source = vm; while (source) { if (source._provided && provideKey in source._provided) { result[key] = source._provided[provideKey]; break } source = source.$parent; } if ("development" !== 'production' && !source) { warn(("Injection \"" + key + "\" not found"), vm); } } return result } } /* */ function createFunctionalComponent ( Ctor, propsData, data, context, children ) { var props = {}; var propOptions = Ctor.options.props; if (isDef(propOptions)) { for (var key in propOptions) { props[key] = validateProp(key, propOptions, propsData || {}); } } else { if (isDef(data.attrs)) { mergeProps(props, data.attrs); } if (isDef(data.props)) { mergeProps(props, data.props); } } // ensure the createElement function in functional components // gets a unique context - this is necessary for correct named slot check var _context = Object.create(context); var h = function (a, b, c, d) { return createElement(_context, a, b, c, d, true); }; var vnode = Ctor.options.render.call(null, h, { data: data, props: props, children: children, parent: context, listeners: data.on || {}, injections: resolveInject(Ctor.options.inject, context), slots: function () { return resolveSlots(children, context); } }); if (vnode instanceof VNode) { vnode.functionalContext = context; vnode.functionalOptions = Ctor.options; if (data.slot) { (vnode.data || (vnode.data = {})).slot = data.slot; } } return vnode } function mergeProps (to, from) { for (var key in from) { to[camelize(key)] = from[key]; } } /* */ // hooks to be invoked on component VNodes during patch var componentVNodeHooks = { init: function init ( vnode, hydrating, parentElm, refElm ) { if (!vnode.componentInstance || vnode.componentInstance._isDestroyed) { var child = vnode.componentInstance = createComponentInstanceForVnode( vnode, activeInstance, parentElm, refElm ); child.$mount(hydrating ? vnode.elm : undefined, hydrating); } else if (vnode.data.keepAlive) { // kept-alive components, treat as a patch var mountedNode = vnode; // work around flow componentVNodeHooks.prepatch(mountedNode, mountedNode); } }, prepatch: function prepatch (oldVnode, vnode) { var options = vnode.componentOptions; var child = vnode.componentInstance = oldVnode.componentInstance; updateChildComponent( child, options.propsData, // updated props options.listeners, // updated listeners vnode, // new parent vnode options.children // new children ); }, insert: function insert (vnode) { var context = vnode.context; var componentInstance = vnode.componentInstance; if (!componentInstance._isMounted) { componentInstance._isMounted = true; callHook(componentInstance, 'mounted'); } if (vnode.data.keepAlive) { if (context._isMounted) { // vue-router#1212 // During updates, a kept-alive component's child components may // change, so directly walking the tree here may call activated hooks // on incorrect children. Instead we push them into a queue which will // be processed after the whole patch process ended. queueActivatedComponent(componentInstance); } else { activateChildComponent(componentInstance, true /* direct */); } } }, destroy: function destroy (vnode) { var componentInstance = vnode.componentInstance; if (!componentInstance._isDestroyed) { if (!vnode.data.keepAlive) { componentInstance.$destroy(); } else { deactivateChildComponent(componentInstance, true /* direct */); } } } }; var hooksToMerge = Object.keys(componentVNodeHooks); function createComponent ( Ctor, data, context, children, tag ) { if (isUndef(Ctor)) { return } var baseCtor = context.$options._base; // plain options object: turn it into a constructor if (isObject(Ctor)) { Ctor = baseCtor.extend(Ctor); } // if at this stage it's not a constructor or an async component factory, // reject. if (typeof Ctor !== 'function') { if (true) { warn(("Invalid Component definition: " + (String(Ctor))), context); } return } // async component var asyncFactory; if (isUndef(Ctor.cid)) { asyncFactory = Ctor; Ctor = resolveAsyncComponent(asyncFactory, baseCtor, context); if (Ctor === undefined) { // return a placeholder node for async component, which is rendered // as a comment node but preserves all the raw information for the node. // the information will be used for async server-rendering and hydration. return createAsyncPlaceholder( asyncFactory, data, context, children, tag ) } } data = data || {}; // resolve constructor options in case global mixins are applied after // component constructor creation resolveConstructorOptions(Ctor); // transform component v-model data into props & events if (isDef(data.model)) { transformModel(Ctor.options, data); } // extract props var propsData = extractPropsFromVNodeData(data, Ctor, tag); // functional component if (isTrue(Ctor.options.functional)) { return createFunctionalComponent(Ctor, propsData, data, context, children) } // extract listeners, since these needs to be treated as // child component listeners instead of DOM listeners var listeners = data.on; // replace with listeners with .native modifier // so it gets processed during parent component patch. data.on = data.nativeOn; if (isTrue(Ctor.options.abstract)) { // abstract components do not keep anything // other than props & listeners & slot // work around flow var slot = data.slot; data = {}; if (slot) { data.slot = slot; } } // merge component management hooks onto the placeholder node mergeHooks(data); // return a placeholder vnode var name = Ctor.options.name || tag; var vnode = new VNode( ("vue-component-" + (Ctor.cid) + (name ? ("-" + name) : '')), data, undefined, undefined, undefined, context, { Ctor: Ctor, propsData: propsData, listeners: listeners, tag: tag, children: children }, asyncFactory ); return vnode } function createComponentInstanceForVnode ( vnode, // we know it's MountedComponentVNode but flow doesn't parent, // activeInstance in lifecycle state parentElm, refElm ) { var vnodeComponentOptions = vnode.componentOptions; var options = { _isComponent: true, parent: parent, propsData: vnodeComponentOptions.propsData, _componentTag: vnodeComponentOptions.tag, _parentVnode: vnode, _parentListeners: vnodeComponentOptions.listeners, _renderChildren: vnodeComponentOptions.children, _parentElm: parentElm || null, _refElm: refElm || null }; // check inline-template render functions var inlineTemplate = vnode.data.inlineTemplate; if (isDef(inlineTemplate)) { options.render = inlineTemplate.render; options.staticRenderFns = inlineTemplate.staticRenderFns; } return new vnodeComponentOptions.Ctor(options) } function mergeHooks (data) { if (!data.hook) { data.hook = {}; } for (var i = 0; i < hooksToMerge.length; i++) { var key = hooksToMerge[i]; var fromParent = data.hook[key]; var ours = componentVNodeHooks[key]; data.hook[key] = fromParent ? mergeHook$1(ours, fromParent) : ours; } } function mergeHook$1 (one, two) { return function (a, b, c, d) { one(a, b, c, d); two(a, b, c, d); } } // transform component v-model info (value and callback) into // prop and event handler respectively. function transformModel (options, data) { var prop = (options.model && options.model.prop) || 'value'; var event = (options.model && options.model.event) || 'input';(data.props || (data.props = {}))[prop] = data.model.value; var on = data.on || (data.on = {}); if (isDef(on[event])) { on[event] = [data.model.callback].concat(on[event]); } else { on[event] = data.model.callback; } } /* */ var SIMPLE_NORMALIZE = 1; var ALWAYS_NORMALIZE = 2; // wrapper function for providing a more flexible interface // without getting yelled at by flow function createElement ( context, tag, data, children, normalizationType, alwaysNormalize ) { if (Array.isArray(data) || isPrimitive(data)) { normalizationType = children; children = data; data = undefined; } if (isTrue(alwaysNormalize)) { normalizationType = ALWAYS_NORMALIZE; } return _createElement(context, tag, data, children, normalizationType) } function _createElement ( context, tag, data, children, normalizationType ) { if (isDef(data) && isDef((data).__ob__)) { "development" !== 'production' && warn( "Avoid using observed data object as vnode data: " + (JSON.stringify(data)) + "\n" + 'Always create fresh vnode data objects in each render!', context ); return createEmptyVNode() } // object syntax in v-bind if (isDef(data) && isDef(data.is)) { tag = data.is; } if (!tag) { // in case of component :is set to falsy value return createEmptyVNode() } // warn against non-primitive key if ("development" !== 'production' && isDef(data) && isDef(data.key) && !isPrimitive(data.key) ) { warn( 'Avoid using non-primitive value as key, ' + 'use string/number value instead.', context ); } // support single function children as default scoped slot if (Array.isArray(children) && typeof children[0] === 'function' ) { data = data || {}; data.scopedSlots = { default: children[0] }; children.length = 0; } if (normalizationType === ALWAYS_NORMALIZE) { children = normalizeChildren(children); } else if (normalizationType === SIMPLE_NORMALIZE) { children = simpleNormalizeChildren(children); } var vnode, ns; if (typeof tag === 'string') { var Ctor; ns = config.getTagNamespace(tag); if (config.isReservedTag(tag)) { // platform built-in elements vnode = new VNode( config.parsePlatformTagName(tag), data, children, undefined, undefined, context ); } else if (isDef(Ctor = resolveAsset(context.$options, 'components', tag))) { // component vnode = createComponent(Ctor, data, context, children, tag); } else { // unknown or unlisted namespaced elements // check at runtime because it may get assigned a namespace when its // parent normalizes children vnode = new VNode( tag, data, children, undefined, undefined, context ); } } else { // direct component options / constructor vnode = createComponent(tag, data, context, children); } if (isDef(vnode)) { if (ns) { applyNS(vnode, ns); } return vnode } else { return createEmptyVNode() } } function applyNS (vnode, ns) { vnode.ns = ns; if (vnode.tag === 'foreignObject') { // use default namespace inside foreignObject return } if (isDef(vnode.children)) { for (var i = 0, l = vnode.children.length; i < l; i++) { var child = vnode.children[i]; if (isDef(child.tag) && isUndef(child.ns)) { applyNS(child, ns); } } } } /* */ /** * Runtime helper for rendering v-for lists. */ function renderList ( val, render ) { var ret, i, l, keys, key; if (Array.isArray(val) || typeof val === 'string') { ret = new Array(val.length); for (i = 0, l = val.length; i < l; i++) { ret[i] = render(val[i], i); } } else if (typeof val === 'number') { ret = new Array(val); for (i = 0; i < val; i++) { ret[i] = render(i + 1, i); } } else if (isObject(val)) { keys = Object.keys(val); ret = new Array(keys.length); for (i = 0, l = keys.length; i < l; i++) { key = keys[i]; ret[i] = render(val[key], key, i); } } if (isDef(ret)) { (ret)._isVList = true; } return ret } /* */ /** * Runtime helper for rendering <slot> */ function renderSlot ( name, fallback, props, bindObject ) { var scopedSlotFn = this.$scopedSlots[name]; if (scopedSlotFn) { // scoped slot props = props || {}; if (bindObject) { props = extend(extend({}, bindObject), props); } return scopedSlotFn(props) || fallback } else { var slotNodes = this.$slots[name]; // warn duplicate slot usage if (slotNodes && "development" !== 'production') { slotNodes._rendered && warn( "Duplicate presence of slot \"" + name + "\" found in the same render tree " + "- this will likely cause render errors.", this ); slotNodes._rendered = true; } return slotNodes || fallback } } /* */ /** * Runtime helper for resolving filters */ function resolveFilter (id) { return resolveAsset(this.$options, 'filters', id, true) || identity } /* */ /** * Runtime helper for checking keyCodes from config. */ function checkKeyCodes ( eventKeyCode, key, builtInAlias ) { var keyCodes = config.keyCodes[key] || builtInAlias; if (Array.isArray(keyCodes)) { return keyCodes.indexOf(eventKeyCode) === -1 } else { return keyCodes !== eventKeyCode } } /* */ /** * Runtime helper for merging v-bind="object" into a VNode's data. */ function bindObjectProps ( data, tag, value, asProp, isSync ) { if (value) { if (!isObject(value)) { "development" !== 'production' && warn( 'v-bind without argument expects an Object or Array value', this ); } else { if (Array.isArray(value)) { value = toObject(value); } var hash; var loop = function ( key ) { if ( key === 'class' || key === 'style' || isReservedAttribute(key) ) { hash = data; } else { var type = data.attrs && data.attrs.type; hash = asProp || config.mustUseProp(tag, type, key) ? data.domProps || (data.domProps = {}) : data.attrs || (data.attrs = {}); } if (!(key in hash)) { hash[key] = value[key]; if (isSync) { var on = data.on || (data.on = {}); on[("update:" + key)] = function ($event) { value[key] = $event; }; } } }; for (var key in value) loop( key ); } } return data } /* */ /** * Runtime helper for rendering static trees. */ function renderStatic ( index, isInFor ) { var tree = this._staticTrees[index]; // if has already-rendered static tree and not inside v-for, // we can reuse the same tree by doing a shallow clone. if (tree && !isInFor) { return Array.isArray(tree) ? cloneVNodes(tree) : cloneVNode(tree) } // otherwise, render a fresh tree. tree = this._staticTrees[index] = this.$options.staticRenderFns[index].call(this._renderProxy); markStatic(tree, ("__static__" + index), false); return tree } /** * Runtime helper for v-once. * Effectively it means marking the node as static with a unique key. */ function markOnce ( tree, index, key ) { markStatic(tree, ("__once__" + index + (key ? ("_" + key) : "")), true); return tree } function markStatic ( tree, key, isOnce ) { if (Array.isArray(tree)) { for (var i = 0; i < tree.length; i++) { if (tree[i] && typeof tree[i] !== 'string') { markStaticNode(tree[i], (key + "_" + i), isOnce); } } } else { markStaticNode(tree, key, isOnce); } } function markStaticNode (node, key, isOnce) { node.isStatic = true; node.key = key; node.isOnce = isOnce; } /* */ function bindObjectListeners (data, value) { if (value) { if (!isPlainObject(value)) { "development" !== 'production' && warn( 'v-on without argument expects an Object value', this ); } else { var on = data.on = data.on ? extend({}, data.on) : {}; for (var key in value) { var existing = on[key]; var ours = value[key]; on[key] = existing ? [].concat(ours, existing) : ours; } } } return data } /* */ function initRender (vm) { vm._vnode = null; // the root of the child tree vm._staticTrees = null; var parentVnode = vm.$vnode = vm.$options._parentVnode; // the placeholder node in parent tree var renderContext = parentVnode && parentVnode.context; vm.$slots = resolveSlots(vm.$options._renderChildren, renderContext); vm.$scopedSlots = emptyObject; // bind the createElement fn to this instance // so that we get proper render context inside it. // args order: tag, data, children, normalizationType, alwaysNormalize // internal version is used by render functions compiled from templates vm._c = function (a, b, c, d) { return createElement(vm, a, b, c, d, false); }; // normalization is always applied for the public version, used in // user-written render functions. vm.$createElement = function (a, b, c, d) { return createElement(vm, a, b, c, d, true); }; // $attrs & $listeners are exposed for easier HOC creation. // they need to be reactive so that HOCs using them are always updated var parentData = parentVnode && parentVnode.data; /* istanbul ignore else */ if (true) { defineReactive$$1(vm, '$attrs', parentData && parentData.attrs, function () { !isUpdatingChildComponent && warn("$attrs is readonly.", vm); }, true); defineReactive$$1(vm, '$listeners', vm.$options._parentListeners, function () { !isUpdatingChildComponent && warn("$listeners is readonly.", vm); }, true); } else { defineReactive$$1(vm, '$attrs', parentData && parentData.attrs, null, true); defineReactive$$1(vm, '$listeners', vm.$options._parentListeners, null, true); } } function renderMixin (Vue) { Vue.prototype.$nextTick = function (fn) { return nextTick(fn, this) }; Vue.prototype._render = function () { var vm = this; var ref = vm.$options; var render = ref.render; var staticRenderFns = ref.staticRenderFns; var _parentVnode = ref._parentVnode; if (vm._isMounted) { // clone slot nodes on re-renders for (var key in vm.$slots) { vm.$slots[key] = cloneVNodes(vm.$slots[key]); } } vm.$scopedSlots = (_parentVnode && _parentVnode.data.scopedSlots) || emptyObject; if (staticRenderFns && !vm._staticTrees) { vm._staticTrees = []; } // set parent vnode. this allows render functions to have access // to the data on the placeholder node. vm.$vnode = _parentVnode; // render self var vnode; try { vnode = render.call(vm._renderProxy, vm.$createElement); } catch (e) { handleError(e, vm, "render function"); // return error render result, // or previous vnode to prevent render error causing blank component /* istanbul ignore else */ if (true) { vnode = vm.$options.renderError ? vm.$options.renderError.call(vm._renderProxy, vm.$createElement, e) : vm._vnode; } else { vnode = vm._vnode; } } // return empty vnode in case the render function errored out if (!(vnode instanceof VNode)) { if ("development" !== 'production' && Array.isArray(vnode)) { warn( 'Multiple root nodes returned from render function. Render function ' + 'should return a single root node.', vm ); } vnode = createEmptyVNode(); } // set parent vnode.parent = _parentVnode; return vnode }; // internal render helpers. // these are exposed on the instance prototype to reduce generated render // code size. Vue.prototype._o = markOnce; Vue.prototype._n = toNumber; Vue.prototype._s = toString; Vue.prototype._l = renderList; Vue.prototype._t = renderSlot; Vue.prototype._q = looseEqual; Vue.prototype._i = looseIndexOf; Vue.prototype._m = renderStatic; Vue.prototype._f = resolveFilter; Vue.prototype._k = checkKeyCodes; Vue.prototype._b = bindObjectProps; Vue.prototype._v = createTextVNode; Vue.prototype._e = createEmptyVNode; Vue.prototype._u = resolveScopedSlots; Vue.prototype._g = bindObjectListeners; } /* */ var uid$1 = 0; function initMixin (Vue) { Vue.prototype._init = function (options) { var vm = this; // a uid vm._uid = uid$1++; var startTag, endTag; /* istanbul ignore if */ if ("development" !== 'production' && config.performance && mark) { startTag = "vue-perf-init:" + (vm._uid); endTag = "vue-perf-end:" + (vm._uid); mark(startTag); } // a flag to avoid this being observed vm._isVue = true; // merge options if (options && options._isComponent) { // optimize internal component instantiation // since dynamic options merging is pretty slow, and none of the // internal component options needs special treatment. initInternalComponent(vm, options); } else { vm.$options = mergeOptions( resolveConstructorOptions(vm.constructor), options || {}, vm ); } /* istanbul ignore else */ if (true) { initProxy(vm); } else { vm._renderProxy = vm; } // expose real self vm._self = vm; initLifecycle(vm); initEvents(vm); initRender(vm); callHook(vm, 'beforeCreate'); initInjections(vm); // resolve injections before data/props initState(vm); initProvide(vm); // resolve provide after data/props callHook(vm, 'created'); /* istanbul ignore if */ if ("development" !== 'production' && config.performance && mark) { vm._name = formatComponentName(vm, false); mark(endTag); measure(((vm._name) + " init"), startTag, endTag); } if (vm.$options.el) { vm.$mount(vm.$options.el); } }; } function initInternalComponent (vm, options) { var opts = vm.$options = Object.create(vm.constructor.options); // doing this because it's faster than dynamic enumeration. opts.parent = options.parent; opts.propsData = options.propsData; opts._parentVnode = options._parentVnode; opts._parentListeners = options._parentListeners; opts._renderChildren = options._renderChildren; opts._componentTag = options._componentTag; opts._parentElm = options._parentElm; opts._refElm = options._refElm; if (options.render) { opts.render = options.render; opts.staticRenderFns = options.staticRenderFns; } } function resolveConstructorOptions (Ctor) { var options = Ctor.options; if (Ctor.super) { var superOptions = resolveConstructorOptions(Ctor.super); var cachedSuperOptions = Ctor.superOptions; if (superOptions !== cachedSuperOptions) { // super option changed, // need to resolve new options. Ctor.superOptions = superOptions; // check if there are any late-modified/attached options (#4976) var modifiedOptions = resolveModifiedOptions(Ctor); // update base extend options if (modifiedOptions) { extend(Ctor.extendOptions, modifiedOptions); } options = Ctor.options = mergeOptions(superOptions, Ctor.extendOptions); if (options.name) { options.components[options.name] = Ctor; } } } return options } function resolveModifiedOptions (Ctor) { var modified; var latest = Ctor.options; var extended = Ctor.extendOptions; var sealed = Ctor.sealedOptions; for (var key in latest) { if (latest[key] !== sealed[key]) { if (!modified) { modified = {}; } modified[key] = dedupe(latest[key], extended[key], sealed[key]); } } return modified } function dedupe (latest, extended, sealed) { // compare latest and sealed to ensure lifecycle hooks won't be duplicated // between merges if (Array.isArray(latest)) { var res = []; sealed = Array.isArray(sealed) ? sealed : [sealed]; extended = Array.isArray(extended) ? extended : [extended]; for (var i = 0; i < latest.length; i++) { // push original options and not sealed options to exclude duplicated options if (extended.indexOf(latest[i]) >= 0 || sealed.indexOf(latest[i]) < 0) { res.push(latest[i]); } } return res } else { return latest } } function Vue$3 (options) { if ("development" !== 'production' && !(this instanceof Vue$3) ) { warn('Vue is a constructor and should be called with the `new` keyword'); } this._init(options); } initMixin(Vue$3); stateMixin(Vue$3); eventsMixin(Vue$3); lifecycleMixin(Vue$3); renderMixin(Vue$3); /* */ function initUse (Vue) { Vue.use = function (plugin) { var installedPlugins = (this._installedPlugins || (this._installedPlugins = [])); if (installedPlugins.indexOf(plugin) > -1) { return this } // additional parameters var args = toArray(arguments, 1); args.unshift(this); if (typeof plugin.install === 'function') { plugin.install.apply(plugin, args); } else if (typeof plugin === 'function') { plugin.apply(null, args); } installedPlugins.push(plugin); return this }; } /* */ function initMixin$1 (Vue) { Vue.mixin = function (mixin) { this.options = mergeOptions(this.options, mixin); return this }; } /* */ function initExtend (Vue) { /** * Each instance constructor, including Vue, has a unique * cid. This enables us to create wrapped "child * constructors" for prototypal inheritance and cache them. */ Vue.cid = 0; var cid = 1; /** * Class inheritance */ Vue.extend = function (extendOptions) { extendOptions = extendOptions || {}; var Super = this; var SuperId = Super.cid; var cachedCtors = extendOptions._Ctor || (extendOptions._Ctor = {}); if (cachedCtors[SuperId]) { return cachedCtors[SuperId] } var name = extendOptions.name || Super.options.name; if (true) { if (!/^[a-zA-Z][\w-]*$/.test(name)) { warn( 'Invalid component name: "' + name + '". Component names ' + 'can only contain alphanumeric characters and the hyphen, ' + 'and must start with a letter.' ); } } var Sub = function VueComponent (options) { this._init(options); }; Sub.prototype = Object.create(Super.prototype); Sub.prototype.constructor = Sub; Sub.cid = cid++; Sub.options = mergeOptions( Super.options, extendOptions ); Sub['super'] = Super; // For props and computed properties, we define the proxy getters on // the Vue instances at extension time, on the extended prototype. This // avoids Object.defineProperty calls for each instance created. if (Sub.options.props) { initProps$1(Sub); } if (Sub.options.computed) { initComputed$1(Sub); } // allow further extension/mixin/plugin usage Sub.extend = Super.extend; Sub.mixin = Super.mixin; Sub.use = Super.use; // create asset registers, so extended classes // can have their private assets too. ASSET_TYPES.forEach(function (type) { Sub[type] = Super[type]; }); // enable recursive self-lookup if (name) { Sub.options.components[name] = Sub; } // keep a reference to the super options at extension time. // later at instantiation we can check if Super's options have // been updated. Sub.superOptions = Super.options; Sub.extendOptions = extendOptions; Sub.sealedOptions = extend({}, Sub.options); // cache constructor cachedCtors[SuperId] = Sub; return Sub }; } function initProps$1 (Comp) { var props = Comp.options.props; for (var key in props) { proxy(Comp.prototype, "_props", key); } } function initComputed$1 (Comp) { var computed = Comp.options.computed; for (var key in computed) { defineComputed(Comp.prototype, key, computed[key]); } } /* */ function initAssetRegisters (Vue) { /** * Create asset registration methods. */ ASSET_TYPES.forEach(function (type) { Vue[type] = function ( id, definition ) { if (!definition) { return this.options[type + 's'][id] } else { /* istanbul ignore if */ if (true) { if (type === 'component' && config.isReservedTag(id)) { warn( 'Do not use built-in or reserved HTML elements as component ' + 'id: ' + id ); } } if (type === 'component' && isPlainObject(definition)) { definition.name = definition.name || id; definition = this.options._base.extend(definition); } if (type === 'directive' && typeof definition === 'function') { definition = { bind: definition, update: definition }; } this.options[type + 's'][id] = definition; return definition } }; }); } /* */ var patternTypes = [String, RegExp, Array]; function getComponentName (opts) { return opts && (opts.Ctor.options.name || opts.tag) } function matches (pattern, name) { if (Array.isArray(pattern)) { return pattern.indexOf(name) > -1 } else if (typeof pattern === 'string') { return pattern.split(',').indexOf(name) > -1 } else if (isRegExp(pattern)) { return pattern.test(name) } /* istanbul ignore next */ return false } function pruneCache (cache, current, filter) { for (var key in cache) { var cachedNode = cache[key]; if (cachedNode) { var name = getComponentName(cachedNode.componentOptions); if (name && !filter(name)) { if (cachedNode !== current) { pruneCacheEntry(cachedNode); } cache[key] = null; } } } } function pruneCacheEntry (vnode) { if (vnode) { vnode.componentInstance.$destroy(); } } var KeepAlive = { name: 'keep-alive', abstract: true, props: { include: patternTypes, exclude: patternTypes }, created: function created () { this.cache = Object.create(null); }, destroyed: function destroyed () { var this$1 = this; for (var key in this$1.cache) { pruneCacheEntry(this$1.cache[key]); } }, watch: { include: function include (val) { pruneCache(this.cache, this._vnode, function (name) { return matches(val, name); }); }, exclude: function exclude (val) { pruneCache(this.cache, this._vnode, function (name) { return !matches(val, name); }); } }, render: function render () { var vnode = getFirstComponentChild(this.$slots.default); var componentOptions = vnode && vnode.componentOptions; if (componentOptions) { // check pattern var name = getComponentName(componentOptions); if (name && ( (this.include && !matches(this.include, name)) || (this.exclude && matches(this.exclude, name)) )) { return vnode } var key = vnode.key == null // same constructor may get registered as different local components // so cid alone is not enough (#3269) ? componentOptions.Ctor.cid + (componentOptions.tag ? ("::" + (componentOptions.tag)) : '') : vnode.key; if (this.cache[key]) { vnode.componentInstance = this.cache[key].componentInstance; } else { this.cache[key] = vnode; } vnode.data.keepAlive = true; } return vnode } }; var builtInComponents = { KeepAlive: KeepAlive }; /* */ function initGlobalAPI (Vue) { // config var configDef = {}; configDef.get = function () { return config; }; if (true) { configDef.set = function () { warn( 'Do not replace the Vue.config object, set individual fields instead.' ); }; } Object.defineProperty(Vue, 'config', configDef); // exposed util methods. // NOTE: these are not considered part of the public API - avoid relying on // them unless you are aware of the risk. Vue.util = { warn: warn, extend: extend, mergeOptions: mergeOptions, defineReactive: defineReactive$$1 }; Vue.set = set; Vue.delete = del; Vue.nextTick = nextTick; Vue.options = Object.create(null); ASSET_TYPES.forEach(function (type) { Vue.options[type + 's'] = Object.create(null); }); // this is used to identify the "base" constructor to extend all plain-object // components with in Weex's multi-instance scenarios. Vue.options._base = Vue; extend(Vue.options.components, builtInComponents); initUse(Vue); initMixin$1(Vue); initExtend(Vue); initAssetRegisters(Vue); } initGlobalAPI(Vue$3); Object.defineProperty(Vue$3.prototype, '$isServer', { get: isServerRendering }); Object.defineProperty(Vue$3.prototype, '$ssrContext', { get: function get () { /* istanbul ignore next */ return this.$vnode && this.$vnode.ssrContext } }); Vue$3.version = '2.4.2'; /* */ // these are reserved for web because they are directly compiled away // during template compilation var isReservedAttr = makeMap('style,class'); // attributes that should be using props for binding var acceptValue = makeMap('input,textarea,option,select'); var mustUseProp = function (tag, type, attr) { return ( (attr === 'value' && acceptValue(tag)) && type !== 'button' || (attr === 'selected' && tag === 'option') || (attr === 'checked' && tag === 'input') || (attr === 'muted' && tag === 'video') ) }; var isEnumeratedAttr = makeMap('contenteditable,draggable,spellcheck'); var isBooleanAttr = makeMap( 'allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,' + 'default,defaultchecked,defaultmuted,defaultselected,defer,disabled,' + 'enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,' + 'muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,' + 'required,reversed,scoped,seamless,selected,sortable,translate,' + 'truespeed,typemustmatch,visible' ); var xlinkNS = 'http://www.w3.org/1999/xlink'; var isXlink = function (name) { return name.charAt(5) === ':' && name.slice(0, 5) === 'xlink' }; var getXlinkProp = function (name) { return isXlink(name) ? name.slice(6, name.length) : '' }; var isFalsyAttrValue = function (val) { return val == null || val === false }; /* */ function genClassForVnode (vnode) { var data = vnode.data; var parentNode = vnode; var childNode = vnode; while (isDef(childNode.componentInstance)) { childNode = childNode.componentInstance._vnode; if (childNode.data) { data = mergeClassData(childNode.data, data); } } while (isDef(parentNode = parentNode.parent)) { if (parentNode.data) { data = mergeClassData(data, parentNode.data); } } return renderClass(data.staticClass, data.class) } function mergeClassData (child, parent) { return { staticClass: concat(child.staticClass, parent.staticClass), class: isDef(child.class) ? [child.class, parent.class] : parent.class } } function renderClass ( staticClass, dynamicClass ) { if (isDef(staticClass) || isDef(dynamicClass)) { return concat(staticClass, stringifyClass(dynamicClass)) } /* istanbul ignore next */ return '' } function concat (a, b) { return a ? b ? (a + ' ' + b) : a : (b || '') } function stringifyClass (value) { if (Array.isArray(value)) { return stringifyArray(value) } if (isObject(value)) { return stringifyObject(value) } if (typeof value === 'string') { return value } /* istanbul ignore next */ return '' } function stringifyArray (value) { var res = ''; var stringified; for (var i = 0, l = value.length; i < l; i++) { if (isDef(stringified = stringifyClass(value[i])) && stringified !== '') { if (res) { res += ' '; } res += stringified; } } return res } function stringifyObject (value) { var res = ''; for (var key in value) { if (value[key]) { if (res) { res += ' '; } res += key; } } return res } /* */ var namespaceMap = { svg: 'http://www.w3.org/2000/svg', math: 'http://www.w3.org/1998/Math/MathML' }; var isHTMLTag = makeMap( 'html,body,base,head,link,meta,style,title,' + 'address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,' + 'div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,' + 'a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,' + 's,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,' + 'embed,object,param,source,canvas,script,noscript,del,ins,' + 'caption,col,colgroup,table,thead,tbody,td,th,tr,' + 'button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,' + 'output,progress,select,textarea,' + 'details,dialog,menu,menuitem,summary,' + 'content,element,shadow,template,blockquote,iframe,tfoot' ); // this map is intentionally selective, only covering SVG elements that may // contain child elements. var isSVG = makeMap( 'svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,' + 'foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,' + 'polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view', true ); var isPreTag = function (tag) { return tag === 'pre'; }; var isReservedTag = function (tag) { return isHTMLTag(tag) || isSVG(tag) }; function getTagNamespace (tag) { if (isSVG(tag)) { return 'svg' } // basic support for MathML // note it doesn't support other MathML elements being component roots if (tag === 'math') { return 'math' } } var unknownElementCache = Object.create(null); function isUnknownElement (tag) { /* istanbul ignore if */ if (!inBrowser) { return true } if (isReservedTag(tag)) { return false } tag = tag.toLowerCase(); /* istanbul ignore if */ if (unknownElementCache[tag] != null) { return unknownElementCache[tag] } var el = document.createElement(tag); if (tag.indexOf('-') > -1) { // http://stackoverflow.com/a/28210364/1070244 return (unknownElementCache[tag] = ( el.constructor === window.HTMLUnknownElement || el.constructor === window.HTMLElement )) } else { return (unknownElementCache[tag] = /HTMLUnknownElement/.test(el.toString())) } } /* */ /** * Query an element selector if it's not an element already. */ function query (el) { if (typeof el === 'string') { var selected = document.querySelector(el); if (!selected) { "development" !== 'production' && warn( 'Cannot find element: ' + el ); return document.createElement('div') } return selected } else { return el } } /* */ function createElement$1 (tagName, vnode) { var elm = document.createElement(tagName); if (tagName !== 'select') { return elm } // false or null will remove the attribute but undefined will not if (vnode.data && vnode.data.attrs && vnode.data.attrs.multiple !== undefined) { elm.setAttribute('multiple', 'multiple'); } return elm } function createElementNS (namespace, tagName) { return document.createElementNS(namespaceMap[namespace], tagName) } function createTextNode (text) { return document.createTextNode(text) } function createComment (text) { return document.createComment(text) } function insertBefore (parentNode, newNode, referenceNode) { parentNode.insertBefore(newNode, referenceNode); } function removeChild (node, child) { node.removeChild(child); } function appendChild (node, child) { node.appendChild(child); } function parentNode (node) { return node.parentNode } function nextSibling (node) { return node.nextSibling } function tagName (node) { return node.tagName } function setTextContent (node, text) { node.textContent = text; } function setAttribute (node, key, val) { node.setAttribute(key, val); } var nodeOps = Object.freeze({ createElement: createElement$1, createElementNS: createElementNS, createTextNode: createTextNode, createComment: createComment, insertBefore: insertBefore, removeChild: removeChild, appendChild: appendChild, parentNode: parentNode, nextSibling: nextSibling, tagName: tagName, setTextContent: setTextContent, setAttribute: setAttribute }); /* */ var ref = { create: function create (_, vnode) { registerRef(vnode); }, update: function update (oldVnode, vnode) { if (oldVnode.data.ref !== vnode.data.ref) { registerRef(oldVnode, true); registerRef(vnode); } }, destroy: function destroy (vnode) { registerRef(vnode, true); } }; function registerRef (vnode, isRemoval) { var key = vnode.data.ref; if (!key) { return } var vm = vnode.context; var ref = vnode.componentInstance || vnode.elm; var refs = vm.$refs; if (isRemoval) { if (Array.isArray(refs[key])) { remove(refs[key], ref); } else if (refs[key] === ref) { refs[key] = undefined; } } else { if (vnode.data.refInFor) { if (!Array.isArray(refs[key])) { refs[key] = [ref]; } else if (refs[key].indexOf(ref) < 0) { // $flow-disable-line refs[key].push(ref); } } else { refs[key] = ref; } } } /** * Virtual DOM patching algorithm based on Snabbdom by * Simon Friis Vindum (@paldepind) * Licensed under the MIT License * https://github.com/paldepind/snabbdom/blob/master/LICENSE * * modified by Evan You (@yyx990803) * /* * Not type-checking this because this file is perf-critical and the cost * of making flow understand it is not worth it. */ var emptyNode = new VNode('', {}, []); var hooks = ['create', 'activate', 'update', 'remove', 'destroy']; function sameVnode (a, b) { return ( a.key === b.key && ( ( a.tag === b.tag && a.isComment === b.isComment && isDef(a.data) === isDef(b.data) && sameInputType(a, b) ) || ( isTrue(a.isAsyncPlaceholder) && a.asyncFactory === b.asyncFactory && isUndef(b.asyncFactory.error) ) ) ) } // Some browsers do not support dynamically changing type for <input> // so they need to be treated as different nodes function sameInputType (a, b) { if (a.tag !== 'input') { return true } var i; var typeA = isDef(i = a.data) && isDef(i = i.attrs) && i.type; var typeB = isDef(i = b.data) && isDef(i = i.attrs) && i.type; return typeA === typeB } function createKeyToOldIdx (children, beginIdx, endIdx) { var i, key; var map = {}; for (i = beginIdx; i <= endIdx; ++i) { key = children[i].key; if (isDef(key)) { map[key] = i; } } return map } function createPatchFunction (backend) { var i, j; var cbs = {}; var modules = backend.modules; var nodeOps = backend.nodeOps; for (i = 0; i < hooks.length; ++i) { cbs[hooks[i]] = []; for (j = 0; j < modules.length; ++j) { if (isDef(modules[j][hooks[i]])) { cbs[hooks[i]].push(modules[j][hooks[i]]); } } } function emptyNodeAt (elm) { return new VNode(nodeOps.tagName(elm).toLowerCase(), {}, [], undefined, elm) } function createRmCb (childElm, listeners) { function remove$$1 () { if (--remove$$1.listeners === 0) { removeNode(childElm); } } remove$$1.listeners = listeners; return remove$$1 } function removeNode (el) { var parent = nodeOps.parentNode(el); // element may have already been removed due to v-html / v-text if (isDef(parent)) { nodeOps.removeChild(parent, el); } } var inPre = 0; function createElm (vnode, insertedVnodeQueue, parentElm, refElm, nested) { vnode.isRootInsert = !nested; // for transition enter check if (createComponent(vnode, insertedVnodeQueue, parentElm, refElm)) { return } var data = vnode.data; var children = vnode.children; var tag = vnode.tag; if (isDef(tag)) { if (true) { if (data && data.pre) { inPre++; } if ( !inPre && !vnode.ns && !(config.ignoredElements.length && config.ignoredElements.indexOf(tag) > -1) && config.isUnknownElement(tag) ) { warn( 'Unknown custom element: <' + tag + '> - did you ' + 'register the component correctly? For recursive components, ' + 'make sure to provide the "name" option.', vnode.context ); } } vnode.elm = vnode.ns ? nodeOps.createElementNS(vnode.ns, tag) : nodeOps.createElement(tag, vnode); setScope(vnode); /* istanbul ignore if */ { createChildren(vnode, children, insertedVnodeQueue); if (isDef(data)) { invokeCreateHooks(vnode, insertedVnodeQueue); } insert(parentElm, vnode.elm, refElm); } if ("development" !== 'production' && data && data.pre) { inPre--; } } else if (isTrue(vnode.isComment)) { vnode.elm = nodeOps.createComment(vnode.text); insert(parentElm, vnode.elm, refElm); } else { vnode.elm = nodeOps.createTextNode(vnode.text); insert(parentElm, vnode.elm, refElm); } } function createComponent (vnode, insertedVnodeQueue, parentElm, refElm) { var i = vnode.data; if (isDef(i)) { var isReactivated = isDef(vnode.componentInstance) && i.keepAlive; if (isDef(i = i.hook) && isDef(i = i.init)) { i(vnode, false /* hydrating */, parentElm, refElm); } // after calling the init hook, if the vnode is a child component // it should've created a child instance and mounted it. the child // component also has set the placeholder vnode's elm. // in that case we can just return the element and be done. if (isDef(vnode.componentInstance)) { initComponent(vnode, insertedVnodeQueue); if (isTrue(isReactivated)) { reactivateComponent(vnode, insertedVnodeQueue, parentElm, refElm); } return true } } } function initComponent (vnode, insertedVnodeQueue) { if (isDef(vnode.data.pendingInsert)) { insertedVnodeQueue.push.apply(insertedVnodeQueue, vnode.data.pendingInsert); vnode.data.pendingInsert = null; } vnode.elm = vnode.componentInstance.$el; if (isPatchable(vnode)) { invokeCreateHooks(vnode, insertedVnodeQueue); setScope(vnode); } else { // empty component root. // skip all element-related modules except for ref (#3455) registerRef(vnode); // make sure to invoke the insert hook insertedVnodeQueue.push(vnode); } } function reactivateComponent (vnode, insertedVnodeQueue, parentElm, refElm) { var i; // hack for #4339: a reactivated component with inner transition // does not trigger because the inner node's created hooks are not called // again. It's not ideal to involve module-specific logic in here but // there doesn't seem to be a better way to do it. var innerNode = vnode; while (innerNode.componentInstance) { innerNode = innerNode.componentInstance._vnode; if (isDef(i = innerNode.data) && isDef(i = i.transition)) { for (i = 0; i < cbs.activate.length; ++i) { cbs.activate[i](emptyNode, innerNode); } insertedVnodeQueue.push(innerNode); break } } // unlike a newly created component, // a reactivated keep-alive component doesn't insert itself insert(parentElm, vnode.elm, refElm); } function insert (parent, elm, ref$$1) { if (isDef(parent)) { if (isDef(ref$$1)) { if (ref$$1.parentNode === parent) { nodeOps.insertBefore(parent, elm, ref$$1); } } else { nodeOps.appendChild(parent, elm); } } } function createChildren (vnode, children, insertedVnodeQueue) { if (Array.isArray(children)) { for (var i = 0; i < children.length; ++i) { createElm(children[i], insertedVnodeQueue, vnode.elm, null, true); } } else if (isPrimitive(vnode.text)) { nodeOps.appendChild(vnode.elm, nodeOps.createTextNode(vnode.text)); } } function isPatchable (vnode) { while (vnode.componentInstance) { vnode = vnode.componentInstance._vnode; } return isDef(vnode.tag) } function invokeCreateHooks (vnode, insertedVnodeQueue) { for (var i$1 = 0; i$1 < cbs.create.length; ++i$1) { cbs.create[i$1](emptyNode, vnode); } i = vnode.data.hook; // Reuse variable if (isDef(i)) { if (isDef(i.create)) { i.create(emptyNode, vnode); } if (isDef(i.insert)) { insertedVnodeQueue.push(vnode); } } } // set scope id attribute for scoped CSS. // this is implemented as a special case to avoid the overhead // of going through the normal attribute patching process. function setScope (vnode) { var i; var ancestor = vnode; while (ancestor) { if (isDef(i = ancestor.context) && isDef(i = i.$options._scopeId)) { nodeOps.setAttribute(vnode.elm, i, ''); } ancestor = ancestor.parent; } // for slot content they should also get the scopeId from the host instance. if (isDef(i = activeInstance) && i !== vnode.context && isDef(i = i.$options._scopeId) ) { nodeOps.setAttribute(vnode.elm, i, ''); } } function addVnodes (parentElm, refElm, vnodes, startIdx, endIdx, insertedVnodeQueue) { for (; startIdx <= endIdx; ++startIdx) { createElm(vnodes[startIdx], insertedVnodeQueue, parentElm, refElm); } } function invokeDestroyHook (vnode) { var i, j; var data = vnode.data; if (isDef(data)) { if (isDef(i = data.hook) && isDef(i = i.destroy)) { i(vnode); } for (i = 0; i < cbs.destroy.length; ++i) { cbs.destroy[i](vnode); } } if (isDef(i = vnode.children)) { for (j = 0; j < vnode.children.length; ++j) { invokeDestroyHook(vnode.children[j]); } } } function removeVnodes (parentElm, vnodes, startIdx, endIdx) { for (; startIdx <= endIdx; ++startIdx) { var ch = vnodes[startIdx]; if (isDef(ch)) { if (isDef(ch.tag)) { removeAndInvokeRemoveHook(ch); invokeDestroyHook(ch); } else { // Text node removeNode(ch.elm); } } } } function removeAndInvokeRemoveHook (vnode, rm) { if (isDef(rm) || isDef(vnode.data)) { var i; var listeners = cbs.remove.length + 1; if (isDef(rm)) { // we have a recursively passed down rm callback // increase the listeners count rm.listeners += listeners; } else { // directly removing rm = createRmCb(vnode.elm, listeners); } // recursively invoke hooks on child component root node if (isDef(i = vnode.componentInstance) && isDef(i = i._vnode) && isDef(i.data)) { removeAndInvokeRemoveHook(i, rm); } for (i = 0; i < cbs.remove.length; ++i) { cbs.remove[i](vnode, rm); } if (isDef(i = vnode.data.hook) && isDef(i = i.remove)) { i(vnode, rm); } else { rm(); } } else { removeNode(vnode.elm); } } function updateChildren (parentElm, oldCh, newCh, insertedVnodeQueue, removeOnly) { var oldStartIdx = 0; var newStartIdx = 0; var oldEndIdx = oldCh.length - 1; var oldStartVnode = oldCh[0]; var oldEndVnode = oldCh[oldEndIdx]; var newEndIdx = newCh.length - 1; var newStartVnode = newCh[0]; var newEndVnode = newCh[newEndIdx]; var oldKeyToIdx, idxInOld, elmToMove, refElm; // removeOnly is a special flag used only by <transition-group> // to ensure removed elements stay in correct relative positions // during leaving transitions var canMove = !removeOnly; while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) { if (isUndef(oldStartVnode)) { oldStartVnode = oldCh[++oldStartIdx]; // Vnode has been moved left } else if (isUndef(oldEndVnode)) { oldEndVnode = oldCh[--oldEndIdx]; } else if (sameVnode(oldStartVnode, newStartVnode)) { patchVnode(oldStartVnode, newStartVnode, insertedVnodeQueue); oldStartVnode = oldCh[++oldStartIdx]; newStartVnode = newCh[++newStartIdx]; } else if (sameVnode(oldEndVnode, newEndVnode)) { patchVnode(oldEndVnode, newEndVnode, insertedVnodeQueue); oldEndVnode = oldCh[--oldEndIdx]; newEndVnode = newCh[--newEndIdx]; } else if (sameVnode(oldStartVnode, newEndVnode)) { // Vnode moved right patchVnode(oldStartVnode, newEndVnode, insertedVnodeQueue); canMove && nodeOps.insertBefore(parentElm, oldStartVnode.elm, nodeOps.nextSibling(oldEndVnode.elm)); oldStartVnode = oldCh[++oldStartIdx]; newEndVnode = newCh[--newEndIdx]; } else if (sameVnode(oldEndVnode, newStartVnode)) { // Vnode moved left patchVnode(oldEndVnode, newStartVnode, insertedVnodeQueue); canMove && nodeOps.insertBefore(parentElm, oldEndVnode.elm, oldStartVnode.elm); oldEndVnode = oldCh[--oldEndIdx]; newStartVnode = newCh[++newStartIdx]; } else { if (isUndef(oldKeyToIdx)) { oldKeyToIdx = createKeyToOldIdx(oldCh, oldStartIdx, oldEndIdx); } idxInOld = isDef(newStartVnode.key) ? oldKeyToIdx[newStartVnode.key] : null; if (isUndef(idxInOld)) { // New element createElm(newStartVnode, insertedVnodeQueue, parentElm, oldStartVnode.elm); newStartVnode = newCh[++newStartIdx]; } else { elmToMove = oldCh[idxInOld]; /* istanbul ignore if */ if ("development" !== 'production' && !elmToMove) { warn( 'It seems there are duplicate keys that is causing an update error. ' + 'Make sure each v-for item has a unique key.' ); } if (sameVnode(elmToMove, newStartVnode)) { patchVnode(elmToMove, newStartVnode, insertedVnodeQueue); oldCh[idxInOld] = undefined; canMove && nodeOps.insertBefore(parentElm, elmToMove.elm, oldStartVnode.elm); newStartVnode = newCh[++newStartIdx]; } else { // same key but different element. treat as new element createElm(newStartVnode, insertedVnodeQueue, parentElm, oldStartVnode.elm); newStartVnode = newCh[++newStartIdx]; } } } } if (oldStartIdx > oldEndIdx) { refElm = isUndef(newCh[newEndIdx + 1]) ? null : newCh[newEndIdx + 1].elm; addVnodes(parentElm, refElm, newCh, newStartIdx, newEndIdx, insertedVnodeQueue); } else if (newStartIdx > newEndIdx) { removeVnodes(parentElm, oldCh, oldStartIdx, oldEndIdx); } } function patchVnode (oldVnode, vnode, insertedVnodeQueue, removeOnly) { if (oldVnode === vnode) { return } var elm = vnode.elm = oldVnode.elm; if (isTrue(oldVnode.isAsyncPlaceholder)) { if (isDef(vnode.asyncFactory.resolved)) { hydrate(oldVnode.elm, vnode, insertedVnodeQueue); } else { vnode.isAsyncPlaceholder = true; } return } // reuse element for static trees. // note we only do this if the vnode is cloned - // if the new node is not cloned it means the render functions have been // reset by the hot-reload-api and we need to do a proper re-render. if (isTrue(vnode.isStatic) && isTrue(oldVnode.isStatic) && vnode.key === oldVnode.key && (isTrue(vnode.isCloned) || isTrue(vnode.isOnce)) ) { vnode.componentInstance = oldVnode.componentInstance; return } var i; var data = vnode.data; if (isDef(data) && isDef(i = data.hook) && isDef(i = i.prepatch)) { i(oldVnode, vnode); } var oldCh = oldVnode.children; var ch = vnode.children; if (isDef(data) && isPatchable(vnode)) { for (i = 0; i < cbs.update.length; ++i) { cbs.update[i](oldVnode, vnode); } if (isDef(i = data.hook) && isDef(i = i.update)) { i(oldVnode, vnode); } } if (isUndef(vnode.text)) { if (isDef(oldCh) && isDef(ch)) { if (oldCh !== ch) { updateChildren(elm, oldCh, ch, insertedVnodeQueue, removeOnly); } } else if (isDef(ch)) { if (isDef(oldVnode.text)) { nodeOps.setTextContent(elm, ''); } addVnodes(elm, null, ch, 0, ch.length - 1, insertedVnodeQueue); } else if (isDef(oldCh)) { removeVnodes(elm, oldCh, 0, oldCh.length - 1); } else if (isDef(oldVnode.text)) { nodeOps.setTextContent(elm, ''); } } else if (oldVnode.text !== vnode.text) { nodeOps.setTextContent(elm, vnode.text); } if (isDef(data)) { if (isDef(i = data.hook) && isDef(i = i.postpatch)) { i(oldVnode, vnode); } } } function invokeInsertHook (vnode, queue, initial) { // delay insert hooks for component root nodes, invoke them after the // element is really inserted if (isTrue(initial) && isDef(vnode.parent)) { vnode.parent.data.pendingInsert = queue; } else { for (var i = 0; i < queue.length; ++i) { queue[i].data.hook.insert(queue[i]); } } } var bailed = false; // list of modules that can skip create hook during hydration because they // are already rendered on the client or has no need for initialization var isRenderedModule = makeMap('attrs,style,class,staticClass,staticStyle,key'); // Note: this is a browser-only function so we can assume elms are DOM nodes. function hydrate (elm, vnode, insertedVnodeQueue) { if (isTrue(vnode.isComment) && isDef(vnode.asyncFactory)) { vnode.elm = elm; vnode.isAsyncPlaceholder = true; return true } if (true) { if (!assertNodeMatch(elm, vnode)) { return false } } vnode.elm = elm; var tag = vnode.tag; var data = vnode.data; var children = vnode.children; if (isDef(data)) { if (isDef(i = data.hook) && isDef(i = i.init)) { i(vnode, true /* hydrating */); } if (isDef(i = vnode.componentInstance)) { // child component. it should have hydrated its own tree. initComponent(vnode, insertedVnodeQueue); return true } } if (isDef(tag)) { if (isDef(children)) { // empty element, allow client to pick up and populate children if (!elm.hasChildNodes()) { createChildren(vnode, children, insertedVnodeQueue); } else { var childrenMatch = true; var childNode = elm.firstChild; for (var i$1 = 0; i$1 < children.length; i$1++) { if (!childNode || !hydrate(childNode, children[i$1], insertedVnodeQueue)) { childrenMatch = false; break } childNode = childNode.nextSibling; } // if childNode is not null, it means the actual childNodes list is // longer than the virtual children list. if (!childrenMatch || childNode) { if ("development" !== 'production' && typeof console !== 'undefined' && !bailed ) { bailed = true; console.warn('Parent: ', elm); console.warn('Mismatching childNodes vs. VNodes: ', elm.childNodes, children); } return false } } } if (isDef(data)) { for (var key in data) { if (!isRenderedModule(key)) { invokeCreateHooks(vnode, insertedVnodeQueue); break } } } } else if (elm.data !== vnode.text) { elm.data = vnode.text; } return true } function assertNodeMatch (node, vnode) { if (isDef(vnode.tag)) { return ( vnode.tag.indexOf('vue-component') === 0 || vnode.tag.toLowerCase() === (node.tagName && node.tagName.toLowerCase()) ) } else { return node.nodeType === (vnode.isComment ? 8 : 3) } } return function patch (oldVnode, vnode, hydrating, removeOnly, parentElm, refElm) { if (isUndef(vnode)) { if (isDef(oldVnode)) { invokeDestroyHook(oldVnode); } return } var isInitialPatch = false; var insertedVnodeQueue = []; if (isUndef(oldVnode)) { // empty mount (likely as component), create new root element isInitialPatch = true; createElm(vnode, insertedVnodeQueue, parentElm, refElm); } else { var isRealElement = isDef(oldVnode.nodeType); if (!isRealElement && sameVnode(oldVnode, vnode)) { // patch existing root node patchVnode(oldVnode, vnode, insertedVnodeQueue, removeOnly); } else { if (isRealElement) { // mounting to a real element // check if this is server-rendered content and if we can perform // a successful hydration. if (oldVnode.nodeType === 1 && oldVnode.hasAttribute(SSR_ATTR)) { oldVnode.removeAttribute(SSR_ATTR); hydrating = true; } if (isTrue(hydrating)) { if (hydrate(oldVnode, vnode, insertedVnodeQueue)) { invokeInsertHook(vnode, insertedVnodeQueue, true); return oldVnode } else if (true) { warn( 'The client-side rendered virtual DOM tree is not matching ' + 'server-rendered content. This is likely caused by incorrect ' + 'HTML markup, for example nesting block-level elements inside ' + '<p>, or missing <tbody>. Bailing hydration and performing ' + 'full client-side render.' ); } } // either not server-rendered, or hydration failed. // create an empty node and replace it oldVnode = emptyNodeAt(oldVnode); } // replacing existing element var oldElm = oldVnode.elm; var parentElm$1 = nodeOps.parentNode(oldElm); createElm( vnode, insertedVnodeQueue, // extremely rare edge case: do not insert if old element is in a // leaving transition. Only happens when combining transition + // keep-alive + HOCs. (#4590) oldElm._leaveCb ? null : parentElm$1, nodeOps.nextSibling(oldElm) ); if (isDef(vnode.parent)) { // component root element replaced. // update parent placeholder node element, recursively var ancestor = vnode.parent; while (ancestor) { ancestor.elm = vnode.elm; ancestor = ancestor.parent; } if (isPatchable(vnode)) { for (var i = 0; i < cbs.create.length; ++i) { cbs.create[i](emptyNode, vnode.parent); } } } if (isDef(parentElm$1)) { removeVnodes(parentElm$1, [oldVnode], 0, 0); } else if (isDef(oldVnode.tag)) { invokeDestroyHook(oldVnode); } } } invokeInsertHook(vnode, insertedVnodeQueue, isInitialPatch); return vnode.elm } } /* */ var directives = { create: updateDirectives, update: updateDirectives, destroy: function unbindDirectives (vnode) { updateDirectives(vnode, emptyNode); } }; function updateDirectives (oldVnode, vnode) { if (oldVnode.data.directives || vnode.data.directives) { _update(oldVnode, vnode); } } function _update (oldVnode, vnode) { var isCreate = oldVnode === emptyNode; var isDestroy = vnode === emptyNode; var oldDirs = normalizeDirectives$1(oldVnode.data.directives, oldVnode.context); var newDirs = normalizeDirectives$1(vnode.data.directives, vnode.context); var dirsWithInsert = []; var dirsWithPostpatch = []; var key, oldDir, dir; for (key in newDirs) { oldDir = oldDirs[key]; dir = newDirs[key]; if (!oldDir) { // new directive, bind callHook$1(dir, 'bind', vnode, oldVnode); if (dir.def && dir.def.inserted) { dirsWithInsert.push(dir); } } else { // existing directive, update dir.oldValue = oldDir.value; callHook$1(dir, 'update', vnode, oldVnode); if (dir.def && dir.def.componentUpdated) { dirsWithPostpatch.push(dir); } } } if (dirsWithInsert.length) { var callInsert = function () { for (var i = 0; i < dirsWithInsert.length; i++) { callHook$1(dirsWithInsert[i], 'inserted', vnode, oldVnode); } }; if (isCreate) { mergeVNodeHook(vnode.data.hook || (vnode.data.hook = {}), 'insert', callInsert); } else { callInsert(); } } if (dirsWithPostpatch.length) { mergeVNodeHook(vnode.data.hook || (vnode.data.hook = {}), 'postpatch', function () { for (var i = 0; i < dirsWithPostpatch.length; i++) { callHook$1(dirsWithPostpatch[i], 'componentUpdated', vnode, oldVnode); } }); } if (!isCreate) { for (key in oldDirs) { if (!newDirs[key]) { // no longer present, unbind callHook$1(oldDirs[key], 'unbind', oldVnode, oldVnode, isDestroy); } } } } var emptyModifiers = Object.create(null); function normalizeDirectives$1 ( dirs, vm ) { var res = Object.create(null); if (!dirs) { return res } var i, dir; for (i = 0; i < dirs.length; i++) { dir = dirs[i]; if (!dir.modifiers) { dir.modifiers = emptyModifiers; } res[getRawDirName(dir)] = dir; dir.def = resolveAsset(vm.$options, 'directives', dir.name, true); } return res } function getRawDirName (dir) { return dir.rawName || ((dir.name) + "." + (Object.keys(dir.modifiers || {}).join('.'))) } function callHook$1 (dir, hook, vnode, oldVnode, isDestroy) { var fn = dir.def && dir.def[hook]; if (fn) { try { fn(vnode.elm, dir, vnode, oldVnode, isDestroy); } catch (e) { handleError(e, vnode.context, ("directive " + (dir.name) + " " + hook + " hook")); } } } var baseModules = [ ref, directives ]; /* */ function updateAttrs (oldVnode, vnode) { var opts = vnode.componentOptions; if (isDef(opts) && opts.Ctor.options.inheritAttrs === false) { return } if (isUndef(oldVnode.data.attrs) && isUndef(vnode.data.attrs)) { return } var key, cur, old; var elm = vnode.elm; var oldAttrs = oldVnode.data.attrs || {}; var attrs = vnode.data.attrs || {}; // clone observed objects, as the user probably wants to mutate it if (isDef(attrs.__ob__)) { attrs = vnode.data.attrs = extend({}, attrs); } for (key in attrs) { cur = attrs[key]; old = oldAttrs[key]; if (old !== cur) { setAttr(elm, key, cur); } } // #4391: in IE9, setting type can reset value for input[type=radio] /* istanbul ignore if */ if (isIE9 && attrs.value !== oldAttrs.value) { setAttr(elm, 'value', attrs.value); } for (key in oldAttrs) { if (isUndef(attrs[key])) { if (isXlink(key)) { elm.removeAttributeNS(xlinkNS, getXlinkProp(key)); } else if (!isEnumeratedAttr(key)) { elm.removeAttribute(key); } } } } function setAttr (el, key, value) { if (isBooleanAttr(key)) { // set attribute for blank value // e.g. <option disabled>Select one</option> if (isFalsyAttrValue(value)) { el.removeAttribute(key); } else { el.setAttribute(key, key); } } else if (isEnumeratedAttr(key)) { el.setAttribute(key, isFalsyAttrValue(value) || value === 'false' ? 'false' : 'true'); } else if (isXlink(key)) { if (isFalsyAttrValue(value)) { el.removeAttributeNS(xlinkNS, getXlinkProp(key)); } else { el.setAttributeNS(xlinkNS, key, value); } } else { if (isFalsyAttrValue(value)) { el.removeAttribute(key); } else { el.setAttribute(key, value); } } } var attrs = { create: updateAttrs, update: updateAttrs }; /* */ function updateClass (oldVnode, vnode) { var el = vnode.elm; var data = vnode.data; var oldData = oldVnode.data; if ( isUndef(data.staticClass) && isUndef(data.class) && ( isUndef(oldData) || ( isUndef(oldData.staticClass) && isUndef(oldData.class) ) ) ) { return } var cls = genClassForVnode(vnode); // handle transition classes var transitionClass = el._transitionClasses; if (isDef(transitionClass)) { cls = concat(cls, stringifyClass(transitionClass)); } // set the class if (cls !== el._prevClass) { el.setAttribute('class', cls); el._prevClass = cls; } } var klass = { create: updateClass, update: updateClass }; /* */ var validDivisionCharRE = /[\w).+\-_$\]]/; function parseFilters (exp) { var inSingle = false; var inDouble = false; var inTemplateString = false; var inRegex = false; var curly = 0; var square = 0; var paren = 0; var lastFilterIndex = 0; var c, prev, i, expression, filters; for (i = 0; i < exp.length; i++) { prev = c; c = exp.charCodeAt(i); if (inSingle) { if (c === 0x27 && prev !== 0x5C) { inSingle = false; } } else if (inDouble) { if (c === 0x22 && prev !== 0x5C) { inDouble = false; } } else if (inTemplateString) { if (c === 0x60 && prev !== 0x5C) { inTemplateString = false; } } else if (inRegex) { if (c === 0x2f && prev !== 0x5C) { inRegex = false; } } else if ( c === 0x7C && // pipe exp.charCodeAt(i + 1) !== 0x7C && exp.charCodeAt(i - 1) !== 0x7C && !curly && !square && !paren ) { if (expression === undefined) { // first filter, end of expression lastFilterIndex = i + 1; expression = exp.slice(0, i).trim(); } else { pushFilter(); } } else { switch (c) { case 0x22: inDouble = true; break // " case 0x27: inSingle = true; break // ' case 0x60: inTemplateString = true; break // ` case 0x28: paren++; break // ( case 0x29: paren--; break // ) case 0x5B: square++; break // [ case 0x5D: square--; break // ] case 0x7B: curly++; break // { case 0x7D: curly--; break // } } if (c === 0x2f) { // / var j = i - 1; var p = (void 0); // find first non-whitespace prev char for (; j >= 0; j--) { p = exp.charAt(j); if (p !== ' ') { break } } if (!p || !validDivisionCharRE.test(p)) { inRegex = true; } } } } if (expression === undefined) { expression = exp.slice(0, i).trim(); } else if (lastFilterIndex !== 0) { pushFilter(); } function pushFilter () { (filters || (filters = [])).push(exp.slice(lastFilterIndex, i).trim()); lastFilterIndex = i + 1; } if (filters) { for (i = 0; i < filters.length; i++) { expression = wrapFilter(expression, filters[i]); } } return expression } function wrapFilter (exp, filter) { var i = filter.indexOf('('); if (i < 0) { // _f: resolveFilter return ("_f(\"" + filter + "\")(" + exp + ")") } else { var name = filter.slice(0, i); var args = filter.slice(i + 1); return ("_f(\"" + name + "\")(" + exp + "," + args) } } /* */ function baseWarn (msg) { console.error(("[Vue compiler]: " + msg)); } function pluckModuleFunction ( modules, key ) { return modules ? modules.map(function (m) { return m[key]; }).filter(function (_) { return _; }) : [] } function addProp (el, name, value) { (el.props || (el.props = [])).push({ name: name, value: value }); } function addAttr (el, name, value) { (el.attrs || (el.attrs = [])).push({ name: name, value: value }); } function addDirective ( el, name, rawName, value, arg, modifiers ) { (el.directives || (el.directives = [])).push({ name: name, rawName: rawName, value: value, arg: arg, modifiers: modifiers }); } function addHandler ( el, name, value, modifiers, important, warn ) { // warn prevent and passive modifier /* istanbul ignore if */ if ( "development" !== 'production' && warn && modifiers && modifiers.prevent && modifiers.passive ) { warn( 'passive and prevent can\'t be used together. ' + 'Passive handler can\'t prevent default event.' ); } // check capture modifier if (modifiers && modifiers.capture) { delete modifiers.capture; name = '!' + name; // mark the event as captured } if (modifiers && modifiers.once) { delete modifiers.once; name = '~' + name; // mark the event as once } /* istanbul ignore if */ if (modifiers && modifiers.passive) { delete modifiers.passive; name = '&' + name; // mark the event as passive } var events; if (modifiers && modifiers.native) { delete modifiers.native; events = el.nativeEvents || (el.nativeEvents = {}); } else { events = el.events || (el.events = {}); } var newHandler = { value: value, modifiers: modifiers }; var handlers = events[name]; /* istanbul ignore if */ if (Array.isArray(handlers)) { important ? handlers.unshift(newHandler) : handlers.push(newHandler); } else if (handlers) { events[name] = important ? [newHandler, handlers] : [handlers, newHandler]; } else { events[name] = newHandler; } } function getBindingAttr ( el, name, getStatic ) { var dynamicValue = getAndRemoveAttr(el, ':' + name) || getAndRemoveAttr(el, 'v-bind:' + name); if (dynamicValue != null) { return parseFilters(dynamicValue) } else if (getStatic !== false) { var staticValue = getAndRemoveAttr(el, name); if (staticValue != null) { return JSON.stringify(staticValue) } } } function getAndRemoveAttr (el, name) { var val; if ((val = el.attrsMap[name]) != null) { var list = el.attrsList; for (var i = 0, l = list.length; i < l; i++) { if (list[i].name === name) { list.splice(i, 1); break } } } return val } /* */ /** * Cross-platform code generation for component v-model */ function genComponentModel ( el, value, modifiers ) { var ref = modifiers || {}; var number = ref.number; var trim = ref.trim; var baseValueExpression = '$$v'; var valueExpression = baseValueExpression; if (trim) { valueExpression = "(typeof " + baseValueExpression + " === 'string'" + "? " + baseValueExpression + ".trim()" + ": " + baseValueExpression + ")"; } if (number) { valueExpression = "_n(" + valueExpression + ")"; } var assignment = genAssignmentCode(value, valueExpression); el.model = { value: ("(" + value + ")"), expression: ("\"" + value + "\""), callback: ("function (" + baseValueExpression + ") {" + assignment + "}") }; } /** * Cross-platform codegen helper for generating v-model value assignment code. */ function genAssignmentCode ( value, assignment ) { var modelRs = parseModel(value); if (modelRs.idx === null) { return (value + "=" + assignment) } else { return ("$set(" + (modelRs.exp) + ", " + (modelRs.idx) + ", " + assignment + ")") } } /** * parse directive model to do the array update transform. a[idx] = val => $$a.splice($$idx, 1, val) * * for loop possible cases: * * - test * - test[idx] * - test[test1[idx]] * - test["a"][idx] * - xxx.test[a[a].test1[idx]] * - test.xxx.a["asa"][test1[idx]] * */ var len; var str; var chr; var index$1; var expressionPos; var expressionEndPos; function parseModel (val) { str = val; len = str.length; index$1 = expressionPos = expressionEndPos = 0; if (val.indexOf('[') < 0 || val.lastIndexOf(']') < len - 1) { return { exp: val, idx: null } } while (!eof()) { chr = next(); /* istanbul ignore if */ if (isStringStart(chr)) { parseString(chr); } else if (chr === 0x5B) { parseBracket(chr); } } return { exp: val.substring(0, expressionPos), idx: val.substring(expressionPos + 1, expressionEndPos) } } function next () { return str.charCodeAt(++index$1) } function eof () { return index$1 >= len } function isStringStart (chr) { return chr === 0x22 || chr === 0x27 } function parseBracket (chr) { var inBracket = 1; expressionPos = index$1; while (!eof()) { chr = next(); if (isStringStart(chr)) { parseString(chr); continue } if (chr === 0x5B) { inBracket++; } if (chr === 0x5D) { inBracket--; } if (inBracket === 0) { expressionEndPos = index$1; break } } } function parseString (chr) { var stringQuote = chr; while (!eof()) { chr = next(); if (chr === stringQuote) { break } } } /* */ var warn$1; // in some cases, the event used has to be determined at runtime // so we used some reserved tokens during compile. var RANGE_TOKEN = '__r'; var CHECKBOX_RADIO_TOKEN = '__c'; function model ( el, dir, _warn ) { warn$1 = _warn; var value = dir.value; var modifiers = dir.modifiers; var tag = el.tag; var type = el.attrsMap.type; if (true) { var dynamicType = el.attrsMap['v-bind:type'] || el.attrsMap[':type']; if (tag === 'input' && dynamicType) { warn$1( "<input :type=\"" + dynamicType + "\" v-model=\"" + value + "\">:\n" + "v-model does not support dynamic input types. Use v-if branches instead." ); } // inputs with type="file" are read only and setting the input's // value will throw an error. if (tag === 'input' && type === 'file') { warn$1( "<" + (el.tag) + " v-model=\"" + value + "\" type=\"file\">:\n" + "File inputs are read only. Use a v-on:change listener instead." ); } } if (el.component) { genComponentModel(el, value, modifiers); // component v-model doesn't need extra runtime return false } else if (tag === 'select') { genSelect(el, value, modifiers); } else if (tag === 'input' && type === 'checkbox') { genCheckboxModel(el, value, modifiers); } else if (tag === 'input' && type === 'radio') { genRadioModel(el, value, modifiers); } else if (tag === 'input' || tag === 'textarea') { genDefaultModel(el, value, modifiers); } else if (!config.isReservedTag(tag)) { genComponentModel(el, value, modifiers); // component v-model doesn't need extra runtime return false } else if (true) { warn$1( "<" + (el.tag) + " v-model=\"" + value + "\">: " + "v-model is not supported on this element type. " + 'If you are working with contenteditable, it\'s recommended to ' + 'wrap a library dedicated for that purpose inside a custom component.' ); } // ensure runtime directive metadata return true } function genCheckboxModel ( el, value, modifiers ) { var number = modifiers && modifiers.number; var valueBinding = getBindingAttr(el, 'value') || 'null'; var trueValueBinding = getBindingAttr(el, 'true-value') || 'true'; var falseValueBinding = getBindingAttr(el, 'false-value') || 'false'; addProp(el, 'checked', "Array.isArray(" + value + ")" + "?_i(" + value + "," + valueBinding + ")>-1" + ( trueValueBinding === 'true' ? (":(" + value + ")") : (":_q(" + value + "," + trueValueBinding + ")") ) ); addHandler(el, CHECKBOX_RADIO_TOKEN, "var $$a=" + value + "," + '$$el=$event.target,' + "$$c=$$el.checked?(" + trueValueBinding + "):(" + falseValueBinding + ");" + 'if(Array.isArray($$a)){' + "var $$v=" + (number ? '_n(' + valueBinding + ')' : valueBinding) + "," + '$$i=_i($$a,$$v);' + "if($$el.checked){$$i<0&&(" + value + "=$$a.concat($$v))}" + "else{$$i>-1&&(" + value + "=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}" + "}else{" + (genAssignmentCode(value, '$$c')) + "}", null, true ); } function genRadioModel ( el, value, modifiers ) { var number = modifiers && modifiers.number; var valueBinding = getBindingAttr(el, 'value') || 'null'; valueBinding = number ? ("_n(" + valueBinding + ")") : valueBinding; addProp(el, 'checked', ("_q(" + value + "," + valueBinding + ")")); addHandler(el, CHECKBOX_RADIO_TOKEN, genAssignmentCode(value, valueBinding), null, true); } function genSelect ( el, value, modifiers ) { var number = modifiers && modifiers.number; var selectedVal = "Array.prototype.filter" + ".call($event.target.options,function(o){return o.selected})" + ".map(function(o){var val = \"_value\" in o ? o._value : o.value;" + "return " + (number ? '_n(val)' : 'val') + "})"; var assignment = '$event.target.multiple ? $$selectedVal : $$selectedVal[0]'; var code = "var $$selectedVal = " + selectedVal + ";"; code = code + " " + (genAssignmentCode(value, assignment)); addHandler(el, 'change', code, null, true); } function genDefaultModel ( el, value, modifiers ) { var type = el.attrsMap.type; var ref = modifiers || {}; var lazy = ref.lazy; var number = ref.number; var trim = ref.trim; var needCompositionGuard = !lazy && type !== 'range'; var event = lazy ? 'change' : type === 'range' ? RANGE_TOKEN : 'input'; var valueExpression = '$event.target.value'; if (trim) { valueExpression = "$event.target.value.trim()"; } if (number) { valueExpression = "_n(" + valueExpression + ")"; } var code = genAssignmentCode(value, valueExpression); if (needCompositionGuard) { code = "if($event.target.composing)return;" + code; } addProp(el, 'value', ("(" + value + ")")); addHandler(el, event, code, null, true); if (trim || number) { addHandler(el, 'blur', '$forceUpdate()'); } } /* */ // normalize v-model event tokens that can only be determined at runtime. // it's important to place the event as the first in the array because // the whole point is ensuring the v-model callback gets called before // user-attached handlers. function normalizeEvents (on) { var event; /* istanbul ignore if */ if (isDef(on[RANGE_TOKEN])) { // IE input[type=range] only supports `change` event event = isIE ? 'change' : 'input'; on[event] = [].concat(on[RANGE_TOKEN], on[event] || []); delete on[RANGE_TOKEN]; } if (isDef(on[CHECKBOX_RADIO_TOKEN])) { // Chrome fires microtasks in between click/change, leads to #4521 event = isChrome ? 'click' : 'change'; on[event] = [].concat(on[CHECKBOX_RADIO_TOKEN], on[event] || []); delete on[CHECKBOX_RADIO_TOKEN]; } } var target$1; function add$1 ( event, handler, once$$1, capture, passive ) { if (once$$1) { var oldHandler = handler; var _target = target$1; // save current target element in closure handler = function (ev) { var res = arguments.length === 1 ? oldHandler(ev) : oldHandler.apply(null, arguments); if (res !== null) { remove$2(event, handler, capture, _target); } }; } target$1.addEventListener( event, handler, supportsPassive ? { capture: capture, passive: passive } : capture ); } function remove$2 ( event, handler, capture, _target ) { (_target || target$1).removeEventListener(event, handler, capture); } function updateDOMListeners (oldVnode, vnode) { if (isUndef(oldVnode.data.on) && isUndef(vnode.data.on)) { return } var on = vnode.data.on || {}; var oldOn = oldVnode.data.on || {}; target$1 = vnode.elm; normalizeEvents(on); updateListeners(on, oldOn, add$1, remove$2, vnode.context); } var events = { create: updateDOMListeners, update: updateDOMListeners }; /* */ function updateDOMProps (oldVnode, vnode) { if (isUndef(oldVnode.data.domProps) && isUndef(vnode.data.domProps)) { return } var key, cur; var elm = vnode.elm; var oldProps = oldVnode.data.domProps || {}; var props = vnode.data.domProps || {}; // clone observed objects, as the user probably wants to mutate it if (isDef(props.__ob__)) { props = vnode.data.domProps = extend({}, props); } for (key in oldProps) { if (isUndef(props[key])) { elm[key] = ''; } } for (key in props) { cur = props[key]; // ignore children if the node has textContent or innerHTML, // as these will throw away existing DOM nodes and cause removal errors // on subsequent patches (#3360) if (key === 'textContent' || key === 'innerHTML') { if (vnode.children) { vnode.children.length = 0; } if (cur === oldProps[key]) { continue } } if (key === 'value') { // store value as _value as well since // non-string values will be stringified elm._value = cur; // avoid resetting cursor position when value is the same var strCur = isUndef(cur) ? '' : String(cur); if (shouldUpdateValue(elm, vnode, strCur)) { elm.value = strCur; } } else { elm[key] = cur; } } } // check platforms/web/util/attrs.js acceptValue function shouldUpdateValue ( elm, vnode, checkVal ) { return (!elm.composing && ( vnode.tag === 'option' || isDirty(elm, checkVal) || isInputChanged(elm, checkVal) )) } function isDirty (elm, checkVal) { // return true when textbox (.number and .trim) loses focus and its value is // not equal to the updated value var notInFocus = true; // #6157 // work around IE bug when accessing document.activeElement in an iframe try { notInFocus = document.activeElement !== elm; } catch (e) {} return notInFocus && elm.value !== checkVal } function isInputChanged (elm, newVal) { var value = elm.value; var modifiers = elm._vModifiers; // injected by v-model runtime if (isDef(modifiers) && modifiers.number) { return toNumber(value) !== toNumber(newVal) } if (isDef(modifiers) && modifiers.trim) { return value.trim() !== newVal.trim() } return value !== newVal } var domProps = { create: updateDOMProps, update: updateDOMProps }; /* */ var parseStyleText = cached(function (cssText) { var res = {}; var listDelimiter = /;(?![^(]*\))/g; var propertyDelimiter = /:(.+)/; cssText.split(listDelimiter).forEach(function (item) { if (item) { var tmp = item.split(propertyDelimiter); tmp.length > 1 && (res[tmp[0].trim()] = tmp[1].trim()); } }); return res }); // merge static and dynamic style data on the same vnode function normalizeStyleData (data) { var style = normalizeStyleBinding(data.style); // static style is pre-processed into an object during compilation // and is always a fresh object, so it's safe to merge into it return data.staticStyle ? extend(data.staticStyle, style) : style } // normalize possible array / string values into Object function normalizeStyleBinding (bindingStyle) { if (Array.isArray(bindingStyle)) { return toObject(bindingStyle) } if (typeof bindingStyle === 'string') { return parseStyleText(bindingStyle) } return bindingStyle } /** * parent component style should be after child's * so that parent component's style could override it */ function getStyle (vnode, checkChild) { var res = {}; var styleData; if (checkChild) { var childNode = vnode; while (childNode.componentInstance) { childNode = childNode.componentInstance._vnode; if (childNode.data && (styleData = normalizeStyleData(childNode.data))) { extend(res, styleData); } } } if ((styleData = normalizeStyleData(vnode.data))) { extend(res, styleData); } var parentNode = vnode; while ((parentNode = parentNode.parent)) { if (parentNode.data && (styleData = normalizeStyleData(parentNode.data))) { extend(res, styleData); } } return res } /* */ var cssVarRE = /^--/; var importantRE = /\s*!important$/; var setProp = function (el, name, val) { /* istanbul ignore if */ if (cssVarRE.test(name)) { el.style.setProperty(name, val); } else if (importantRE.test(val)) { el.style.setProperty(name, val.replace(importantRE, ''), 'important'); } else { var normalizedName = normalize(name); if (Array.isArray(val)) { // Support values array created by autoprefixer, e.g. // {display: ["-webkit-box", "-ms-flexbox", "flex"]} // Set them one by one, and the browser will only set those it can recognize for (var i = 0, len = val.length; i < len; i++) { el.style[normalizedName] = val[i]; } } else { el.style[normalizedName] = val; } } }; var vendorNames = ['Webkit', 'Moz', 'ms']; var emptyStyle; var normalize = cached(function (prop) { emptyStyle = emptyStyle || document.createElement('div').style; prop = camelize(prop); if (prop !== 'filter' && (prop in emptyStyle)) { return prop } var capName = prop.charAt(0).toUpperCase() + prop.slice(1); for (var i = 0; i < vendorNames.length; i++) { var name = vendorNames[i] + capName; if (name in emptyStyle) { return name } } }); function updateStyle (oldVnode, vnode) { var data = vnode.data; var oldData = oldVnode.data; if (isUndef(data.staticStyle) && isUndef(data.style) && isUndef(oldData.staticStyle) && isUndef(oldData.style) ) { return } var cur, name; var el = vnode.elm; var oldStaticStyle = oldData.staticStyle; var oldStyleBinding = oldData.normalizedStyle || oldData.style || {}; // if static style exists, stylebinding already merged into it when doing normalizeStyleData var oldStyle = oldStaticStyle || oldStyleBinding; var style = normalizeStyleBinding(vnode.data.style) || {}; // store normalized style under a different key for next diff // make sure to clone it if it's reactive, since the user likley wants // to mutate it. vnode.data.normalizedStyle = isDef(style.__ob__) ? extend({}, style) : style; var newStyle = getStyle(vnode, true); for (name in oldStyle) { if (isUndef(newStyle[name])) { setProp(el, name, ''); } } for (name in newStyle) { cur = newStyle[name]; if (cur !== oldStyle[name]) { // ie9 setting to null has no effect, must use empty string setProp(el, name, cur == null ? '' : cur); } } } var style = { create: updateStyle, update: updateStyle }; /* */ /** * Add class with compatibility for SVG since classList is not supported on * SVG elements in IE */ function addClass (el, cls) { /* istanbul ignore if */ if (!cls || !(cls = cls.trim())) { return } /* istanbul ignore else */ if (el.classList) { if (cls.indexOf(' ') > -1) { cls.split(/\s+/).forEach(function (c) { return el.classList.add(c); }); } else { el.classList.add(cls); } } else { var cur = " " + (el.getAttribute('class') || '') + " "; if (cur.indexOf(' ' + cls + ' ') < 0) { el.setAttribute('class', (cur + cls).trim()); } } } /** * Remove class with compatibility for SVG since classList is not supported on * SVG elements in IE */ function removeClass (el, cls) { /* istanbul ignore if */ if (!cls || !(cls = cls.trim())) { return } /* istanbul ignore else */ if (el.classList) { if (cls.indexOf(' ') > -1) { cls.split(/\s+/).forEach(function (c) { return el.classList.remove(c); }); } else { el.classList.remove(cls); } if (!el.classList.length) { el.removeAttribute('class'); } } else { var cur = " " + (el.getAttribute('class') || '') + " "; var tar = ' ' + cls + ' '; while (cur.indexOf(tar) >= 0) { cur = cur.replace(tar, ' '); } cur = cur.trim(); if (cur) { el.setAttribute('class', cur); } else { el.removeAttribute('class'); } } } /* */ function resolveTransition (def$$1) { if (!def$$1) { return } /* istanbul ignore else */ if (typeof def$$1 === 'object') { var res = {}; if (def$$1.css !== false) { extend(res, autoCssTransition(def$$1.name || 'v')); } extend(res, def$$1); return res } else if (typeof def$$1 === 'string') { return autoCssTransition(def$$1) } } var autoCssTransition = cached(function (name) { return { enterClass: (name + "-enter"), enterToClass: (name + "-enter-to"), enterActiveClass: (name + "-enter-active"), leaveClass: (name + "-leave"), leaveToClass: (name + "-leave-to"), leaveActiveClass: (name + "-leave-active") } }); var hasTransition = inBrowser && !isIE9; var TRANSITION = 'transition'; var ANIMATION = 'animation'; // Transition property/event sniffing var transitionProp = 'transition'; var transitionEndEvent = 'transitionend'; var animationProp = 'animation'; var animationEndEvent = 'animationend'; if (hasTransition) { /* istanbul ignore if */ if (window.ontransitionend === undefined && window.onwebkittransitionend !== undefined ) { transitionProp = 'WebkitTransition'; transitionEndEvent = 'webkitTransitionEnd'; } if (window.onanimationend === undefined && window.onwebkitanimationend !== undefined ) { animationProp = 'WebkitAnimation'; animationEndEvent = 'webkitAnimationEnd'; } } // binding to window is necessary to make hot reload work in IE in strict mode var raf = inBrowser && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : setTimeout; function nextFrame (fn) { raf(function () { raf(fn); }); } function addTransitionClass (el, cls) { var transitionClasses = el._transitionClasses || (el._transitionClasses = []); if (transitionClasses.indexOf(cls) < 0) { transitionClasses.push(cls); addClass(el, cls); } } function removeTransitionClass (el, cls) { if (el._transitionClasses) { remove(el._transitionClasses, cls); } removeClass(el, cls); } function whenTransitionEnds ( el, expectedType, cb ) { var ref = getTransitionInfo(el, expectedType); var type = ref.type; var timeout = ref.timeout; var propCount = ref.propCount; if (!type) { return cb() } var event = type === TRANSITION ? transitionEndEvent : animationEndEvent; var ended = 0; var end = function () { el.removeEventListener(event, onEnd); cb(); }; var onEnd = function (e) { if (e.target === el) { if (++ended >= propCount) { end(); } } }; setTimeout(function () { if (ended < propCount) { end(); } }, timeout + 1); el.addEventListener(event, onEnd); } var transformRE = /\b(transform|all)(,|$)/; function getTransitionInfo (el, expectedType) { var styles = window.getComputedStyle(el); var transitionDelays = styles[transitionProp + 'Delay'].split(', '); var transitionDurations = styles[transitionProp + 'Duration'].split(', '); var transitionTimeout = getTimeout(transitionDelays, transitionDurations); var animationDelays = styles[animationProp + 'Delay'].split(', '); var animationDurations = styles[animationProp + 'Duration'].split(', '); var animationTimeout = getTimeout(animationDelays, animationDurations); var type; var timeout = 0; var propCount = 0; /* istanbul ignore if */ if (expectedType === TRANSITION) { if (transitionTimeout > 0) { type = TRANSITION; timeout = transitionTimeout; propCount = transitionDurations.length; } } else if (expectedType === ANIMATION) { if (animationTimeout > 0) { type = ANIMATION; timeout = animationTimeout; propCount = animationDurations.length; } } else { timeout = Math.max(transitionTimeout, animationTimeout); type = timeout > 0 ? transitionTimeout > animationTimeout ? TRANSITION : ANIMATION : null; propCount = type ? type === TRANSITION ? transitionDurations.length : animationDurations.length : 0; } var hasTransform = type === TRANSITION && transformRE.test(styles[transitionProp + 'Property']); return { type: type, timeout: timeout, propCount: propCount, hasTransform: hasTransform } } function getTimeout (delays, durations) { /* istanbul ignore next */ while (delays.length < durations.length) { delays = delays.concat(delays); } return Math.max.apply(null, durations.map(function (d, i) { return toMs(d) + toMs(delays[i]) })) } function toMs (s) { return Number(s.slice(0, -1)) * 1000 } /* */ function enter (vnode, toggleDisplay) { var el = vnode.elm; // call leave callback now if (isDef(el._leaveCb)) { el._leaveCb.cancelled = true; el._leaveCb(); } var data = resolveTransition(vnode.data.transition); if (isUndef(data)) { return } /* istanbul ignore if */ if (isDef(el._enterCb) || el.nodeType !== 1) { return } var css = data.css; var type = data.type; var enterClass = data.enterClass; var enterToClass = data.enterToClass; var enterActiveClass = data.enterActiveClass; var appearClass = data.appearClass; var appearToClass = data.appearToClass; var appearActiveClass = data.appearActiveClass; var beforeEnter = data.beforeEnter; var enter = data.enter; var afterEnter = data.afterEnter; var enterCancelled = data.enterCancelled; var beforeAppear = data.beforeAppear; var appear = data.appear; var afterAppear = data.afterAppear; var appearCancelled = data.appearCancelled; var duration = data.duration; // activeInstance will always be the <transition> component managing this // transition. One edge case to check is when the <transition> is placed // as the root node of a child component. In that case we need to check // <transition>'s parent for appear check. var context = activeInstance; var transitionNode = activeInstance.$vnode; while (transitionNode && transitionNode.parent) { transitionNode = transitionNode.parent; context = transitionNode.context; } var isAppear = !context._isMounted || !vnode.isRootInsert; if (isAppear && !appear && appear !== '') { return } var startClass = isAppear && appearClass ? appearClass : enterClass; var activeClass = isAppear && appearActiveClass ? appearActiveClass : enterActiveClass; var toClass = isAppear && appearToClass ? appearToClass : enterToClass; var beforeEnterHook = isAppear ? (beforeAppear || beforeEnter) : beforeEnter; var enterHook = isAppear ? (typeof appear === 'function' ? appear : enter) : enter; var afterEnterHook = isAppear ? (afterAppear || afterEnter) : afterEnter; var enterCancelledHook = isAppear ? (appearCancelled || enterCancelled) : enterCancelled; var explicitEnterDuration = toNumber( isObject(duration) ? duration.enter : duration ); if ("development" !== 'production' && explicitEnterDuration != null) { checkDuration(explicitEnterDuration, 'enter', vnode); } var expectsCSS = css !== false && !isIE9; var userWantsControl = getHookArgumentsLength(enterHook); var cb = el._enterCb = once(function () { if (expectsCSS) { removeTransitionClass(el, toClass); removeTransitionClass(el, activeClass); } if (cb.cancelled) { if (expectsCSS) { removeTransitionClass(el, startClass); } enterCancelledHook && enterCancelledHook(el); } else { afterEnterHook && afterEnterHook(el); } el._enterCb = null; }); if (!vnode.data.show) { // remove pending leave element on enter by injecting an insert hook mergeVNodeHook(vnode.data.hook || (vnode.data.hook = {}), 'insert', function () { var parent = el.parentNode; var pendingNode = parent && parent._pending && parent._pending[vnode.key]; if (pendingNode && pendingNode.tag === vnode.tag && pendingNode.elm._leaveCb ) { pendingNode.elm._leaveCb(); } enterHook && enterHook(el, cb); }); } // start enter transition beforeEnterHook && beforeEnterHook(el); if (expectsCSS) { addTransitionClass(el, startClass); addTransitionClass(el, activeClass); nextFrame(function () { addTransitionClass(el, toClass); removeTransitionClass(el, startClass); if (!cb.cancelled && !userWantsControl) { if (isValidDuration(explicitEnterDuration)) { setTimeout(cb, explicitEnterDuration); } else { whenTransitionEnds(el, type, cb); } } }); } if (vnode.data.show) { toggleDisplay && toggleDisplay(); enterHook && enterHook(el, cb); } if (!expectsCSS && !userWantsControl) { cb(); } } function leave (vnode, rm) { var el = vnode.elm; // call enter callback now if (isDef(el._enterCb)) { el._enterCb.cancelled = true; el._enterCb(); } var data = resolveTransition(vnode.data.transition); if (isUndef(data)) { return rm() } /* istanbul ignore if */ if (isDef(el._leaveCb) || el.nodeType !== 1) { return } var css = data.css; var type = data.type; var leaveClass = data.leaveClass; var leaveToClass = data.leaveToClass; var leaveActiveClass = data.leaveActiveClass; var beforeLeave = data.beforeLeave; var leave = data.leave; var afterLeave = data.afterLeave; var leaveCancelled = data.leaveCancelled; var delayLeave = data.delayLeave; var duration = data.duration; var expectsCSS = css !== false && !isIE9; var userWantsControl = getHookArgumentsLength(leave); var explicitLeaveDuration = toNumber( isObject(duration) ? duration.leave : duration ); if ("development" !== 'production' && isDef(explicitLeaveDuration)) { checkDuration(explicitLeaveDuration, 'leave', vnode); } var cb = el._leaveCb = once(function () { if (el.parentNode && el.parentNode._pending) { el.parentNode._pending[vnode.key] = null; } if (expectsCSS) { removeTransitionClass(el, leaveToClass); removeTransitionClass(el, leaveActiveClass); } if (cb.cancelled) { if (expectsCSS) { removeTransitionClass(el, leaveClass); } leaveCancelled && leaveCancelled(el); } else { rm(); afterLeave && afterLeave(el); } el._leaveCb = null; }); if (delayLeave) { delayLeave(performLeave); } else { performLeave(); } function performLeave () { // the delayed leave may have already been cancelled if (cb.cancelled) { return } // record leaving element if (!vnode.data.show) { (el.parentNode._pending || (el.parentNode._pending = {}))[(vnode.key)] = vnode; } beforeLeave && beforeLeave(el); if (expectsCSS) { addTransitionClass(el, leaveClass); addTransitionClass(el, leaveActiveClass); nextFrame(function () { addTransitionClass(el, leaveToClass); removeTransitionClass(el, leaveClass); if (!cb.cancelled && !userWantsControl) { if (isValidDuration(explicitLeaveDuration)) { setTimeout(cb, explicitLeaveDuration); } else { whenTransitionEnds(el, type, cb); } } }); } leave && leave(el, cb); if (!expectsCSS && !userWantsControl) { cb(); } } } // only used in dev mode function checkDuration (val, name, vnode) { if (typeof val !== 'number') { warn( "<transition> explicit " + name + " duration is not a valid number - " + "got " + (JSON.stringify(val)) + ".", vnode.context ); } else if (isNaN(val)) { warn( "<transition> explicit " + name + " duration is NaN - " + 'the duration expression might be incorrect.', vnode.context ); } } function isValidDuration (val) { return typeof val === 'number' && !isNaN(val) } /** * Normalize a transition hook's argument length. The hook may be: * - a merged hook (invoker) with the original in .fns * - a wrapped component method (check ._length) * - a plain function (.length) */ function getHookArgumentsLength (fn) { if (isUndef(fn)) { return false } var invokerFns = fn.fns; if (isDef(invokerFns)) { // invoker return getHookArgumentsLength( Array.isArray(invokerFns) ? invokerFns[0] : invokerFns ) } else { return (fn._length || fn.length) > 1 } } function _enter (_, vnode) { if (vnode.data.show !== true) { enter(vnode); } } var transition = inBrowser ? { create: _enter, activate: _enter, remove: function remove$$1 (vnode, rm) { /* istanbul ignore else */ if (vnode.data.show !== true) { leave(vnode, rm); } else { rm(); } } } : {}; var platformModules = [ attrs, klass, events, domProps, style, transition ]; /* */ // the directive module should be applied last, after all // built-in modules have been applied. var modules = platformModules.concat(baseModules); var patch = createPatchFunction({ nodeOps: nodeOps, modules: modules }); /** * Not type checking this file because flow doesn't like attaching * properties to Elements. */ var isTextInputType = makeMap('text,number,password,search,email,tel,url'); /* istanbul ignore if */ if (isIE9) { // http://www.matts411.com/post/internet-explorer-9-oninput/ document.addEventListener('selectionchange', function () { var el = document.activeElement; if (el && el.vmodel) { trigger(el, 'input'); } }); } var model$1 = { inserted: function inserted (el, binding, vnode) { if (vnode.tag === 'select') { var cb = function () { setSelected(el, binding, vnode.context); }; cb(); /* istanbul ignore if */ if (isIE || isEdge) { setTimeout(cb, 0); } el._vOptions = [].map.call(el.options, getValue); } else if (vnode.tag === 'textarea' || isTextInputType(el.type)) { el._vModifiers = binding.modifiers; if (!binding.modifiers.lazy) { // Safari < 10.2 & UIWebView doesn't fire compositionend when // switching focus before confirming composition choice // this also fixes the issue where some browsers e.g. iOS Chrome // fires "change" instead of "input" on autocomplete. el.addEventListener('change', onCompositionEnd); if (!isAndroid) { el.addEventListener('compositionstart', onCompositionStart); el.addEventListener('compositionend', onCompositionEnd); } /* istanbul ignore if */ if (isIE9) { el.vmodel = true; } } } }, componentUpdated: function componentUpdated (el, binding, vnode) { if (vnode.tag === 'select') { setSelected(el, binding, vnode.context); // in case the options rendered by v-for have changed, // it's possible that the value is out-of-sync with the rendered options. // detect such cases and filter out values that no longer has a matching // option in the DOM. var prevOptions = el._vOptions; var curOptions = el._vOptions = [].map.call(el.options, getValue); if (curOptions.some(function (o, i) { return !looseEqual(o, prevOptions[i]); })) { trigger(el, 'change'); } } } }; function setSelected (el, binding, vm) { var value = binding.value; var isMultiple = el.multiple; if (isMultiple && !Array.isArray(value)) { "development" !== 'production' && warn( "<select multiple v-model=\"" + (binding.expression) + "\"> " + "expects an Array value for its binding, but got " + (Object.prototype.toString.call(value).slice(8, -1)), vm ); return } var selected, option; for (var i = 0, l = el.options.length; i < l; i++) { option = el.options[i]; if (isMultiple) { selected = looseIndexOf(value, getValue(option)) > -1; if (option.selected !== selected) { option.selected = selected; } } else { if (looseEqual(getValue(option), value)) { if (el.selectedIndex !== i) { el.selectedIndex = i; } return } } } if (!isMultiple) { el.selectedIndex = -1; } } function getValue (option) { return '_value' in option ? option._value : option.value } function onCompositionStart (e) { e.target.composing = true; } function onCompositionEnd (e) { // prevent triggering an input event for no reason if (!e.target.composing) { return } e.target.composing = false; trigger(e.target, 'input'); } function trigger (el, type) { var e = document.createEvent('HTMLEvents'); e.initEvent(type, true, true); el.dispatchEvent(e); } /* */ // recursively search for possible transition defined inside the component root function locateNode (vnode) { return vnode.componentInstance && (!vnode.data || !vnode.data.transition) ? locateNode(vnode.componentInstance._vnode) : vnode } var show = { bind: function bind (el, ref, vnode) { var value = ref.value; vnode = locateNode(vnode); var transition$$1 = vnode.data && vnode.data.transition; var originalDisplay = el.__vOriginalDisplay = el.style.display === 'none' ? '' : el.style.display; if (value && transition$$1) { vnode.data.show = true; enter(vnode, function () { el.style.display = originalDisplay; }); } else { el.style.display = value ? originalDisplay : 'none'; } }, update: function update (el, ref, vnode) { var value = ref.value; var oldValue = ref.oldValue; /* istanbul ignore if */ if (value === oldValue) { return } vnode = locateNode(vnode); var transition$$1 = vnode.data && vnode.data.transition; if (transition$$1) { vnode.data.show = true; if (value) { enter(vnode, function () { el.style.display = el.__vOriginalDisplay; }); } else { leave(vnode, function () { el.style.display = 'none'; }); } } else { el.style.display = value ? el.__vOriginalDisplay : 'none'; } }, unbind: function unbind ( el, binding, vnode, oldVnode, isDestroy ) { if (!isDestroy) { el.style.display = el.__vOriginalDisplay; } } }; var platformDirectives = { model: model$1, show: show }; /* */ // Provides transition support for a single element/component. // supports transition mode (out-in / in-out) var transitionProps = { name: String, appear: Boolean, css: Boolean, mode: String, type: String, enterClass: String, leaveClass: String, enterToClass: String, leaveToClass: String, enterActiveClass: String, leaveActiveClass: String, appearClass: String, appearActiveClass: String, appearToClass: String, duration: [Number, String, Object] }; // in case the child is also an abstract component, e.g. <keep-alive> // we want to recursively retrieve the real component to be rendered function getRealChild (vnode) { var compOptions = vnode && vnode.componentOptions; if (compOptions && compOptions.Ctor.options.abstract) { return getRealChild(getFirstComponentChild(compOptions.children)) } else { return vnode } } function extractTransitionData (comp) { var data = {}; var options = comp.$options; // props for (var key in options.propsData) { data[key] = comp[key]; } // events. // extract listeners and pass them directly to the transition methods var listeners = options._parentListeners; for (var key$1 in listeners) { data[camelize(key$1)] = listeners[key$1]; } return data } function placeholder (h, rawChild) { if (/\d-keep-alive$/.test(rawChild.tag)) { return h('keep-alive', { props: rawChild.componentOptions.propsData }) } } function hasParentTransition (vnode) { while ((vnode = vnode.parent)) { if (vnode.data.transition) { return true } } } function isSameChild (child, oldChild) { return oldChild.key === child.key && oldChild.tag === child.tag } function isAsyncPlaceholder (node) { return node.isComment && node.asyncFactory } var Transition = { name: 'transition', props: transitionProps, abstract: true, render: function render (h) { var this$1 = this; var children = this.$options._renderChildren; if (!children) { return } // filter out text nodes (possible whitespaces) children = children.filter(function (c) { return c.tag || isAsyncPlaceholder(c); }); /* istanbul ignore if */ if (!children.length) { return } // warn multiple elements if ("development" !== 'production' && children.length > 1) { warn( '<transition> can only be used on a single element. Use ' + '<transition-group> for lists.', this.$parent ); } var mode = this.mode; // warn invalid mode if ("development" !== 'production' && mode && mode !== 'in-out' && mode !== 'out-in' ) { warn( 'invalid <transition> mode: ' + mode, this.$parent ); } var rawChild = children[0]; // if this is a component root node and the component's // parent container node also has transition, skip. if (hasParentTransition(this.$vnode)) { return rawChild } // apply transition data to child // use getRealChild() to ignore abstract components e.g. keep-alive var child = getRealChild(rawChild); /* istanbul ignore if */ if (!child) { return rawChild } if (this._leaving) { return placeholder(h, rawChild) } // ensure a key that is unique to the vnode type and to this transition // component instance. This key will be used to remove pending leaving nodes // during entering. var id = "__transition-" + (this._uid) + "-"; child.key = child.key == null ? child.isComment ? id + 'comment' : id + child.tag : isPrimitive(child.key) ? (String(child.key).indexOf(id) === 0 ? child.key : id + child.key) : child.key; var data = (child.data || (child.data = {})).transition = extractTransitionData(this); var oldRawChild = this._vnode; var oldChild = getRealChild(oldRawChild); // mark v-show // so that the transition module can hand over the control to the directive if (child.data.directives && child.data.directives.some(function (d) { return d.name === 'show'; })) { child.data.show = true; } if ( oldChild && oldChild.data && !isSameChild(child, oldChild) && !isAsyncPlaceholder(oldChild) ) { // replace old child transition data with fresh one // important for dynamic transitions! var oldData = oldChild && (oldChild.data.transition = extend({}, data)); // handle transition mode if (mode === 'out-in') { // return placeholder node and queue update when leave finishes this._leaving = true; mergeVNodeHook(oldData, 'afterLeave', function () { this$1._leaving = false; this$1.$forceUpdate(); }); return placeholder(h, rawChild) } else if (mode === 'in-out') { if (isAsyncPlaceholder(child)) { return oldRawChild } var delayedLeave; var performLeave = function () { delayedLeave(); }; mergeVNodeHook(data, 'afterEnter', performLeave); mergeVNodeHook(data, 'enterCancelled', performLeave); mergeVNodeHook(oldData, 'delayLeave', function (leave) { delayedLeave = leave; }); } } return rawChild } }; /* */ // Provides transition support for list items. // supports move transitions using the FLIP technique. // Because the vdom's children update algorithm is "unstable" - i.e. // it doesn't guarantee the relative positioning of removed elements, // we force transition-group to update its children into two passes: // in the first pass, we remove all nodes that need to be removed, // triggering their leaving transition; in the second pass, we insert/move // into the final desired state. This way in the second pass removed // nodes will remain where they should be. var props = extend({ tag: String, moveClass: String }, transitionProps); delete props.mode; var TransitionGroup = { props: props, render: function render (h) { var tag = this.tag || this.$vnode.data.tag || 'span'; var map = Object.create(null); var prevChildren = this.prevChildren = this.children; var rawChildren = this.$slots.default || []; var children = this.children = []; var transitionData = extractTransitionData(this); for (var i = 0; i < rawChildren.length; i++) { var c = rawChildren[i]; if (c.tag) { if (c.key != null && String(c.key).indexOf('__vlist') !== 0) { children.push(c); map[c.key] = c ;(c.data || (c.data = {})).transition = transitionData; } else if (true) { var opts = c.componentOptions; var name = opts ? (opts.Ctor.options.name || opts.tag || '') : c.tag; warn(("<transition-group> children must be keyed: <" + name + ">")); } } } if (prevChildren) { var kept = []; var removed = []; for (var i$1 = 0; i$1 < prevChildren.length; i$1++) { var c$1 = prevChildren[i$1]; c$1.data.transition = transitionData; c$1.data.pos = c$1.elm.getBoundingClientRect(); if (map[c$1.key]) { kept.push(c$1); } else { removed.push(c$1); } } this.kept = h(tag, null, kept); this.removed = removed; } return h(tag, null, children) }, beforeUpdate: function beforeUpdate () { // force removing pass this.__patch__( this._vnode, this.kept, false, // hydrating true // removeOnly (!important, avoids unnecessary moves) ); this._vnode = this.kept; }, updated: function updated () { var children = this.prevChildren; var moveClass = this.moveClass || ((this.name || 'v') + '-move'); if (!children.length || !this.hasMove(children[0].elm, moveClass)) { return } // we divide the work into three loops to avoid mixing DOM reads and writes // in each iteration - which helps prevent layout thrashing. children.forEach(callPendingCbs); children.forEach(recordPosition); children.forEach(applyTranslation); // force reflow to put everything in position var body = document.body; var f = body.offsetHeight; // eslint-disable-line children.forEach(function (c) { if (c.data.moved) { var el = c.elm; var s = el.style; addTransitionClass(el, moveClass); s.transform = s.WebkitTransform = s.transitionDuration = ''; el.addEventListener(transitionEndEvent, el._moveCb = function cb (e) { if (!e || /transform$/.test(e.propertyName)) { el.removeEventListener(transitionEndEvent, cb); el._moveCb = null; removeTransitionClass(el, moveClass); } }); } }); }, methods: { hasMove: function hasMove (el, moveClass) { /* istanbul ignore if */ if (!hasTransition) { return false } /* istanbul ignore if */ if (this._hasMove) { return this._hasMove } // Detect whether an element with the move class applied has // CSS transitions. Since the element may be inside an entering // transition at this very moment, we make a clone of it and remove // all other transition classes applied to ensure only the move class // is applied. var clone = el.cloneNode(); if (el._transitionClasses) { el._transitionClasses.forEach(function (cls) { removeClass(clone, cls); }); } addClass(clone, moveClass); clone.style.display = 'none'; this.$el.appendChild(clone); var info = getTransitionInfo(clone); this.$el.removeChild(clone); return (this._hasMove = info.hasTransform) } } }; function callPendingCbs (c) { /* istanbul ignore if */ if (c.elm._moveCb) { c.elm._moveCb(); } /* istanbul ignore if */ if (c.elm._enterCb) { c.elm._enterCb(); } } function recordPosition (c) { c.data.newPos = c.elm.getBoundingClientRect(); } function applyTranslation (c) { var oldPos = c.data.pos; var newPos = c.data.newPos; var dx = oldPos.left - newPos.left; var dy = oldPos.top - newPos.top; if (dx || dy) { c.data.moved = true; var s = c.elm.style; s.transform = s.WebkitTransform = "translate(" + dx + "px," + dy + "px)"; s.transitionDuration = '0s'; } } var platformComponents = { Transition: Transition, TransitionGroup: TransitionGroup }; /* */ // install platform specific utils Vue$3.config.mustUseProp = mustUseProp; Vue$3.config.isReservedTag = isReservedTag; Vue$3.config.isReservedAttr = isReservedAttr; Vue$3.config.getTagNamespace = getTagNamespace; Vue$3.config.isUnknownElement = isUnknownElement; // install platform runtime directives & components extend(Vue$3.options.directives, platformDirectives); extend(Vue$3.options.components, platformComponents); // install platform patch function Vue$3.prototype.__patch__ = inBrowser ? patch : noop; // public mount method Vue$3.prototype.$mount = function ( el, hydrating ) { el = el && inBrowser ? query(el) : undefined; return mountComponent(this, el, hydrating) }; // devtools global hook /* istanbul ignore next */ setTimeout(function () { if (config.devtools) { if (devtools) { devtools.emit('init', Vue$3); } else if ("development" !== 'production' && isChrome) { console[console.info ? 'info' : 'log']( 'Download the Vue Devtools extension for a better development experience:\n' + 'https://github.com/vuejs/vue-devtools' ); } } if ("development" !== 'production' && config.productionTip !== false && inBrowser && typeof console !== 'undefined' ) { console[console.info ? 'info' : 'log']( "You are running Vue in development mode.\n" + "Make sure to turn on production mode when deploying for production.\n" + "See more tips at https://vuejs.org/guide/deployment.html" ); } }, 0); /* */ // check whether current browser encodes a char inside attribute values function shouldDecode (content, encoded) { var div = document.createElement('div'); div.innerHTML = "<div a=\"" + content + "\"/>"; return div.innerHTML.indexOf(encoded) > 0 } // #3663 // IE encodes newlines inside attribute values while other browsers don't var shouldDecodeNewlines = inBrowser ? shouldDecode('\n', '&#10;') : false; /* */ var defaultTagRE = /\{\{((?:.|\n)+?)\}\}/g; var regexEscapeRE = /[-.*+?^${}()|[\]\/\\]/g; var buildRegex = cached(function (delimiters) { var open = delimiters[0].replace(regexEscapeRE, '\\$&'); var close = delimiters[1].replace(regexEscapeRE, '\\$&'); return new RegExp(open + '((?:.|\\n)+?)' + close, 'g') }); function parseText ( text, delimiters ) { var tagRE = delimiters ? buildRegex(delimiters) : defaultTagRE; if (!tagRE.test(text)) { return } var tokens = []; var lastIndex = tagRE.lastIndex = 0; var match, index; while ((match = tagRE.exec(text))) { index = match.index; // push text token if (index > lastIndex) { tokens.push(JSON.stringify(text.slice(lastIndex, index))); } // tag token var exp = parseFilters(match[1].trim()); tokens.push(("_s(" + exp + ")")); lastIndex = index + match[0].length; } if (lastIndex < text.length) { tokens.push(JSON.stringify(text.slice(lastIndex))); } return tokens.join('+') } /* */ function transformNode (el, options) { var warn = options.warn || baseWarn; var staticClass = getAndRemoveAttr(el, 'class'); if ("development" !== 'production' && staticClass) { var expression = parseText(staticClass, options.delimiters); if (expression) { warn( "class=\"" + staticClass + "\": " + 'Interpolation inside attributes has been removed. ' + 'Use v-bind or the colon shorthand instead. For example, ' + 'instead of <div class="{{ val }}">, use <div :class="val">.' ); } } if (staticClass) { el.staticClass = JSON.stringify(staticClass); } var classBinding = getBindingAttr(el, 'class', false /* getStatic */); if (classBinding) { el.classBinding = classBinding; } } function genData (el) { var data = ''; if (el.staticClass) { data += "staticClass:" + (el.staticClass) + ","; } if (el.classBinding) { data += "class:" + (el.classBinding) + ","; } return data } var klass$1 = { staticKeys: ['staticClass'], transformNode: transformNode, genData: genData }; /* */ function transformNode$1 (el, options) { var warn = options.warn || baseWarn; var staticStyle = getAndRemoveAttr(el, 'style'); if (staticStyle) { /* istanbul ignore if */ if (true) { var expression = parseText(staticStyle, options.delimiters); if (expression) { warn( "style=\"" + staticStyle + "\": " + 'Interpolation inside attributes has been removed. ' + 'Use v-bind or the colon shorthand instead. For example, ' + 'instead of <div style="{{ val }}">, use <div :style="val">.' ); } } el.staticStyle = JSON.stringify(parseStyleText(staticStyle)); } var styleBinding = getBindingAttr(el, 'style', false /* getStatic */); if (styleBinding) { el.styleBinding = styleBinding; } } function genData$1 (el) { var data = ''; if (el.staticStyle) { data += "staticStyle:" + (el.staticStyle) + ","; } if (el.styleBinding) { data += "style:(" + (el.styleBinding) + "),"; } return data } var style$1 = { staticKeys: ['staticStyle'], transformNode: transformNode$1, genData: genData$1 }; var modules$1 = [ klass$1, style$1 ]; /* */ function text (el, dir) { if (dir.value) { addProp(el, 'textContent', ("_s(" + (dir.value) + ")")); } } /* */ function html (el, dir) { if (dir.value) { addProp(el, 'innerHTML', ("_s(" + (dir.value) + ")")); } } var directives$1 = { model: model, text: text, html: html }; /* */ var isUnaryTag = makeMap( 'area,base,br,col,embed,frame,hr,img,input,isindex,keygen,' + 'link,meta,param,source,track,wbr' ); // Elements that you can, intentionally, leave open // (and which close themselves) var canBeLeftOpenTag = makeMap( 'colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source' ); // HTML5 tags https://html.spec.whatwg.org/multipage/indices.html#elements-3 // Phrasing Content https://html.spec.whatwg.org/multipage/dom.html#phrasing-content var isNonPhrasingTag = makeMap( 'address,article,aside,base,blockquote,body,caption,col,colgroup,dd,' + 'details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,' + 'h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,' + 'optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,' + 'title,tr,track' ); /* */ var baseOptions = { expectHTML: true, modules: modules$1, directives: directives$1, isPreTag: isPreTag, isUnaryTag: isUnaryTag, mustUseProp: mustUseProp, canBeLeftOpenTag: canBeLeftOpenTag, isReservedTag: isReservedTag, getTagNamespace: getTagNamespace, staticKeys: genStaticKeys(modules$1) }; /* */ var decoder; var he = { decode: function decode (html) { decoder = decoder || document.createElement('div'); decoder.innerHTML = html; return decoder.textContent } }; /** * Not type-checking this file because it's mostly vendor code. */ /*! * HTML Parser By John Resig (ejohn.org) * Modified by Juriy "kangax" Zaytsev * Original code by Erik Arvidsson, Mozilla Public License * http://erik.eae.net/simplehtmlparser/simplehtmlparser.js */ // Regular Expressions for parsing tags and attributes var singleAttrIdentifier = /([^\s"'<>/=]+)/; var singleAttrAssign = /(?:=)/; var singleAttrValues = [ // attr value double quotes /"([^"]*)"+/.source, // attr value, single quotes /'([^']*)'+/.source, // attr value, no quotes /([^\s"'=<>`]+)/.source ]; var attribute = new RegExp( '^\\s*' + singleAttrIdentifier.source + '(?:\\s*(' + singleAttrAssign.source + ')' + '\\s*(?:' + singleAttrValues.join('|') + '))?' ); // could use https://www.w3.org/TR/1999/REC-xml-names-19990114/#NT-QName // but for Vue templates we can enforce a simple charset var ncname = '[a-zA-Z_][\\w\\-\\.]*'; var qnameCapture = '((?:' + ncname + '\\:)?' + ncname + ')'; var startTagOpen = new RegExp('^<' + qnameCapture); var startTagClose = /^\s*(\/?)>/; var endTag = new RegExp('^<\\/' + qnameCapture + '[^>]*>'); var doctype = /^<!DOCTYPE [^>]+>/i; var comment = /^<!--/; var conditionalComment = /^<!\[/; var IS_REGEX_CAPTURING_BROKEN = false; 'x'.replace(/x(.)?/g, function (m, g) { IS_REGEX_CAPTURING_BROKEN = g === ''; }); // Special Elements (can contain anything) var isPlainTextElement = makeMap('script,style,textarea', true); var reCache = {}; var decodingMap = { '&lt;': '<', '&gt;': '>', '&quot;': '"', '&amp;': '&', '&#10;': '\n' }; var encodedAttr = /&(?:lt|gt|quot|amp);/g; var encodedAttrWithNewLines = /&(?:lt|gt|quot|amp|#10);/g; // #5992 var isIgnoreNewlineTag = makeMap('pre,textarea', true); var shouldIgnoreFirstNewline = function (tag, html) { return tag && isIgnoreNewlineTag(tag) && html[0] === '\n'; }; function decodeAttr (value, shouldDecodeNewlines) { var re = shouldDecodeNewlines ? encodedAttrWithNewLines : encodedAttr; return value.replace(re, function (match) { return decodingMap[match]; }) } function parseHTML (html, options) { var stack = []; var expectHTML = options.expectHTML; var isUnaryTag$$1 = options.isUnaryTag || no; var canBeLeftOpenTag$$1 = options.canBeLeftOpenTag || no; var index = 0; var last, lastTag; while (html) { last = html; // Make sure we're not in a plaintext content element like script/style if (!lastTag || !isPlainTextElement(lastTag)) { var textEnd = html.indexOf('<'); if (textEnd === 0) { // Comment: if (comment.test(html)) { var commentEnd = html.indexOf('-->'); if (commentEnd >= 0) { if (options.shouldKeepComment) { options.comment(html.substring(4, commentEnd)); } advance(commentEnd + 3); continue } } // http://en.wikipedia.org/wiki/Conditional_comment#Downlevel-revealed_conditional_comment if (conditionalComment.test(html)) { var conditionalEnd = html.indexOf(']>'); if (conditionalEnd >= 0) { advance(conditionalEnd + 2); continue } } // Doctype: var doctypeMatch = html.match(doctype); if (doctypeMatch) { advance(doctypeMatch[0].length); continue } // End tag: var endTagMatch = html.match(endTag); if (endTagMatch) { var curIndex = index; advance(endTagMatch[0].length); parseEndTag(endTagMatch[1], curIndex, index); continue } // Start tag: var startTagMatch = parseStartTag(); if (startTagMatch) { handleStartTag(startTagMatch); if (shouldIgnoreFirstNewline(lastTag, html)) { advance(1); } continue } } var text = (void 0), rest = (void 0), next = (void 0); if (textEnd >= 0) { rest = html.slice(textEnd); while ( !endTag.test(rest) && !startTagOpen.test(rest) && !comment.test(rest) && !conditionalComment.test(rest) ) { // < in plain text, be forgiving and treat it as text next = rest.indexOf('<', 1); if (next < 0) { break } textEnd += next; rest = html.slice(textEnd); } text = html.substring(0, textEnd); advance(textEnd); } if (textEnd < 0) { text = html; html = ''; } if (options.chars && text) { options.chars(text); } } else { var endTagLength = 0; var stackedTag = lastTag.toLowerCase(); var reStackedTag = reCache[stackedTag] || (reCache[stackedTag] = new RegExp('([\\s\\S]*?)(</' + stackedTag + '[^>]*>)', 'i')); var rest$1 = html.replace(reStackedTag, function (all, text, endTag) { endTagLength = endTag.length; if (!isPlainTextElement(stackedTag) && stackedTag !== 'noscript') { text = text .replace(/<!--([\s\S]*?)-->/g, '$1') .replace(/<!\[CDATA\[([\s\S]*?)]]>/g, '$1'); } if (shouldIgnoreFirstNewline(stackedTag, text)) { text = text.slice(1); } if (options.chars) { options.chars(text); } return '' }); index += html.length - rest$1.length; html = rest$1; parseEndTag(stackedTag, index - endTagLength, index); } if (html === last) { options.chars && options.chars(html); if ("development" !== 'production' && !stack.length && options.warn) { options.warn(("Mal-formatted tag at end of template: \"" + html + "\"")); } break } } // Clean up any remaining tags parseEndTag(); function advance (n) { index += n; html = html.substring(n); } function parseStartTag () { var start = html.match(startTagOpen); if (start) { var match = { tagName: start[1], attrs: [], start: index }; advance(start[0].length); var end, attr; while (!(end = html.match(startTagClose)) && (attr = html.match(attribute))) { advance(attr[0].length); match.attrs.push(attr); } if (end) { match.unarySlash = end[1]; advance(end[0].length); match.end = index; return match } } } function handleStartTag (match) { var tagName = match.tagName; var unarySlash = match.unarySlash; if (expectHTML) { if (lastTag === 'p' && isNonPhrasingTag(tagName)) { parseEndTag(lastTag); } if (canBeLeftOpenTag$$1(tagName) && lastTag === tagName) { parseEndTag(tagName); } } var unary = isUnaryTag$$1(tagName) || !!unarySlash; var l = match.attrs.length; var attrs = new Array(l); for (var i = 0; i < l; i++) { var args = match.attrs[i]; // hackish work around FF bug https://bugzilla.mozilla.org/show_bug.cgi?id=369778 if (IS_REGEX_CAPTURING_BROKEN && args[0].indexOf('""') === -1) { if (args[3] === '') { delete args[3]; } if (args[4] === '') { delete args[4]; } if (args[5] === '') { delete args[5]; } } var value = args[3] || args[4] || args[5] || ''; attrs[i] = { name: args[1], value: decodeAttr( value, options.shouldDecodeNewlines ) }; } if (!unary) { stack.push({ tag: tagName, lowerCasedTag: tagName.toLowerCase(), attrs: attrs }); lastTag = tagName; } if (options.start) { options.start(tagName, attrs, unary, match.start, match.end); } } function parseEndTag (tagName, start, end) { var pos, lowerCasedTagName; if (start == null) { start = index; } if (end == null) { end = index; } if (tagName) { lowerCasedTagName = tagName.toLowerCase(); } // Find the closest opened tag of the same type if (tagName) { for (pos = stack.length - 1; pos >= 0; pos--) { if (stack[pos].lowerCasedTag === lowerCasedTagName) { break } } } else { // If no tag name is provided, clean shop pos = 0; } if (pos >= 0) { // Close all the open elements, up the stack for (var i = stack.length - 1; i >= pos; i--) { if ("development" !== 'production' && (i > pos || !tagName) && options.warn ) { options.warn( ("tag <" + (stack[i].tag) + "> has no matching end tag.") ); } if (options.end) { options.end(stack[i].tag, start, end); } } // Remove the open elements from the stack stack.length = pos; lastTag = pos && stack[pos - 1].tag; } else if (lowerCasedTagName === 'br') { if (options.start) { options.start(tagName, [], true, start, end); } } else if (lowerCasedTagName === 'p') { if (options.start) { options.start(tagName, [], false, start, end); } if (options.end) { options.end(tagName, start, end); } } } } /* */ var onRE = /^@|^v-on:/; var dirRE = /^v-|^@|^:/; var forAliasRE = /(.*?)\s+(?:in|of)\s+(.*)/; var forIteratorRE = /\((\{[^}]*\}|[^,]*),([^,]*)(?:,([^,]*))?\)/; var argRE = /:(.*)$/; var bindRE = /^:|^v-bind:/; var modifierRE = /\.[^.]+/g; var decodeHTMLCached = cached(he.decode); // configurable state var warn$2; var delimiters; var transforms; var preTransforms; var postTransforms; var platformIsPreTag; var platformMustUseProp; var platformGetTagNamespace; /** * Convert HTML string to AST. */ function parse ( template, options ) { warn$2 = options.warn || baseWarn; platformIsPreTag = options.isPreTag || no; platformMustUseProp = options.mustUseProp || no; platformGetTagNamespace = options.getTagNamespace || no; transforms = pluckModuleFunction(options.modules, 'transformNode'); preTransforms = pluckModuleFunction(options.modules, 'preTransformNode'); postTransforms = pluckModuleFunction(options.modules, 'postTransformNode'); delimiters = options.delimiters; var stack = []; var preserveWhitespace = options.preserveWhitespace !== false; var root; var currentParent; var inVPre = false; var inPre = false; var warned = false; function warnOnce (msg) { if (!warned) { warned = true; warn$2(msg); } } function endPre (element) { // check pre state if (element.pre) { inVPre = false; } if (platformIsPreTag(element.tag)) { inPre = false; } } parseHTML(template, { warn: warn$2, expectHTML: options.expectHTML, isUnaryTag: options.isUnaryTag, canBeLeftOpenTag: options.canBeLeftOpenTag, shouldDecodeNewlines: options.shouldDecodeNewlines, shouldKeepComment: options.comments, start: function start (tag, attrs, unary) { // check namespace. // inherit parent ns if there is one var ns = (currentParent && currentParent.ns) || platformGetTagNamespace(tag); // handle IE svg bug /* istanbul ignore if */ if (isIE && ns === 'svg') { attrs = guardIESVGBug(attrs); } var element = { type: 1, tag: tag, attrsList: attrs, attrsMap: makeAttrsMap(attrs), parent: currentParent, children: [] }; if (ns) { element.ns = ns; } if (isForbiddenTag(element) && !isServerRendering()) { element.forbidden = true; "development" !== 'production' && warn$2( 'Templates should only be responsible for mapping the state to the ' + 'UI. Avoid placing tags with side-effects in your templates, such as ' + "<" + tag + ">" + ', as they will not be parsed.' ); } // apply pre-transforms for (var i = 0; i < preTransforms.length; i++) { preTransforms[i](element, options); } if (!inVPre) { processPre(element); if (element.pre) { inVPre = true; } } if (platformIsPreTag(element.tag)) { inPre = true; } if (inVPre) { processRawAttrs(element); } else { processFor(element); processIf(element); processOnce(element); processKey(element); // determine whether this is a plain element after // removing structural attributes element.plain = !element.key && !attrs.length; processRef(element); processSlot(element); processComponent(element); for (var i$1 = 0; i$1 < transforms.length; i$1++) { transforms[i$1](element, options); } processAttrs(element); } function checkRootConstraints (el) { if (true) { if (el.tag === 'slot' || el.tag === 'template') { warnOnce( "Cannot use <" + (el.tag) + "> as component root element because it may " + 'contain multiple nodes.' ); } if (el.attrsMap.hasOwnProperty('v-for')) { warnOnce( 'Cannot use v-for on stateful component root element because ' + 'it renders multiple elements.' ); } } } // tree management if (!root) { root = element; checkRootConstraints(root); } else if (!stack.length) { // allow root elements with v-if, v-else-if and v-else if (root.if && (element.elseif || element.else)) { checkRootConstraints(element); addIfCondition(root, { exp: element.elseif, block: element }); } else if (true) { warnOnce( "Component template should contain exactly one root element. " + "If you are using v-if on multiple elements, " + "use v-else-if to chain them instead." ); } } if (currentParent && !element.forbidden) { if (element.elseif || element.else) { processIfConditions(element, currentParent); } else if (element.slotScope) { // scoped slot currentParent.plain = false; var name = element.slotTarget || '"default"';(currentParent.scopedSlots || (currentParent.scopedSlots = {}))[name] = element; } else { currentParent.children.push(element); element.parent = currentParent; } } if (!unary) { currentParent = element; stack.push(element); } else { endPre(element); } // apply post-transforms for (var i$2 = 0; i$2 < postTransforms.length; i$2++) { postTransforms[i$2](element, options); } }, end: function end () { // remove trailing whitespace var element = stack[stack.length - 1]; var lastNode = element.children[element.children.length - 1]; if (lastNode && lastNode.type === 3 && lastNode.text === ' ' && !inPre) { element.children.pop(); } // pop stack stack.length -= 1; currentParent = stack[stack.length - 1]; endPre(element); }, chars: function chars (text) { if (!currentParent) { if (true) { if (text === template) { warnOnce( 'Component template requires a root element, rather than just text.' ); } else if ((text = text.trim())) { warnOnce( ("text \"" + text + "\" outside root element will be ignored.") ); } } return } // IE textarea placeholder bug /* istanbul ignore if */ if (isIE && currentParent.tag === 'textarea' && currentParent.attrsMap.placeholder === text ) { return } var children = currentParent.children; text = inPre || text.trim() ? isTextTag(currentParent) ? text : decodeHTMLCached(text) // only preserve whitespace if its not right after a starting tag : preserveWhitespace && children.length ? ' ' : ''; if (text) { var expression; if (!inVPre && text !== ' ' && (expression = parseText(text, delimiters))) { children.push({ type: 2, expression: expression, text: text }); } else if (text !== ' ' || !children.length || children[children.length - 1].text !== ' ') { children.push({ type: 3, text: text }); } } }, comment: function comment (text) { currentParent.children.push({ type: 3, text: text, isComment: true }); } }); return root } function processPre (el) { if (getAndRemoveAttr(el, 'v-pre') != null) { el.pre = true; } } function processRawAttrs (el) { var l = el.attrsList.length; if (l) { var attrs = el.attrs = new Array(l); for (var i = 0; i < l; i++) { attrs[i] = { name: el.attrsList[i].name, value: JSON.stringify(el.attrsList[i].value) }; } } else if (!el.pre) { // non root node in pre blocks with no attributes el.plain = true; } } function processKey (el) { var exp = getBindingAttr(el, 'key'); if (exp) { if ("development" !== 'production' && el.tag === 'template') { warn$2("<template> cannot be keyed. Place the key on real elements instead."); } el.key = exp; } } function processRef (el) { var ref = getBindingAttr(el, 'ref'); if (ref) { el.ref = ref; el.refInFor = checkInFor(el); } } function processFor (el) { var exp; if ((exp = getAndRemoveAttr(el, 'v-for'))) { var inMatch = exp.match(forAliasRE); if (!inMatch) { "development" !== 'production' && warn$2( ("Invalid v-for expression: " + exp) ); return } el.for = inMatch[2].trim(); var alias = inMatch[1].trim(); var iteratorMatch = alias.match(forIteratorRE); if (iteratorMatch) { el.alias = iteratorMatch[1].trim(); el.iterator1 = iteratorMatch[2].trim(); if (iteratorMatch[3]) { el.iterator2 = iteratorMatch[3].trim(); } } else { el.alias = alias; } } } function processIf (el) { var exp = getAndRemoveAttr(el, 'v-if'); if (exp) { el.if = exp; addIfCondition(el, { exp: exp, block: el }); } else { if (getAndRemoveAttr(el, 'v-else') != null) { el.else = true; } var elseif = getAndRemoveAttr(el, 'v-else-if'); if (elseif) { el.elseif = elseif; } } } function processIfConditions (el, parent) { var prev = findPrevElement(parent.children); if (prev && prev.if) { addIfCondition(prev, { exp: el.elseif, block: el }); } else if (true) { warn$2( "v-" + (el.elseif ? ('else-if="' + el.elseif + '"') : 'else') + " " + "used on element <" + (el.tag) + "> without corresponding v-if." ); } } function findPrevElement (children) { var i = children.length; while (i--) { if (children[i].type === 1) { return children[i] } else { if ("development" !== 'production' && children[i].text !== ' ') { warn$2( "text \"" + (children[i].text.trim()) + "\" between v-if and v-else(-if) " + "will be ignored." ); } children.pop(); } } } function addIfCondition (el, condition) { if (!el.ifConditions) { el.ifConditions = []; } el.ifConditions.push(condition); } function processOnce (el) { var once$$1 = getAndRemoveAttr(el, 'v-once'); if (once$$1 != null) { el.once = true; } } function processSlot (el) { if (el.tag === 'slot') { el.slotName = getBindingAttr(el, 'name'); if ("development" !== 'production' && el.key) { warn$2( "`key` does not work on <slot> because slots are abstract outlets " + "and can possibly expand into multiple elements. " + "Use the key on a wrapping element instead." ); } } else { var slotTarget = getBindingAttr(el, 'slot'); if (slotTarget) { el.slotTarget = slotTarget === '""' ? '"default"' : slotTarget; } if (el.tag === 'template') { el.slotScope = getAndRemoveAttr(el, 'scope'); } } } function processComponent (el) { var binding; if ((binding = getBindingAttr(el, 'is'))) { el.component = binding; } if (getAndRemoveAttr(el, 'inline-template') != null) { el.inlineTemplate = true; } } function processAttrs (el) { var list = el.attrsList; var i, l, name, rawName, value, modifiers, isProp; for (i = 0, l = list.length; i < l; i++) { name = rawName = list[i].name; value = list[i].value; if (dirRE.test(name)) { // mark element as dynamic el.hasBindings = true; // modifiers modifiers = parseModifiers(name); if (modifiers) { name = name.replace(modifierRE, ''); } if (bindRE.test(name)) { // v-bind name = name.replace(bindRE, ''); value = parseFilters(value); isProp = false; if (modifiers) { if (modifiers.prop) { isProp = true; name = camelize(name); if (name === 'innerHtml') { name = 'innerHTML'; } } if (modifiers.camel) { name = camelize(name); } if (modifiers.sync) { addHandler( el, ("update:" + (camelize(name))), genAssignmentCode(value, "$event") ); } } if (isProp || ( !el.component && platformMustUseProp(el.tag, el.attrsMap.type, name) )) { addProp(el, name, value); } else { addAttr(el, name, value); } } else if (onRE.test(name)) { // v-on name = name.replace(onRE, ''); addHandler(el, name, value, modifiers, false, warn$2); } else { // normal directives name = name.replace(dirRE, ''); // parse arg var argMatch = name.match(argRE); var arg = argMatch && argMatch[1]; if (arg) { name = name.slice(0, -(arg.length + 1)); } addDirective(el, name, rawName, value, arg, modifiers); if ("development" !== 'production' && name === 'model') { checkForAliasModel(el, value); } } } else { // literal attribute if (true) { var expression = parseText(value, delimiters); if (expression) { warn$2( name + "=\"" + value + "\": " + 'Interpolation inside attributes has been removed. ' + 'Use v-bind or the colon shorthand instead. For example, ' + 'instead of <div id="{{ val }}">, use <div :id="val">.' ); } } addAttr(el, name, JSON.stringify(value)); } } } function checkInFor (el) { var parent = el; while (parent) { if (parent.for !== undefined) { return true } parent = parent.parent; } return false } function parseModifiers (name) { var match = name.match(modifierRE); if (match) { var ret = {}; match.forEach(function (m) { ret[m.slice(1)] = true; }); return ret } } function makeAttrsMap (attrs) { var map = {}; for (var i = 0, l = attrs.length; i < l; i++) { if ( "development" !== 'production' && map[attrs[i].name] && !isIE && !isEdge ) { warn$2('duplicate attribute: ' + attrs[i].name); } map[attrs[i].name] = attrs[i].value; } return map } // for script (e.g. type="x/template") or style, do not decode content function isTextTag (el) { return el.tag === 'script' || el.tag === 'style' } function isForbiddenTag (el) { return ( el.tag === 'style' || (el.tag === 'script' && ( !el.attrsMap.type || el.attrsMap.type === 'text/javascript' )) ) } var ieNSBug = /^xmlns:NS\d+/; var ieNSPrefix = /^NS\d+:/; /* istanbul ignore next */ function guardIESVGBug (attrs) { var res = []; for (var i = 0; i < attrs.length; i++) { var attr = attrs[i]; if (!ieNSBug.test(attr.name)) { attr.name = attr.name.replace(ieNSPrefix, ''); res.push(attr); } } return res } function checkForAliasModel (el, value) { var _el = el; while (_el) { if (_el.for && _el.alias === value) { warn$2( "<" + (el.tag) + " v-model=\"" + value + "\">: " + "You are binding v-model directly to a v-for iteration alias. " + "This will not be able to modify the v-for source array because " + "writing to the alias is like modifying a function local variable. " + "Consider using an array of objects and use v-model on an object property instead." ); } _el = _el.parent; } } /* */ var isStaticKey; var isPlatformReservedTag; var genStaticKeysCached = cached(genStaticKeys$1); /** * Goal of the optimizer: walk the generated template AST tree * and detect sub-trees that are purely static, i.e. parts of * the DOM that never needs to change. * * Once we detect these sub-trees, we can: * * 1. Hoist them into constants, so that we no longer need to * create fresh nodes for them on each re-render; * 2. Completely skip them in the patching process. */ function optimize (root, options) { if (!root) { return } isStaticKey = genStaticKeysCached(options.staticKeys || ''); isPlatformReservedTag = options.isReservedTag || no; // first pass: mark all non-static nodes. markStatic$1(root); // second pass: mark static roots. markStaticRoots(root, false); } function genStaticKeys$1 (keys) { return makeMap( 'type,tag,attrsList,attrsMap,plain,parent,children,attrs' + (keys ? ',' + keys : '') ) } function markStatic$1 (node) { node.static = isStatic(node); if (node.type === 1) { // do not make component slot content static. this avoids // 1. components not able to mutate slot nodes // 2. static slot content fails for hot-reloading if ( !isPlatformReservedTag(node.tag) && node.tag !== 'slot' && node.attrsMap['inline-template'] == null ) { return } for (var i = 0, l = node.children.length; i < l; i++) { var child = node.children[i]; markStatic$1(child); if (!child.static) { node.static = false; } } if (node.ifConditions) { for (var i$1 = 1, l$1 = node.ifConditions.length; i$1 < l$1; i$1++) { var block = node.ifConditions[i$1].block; markStatic$1(block); if (!block.static) { node.static = false; } } } } } function markStaticRoots (node, isInFor) { if (node.type === 1) { if (node.static || node.once) { node.staticInFor = isInFor; } // For a node to qualify as a static root, it should have children that // are not just static text. Otherwise the cost of hoisting out will // outweigh the benefits and it's better off to just always render it fresh. if (node.static && node.children.length && !( node.children.length === 1 && node.children[0].type === 3 )) { node.staticRoot = true; return } else { node.staticRoot = false; } if (node.children) { for (var i = 0, l = node.children.length; i < l; i++) { markStaticRoots(node.children[i], isInFor || !!node.for); } } if (node.ifConditions) { for (var i$1 = 1, l$1 = node.ifConditions.length; i$1 < l$1; i$1++) { markStaticRoots(node.ifConditions[i$1].block, isInFor); } } } } function isStatic (node) { if (node.type === 2) { // expression return false } if (node.type === 3) { // text return true } return !!(node.pre || ( !node.hasBindings && // no dynamic bindings !node.if && !node.for && // not v-if or v-for or v-else !isBuiltInTag(node.tag) && // not a built-in isPlatformReservedTag(node.tag) && // not a component !isDirectChildOfTemplateFor(node) && Object.keys(node).every(isStaticKey) )) } function isDirectChildOfTemplateFor (node) { while (node.parent) { node = node.parent; if (node.tag !== 'template') { return false } if (node.for) { return true } } return false } /* */ var fnExpRE = /^\s*([\w$_]+|\([^)]*?\))\s*=>|^function\s*\(/; var simplePathRE = /^\s*[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['.*?']|\[".*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*\s*$/; // keyCode aliases var keyCodes = { esc: 27, tab: 9, enter: 13, space: 32, up: 38, left: 37, right: 39, down: 40, 'delete': [8, 46] }; // #4868: modifiers that prevent the execution of the listener // need to explicitly return null so that we can determine whether to remove // the listener for .once var genGuard = function (condition) { return ("if(" + condition + ")return null;"); }; var modifierCode = { stop: '$event.stopPropagation();', prevent: '$event.preventDefault();', self: genGuard("$event.target !== $event.currentTarget"), ctrl: genGuard("!$event.ctrlKey"), shift: genGuard("!$event.shiftKey"), alt: genGuard("!$event.altKey"), meta: genGuard("!$event.metaKey"), left: genGuard("'button' in $event && $event.button !== 0"), middle: genGuard("'button' in $event && $event.button !== 1"), right: genGuard("'button' in $event && $event.button !== 2") }; function genHandlers ( events, isNative, warn ) { var res = isNative ? 'nativeOn:{' : 'on:{'; for (var name in events) { var handler = events[name]; // #5330: warn click.right, since right clicks do not actually fire click events. if ("development" !== 'production' && name === 'click' && handler && handler.modifiers && handler.modifiers.right ) { warn( "Use \"contextmenu\" instead of \"click.right\" since right clicks " + "do not actually fire \"click\" events." ); } res += "\"" + name + "\":" + (genHandler(name, handler)) + ","; } return res.slice(0, -1) + '}' } function genHandler ( name, handler ) { if (!handler) { return 'function(){}' } if (Array.isArray(handler)) { return ("[" + (handler.map(function (handler) { return genHandler(name, handler); }).join(',')) + "]") } var isMethodPath = simplePathRE.test(handler.value); var isFunctionExpression = fnExpRE.test(handler.value); if (!handler.modifiers) { return isMethodPath || isFunctionExpression ? handler.value : ("function($event){" + (handler.value) + "}") // inline statement } else { var code = ''; var genModifierCode = ''; var keys = []; for (var key in handler.modifiers) { if (modifierCode[key]) { genModifierCode += modifierCode[key]; // left/right if (keyCodes[key]) { keys.push(key); } } else { keys.push(key); } } if (keys.length) { code += genKeyFilter(keys); } // Make sure modifiers like prevent and stop get executed after key filtering if (genModifierCode) { code += genModifierCode; } var handlerCode = isMethodPath ? handler.value + '($event)' : isFunctionExpression ? ("(" + (handler.value) + ")($event)") : handler.value; return ("function($event){" + code + handlerCode + "}") } } function genKeyFilter (keys) { return ("if(!('button' in $event)&&" + (keys.map(genFilterCode).join('&&')) + ")return null;") } function genFilterCode (key) { var keyVal = parseInt(key, 10); if (keyVal) { return ("$event.keyCode!==" + keyVal) } var alias = keyCodes[key]; return ("_k($event.keyCode," + (JSON.stringify(key)) + (alias ? ',' + JSON.stringify(alias) : '') + ")") } /* */ function on (el, dir) { if ("development" !== 'production' && dir.modifiers) { warn("v-on without argument does not support modifiers."); } el.wrapListeners = function (code) { return ("_g(" + code + "," + (dir.value) + ")"); }; } /* */ function bind$1 (el, dir) { el.wrapData = function (code) { return ("_b(" + code + ",'" + (el.tag) + "'," + (dir.value) + "," + (dir.modifiers && dir.modifiers.prop ? 'true' : 'false') + (dir.modifiers && dir.modifiers.sync ? ',true' : '') + ")") }; } /* */ var baseDirectives = { on: on, bind: bind$1, cloak: noop }; /* */ var CodegenState = function CodegenState (options) { this.options = options; this.warn = options.warn || baseWarn; this.transforms = pluckModuleFunction(options.modules, 'transformCode'); this.dataGenFns = pluckModuleFunction(options.modules, 'genData'); this.directives = extend(extend({}, baseDirectives), options.directives); var isReservedTag = options.isReservedTag || no; this.maybeComponent = function (el) { return !isReservedTag(el.tag); }; this.onceId = 0; this.staticRenderFns = []; }; function generate ( ast, options ) { var state = new CodegenState(options); var code = ast ? genElement(ast, state) : '_c("div")'; return { render: ("with(this){return " + code + "}"), staticRenderFns: state.staticRenderFns } } function genElement (el, state) { if (el.staticRoot && !el.staticProcessed) { return genStatic(el, state) } else if (el.once && !el.onceProcessed) { return genOnce(el, state) } else if (el.for && !el.forProcessed) { return genFor(el, state) } else if (el.if && !el.ifProcessed) { return genIf(el, state) } else if (el.tag === 'template' && !el.slotTarget) { return genChildren(el, state) || 'void 0' } else if (el.tag === 'slot') { return genSlot(el, state) } else { // component or element var code; if (el.component) { code = genComponent(el.component, el, state); } else { var data = el.plain ? undefined : genData$2(el, state); var children = el.inlineTemplate ? null : genChildren(el, state, true); code = "_c('" + (el.tag) + "'" + (data ? ("," + data) : '') + (children ? ("," + children) : '') + ")"; } // module transforms for (var i = 0; i < state.transforms.length; i++) { code = state.transforms[i](el, code); } return code } } // hoist static sub-trees out function genStatic (el, state) { el.staticProcessed = true; state.staticRenderFns.push(("with(this){return " + (genElement(el, state)) + "}")); return ("_m(" + (state.staticRenderFns.length - 1) + (el.staticInFor ? ',true' : '') + ")") } // v-once function genOnce (el, state) { el.onceProcessed = true; if (el.if && !el.ifProcessed) { return genIf(el, state) } else if (el.staticInFor) { var key = ''; var parent = el.parent; while (parent) { if (parent.for) { key = parent.key; break } parent = parent.parent; } if (!key) { "development" !== 'production' && state.warn( "v-once can only be used inside v-for that is keyed. " ); return genElement(el, state) } return ("_o(" + (genElement(el, state)) + "," + (state.onceId++) + (key ? ("," + key) : "") + ")") } else { return genStatic(el, state) } } function genIf ( el, state, altGen, altEmpty ) { el.ifProcessed = true; // avoid recursion return genIfConditions(el.ifConditions.slice(), state, altGen, altEmpty) } function genIfConditions ( conditions, state, altGen, altEmpty ) { if (!conditions.length) { return altEmpty || '_e()' } var condition = conditions.shift(); if (condition.exp) { return ("(" + (condition.exp) + ")?" + (genTernaryExp(condition.block)) + ":" + (genIfConditions(conditions, state, altGen, altEmpty))) } else { return ("" + (genTernaryExp(condition.block))) } // v-if with v-once should generate code like (a)?_m(0):_m(1) function genTernaryExp (el) { return altGen ? altGen(el, state) : el.once ? genOnce(el, state) : genElement(el, state) } } function genFor ( el, state, altGen, altHelper ) { var exp = el.for; var alias = el.alias; var iterator1 = el.iterator1 ? ("," + (el.iterator1)) : ''; var iterator2 = el.iterator2 ? ("," + (el.iterator2)) : ''; if ("development" !== 'production' && state.maybeComponent(el) && el.tag !== 'slot' && el.tag !== 'template' && !el.key ) { state.warn( "<" + (el.tag) + " v-for=\"" + alias + " in " + exp + "\">: component lists rendered with " + "v-for should have explicit keys. " + "See https://vuejs.org/guide/list.html#key for more info.", true /* tip */ ); } el.forProcessed = true; // avoid recursion return (altHelper || '_l') + "((" + exp + ")," + "function(" + alias + iterator1 + iterator2 + "){" + "return " + ((altGen || genElement)(el, state)) + '})' } function genData$2 (el, state) { var data = '{'; // directives first. // directives may mutate the el's other properties before they are generated. var dirs = genDirectives(el, state); if (dirs) { data += dirs + ','; } // key if (el.key) { data += "key:" + (el.key) + ","; } // ref if (el.ref) { data += "ref:" + (el.ref) + ","; } if (el.refInFor) { data += "refInFor:true,"; } // pre if (el.pre) { data += "pre:true,"; } // record original tag name for components using "is" attribute if (el.component) { data += "tag:\"" + (el.tag) + "\","; } // module data generation functions for (var i = 0; i < state.dataGenFns.length; i++) { data += state.dataGenFns[i](el); } // attributes if (el.attrs) { data += "attrs:{" + (genProps(el.attrs)) + "},"; } // DOM props if (el.props) { data += "domProps:{" + (genProps(el.props)) + "},"; } // event handlers if (el.events) { data += (genHandlers(el.events, false, state.warn)) + ","; } if (el.nativeEvents) { data += (genHandlers(el.nativeEvents, true, state.warn)) + ","; } // slot target if (el.slotTarget) { data += "slot:" + (el.slotTarget) + ","; } // scoped slots if (el.scopedSlots) { data += (genScopedSlots(el.scopedSlots, state)) + ","; } // component v-model if (el.model) { data += "model:{value:" + (el.model.value) + ",callback:" + (el.model.callback) + ",expression:" + (el.model.expression) + "},"; } // inline-template if (el.inlineTemplate) { var inlineTemplate = genInlineTemplate(el, state); if (inlineTemplate) { data += inlineTemplate + ","; } } data = data.replace(/,$/, '') + '}'; // v-bind data wrap if (el.wrapData) { data = el.wrapData(data); } // v-on data wrap if (el.wrapListeners) { data = el.wrapListeners(data); } return data } function genDirectives (el, state) { var dirs = el.directives; if (!dirs) { return } var res = 'directives:['; var hasRuntime = false; var i, l, dir, needRuntime; for (i = 0, l = dirs.length; i < l; i++) { dir = dirs[i]; needRuntime = true; var gen = state.directives[dir.name]; if (gen) { // compile-time directive that manipulates AST. // returns true if it also needs a runtime counterpart. needRuntime = !!gen(el, dir, state.warn); } if (needRuntime) { hasRuntime = true; res += "{name:\"" + (dir.name) + "\",rawName:\"" + (dir.rawName) + "\"" + (dir.value ? (",value:(" + (dir.value) + "),expression:" + (JSON.stringify(dir.value))) : '') + (dir.arg ? (",arg:\"" + (dir.arg) + "\"") : '') + (dir.modifiers ? (",modifiers:" + (JSON.stringify(dir.modifiers))) : '') + "},"; } } if (hasRuntime) { return res.slice(0, -1) + ']' } } function genInlineTemplate (el, state) { var ast = el.children[0]; if ("development" !== 'production' && ( el.children.length > 1 || ast.type !== 1 )) { state.warn('Inline-template components must have exactly one child element.'); } if (ast.type === 1) { var inlineRenderFns = generate(ast, state.options); return ("inlineTemplate:{render:function(){" + (inlineRenderFns.render) + "},staticRenderFns:[" + (inlineRenderFns.staticRenderFns.map(function (code) { return ("function(){" + code + "}"); }).join(',')) + "]}") } } function genScopedSlots ( slots, state ) { return ("scopedSlots:_u([" + (Object.keys(slots).map(function (key) { return genScopedSlot(key, slots[key], state) }).join(',')) + "])") } function genScopedSlot ( key, el, state ) { if (el.for && !el.forProcessed) { return genForScopedSlot(key, el, state) } return "{key:" + key + ",fn:function(" + (String(el.attrsMap.scope)) + "){" + "return " + (el.tag === 'template' ? genChildren(el, state) || 'void 0' : genElement(el, state)) + "}}" } function genForScopedSlot ( key, el, state ) { var exp = el.for; var alias = el.alias; var iterator1 = el.iterator1 ? ("," + (el.iterator1)) : ''; var iterator2 = el.iterator2 ? ("," + (el.iterator2)) : ''; el.forProcessed = true; // avoid recursion return "_l((" + exp + ")," + "function(" + alias + iterator1 + iterator2 + "){" + "return " + (genScopedSlot(key, el, state)) + '})' } function genChildren ( el, state, checkSkip, altGenElement, altGenNode ) { var children = el.children; if (children.length) { var el$1 = children[0]; // optimize single v-for if (children.length === 1 && el$1.for && el$1.tag !== 'template' && el$1.tag !== 'slot' ) { return (altGenElement || genElement)(el$1, state) } var normalizationType = checkSkip ? getNormalizationType(children, state.maybeComponent) : 0; var gen = altGenNode || genNode; return ("[" + (children.map(function (c) { return gen(c, state); }).join(',')) + "]" + (normalizationType ? ("," + normalizationType) : '')) } } // determine the normalization needed for the children array. // 0: no normalization needed // 1: simple normalization needed (possible 1-level deep nested array) // 2: full normalization needed function getNormalizationType ( children, maybeComponent ) { var res = 0; for (var i = 0; i < children.length; i++) { var el = children[i]; if (el.type !== 1) { continue } if (needsNormalization(el) || (el.ifConditions && el.ifConditions.some(function (c) { return needsNormalization(c.block); }))) { res = 2; break } if (maybeComponent(el) || (el.ifConditions && el.ifConditions.some(function (c) { return maybeComponent(c.block); }))) { res = 1; } } return res } function needsNormalization (el) { return el.for !== undefined || el.tag === 'template' || el.tag === 'slot' } function genNode (node, state) { if (node.type === 1) { return genElement(node, state) } if (node.type === 3 && node.isComment) { return genComment(node) } else { return genText(node) } } function genText (text) { return ("_v(" + (text.type === 2 ? text.expression // no need for () because already wrapped in _s() : transformSpecialNewlines(JSON.stringify(text.text))) + ")") } function genComment (comment) { return ("_e(" + (JSON.stringify(comment.text)) + ")") } function genSlot (el, state) { var slotName = el.slotName || '"default"'; var children = genChildren(el, state); var res = "_t(" + slotName + (children ? ("," + children) : ''); var attrs = el.attrs && ("{" + (el.attrs.map(function (a) { return ((camelize(a.name)) + ":" + (a.value)); }).join(',')) + "}"); var bind$$1 = el.attrsMap['v-bind']; if ((attrs || bind$$1) && !children) { res += ",null"; } if (attrs) { res += "," + attrs; } if (bind$$1) { res += (attrs ? '' : ',null') + "," + bind$$1; } return res + ')' } // componentName is el.component, take it as argument to shun flow's pessimistic refinement function genComponent ( componentName, el, state ) { var children = el.inlineTemplate ? null : genChildren(el, state, true); return ("_c(" + componentName + "," + (genData$2(el, state)) + (children ? ("," + children) : '') + ")") } function genProps (props) { var res = ''; for (var i = 0; i < props.length; i++) { var prop = props[i]; res += "\"" + (prop.name) + "\":" + (transformSpecialNewlines(prop.value)) + ","; } return res.slice(0, -1) } // #3895, #4268 function transformSpecialNewlines (text) { return text .replace(/\u2028/g, '\\u2028') .replace(/\u2029/g, '\\u2029') } /* */ // these keywords should not appear inside expressions, but operators like // typeof, instanceof and in are allowed var prohibitedKeywordRE = new RegExp('\\b' + ( 'do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,' + 'super,throw,while,yield,delete,export,import,return,switch,default,' + 'extends,finally,continue,debugger,function,arguments' ).split(',').join('\\b|\\b') + '\\b'); // these unary operators should not be used as property/method names var unaryOperatorsRE = new RegExp('\\b' + ( 'delete,typeof,void' ).split(',').join('\\s*\\([^\\)]*\\)|\\b') + '\\s*\\([^\\)]*\\)'); // check valid identifier for v-for var identRE = /[A-Za-z_$][\w$]*/; // strip strings in expressions var stripStringRE = /'(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*"|`(?:[^`\\]|\\.)*\$\{|\}(?:[^`\\]|\\.)*`|`(?:[^`\\]|\\.)*`/g; // detect problematic expressions in a template function detectErrors (ast) { var errors = []; if (ast) { checkNode(ast, errors); } return errors } function checkNode (node, errors) { if (node.type === 1) { for (var name in node.attrsMap) { if (dirRE.test(name)) { var value = node.attrsMap[name]; if (value) { if (name === 'v-for') { checkFor(node, ("v-for=\"" + value + "\""), errors); } else if (onRE.test(name)) { checkEvent(value, (name + "=\"" + value + "\""), errors); } else { checkExpression(value, (name + "=\"" + value + "\""), errors); } } } } if (node.children) { for (var i = 0; i < node.children.length; i++) { checkNode(node.children[i], errors); } } } else if (node.type === 2) { checkExpression(node.expression, node.text, errors); } } function checkEvent (exp, text, errors) { var stipped = exp.replace(stripStringRE, ''); var keywordMatch = stipped.match(unaryOperatorsRE); if (keywordMatch && stipped.charAt(keywordMatch.index - 1) !== '$') { errors.push( "avoid using JavaScript unary operator as property name: " + "\"" + (keywordMatch[0]) + "\" in expression " + (text.trim()) ); } checkExpression(exp, text, errors); } function checkFor (node, text, errors) { checkExpression(node.for || '', text, errors); checkIdentifier(node.alias, 'v-for alias', text, errors); checkIdentifier(node.iterator1, 'v-for iterator', text, errors); checkIdentifier(node.iterator2, 'v-for iterator', text, errors); } function checkIdentifier (ident, type, text, errors) { if (typeof ident === 'string' && !identRE.test(ident)) { errors.push(("invalid " + type + " \"" + ident + "\" in expression: " + (text.trim()))); } } function checkExpression (exp, text, errors) { try { new Function(("return " + exp)); } catch (e) { var keywordMatch = exp.replace(stripStringRE, '').match(prohibitedKeywordRE); if (keywordMatch) { errors.push( "avoid using JavaScript keyword as property name: " + "\"" + (keywordMatch[0]) + "\" in expression " + (text.trim()) ); } else { errors.push(("invalid expression: " + (text.trim()))); } } } /* */ function createFunction (code, errors) { try { return new Function(code) } catch (err) { errors.push({ err: err, code: code }); return noop } } function createCompileToFunctionFn (compile) { var cache = Object.create(null); return function compileToFunctions ( template, options, vm ) { options = options || {}; /* istanbul ignore if */ if (true) { // detect possible CSP restriction try { new Function('return 1'); } catch (e) { if (e.toString().match(/unsafe-eval|CSP/)) { warn( 'It seems you are using the standalone build of Vue.js in an ' + 'environment with Content Security Policy that prohibits unsafe-eval. ' + 'The template compiler cannot work in this environment. Consider ' + 'relaxing the policy to allow unsafe-eval or pre-compiling your ' + 'templates into render functions.' ); } } } // check cache var key = options.delimiters ? String(options.delimiters) + template : template; if (cache[key]) { return cache[key] } // compile var compiled = compile(template, options); // check compilation errors/tips if (true) { if (compiled.errors && compiled.errors.length) { warn( "Error compiling template:\n\n" + template + "\n\n" + compiled.errors.map(function (e) { return ("- " + e); }).join('\n') + '\n', vm ); } if (compiled.tips && compiled.tips.length) { compiled.tips.forEach(function (msg) { return tip(msg, vm); }); } } // turn code into functions var res = {}; var fnGenErrors = []; res.render = createFunction(compiled.render, fnGenErrors); res.staticRenderFns = compiled.staticRenderFns.map(function (code) { return createFunction(code, fnGenErrors) }); // check function generation errors. // this should only happen if there is a bug in the compiler itself. // mostly for codegen development use /* istanbul ignore if */ if (true) { if ((!compiled.errors || !compiled.errors.length) && fnGenErrors.length) { warn( "Failed to generate render function:\n\n" + fnGenErrors.map(function (ref) { var err = ref.err; var code = ref.code; return ((err.toString()) + " in\n\n" + code + "\n"); }).join('\n'), vm ); } } return (cache[key] = res) } } /* */ function createCompilerCreator (baseCompile) { return function createCompiler (baseOptions) { function compile ( template, options ) { var finalOptions = Object.create(baseOptions); var errors = []; var tips = []; finalOptions.warn = function (msg, tip) { (tip ? tips : errors).push(msg); }; if (options) { // merge custom modules if (options.modules) { finalOptions.modules = (baseOptions.modules || []).concat(options.modules); } // merge custom directives if (options.directives) { finalOptions.directives = extend( Object.create(baseOptions.directives), options.directives ); } // copy other options for (var key in options) { if (key !== 'modules' && key !== 'directives') { finalOptions[key] = options[key]; } } } var compiled = baseCompile(template, finalOptions); if (true) { errors.push.apply(errors, detectErrors(compiled.ast)); } compiled.errors = errors; compiled.tips = tips; return compiled } return { compile: compile, compileToFunctions: createCompileToFunctionFn(compile) } } } /* */ // `createCompilerCreator` allows creating compilers that use alternative // parser/optimizer/codegen, e.g the SSR optimizing compiler. // Here we just export a default compiler using the default parts. var createCompiler = createCompilerCreator(function baseCompile ( template, options ) { var ast = parse(template.trim(), options); optimize(ast, options); var code = generate(ast, options); return { ast: ast, render: code.render, staticRenderFns: code.staticRenderFns } }); /* */ var ref$1 = createCompiler(baseOptions); var compileToFunctions = ref$1.compileToFunctions; /* */ var idToTemplate = cached(function (id) { var el = query(id); return el && el.innerHTML }); var mount = Vue$3.prototype.$mount; Vue$3.prototype.$mount = function ( el, hydrating ) { el = el && query(el); /* istanbul ignore if */ if (el === document.body || el === document.documentElement) { "development" !== 'production' && warn( "Do not mount Vue to <html> or <body> - mount to normal elements instead." ); return this } var options = this.$options; // resolve template/el and convert to render function if (!options.render) { var template = options.template; if (template) { if (typeof template === 'string') { if (template.charAt(0) === '#') { template = idToTemplate(template); /* istanbul ignore if */ if ("development" !== 'production' && !template) { warn( ("Template element not found or is empty: " + (options.template)), this ); } } } else if (template.nodeType) { template = template.innerHTML; } else { if (true) { warn('invalid template option:' + template, this); } return this } } else if (el) { template = getOuterHTML(el); } if (template) { /* istanbul ignore if */ if ("development" !== 'production' && config.performance && mark) { mark('compile'); } var ref = compileToFunctions(template, { shouldDecodeNewlines: shouldDecodeNewlines, delimiters: options.delimiters, comments: options.comments }, this); var render = ref.render; var staticRenderFns = ref.staticRenderFns; options.render = render; options.staticRenderFns = staticRenderFns; /* istanbul ignore if */ if ("development" !== 'production' && config.performance && mark) { mark('compile end'); measure(((this._name) + " compile"), 'compile', 'compile end'); } } } return mount.call(this, el, hydrating) }; /** * Get outerHTML of elements, taking care * of SVG elements in IE as well. */ function getOuterHTML (el) { if (el.outerHTML) { return el.outerHTML } else { var container = document.createElement('div'); container.appendChild(el.cloneNode(true)); return container.innerHTML } } Vue$3.compile = compileToFunctions; module.exports = Vue$3; /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2))) /***/ }) },[41]);
{ "redpajama_set_name": "RedPajamaGithub" }
METAIRIE, La. (AP) — The New Orleans Saints have placed P.J. Williams on injured reserve, three days after the cornerback absorbed a hard hit to the head during Sunday's loss to the New York Giants. Williams, whose designation was posted on the NFL's transactions listings Wednesday, took a knee to the helmet in a collision with Giants tight end Larry Donnell. Williams was able to move his extremities, but was immobilized, carted off the field and taken to a hospital. On Monday, Saints coach Sean Payton said Williams had a concussion, but otherwise called the cornerback's prognosis "real encouraging." Williams, a 2015 third-round draft choice, spent his entire rookie season on injured reserve with a hamstring injury. Now his second season has ended after two games. The Saints have added offensive tackle Tony Hills to their active roster.
{ "redpajama_set_name": "RedPajamaC4" }
Skull and human remains found on Eastern Cape beach 08 October 2019 - 06:42 By IAVAN PIJOOS Police were called to the scene, where they discovered more remains. Image: iStock A skull and other human remains were found at Boknes Beach in the Eastern Cape at the weekend, police said on Tuesday. Police spokesperson Capt Mali Govender said the discovery was made on Sunday by a family who was on holiday in the small seaside town. "One of the family members was walking along the beach, close to the lagoon, when he came across what he initially thought was a round stone. He started to dig around and discovered that it was the skull of a human being," Govender said. Govender said the bones would be sent to the department of health's forensics section. An inquest docket has been opened for investigation. "According to our records, no person has been reported missing in the area. Detectives are trying to establish the identity of the victim." Skull and bones of child found in open field in Port Elizabeth The decomposed body of a child was found in an open field in Malabar, Port Elizabeth, on Sunday
{ "redpajama_set_name": "RedPajamaCommonCrawl" }
To setup integration with Instagram and allow customers to select and use pictures from their Instagram accounts you need to first have an Instagram account that you will use to create and manage the application. Now you have created the application it will provide you with a Client ID and Client Secret. You need to take the Client ID and use it to configure the plugin in Catfish Admin here: Catfish > Media > Media Album Settings : under Installed Image Plugins check the Instagram checkbox and paste in the Client ID into the corresponding text box.
{ "redpajama_set_name": "RedPajamaC4" }
Lifestyle / Entertainment Kim Kardashian West meets with death row inmate by The Sunday Post © Frazer Harrison/Getty Images Kim Kardashian West has described the moment a death row inmate, whose case she has championed, received a stay of execution. Kardashian West, a reality TV star who is studying for a career in law, believes there is "substantial evidence" that would exonerate murder accused Rodney Reed. Reed, 51, was facing death by lethal injection on Wednesday for the 1996 killing of a 19-year-old woman. Following a high-profile campaign featuring celebrities including Beyonce and Oprah Winfrey to have his case reexamined, Texas's top criminal appeals court halted the execution. Kardashian West revealed she was with Reed when the decision was announced and described the moment he discovered the news. She tweeted: "Today, I had the honour of meeting #RodneyReed in person and the privilege of sitting with him when he got the news that the highest court in Texas had issued a stay of execution and remanded the case back to the trial court for further consideration. "Words cannot describe the relief and hope that swept over the room in that moment. "We have seen Democrats and Republicans come together. We have seen grassroots activists and lawmakers link arms." Romanian man jailed for life for 2013 murder of house-sitter
{ "redpajama_set_name": "RedPajamaCommonCrawl" }
This entry was posted in General Articles C, Web & Cloud and tagged 2018June29WebandCloud_C, Content, image size, instant gratification, loading time, personalization, Web. Bookmark the permalink. Both comments and trackbacks are currently closed.
{ "redpajama_set_name": "RedPajamaC4" }
Capital budgeting the term refers to- 'Capital' which implies the fixed assets and 'Budget' which implies the planning of the expenses. Capital budgeting is the process of evaluating, contemplating and determining large amount of expenses that are potential. Such expenditures are often the investment made in long term ventures, purchase of a new vehicle for the use of company or factory, purchase of new machinery and equipment, building of a new plant and many more. The future accounting profit of any project is calculated and estimated by capital budget. Capital budgeting also maximizes the chances of a company's future profits. The management of any company uses capital budgeting as the means of predicting which project would yield the most profit within an expected time. When any new machinery is purchased it is considered to be a capital asset. The capital budgeting is also referred to as the process in which a firm makes its decisions regarding the buying of major fixed assets. The firms decide on investing on the modification, displacement, addition and disposition of those fixed assets. Students who are pursuing capital budgeting go through a lot of difficulties in getting through their academic years since capital budgeting needs a lot of hard work and many hours of study. Hence, they look for capital budgeting assignment help and capital budgeting homework help online. What are Capital Budgeting Decisions and the kinds of capital Budgeting Decisions? Capital budgeting operates using many processes such as evaluation, selection, generation and the following of the alternatives of capital expenditure. There are three kinds of capital budgeting decisions, accept-reject decision, mutually exclusive project decision and capital rationing decision. Accept-reject decision- The first out of the three kinds of capital budgeting is the Accept-reject decision. The investment decisions which generate more return than the capital cost are always acceptable whereas the decisions of investment which generate less return than the capital cost are rejected. Hence, the firms make investments only if the decisions are acceptable. Mutually Exclusive Project Decision- The second out of the three kinds of capital budgeting is the mutually exclusive project decision. This type of decision competes with each other which imply that when one alternative is accepted, another is automatically rejected. Capital Rationing Decision- The third out of the three kinds of capital budgeting refers to the process of keeping restrictions to the amount of new projects or investments that the company has undertaken. What is the importance of Capital Budgeting? For knowing what is capital budgeting one needs to understand the importance of capital budgeting simultaneously. As discussed earlier, capital budgeting is the process that works step by step and is used by companies to conclude or determine the advantages of any investment project. Capital budgeting is also the way of creating measurability and accountability. A company which is investing its resources in a particular project must have an idea of the returns and risks involved in it. The capital budget process works to determine the financial profitability of any project or investment in the long run. The importance of capital budgeting also helps in looking after various aspects such as seeking new projects to invest their resources on, generate new goals which will work in the betterment of the company, approximate the calculation of cash flows, create decisions, control and monitor expenditures and a lot of other aspects. What are the different Capital budgeting techniques? There are various Capital Budgeting techniques that are used by businesses, but the most useful of all are the Payback Period Method and the APR method (Accounting rate of return method). The payback period refers to the period of time that is required in order to regain the cost of an investment. The payback period method is among the most simple methods for the common people to understand who do not have even the basic idea of this field. The method of payback period is usually expressed in years which imply the period of time in years that is taken for paying back the initial investment of a capital project. ARR method stands for Accounting rate of return. The amount of profit that is expected by an individual based on the investment that he or she has made. Simple rate of return is another name for the Accounting rate of return. Calculation of Accounting rate of return is made through the division of the initial investment of a project by average annual accounting profit. What are the problems in Capital Budgeting? Time Element- The problem of time element refers to occurrence of cost and benefit of a decision at different points of time. It requires to be adjustable for time value of money in order to be comparable. The chances of uncertainty increases when the time period is longer. Future Uncertainty- The capital budgeting decisions are long term which means they are uncertain. An accurate forecast is not possible even after special efforts and hard work. The uncertainty takes place relating to various factors such as demand in the future, cost of the project, competition and many more. What are the different capital budget processes? As discussed earlier, capital budgeting is the process that is used by companies to evaluate, calculate or estimate the potential expenditures that are of a huge significance in terms of the amount. Project screening and evaluation- The project screening and evaluation process refers to the selection of the correct criteria that is required to judge the value of any proposal. This method of the capital budget process has to match the objective of the firms so that the market value can be escalated. Project Selection- Since different businesses have different requirements hence, there is not a defined method. Therefore, the approval of a project has to be done that is based on the criteria of the selection and the screening process that is meant for every firm. Project identification and generation- The project identification and generation is the most important capital budget process. This process helps generating proposal for investments since there can be different and various reasons and considerations in a business for taking up investments. What are the limitations of Capital Budgeting? Capital budgeting determines the every possible positive sides and merits of an investment, although there are several limitations in the capital budgeting as well like the cash flow, time horizon, time value, discount rates and others due to which companies do not always succeed in making good decisions. Students pursuing capital budgeting very often find difficulties in getting through their tasks that are assigned by their teachers or professors. Hence, they look for capital budgeting assignment help and capital budgeting homework help from various sources. NeedAssignmentHelp is the best source among all as it has writers who are with PhD and master's degree. Information technology is a functional approach to scientific calculation and the attributions related to it. Taking help from the authentic experts enhance your aptitude and skills to perform computer technology assignment. Fresh technological contrivances and revelations are founded on the comprehension of Physics. The parts of Physics such as Quantum Mechanics and Astrophysics etc. are extreme relevant in the determination of erudition of the Universe. Why you should take NeedAssignmentHelp's service? NeedAssignmentHelp is the one stop solution for all the queries and doubts of students pursuing finance and capital budgeting. Since the students cannot always figure the capital budgeting techniques and the kinds of capital budgeting out, they look for someone to provide them with capital budgeting assignment help and capital budgeting homework help by online academic work providing websites. This is where the NeedAssignmentHelp can prove to be of a great relief. Our writers have years of experience in this field and have been very successful in catering to the best quality assignment help and homework help services. We have our online executives available 24*7 to attend to the queries of the students at any hour and any time they need. We have been offering assignment help and homework help not only in capital budgeting but various other subjects as well. Need the best quality capital budgeting help? Visit NeedAssignmentHelp.
{ "redpajama_set_name": "RedPajamaC4" }
QuestBridge is pleased to offer the Amherst College telementoring award in partnership with Amherst College, which is consistently ranked as one of the top colleges in the nation. College Prep Scholars selected for telementoring will be contacted by Amherst College directly about being paired with an Amherst College student, who will advise them by phone and e-mail about the college admissions process. The Amherst student telementors are high-achieving low-income students themselves, and many are among the first in their family to attend college. Having recently navigated the college admissions process, these students can offer insight and practical know-how for navigating the process of getting into a selective college. What to look for in a college and how to choose the right one. Filling out college applications and writing application essays. How to approach the financial aid process. Academic and social life as a low-income student at a highly selective college.
{ "redpajama_set_name": "RedPajamaC4" }
In the game, you can see the style and concept having a resemblance to the Pokemon games; i.e., collect various Mortys and assemble a team that will battle the rival group composed of Ricks. You can also battle Mortys against other Mortys. Rick and Morty: Pocket Mortys features a third-person overhead view with three basic screens: for the main character's navigation, for the battle screen, and for the menu interface. Are you ready to explore the multiverse? Search for Mortys in Rick and Morty: Pocket Mortys. Join Ricks as he searches the multiverse for bizarre members to recruit into his team. In this game, the gang is swept by the latest craze. They are obsessed with the idea of going through each multiverse to recruit bizarre Mortys. The goal is to train all these versions and assemble a team to rival a group composed of Ricks. Let the army build and gather. Get ready to Pocket Mortys combine and command the Mortys and prove once and for all that you are the greatest Morty trainer. Here are some of the top game features of Rick and Morty: Pocket Mortys recipe. Rick and Morty: Pocket Mortys quests is based on the hit cartoon Rick and Morty. Follow Rick as he explores the various multiverses in search of many Mortys and builds an army that will battle his evil doppelganger and a flock of Ricks. Journey through these dimensions and recruit Mustache Morty, Cronenberg Morty, Wizard Morty, and more. Defeat the Ricks and save Morty's existence in a battle of doubles versus doubles. This action-packed game follows an old-school Nintendo-style keypad to control your character, directing it to move around a perfectly controlled map. In addition to battling against the Ricks, you can also fight other Mortys to reveal the greatest and strongest Morty in the bunch. Progress through each stage before finally meeting a Boss Rick. If you defeat him, you earn a badge that lets you level up and fight the Council of Ricks. Rick and Morty: Pocket Mortys also features similarities with the Pokemon game where you catch and collect certain characters then train them for combat. However, this free PC game offers a humorous and intelligent twist to the game style and concept. There are more than 70 different Mortys to catch and recruit in Rick and Morty: Pocket Mortys. Be sure to include all of them in your collection. Got stuck in the game? Do you need Pocket Mortys cheats, tips and tricks to move forward and finally meet the evil boss? We offer these simple pointers to give you a clue on how to proceed in Rick and Morty: Pocket Mortys. Why limit yourself to a handful of Mortys? If you are just starting out in the game, focus on finding as many as you can. Build your collection to include all types of Mortys. That way, you can battle it out with whatever type of evil Morty you will face. As they say, be the jack of all trades. Bag them all. However, make sure to upgrade their skills and attributes. Do not worry if you lost a battle or have a Morty dazed out. After all, there is no penalty when either of the two happens. However, it can be a good strategy to switch each Morty in and out for different abilities or characteristics. But if you capture two or more Mortys of the same features, you can combine them to create a more powerful evolution. For instance, if you have two Mortys with a mustache, merge them to get a bearded Morty. And if you add another mustache Morty to the bearded one, you can create a hipster, Morty. Experiment with the Mortys you have on hand and see surprising results. Download Rick and Morty: Pocket Mortys recipe free and enjoy this amazing game. You can also get some more hilarious Simulation Games that'll keep you entertained for hours, such as The Battle Cats and Chichens! your Rick and Morty: Pocket Mortys installation.
{ "redpajama_set_name": "RedPajamaC4" }
Distribution: Indo-West Pacific: Cocos-Keeling Islands and the South China Sea to the Gilbert Islands, north to the Ryukyu Islands, south to the southern Great Barrier Reef and New Caledonia (Ref. 37816). Table 4: Reported from 19 countries/islands.
{ "redpajama_set_name": "RedPajamaC4" }
Mobile Device Management - for Android, Windows 7, iPhone, iPad & iPod Touch! When it comes to mobile device management you have options. You can either purchase the mobile device management tools from us and maintain it on your our equipment, or use the YFI Software-as-a-Service cloud solution. Now all you need is an internet connection to manage your devices, we handle the rest. YFI Technologies can remotely manage devices. These devices can be enrolled, provisioned, configured and group managed wirelessly. We are capable of reporting on a wealth of device information including live device status, network connection, security policy compliance, and applications. YFI can deploy encrypted configurations to customize device settings and enforce corporate security policies & restrictions. Configure MS Exchange for secure sync of email, calendar, and contacts. Customize WiFi, VPN, APN, and password settings to maintain secure connections. Restrict Safari, YouTube, applications, and others to ensure device security and user productivity. YFI will be able to locate devices anywhere in the world by viewing GPS coordinates in a live map display. Find where field workers are active or where lost and stolen devices are in real time. Store and report on coordinate information for review. YFI can enforce strong password protection, secure certification and encrypted data transfer to ensure sensitive data is kept in authorized hands only. Detect jail broken devices to force remote security or prohibit access to corporate networks and data immediately. Remotely lock devices in real time to prevent unauthorized use. Remotely wipe device data in case of loss, theft, or misuse. YFI can remotely see a view of a device screen and user activity from a live help desk interface. Capture live screen shots and video recordings for review and presentations. Optimize help desk communication with a convenient 2-way chat utility. Device users and administrators can exchange clear text messages quickly in a live display.
{ "redpajama_set_name": "RedPajamaC4" }
12:30 – 1:30 Open Classrooms – Tour Ventana School classrooms and see the beautiful Reggio environments and project based learning. How does the environment support individual and group experiences? How can the function of an atelier be incorporated into the classroom? What are the organizational considerations? How are materials introduced into the classroom? How do the materials we fill our classrooms with and the curriculum we follow support our children? How can our environment be a source for inspiration, creativity and long-term projects? Patricia Hunter McGrath is the Executive Director/Atelierista of Branches Atelier in Culver City, California. Patricia has taught the Reggio Emilia Class at Santa Monica College and at Murdoch University in Perth, Australia. She is a frequent presenter at Reggio conferences throughout the United States and abroad and has visited Reggio Emilia, Italy six times. She is also a contributing author of the book In the Spirit of the Atelier published by Davis Press and Insights and Inspiration from Reggio Emilia also published by Davis Press. Ticket Sales: Tickets are limited to 30 participants! This entry was posted in Workshops and tagged Branches, Branches Atelier, Patricia Hunter-McGrath, Patricia Mcgrath, Reggio, Reggio Emilia, Reggio workshops. Bookmark the permalink.
{ "redpajama_set_name": "RedPajamaC4" }
Since the beginning of 2012, for one of our clients with a big news website, we recognized a drastic increase in website traffic without an accompanying increase in ad impressions. Under normal conditions, an increase in traffic would be a positive sign; however, in this case it was caused by end user software that turned normal web users into aggressive web crawlers. This essentially created an accidental but consistent distributed DoS (denial of service) attack. Here, we explain how we identified the cause and mitigated its effects. This is strange because Firefox 3.0.10 is a very old (more or less extinct) browser version. Looking closer at the traffic patterns, we came to the conclusion that the traffic was not coming from real website visitors but from a web crawler. We shared our findings on serverfault.com and found a few other website owners having exactly the same strange traffic patterns on their websites. The source IP addresses were distributed around the world. Tracing back the IP addresses mainly revealed Internet end users, which is uncommon for a normal web crawler. At that point, we were not able to identify the root cause, so we decided to block all requests coming from that specific user agent string. The following graph shows the traffic for one day in May 2012. There were over 20 Million page views with a peak of over 2000 requests per second. For that day you can see that the majority (~82%) of page requests got blocked because they used that specific user agent string. The following graphs shows how blocking the crawler became less effective. Luckily, this unique user agent string also pointed us to the root cause: Genieo. Genieo provides a software product for Windows and Mac computers. In short, it builds a personalized homepage containing recent news headlines. When installed, it runs in the background and constantly browses the Internet for news that you might be interested in. Basically, it runs a web crawler on your computer that connects to news websites directly. You can use the "systray" icon to stop the background browsing / crawling. Currently, the web traffic caused by Genieo is very high because every single computer that has the Genieo software installed is busy crawling the Internet at a high rate. The Genieo product looks interesting and could potentially drive some real visitors to news websites. It is also obviously a useful product to have developed a user base. However, the rate of crawling and the resulting extra bandwidth costs forced us to make the unfortunate decision to block Genieo again. We contacted Genieo and they told us that a recent updated did reduce the amount of web traffic caused by their software. They are aware of the issue, and have planned future improvements that will reduce the amount even more. We can already confirm that traffic from Genieo has dropped. We shared our results with Genieo and they have promised to fix the user agent string soon. We'll update this blog post as soon as Genieo has implemented changes.
{ "redpajama_set_name": "RedPajamaC4" }
Q: Navigation in a Lightbox2 doesn't work well on older IE versions (IE10 and lower) Navigation in a custom Lightbox2 is only clickable if I enter the element vertically, not horizontally. This only occurs on IE8 and lower. The element that gets the focus if I enter the navigation horizontal is the " I tried to fix this with z-index, but it didn't work CSS /* line 63, ../sass/lightbox.sass */ .lb-nav { position: absolute; top: 0px; left: 0; height: 100%; width: 100%; z-index: 10; margin-bottom: -150px; } /* line 71, ../sass/lightbox.sass */ .lb-container > .nav { left: 0; } /* line 74, ../sass/lightbox.sass */ .lb-nav a { outline: none; } /* line 77, ../sass/lightbox.sass */ .lb-prev, .lb-next { width: 40%; height: 100%; cursor: pointer; z-index: 20; /* Trick IE into showing hover */ display: block; } /* line 84, ../sass/lightbox.sass */ .lb-prev { margin-left: 30px; left: 0; float: left; } /* line 87, ../sass/lightbox.sass */ .lb-prev:hover { background: url("../images/lightbox/links-blauw.png") left 48% no-repeat; } /* line 90, ../sass/lightbox.sass */ .lb-next { margin-right: 30px; right: 0; float: right; } /* line 93, ../sass/lightbox.sass */ .lb-next:hover { background: url("../images/lightbox/rechts-blauw.png") right 48% no-repeat; } HTML (appended in lightbox JS) <div id='lightboxOverlay' class='lightboxOverlay'></div> <div id='lightbox' class='lightbox'> <div class='lb-outerContainer'> <div class='lb-container'><img class='lb-image' src='' /> <div class='lb-nav'> <div class='lb-closeContainer'> Venster sluiten <a class='lb-close'>&nbsp;</a> </div><a class='lb-prev' href='' ></a><a class='lb-next' href='' ></a> </div> <div class='lb-loader'> <a class='lb-cancel'></a> </div> </div> <div class='lb-dataContainer'> <div class='lb-data'> <div class='lb-details'> <span class='lb-caption'></span><span class='lb-number'></span> </div> </div> </div> </div> </div> A: You have to add a transparent background image to the lb-prev and lb-next containers, so they can trigger the hover. .lb-prev, .lb-next { width: 49%; height: 100%; cursor: pointer; /* Trick IE into showing hover */ display: block; z-index:101; position:relative; background-image:url(data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw== ); }
{ "redpajama_set_name": "RedPajamaStackExchange" }
1. We additionally plan to keep servers open all of the time between checks, so you may play as much Fortnite as you like. |This extra herbal strategy of putting hurdles in the path of enemy has become quite widespread technique and has even been replicated in others that followed. Looking again at how blown away I was by Fortnitemares, or even the Survive the Storm element of Save the vacations, I can't help though be incredibly disillusioned. You can easily find out out these gaming web sites with the help of search engines at nice ease. There are a large number of online pet games for sale - some are for cell units, some are for Computer's and some can be played on-line from any system. It is getting them to function which might be the true trick. I purchased the sport fairly early on and had a very arduous time getting into it, Fortnite Battle Royal happened and as they are saying, the remainder is history. Getting |Fortnite Cellular| for Pc is actually easy. After all, good sites to obtain video games online do not come for free. Methods to GET FREE V-BUCKS ON FORTNITE GAME Typically talking, you may get V-bucks by looking for it on Microsoft Retailer. The discussion thread goes on additional on ways to manage their game queue, to get the games you need. That was confirmed in a tweet by Nick Chester, PR manager at Fortnite's writer Epic Games. During a Nintendo Direct at the moment, Epic revealed that Fortnite is coming to Nintendo Switch, and it goes to be obtainable immediately. You can be on the same stage with another ninety nine online gamers, were they must collect weapons in addition to building and protection parts. Here you're going to get very useful info and most necessary, cheats and secrets. Get the Fortnite Generator! This provides gamers a reason to maintain playing every day to allow them to get new clothes or even make a fast buck on the Steam market. That makes utilizing our suppliers quite simple and enjoyable like no other site. Dora the Explorer online sport can be fun in your little one to play with and it is typically an ideal approach to spend a long time with them.
{ "redpajama_set_name": "RedPajamaC4" }
Windows Server 2008 R2 and Windows 7 SP1 Resources and Information. by markparris.In Active Directory, Microsoft, Windows, Windows Server.Leave a Comment on Windows Server 2008 R2 and Windows 7 SP1 Resources and Information. Wednesday evening (16th February) saw the release to TechNet and MSDN, the RTM binaries for Service Pack 1. Next week (February 22nd) will see the general availabilty of Service Pack 1. Information that is relevant to Service Pack 1 is documented below. (757 Hotfixes and 39 Security updates). The Windows Automated Installation Kit (AIK) for Windows 7 SP1 (This is an incremental update to the WAIK). Previous Previous post: Windows Virtual PC–Refresh download available.
{ "redpajama_set_name": "RedPajamaC4" }
Danny DeVito Buys 'Taxi' Reprieve With 'SNL' Stunt If television executives have learned one thing (and it's far from certain that they have) it's not to piss off Danny DeVito. The TV veteran has never been afraid of biting the hands that have gingerly fed him during his time on such classic series as It's Always Sunny in Philadelphia or Taxi. The diminutive but garrulous DeVito has made a career out of playing irascible, irresponsible loudmouths, mirroring the acclaimed actor and director's willingness to take a snarky stand for something he believes in. Just ask ABC, which found itself in the crosshairs of DeVito on his Season 7 hosting stint on Saturday Night Live. DeVito, then famous for playing unscrupulous taxi dispatcher Louie DePalma on ABC's Taxi, had been booked to host the May 15, 1982, episode of SNL, which just so happened to fall 11 days after Taxi creator and fellow TV legend James L. Brooks was told by Anthony D. Thomopoulos, president of ABC Entertainment, that the ratings-challenged Taxi's just-concluded fourth season would be its last. DeVito asked SNL producer Dick Ebersol if he could use his monologue to do a little Louie-esque venting. Ebersol, to his credit, not only allowed that but went a few steps further in skewering rival ABC for canceling one of the best and most intelligent sitcoms in TV history — including airing one filmed sketch so literally explosive that it's been edited out of the Peacock version of the episode available now. Watch Danny DeVito in a 1982 Episode of 'Saturday Night Live' Kicking off his monologue, DeVito gets a shower of boos by announcing Taxi's cancellation, putting a biting emphasis on the network that had done the deed. "That's the American Broadcasting Company," DeVito stressed to a new wave of sympathetic New York hostility. "A … B … C." DeVito then produced a letter he claimed had been written to him by his Italian immigrant mother, reading, in part, "You have been besmirched by men so shallow that they do not know the depths to which their deeds have taken them," with Mrs. DeVito purportedly concluding, "May God forgive them, but of course, we understand if He does not." But DeVito had an even bigger surprise for the SNL audience, as, lamenting the fact that the cast and crew were robbed of a proper "final bow" when filming what turned out to be their last episode, DeVito welcomed all of his Taxi costars alongside him in Studio 8H. One by one, DeVito brought out Andy Kaufman, Christopher Lloyd, Marilu Henner, Tony Danza and Judd Hirsch to rapturous applause and a standing ovation from the crowd. (Longtime regular Jeff Conaway was not in attendance, having been let go from the show in response to the substance-abuse issues that would plague him until he died in 2011.) Frequent Saturday Night Live provocateur Kaufman, it should be noted, sports the neck brace he wore following his recent worked-shoot wrestling match against Jerry "The King" Lawler, an infamous stunt played up throughout the night's episode. It's playful (Hirsch sweeps DeVito into an embrace at the end), with just the right edge of "screw-you" to ABC. But that was nothing compared to the first sketch following the monologue, a filmed piece set to Taxi's melancholy instrumental theme song ("Angela" by Bob James), which sees DeVito's DePalma riding a cab to the ABC building — and blowing it up via remote detonator. A joke about somebody destroying a very real New York City skyscraper doesn't play in a post-9/11 TV landscape, so the 51-minute Peacock version of DeVito's episode omits the sketch. (Two performances by the band Sparks were also cut, because of music-licensing issues.) Still, with DeVito striking a victory pose at the sound of ABC's headquarters crumbling to dust, the destruction at least seems in line with Louie DePalma's MO. ABC still had one more blow coming its way: During the goodnights, DePalma brings out his actual mother, Julia. An Italian immigrant, Mrs. DeVito, shorter even than Danny and defiantly smoking a cigarette, is asked if she has another message for the people who put her son out of a job. Indeed she does, as Mrs. DeVito spits out a series of Italian curses (the words "ciucca" and "stupida" are in there for sure), while the mixed and assembled Taxi and Saturday Night Live cast members cheer in delight. Fellow Italian Danza even puts his hand over his mouth in shock before leaning in for a kiss. Watch a 1982 Promo for Danny DeVito's 'Saturday Night Live' Appearance Little did ABC know that its public humiliation was just beginning. Following DeVito's episode, NBC would pick up Taxi for its fifth and final season in 1983. Even then, however, the blue-collar cabbies of the Sunshine Cab Company couldn't catch a break. While the fifth-season order did put the series over the 100-episode mark that was then necessary for the show to be sold to syndication, NBC, too, canceled the series at the end of that season. Perhaps taking a cue from DeVito's gleefully spiteful example, Hirsch, after winning his second Emmy as Taxi's longest-suffering driver Alex Reiger, mocked NBC president Grant Tinker who was sitting in the Emmy audience. (In addition to Hirsch, Taxi costars Lloyd and Carole Kane also took home Emmys on the night.) "We're ready, Grant, we're ready, whenever you want to put us back on," taunted Hirsch, proving, as DeVito did before him, you don't cross even a fictional New York cabbie, and then give him a live mic. Rock's 60 Biggest 'Saturday Night Live' Performances
{ "redpajama_set_name": "RedPajamaCommonCrawl" }