jquery-1.11.2.js 493 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288
  1. /*!
  2. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  3. * jQuery JavaScript Library v1.12.4
  4. =======
  5. * jQuery JavaScript Library v1.11.2
  6. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  7. * http://jquery.com/
  8. *
  9. * Includes Sizzle.js
  10. * http://sizzlejs.com/
  11. *
  12. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  13. * Copyright jQuery Foundation and other contributors
  14. * Released under the MIT license
  15. * http://jquery.org/license
  16. *
  17. * Date: 2016-05-20T17:17Z
  18. */
  19. =======
  20. * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors
  21. * Released under the MIT license
  22. * http://jquery.org/license
  23. *
  24. * Date: 2014-12-17T15:27Z
  25. */
  26. (function( global, factory ) {
  27. if (typeof define === 'function' && define.amd) {
  28. define([], function(){
  29. return factory(global)
  30. });
  31. } else
  32. if ( typeof module === "object" && typeof module.exports === "object" ) {
  33. // For CommonJS and CommonJS-like environments where a proper window is present,
  34. // execute the factory and get jQuery
  35. // For environments that do not inherently posses a window with a document
  36. // (such as Node.js), expose a jQuery-making factory as module.exports
  37. // This accentuates the need for the creation of a real window
  38. // e.g. var jQuery = require("jquery")(window);
  39. // See ticket #14549 for more info
  40. module.exports = global.document ?
  41. factory( global, true ) :
  42. function( w ) {
  43. if ( !w.document ) {
  44. throw new Error( "jQuery requires a window with a document" );
  45. }
  46. return factory( w );
  47. };
  48. } else {
  49. factory( global );
  50. }
  51. // Pass this if window is not defined yet
  52. }(typeof window !== "undefined" ? window : this, function( window, noGlobal ) {
  53. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  54. (function( global, factory ) {
  55. if ( typeof module === "object" && typeof module.exports === "object" ) {
  56. // For CommonJS and CommonJS-like environments where a proper `window`
  57. // is present, execute the factory and get jQuery.
  58. // For environments that do not have a `window` with a `document`
  59. // (such as Node.js), expose a factory as module.exports.
  60. // This accentuates the need for the creation of a real `window`.
  61. // e.g. var jQuery = require("jquery")(window);
  62. // See ticket #14549 for more info.
  63. module.exports = global.document ?
  64. factory( global, true ) :
  65. function( w ) {
  66. if ( !w.document ) {
  67. throw new Error( "jQuery requires a window with a document" );
  68. }
  69. return factory( w );
  70. };
  71. } else {
  72. factory( global );
  73. }
  74. // Pass this if window is not defined yet
  75. }(typeof window !== "undefined" ? window : this, function( window, noGlobal ) {
  76. // Support: Firefox 18+
  77. // Can't be in strict mode, several libs including ASP.NET trace
  78. // the stack via arguments.caller.callee and Firefox dies if
  79. // you try to trace through "use strict" call chains. (#13335)
  80. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  81. //"use strict";
  82. var deletedIds = [];
  83. var document = window.document;
  84. =======
  85. // Support: Firefox 18+
  86. //
  87. var deletedIds = [];
  88. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  89. var slice = deletedIds.slice;
  90. var concat = deletedIds.concat;
  91. var push = deletedIds.push;
  92. var indexOf = deletedIds.indexOf;
  93. var class2type = {};
  94. var toString = class2type.toString;
  95. var hasOwn = class2type.hasOwnProperty;
  96. var support = {};
  97. var
  98. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  99. version = "1.12.4",
  100. =======
  101. version = "1.11.2",
  102. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  103. // Define a local copy of jQuery
  104. jQuery = function( selector, context ) {
  105. // The jQuery object is actually just the init constructor 'enhanced'
  106. // Need init if jQuery is called (just allow error to be thrown if not included)
  107. return new jQuery.fn.init( selector, context );
  108. },
  109. // Support: Android<4.1, IE<9
  110. // Make sure we trim BOM and NBSP
  111. rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,
  112. // Matches dashed string for camelizing
  113. rmsPrefix = /^-ms-/,
  114. rdashAlpha = /-([\da-z])/gi,
  115. // Used by jQuery.camelCase as callback to replace()
  116. fcamelCase = function( all, letter ) {
  117. return letter.toUpperCase();
  118. };
  119. jQuery.fn = jQuery.prototype = {
  120. // The current version of jQuery being used
  121. jquery: version,
  122. constructor: jQuery,
  123. // Start with an empty selector
  124. selector: "",
  125. // The default length of a jQuery object is 0
  126. length: 0,
  127. toArray: function() {
  128. return slice.call( this );
  129. },
  130. // Get the Nth element in the matched element set OR
  131. // Get the whole matched element set as a clean array
  132. get: function( num ) {
  133. return num != null ?
  134. // Return just the one element from the set
  135. ( num < 0 ? this[ num + this.length ] : this[ num ] ) :
  136. // Return all the elements in a clean array
  137. slice.call( this );
  138. },
  139. // Take an array of elements and push it onto the stack
  140. // (returning the new matched element set)
  141. pushStack: function( elems ) {
  142. // Build a new jQuery matched element set
  143. var ret = jQuery.merge( this.constructor(), elems );
  144. // Add the old object onto the stack (as a reference)
  145. ret.prevObject = this;
  146. ret.context = this.context;
  147. // Return the newly-formed element set
  148. return ret;
  149. },
  150. // Execute a callback for every element in the matched set.
  151. each: function( callback ) {
  152. return jQuery.each( this, callback );
  153. },
  154. map: function( callback ) {
  155. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  156. return this.pushStack( jQuery.map( this, function( elem, i ) {
  157. return callback.call( elem, i, elem );
  158. } ) );
  159. =======
  160. return this.pushStack( jQuery.map(this, function( elem, i ) {
  161. return callback.call( elem, i, elem );
  162. }));
  163. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  164. },
  165. slice: function() {
  166. return this.pushStack( slice.apply( this, arguments ) );
  167. },
  168. first: function() {
  169. return this.eq( 0 );
  170. },
  171. last: function() {
  172. return this.eq( -1 );
  173. },
  174. eq: function( i ) {
  175. var len = this.length,
  176. j = +i + ( i < 0 ? len : 0 );
  177. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  178. return this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] );
  179. =======
  180. return this.pushStack( j >= 0 && j < len ? [ this[j] ] : [] );
  181. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  182. },
  183. end: function() {
  184. return this.prevObject || this.constructor();
  185. },
  186. // For internal use only.
  187. // Behaves like an Array's method, not like a jQuery method.
  188. push: push,
  189. sort: deletedIds.sort,
  190. splice: deletedIds.splice
  191. };
  192. jQuery.extend = jQuery.fn.extend = function() {
  193. var src, copyIsArray, copy, name, options, clone,
  194. target = arguments[ 0 ] || {},
  195. i = 1,
  196. length = arguments.length,
  197. deep = false;
  198. // Handle a deep copy situation
  199. if ( typeof target === "boolean" ) {
  200. deep = target;
  201. // skip the boolean and the target
  202. target = arguments[ i ] || {};
  203. i++;
  204. }
  205. // Handle case when target is a string or something (possible in deep copy)
  206. if ( typeof target !== "object" && !jQuery.isFunction( target ) ) {
  207. target = {};
  208. }
  209. // extend jQuery itself if only one argument is passed
  210. if ( i === length ) {
  211. target = this;
  212. i--;
  213. }
  214. for ( ; i < length; i++ ) {
  215. // Only deal with non-null/undefined values
  216. if ( ( options = arguments[ i ] ) != null ) {
  217. // Extend the base object
  218. for ( name in options ) {
  219. src = target[ name ];
  220. copy = options[ name ];
  221. // Prevent never-ending loop
  222. if ( target === copy ) {
  223. continue;
  224. }
  225. // Recurse if we're merging plain objects or arrays
  226. if ( deep && copy && ( jQuery.isPlainObject( copy ) ||
  227. ( copyIsArray = jQuery.isArray( copy ) ) ) ) {
  228. if ( copyIsArray ) {
  229. copyIsArray = false;
  230. clone = src && jQuery.isArray( src ) ? src : [];
  231. } else {
  232. clone = src && jQuery.isPlainObject( src ) ? src : {};
  233. }
  234. // Never move original objects, clone them
  235. target[ name ] = jQuery.extend( deep, clone, copy );
  236. // Don't bring in undefined values
  237. } else if ( copy !== undefined ) {
  238. target[ name ] = copy;
  239. }
  240. }
  241. }
  242. }
  243. // Return the modified object
  244. return target;
  245. };
  246. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  247. jQuery.extend( {
  248. =======
  249. jQuery.extend({
  250. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  251. // Unique for each copy of jQuery on the page
  252. expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ),
  253. // Assume jQuery is ready without the ready module
  254. isReady: true,
  255. error: function( msg ) {
  256. throw new Error( msg );
  257. },
  258. noop: function() {},
  259. // See test/unit/core.js for details concerning isFunction.
  260. // Since version 1.3, DOM methods and functions like alert
  261. // aren't supported. They return false on IE (#2968).
  262. isFunction: function( obj ) {
  263. return jQuery.type( obj ) === "function";
  264. },
  265. isArray: Array.isArray || function( obj ) {
  266. return jQuery.type( obj ) === "array";
  267. },
  268. isWindow: function( obj ) {
  269. /* jshint eqeqeq: false */
  270. return obj != null && obj == obj.window;
  271. },
  272. isNumeric: function( obj ) {
  273. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  274. =======
  275. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  276. // parseFloat NaNs numeric-cast false positives (null|true|false|"")
  277. // ...but misinterprets leading-number strings, particularly hex literals ("0x...")
  278. // subtraction forces infinities to NaN
  279. // adding 1 corrects loss of precision from parseFloat (#15100)
  280. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  281. var realStringObj = obj && obj.toString();
  282. return !jQuery.isArray( obj ) && ( realStringObj - parseFloat( realStringObj ) + 1 ) >= 0;
  283. =======
  284. return !jQuery.isArray( obj ) && (obj - parseFloat( obj ) + 1) >= 0;
  285. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  286. },
  287. isEmptyObject: function( obj ) {
  288. var name;
  289. for ( name in obj ) {
  290. return false;
  291. }
  292. return true;
  293. },
  294. isPlainObject: function( obj ) {
  295. var key;
  296. // Must be an Object.
  297. // Because of IE, we also have to check the presence of the constructor property.
  298. // Make sure that DOM nodes and window objects don't pass through, as well
  299. if ( !obj || jQuery.type( obj ) !== "object" || obj.nodeType || jQuery.isWindow( obj ) ) {
  300. return false;
  301. }
  302. try {
  303. // Not own constructor property must be Object
  304. if ( obj.constructor &&
  305. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  306. !hasOwn.call( obj, "constructor" ) &&
  307. !hasOwn.call( obj.constructor.prototype, "isPrototypeOf" ) ) {
  308. =======
  309. !hasOwn.call(obj, "constructor") &&
  310. !hasOwn.call(obj.constructor.prototype, "isPrototypeOf") ) {
  311. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  312. return false;
  313. }
  314. } catch ( e ) {
  315. // IE8,9 Will throw exceptions on certain host objects #9897
  316. return false;
  317. }
  318. // Support: IE<9
  319. // Handle iteration over inherited properties before own properties.
  320. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  321. if ( !support.ownFirst ) {
  322. =======
  323. if ( support.ownLast ) {
  324. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  325. for ( key in obj ) {
  326. return hasOwn.call( obj, key );
  327. }
  328. }
  329. // Own properties are enumerated firstly, so to speed up,
  330. // if last one is own, then all properties are own.
  331. for ( key in obj ) {}
  332. return key === undefined || hasOwn.call( obj, key );
  333. },
  334. type: function( obj ) {
  335. if ( obj == null ) {
  336. return obj + "";
  337. }
  338. return typeof obj === "object" || typeof obj === "function" ?
  339. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  340. class2type[ toString.call( obj ) ] || "object" :
  341. typeof obj;
  342. },
  343. =======
  344. class2type[ toString.call(obj) ] || "object" :
  345. typeof obj;
  346. },
  347. // Evaluates a script in a global context
  348. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  349. // Workarounds based on findings by Jim Driscoll
  350. // http://weblogs.java.net/blog/driscoll/archive/2009/09/08/eval-javascript-global-context
  351. globalEval: function( data ) {
  352. if ( data && jQuery.trim( data ) ) {
  353. // We use execScript on Internet Explorer
  354. // We use an anonymous function so that context is window
  355. // rather than jQuery in Firefox
  356. ( window.execScript || function( data ) {
  357. window[ "eval" ].call( window, data ); // jscs:ignore requireDotNotation
  358. } )( data );
  359. }
  360. },
  361. // Convert dashed to camelCase; used by the css and data modules
  362. // Microsoft forgot to hump their vendor prefix (#9572)
  363. camelCase: function( string ) {
  364. return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase );
  365. },
  366. nodeName: function( elem, name ) {
  367. return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase();
  368. },
  369. each: function( obj, callback ) {
  370. var length, i = 0;
  371. if ( isArrayLike( obj ) ) {
  372. length = obj.length;
  373. for ( ; i < length; i++ ) {
  374. if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) {
  375. break;
  376. }
  377. }
  378. } else {
  379. for ( i in obj ) {
  380. if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) {
  381. break;
  382. }
  383. }
  384. }
  385. return obj;
  386. },
  387. // Support: Android<4.1, IE<9
  388. trim: function( text ) {
  389. return text == null ?
  390. "" :
  391. ( text + "" ).replace( rtrim, "" );
  392. },
  393. // results is for internal usage only
  394. makeArray: function( arr, results ) {
  395. var ret = results || [];
  396. if ( arr != null ) {
  397. if ( isArrayLike( Object( arr ) ) ) {
  398. jQuery.merge( ret,
  399. typeof arr === "string" ?
  400. [ arr ] : arr
  401. );
  402. } else {
  403. push.call( ret, arr );
  404. }
  405. }
  406. return ret;
  407. },
  408. inArray: function( elem, arr, i ) {
  409. var len;
  410. if ( arr ) {
  411. if ( indexOf ) {
  412. return indexOf.call( arr, elem, i );
  413. }
  414. len = arr.length;
  415. i = i ? i < 0 ? Math.max( 0, len + i ) : i : 0;
  416. for ( ; i < len; i++ ) {
  417. // Skip accessing in sparse arrays
  418. if ( i in arr && arr[ i ] === elem ) {
  419. return i;
  420. }
  421. }
  422. }
  423. return -1;
  424. },
  425. merge: function( first, second ) {
  426. var len = +second.length,
  427. j = 0,
  428. i = first.length;
  429. while ( j < len ) {
  430. first[ i++ ] = second[ j++ ];
  431. }
  432. // Support: IE<9
  433. // Workaround casting of .length to NaN on otherwise arraylike objects (e.g., NodeLists)
  434. if ( len !== len ) {
  435. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  436. while ( second[ j ] !== undefined ) {
  437. =======
  438. while ( second[j] !== undefined ) {
  439. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  440. first[ i++ ] = second[ j++ ];
  441. }
  442. }
  443. first.length = i;
  444. return first;
  445. },
  446. grep: function( elems, callback, invert ) {
  447. var callbackInverse,
  448. matches = [],
  449. i = 0,
  450. length = elems.length,
  451. callbackExpect = !invert;
  452. // Go through the array, only saving the items
  453. // that pass the validator function
  454. for ( ; i < length; i++ ) {
  455. callbackInverse = !callback( elems[ i ], i );
  456. if ( callbackInverse !== callbackExpect ) {
  457. matches.push( elems[ i ] );
  458. }
  459. }
  460. return matches;
  461. },
  462. // arg is for internal usage only
  463. map: function( elems, callback, arg ) {
  464. var length, value,
  465. i = 0,
  466. ret = [];
  467. // Go through the array, translating each of the items to their new values
  468. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  469. if ( isArrayLike( elems ) ) {
  470. length = elems.length;
  471. =======
  472. if ( isArray ) {
  473. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  474. for ( ; i < length; i++ ) {
  475. value = callback( elems[ i ], i, arg );
  476. if ( value != null ) {
  477. ret.push( value );
  478. }
  479. }
  480. // Go through every key on the object,
  481. } else {
  482. for ( i in elems ) {
  483. value = callback( elems[ i ], i, arg );
  484. if ( value != null ) {
  485. ret.push( value );
  486. }
  487. }
  488. }
  489. // Flatten any nested arrays
  490. return concat.apply( [], ret );
  491. },
  492. // A global GUID counter for objects
  493. guid: 1,
  494. // Bind a function to a context, optionally partially applying any
  495. // arguments.
  496. proxy: function( fn, context ) {
  497. var args, proxy, tmp;
  498. if ( typeof context === "string" ) {
  499. tmp = fn[ context ];
  500. context = fn;
  501. fn = tmp;
  502. }
  503. // Quick check to determine if target is callable, in the spec
  504. // this throws a TypeError, but we will just return undefined.
  505. if ( !jQuery.isFunction( fn ) ) {
  506. return undefined;
  507. }
  508. // Simulated bind
  509. args = slice.call( arguments, 2 );
  510. proxy = function() {
  511. return fn.apply( context || this, args.concat( slice.call( arguments ) ) );
  512. };
  513. // Set the guid of unique handler to the same of original handler, so it can be removed
  514. proxy.guid = fn.guid = fn.guid || jQuery.guid++;
  515. return proxy;
  516. },
  517. now: function() {
  518. return +( new Date() );
  519. },
  520. // jQuery.support is not used in Core but other projects attach their
  521. // properties to it so it needs to exist.
  522. support: support
  523. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  524. } );
  525. // JSHint would error on this code due to the Symbol not being defined in ES5.
  526. // Defining this global in .jshintrc would create a danger of using the global
  527. // unguarded in another place, it seems safer to just disable JSHint for these
  528. // three lines.
  529. /* jshint ignore: start */
  530. if ( typeof Symbol === "function" ) {
  531. jQuery.fn[ Symbol.iterator ] = deletedIds[ Symbol.iterator ];
  532. }
  533. /* jshint ignore: end */
  534. =======
  535. });
  536. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  537. // Populate the class2type map
  538. jQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".split( " " ),
  539. function( i, name ) {
  540. class2type[ "[object " + name + "]" ] = name.toLowerCase();
  541. } );
  542. function isArrayLike( obj ) {
  543. // Support: iOS 8.2 (not reproducible in simulator)
  544. // `in` check used to prevent JIT error (gh-2145)
  545. // hasOwn isn't used here due to false negatives
  546. // regarding Nodelist length in IE
  547. var length = !!obj && "length" in obj && obj.length,
  548. type = jQuery.type( obj );
  549. if ( type === "function" || jQuery.isWindow( obj ) ) {
  550. return false;
  551. }
  552. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  553. =======
  554. if ( obj.nodeType === 1 && length ) {
  555. return true;
  556. }
  557. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  558. return type === "array" || length === 0 ||
  559. typeof length === "number" && length > 0 && ( length - 1 ) in obj;
  560. }
  561. var Sizzle =
  562. /*!
  563. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  564. * Sizzle CSS Selector Engine v2.2.1
  565. * http://sizzlejs.com/
  566. *
  567. * Copyright jQuery Foundation and other contributors
  568. * Released under the MIT license
  569. * http://jquery.org/license
  570. *
  571. * Date: 2015-10-17
  572. =======
  573. * Sizzle CSS Selector Engine v2.2.0-pre
  574. * http://sizzlejs.com/
  575. *
  576. * Copyright 2008, 2014 jQuery Foundation, Inc. and other contributors
  577. * Released under the MIT license
  578. * http://jquery.org/license
  579. *
  580. * Date: 2014-12-16
  581. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  582. */
  583. (function( window ) {
  584. var i,
  585. support,
  586. Expr,
  587. getText,
  588. isXML,
  589. tokenize,
  590. compile,
  591. select,
  592. outermostContext,
  593. sortInput,
  594. hasDuplicate,
  595. // Local document vars
  596. setDocument,
  597. document,
  598. docElem,
  599. documentIsHTML,
  600. rbuggyQSA,
  601. rbuggyMatches,
  602. matches,
  603. contains,
  604. // Instance-specific data
  605. expando = "sizzle" + 1 * new Date(),
  606. preferredDoc = window.document,
  607. dirruns = 0,
  608. done = 0,
  609. classCache = createCache(),
  610. tokenCache = createCache(),
  611. compilerCache = createCache(),
  612. sortOrder = function( a, b ) {
  613. if ( a === b ) {
  614. hasDuplicate = true;
  615. }
  616. return 0;
  617. },
  618. // General-purpose constants
  619. MAX_NEGATIVE = 1 << 31,
  620. // Instance methods
  621. hasOwn = ({}).hasOwnProperty,
  622. arr = [],
  623. pop = arr.pop,
  624. push_native = arr.push,
  625. push = arr.push,
  626. slice = arr.slice,
  627. // Use a stripped-down indexOf as it's faster than native
  628. // http://jsperf.com/thor-indexof-vs-for/5
  629. indexOf = function( list, elem ) {
  630. var i = 0,
  631. len = list.length;
  632. for ( ; i < len; i++ ) {
  633. if ( list[i] === elem ) {
  634. return i;
  635. }
  636. }
  637. return -1;
  638. },
  639. booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",
  640. // Regular expressions
  641. // http://www.w3.org/TR/css3-selectors/#whitespace
  642. whitespace = "[\\x20\\t\\r\\n\\f]",
  643. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  644. // http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier
  645. identifier = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",
  646. // Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors
  647. attributes = "\\[" + whitespace + "*(" + identifier + ")(?:" + whitespace +
  648. =======
  649. // http://www.w3.org/TR/css3-syntax/#characters
  650. characterEncoding = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",
  651. // Loosely modeled on CSS identifier characters
  652. // An unquoted value should be a CSS identifier http://www.w3.org/TR/css3-selectors/#attribute-selectors
  653. // Proper syntax: http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier
  654. identifier = characterEncoding.replace( "w", "w#" ),
  655. // Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors
  656. attributes = "\\[" + whitespace + "*(" + characterEncoding + ")(?:" + whitespace +
  657. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  658. // Operator (capture 2)
  659. "*([*^$|!~]?=)" + whitespace +
  660. // "Attribute values must be CSS identifiers [capture 5] or strings [capture 3 or capture 4]"
  661. "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + identifier + "))|)" + whitespace +
  662. "*\\]",
  663. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  664. pseudos = ":(" + identifier + ")(?:\\((" +
  665. =======
  666. pseudos = ":(" + characterEncoding + ")(?:\\((" +
  667. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  668. // To reduce the number of selectors needing tokenize in the preFilter, prefer arguments:
  669. // 1. quoted (capture 3; capture 4 or capture 5)
  670. "('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|" +
  671. // 2. simple (capture 6)
  672. "((?:\\\\.|[^\\\\()[\\]]|" + attributes + ")*)|" +
  673. // 3. anything else (capture 2)
  674. ".*" +
  675. ")\\)|)",
  676. // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter
  677. rwhitespace = new RegExp( whitespace + "+", "g" ),
  678. rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$", "g" ),
  679. rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ),
  680. rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + "*" ),
  681. rattributeQuotes = new RegExp( "=" + whitespace + "*([^\\]'\"]*?)" + whitespace + "*\\]", "g" ),
  682. rpseudo = new RegExp( pseudos ),
  683. ridentifier = new RegExp( "^" + identifier + "$" ),
  684. matchExpr = {
  685. "ID": new RegExp( "^#(" + identifier + ")" ),
  686. "CLASS": new RegExp( "^\\.(" + identifier + ")" ),
  687. "TAG": new RegExp( "^(" + identifier + "|[*])" ),
  688. "ATTR": new RegExp( "^" + attributes ),
  689. "PSEUDO": new RegExp( "^" + pseudos ),
  690. "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + whitespace +
  691. "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + whitespace +
  692. "*(\\d+)|))" + whitespace + "*\\)|)", "i" ),
  693. "bool": new RegExp( "^(?:" + booleans + ")$", "i" ),
  694. // For use in libraries implementing .is()
  695. // We use this for POS matching in `select`
  696. "needsContext": new RegExp( "^" + whitespace + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" +
  697. whitespace + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" )
  698. },
  699. rinputs = /^(?:input|select|textarea|button)$/i,
  700. rheader = /^h\d$/i,
  701. rnative = /^[^{]+\{\s*\[native \w/,
  702. // Easily-parseable/retrievable ID or TAG or CLASS selectors
  703. rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,
  704. rsibling = /[+~]/,
  705. rescape = /'|\\/g,
  706. // CSS escapes http://www.w3.org/TR/CSS21/syndata.html#escaped-characters
  707. runescape = new RegExp( "\\\\([\\da-f]{1,6}" + whitespace + "?|(" + whitespace + ")|.)", "ig" ),
  708. funescape = function( _, escaped, escapedWhitespace ) {
  709. var high = "0x" + escaped - 0x10000;
  710. // NaN means non-codepoint
  711. // Support: Firefox<24
  712. // Workaround erroneous numeric interpretation of +"0x"
  713. return high !== high || escapedWhitespace ?
  714. escaped :
  715. high < 0 ?
  716. // BMP codepoint
  717. String.fromCharCode( high + 0x10000 ) :
  718. // Supplemental Plane codepoint (surrogate pair)
  719. String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 );
  720. },
  721. // Used for iframes
  722. // See setDocument()
  723. // Removing the function wrapper causes a "Permission Denied"
  724. // error in IE
  725. unloadHandler = function() {
  726. setDocument();
  727. };
  728. // Optimize for push.apply( _, NodeList )
  729. try {
  730. push.apply(
  731. (arr = slice.call( preferredDoc.childNodes )),
  732. preferredDoc.childNodes
  733. );
  734. // Support: Android<4.0
  735. // Detect silently failing push.apply
  736. arr[ preferredDoc.childNodes.length ].nodeType;
  737. } catch ( e ) {
  738. push = { apply: arr.length ?
  739. // Leverage slice if possible
  740. function( target, els ) {
  741. push_native.apply( target, slice.call(els) );
  742. } :
  743. // Support: IE<9
  744. // Otherwise append directly
  745. function( target, els ) {
  746. var j = target.length,
  747. i = 0;
  748. // Can't trust NodeList.length
  749. while ( (target[j++] = els[i++]) ) {}
  750. target.length = j - 1;
  751. }
  752. };
  753. }
  754. function Sizzle( selector, context, results, seed ) {
  755. var m, i, elem, nid, nidselect, match, groups, newSelector,
  756. newContext = context && context.ownerDocument,
  757. // nodeType defaults to 9, since context defaults to document
  758. nodeType = context ? context.nodeType : 9;
  759. results = results || [];
  760. nodeType = context.nodeType;
  761. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  762. // Return early from calls with invalid selector or context
  763. if ( typeof selector !== "string" || !selector ||
  764. nodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) {
  765. return results;
  766. }
  767. // Try to shortcut find operations (as opposed to filters) in HTML documents
  768. if ( !seed ) {
  769. if ( ( context ? context.ownerDocument || context : preferredDoc ) !== document ) {
  770. setDocument( context );
  771. }
  772. context = context || document;
  773. if ( documentIsHTML ) {
  774. // If the selector is sufficiently simple, try using a "get*By*" DOM method
  775. // (excepting DocumentFragment context, where the methods don't exist)
  776. if ( nodeType !== 11 && (match = rquickExpr.exec( selector )) ) {
  777. // ID selector
  778. if ( (m = match[1]) ) {
  779. // Document context
  780. if ( nodeType === 9 ) {
  781. if ( (elem = context.getElementById( m )) ) {
  782. // Support: IE, Opera, Webkit
  783. // TODO: identify versions
  784. // getElementById can match elements by name instead of ID
  785. if ( elem.id === m ) {
  786. results.push( elem );
  787. return results;
  788. }
  789. } else {
  790. =======
  791. if ( typeof selector !== "string" || !selector ||
  792. nodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) {
  793. return results;
  794. }
  795. if ( !seed && documentIsHTML ) {
  796. // Try to shortcut find operations when possible (e.g., not under DocumentFragment)
  797. if ( nodeType !== 11 && (match = rquickExpr.exec( selector )) ) {
  798. // Speed-up: Sizzle("#ID")
  799. if ( (m = match[1]) ) {
  800. if ( nodeType === 9 ) {
  801. elem = context.getElementById( m );
  802. // Check parentNode to catch when Blackberry 4.6 returns
  803. // nodes that are no longer in the document (jQuery #6963)
  804. if ( elem && elem.parentNode ) {
  805. // Handle the case where IE, Opera, and Webkit return items
  806. // by name instead of ID
  807. if ( elem.id === m ) {
  808. results.push( elem );
  809. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  810. return results;
  811. }
  812. // Element context
  813. } else {
  814. // Support: IE, Opera, Webkit
  815. // TODO: identify versions
  816. // getElementById can match elements by name instead of ID
  817. if ( newContext && (elem = newContext.getElementById( m )) &&
  818. contains( context, elem ) &&
  819. elem.id === m ) {
  820. results.push( elem );
  821. return results;
  822. }
  823. }
  824. // Type selector
  825. } else if ( match[2] ) {
  826. push.apply( results, context.getElementsByTagName( selector ) );
  827. return results;
  828. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  829. // Class selector
  830. } else if ( (m = match[3]) && support.getElementsByClassName &&
  831. context.getElementsByClassName ) {
  832. push.apply( results, context.getElementsByClassName( m ) );
  833. return results;
  834. }
  835. =======
  836. // Speed-up: Sizzle(".CLASS")
  837. } else if ( (m = match[3]) && support.getElementsByClassName ) {
  838. push.apply( results, context.getElementsByClassName( m ) );
  839. return results;
  840. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  841. }
  842. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  843. // Take advantage of querySelectorAll
  844. if ( support.qsa &&
  845. !compilerCache[ selector + " " ] &&
  846. (!rbuggyQSA || !rbuggyQSA.test( selector )) ) {
  847. =======
  848. // QSA path
  849. if ( support.qsa && (!rbuggyQSA || !rbuggyQSA.test( selector )) ) {
  850. nid = old = expando;
  851. newContext = context;
  852. newSelector = nodeType !== 1 && selector;
  853. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  854. if ( nodeType !== 1 ) {
  855. newContext = context;
  856. newSelector = selector;
  857. // qSA looks outside Element context, which is not what we want
  858. // Thanks to Andrew Dupont for this workaround technique
  859. // Support: IE <=8
  860. // Exclude object elements
  861. } else if ( context.nodeName.toLowerCase() !== "object" ) {
  862. // Capture the context ID, setting it first if necessary
  863. if ( (nid = context.getAttribute( "id" )) ) {
  864. nid = nid.replace( rescape, "\\$&" );
  865. } else {
  866. context.setAttribute( "id", (nid = expando) );
  867. }
  868. // Prefix every selector in the list
  869. groups = tokenize( selector );
  870. i = groups.length;
  871. nidselect = ridentifier.test( nid ) ? "#" + nid : "[id='" + nid + "']";
  872. while ( i-- ) {
  873. groups[i] = nidselect + " " + toSelector( groups[i] );
  874. }
  875. newSelector = groups.join( "," );
  876. // Expand context for sibling selectors
  877. newContext = rsibling.test( selector ) && testContext( context.parentNode ) ||
  878. context;
  879. }
  880. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  881. =======
  882. newContext = rsibling.test( selector ) && testContext( context.parentNode ) || context;
  883. newSelector = groups.join(",");
  884. }
  885. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  886. if ( newSelector ) {
  887. try {
  888. push.apply( results,
  889. newContext.querySelectorAll( newSelector )
  890. );
  891. return results;
  892. } catch ( qsaError ) {
  893. } finally {
  894. if ( nid === expando ) {
  895. context.removeAttribute( "id" );
  896. }
  897. }
  898. }
  899. }
  900. }
  901. }
  902. // All others
  903. return select( selector.replace( rtrim, "$1" ), context, results, seed );
  904. }
  905. /**
  906. * Create key-value caches of limited size
  907. * @returns {function(string, object)} Returns the Object data after storing it on itself with
  908. * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength)
  909. * deleting the oldest entry
  910. */
  911. function createCache() {
  912. var keys = [];
  913. function cache( key, value ) {
  914. // Use (key + " ") to avoid collision with native prototype properties (see Issue #157)
  915. if ( keys.push( key + " " ) > Expr.cacheLength ) {
  916. // Only keep the most recent entries
  917. delete cache[ keys.shift() ];
  918. }
  919. return (cache[ key + " " ] = value);
  920. }
  921. return cache;
  922. }
  923. /**
  924. * Mark a function for special use by Sizzle
  925. * @param {Function} fn The function to mark
  926. */
  927. function markFunction( fn ) {
  928. fn[ expando ] = true;
  929. return fn;
  930. }
  931. /**
  932. * Support testing using an element
  933. * @param {Function} fn Passed the created div and expects a boolean result
  934. */
  935. function assert( fn ) {
  936. var div = document.createElement("div");
  937. try {
  938. return !!fn( div );
  939. } catch (e) {
  940. return false;
  941. } finally {
  942. // Remove from its parent by default
  943. if ( div.parentNode ) {
  944. div.parentNode.removeChild( div );
  945. }
  946. // release memory in IE
  947. div = null;
  948. }
  949. }
  950. /**
  951. * Adds the same handler for all of the specified attrs
  952. * @param {String} attrs Pipe-separated list of attributes
  953. * @param {Function} handler The method that will be applied
  954. */
  955. function addHandle( attrs, handler ) {
  956. var arr = attrs.split("|"),
  957. i = arr.length;
  958. while ( i-- ) {
  959. Expr.attrHandle[ arr[i] ] = handler;
  960. }
  961. }
  962. /**
  963. * Checks document order of two siblings
  964. * @param {Element} a
  965. * @param {Element} b
  966. * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b
  967. */
  968. function siblingCheck( a, b ) {
  969. var cur = b && a,
  970. diff = cur && a.nodeType === 1 && b.nodeType === 1 &&
  971. ( ~b.sourceIndex || MAX_NEGATIVE ) -
  972. ( ~a.sourceIndex || MAX_NEGATIVE );
  973. // Use IE sourceIndex if available on both nodes
  974. if ( diff ) {
  975. return diff;
  976. }
  977. // Check if b follows a
  978. if ( cur ) {
  979. while ( (cur = cur.nextSibling) ) {
  980. if ( cur === b ) {
  981. return -1;
  982. }
  983. }
  984. }
  985. return a ? 1 : -1;
  986. }
  987. /**
  988. * Returns a function to use in pseudos for input types
  989. * @param {String} type
  990. */
  991. function createInputPseudo( type ) {
  992. return function( elem ) {
  993. var name = elem.nodeName.toLowerCase();
  994. return name === "input" && elem.type === type;
  995. };
  996. }
  997. /**
  998. * Returns a function to use in pseudos for buttons
  999. * @param {String} type
  1000. */
  1001. function createButtonPseudo( type ) {
  1002. return function( elem ) {
  1003. var name = elem.nodeName.toLowerCase();
  1004. return (name === "input" || name === "button") && elem.type === type;
  1005. };
  1006. }
  1007. /**
  1008. * Returns a function to use in pseudos for positionals
  1009. * @param {Function} fn
  1010. */
  1011. function createPositionalPseudo( fn ) {
  1012. return markFunction(function( argument ) {
  1013. argument = +argument;
  1014. return markFunction(function( seed, matches ) {
  1015. var j,
  1016. matchIndexes = fn( [], seed.length, argument ),
  1017. i = matchIndexes.length;
  1018. // Match elements found at the specified indexes
  1019. while ( i-- ) {
  1020. if ( seed[ (j = matchIndexes[i]) ] ) {
  1021. seed[j] = !(matches[j] = seed[j]);
  1022. }
  1023. }
  1024. });
  1025. });
  1026. }
  1027. /**
  1028. * Checks a node for validity as a Sizzle context
  1029. * @param {Element|Object=} context
  1030. * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value
  1031. */
  1032. function testContext( context ) {
  1033. return context && typeof context.getElementsByTagName !== "undefined" && context;
  1034. }
  1035. // Expose support vars for convenience
  1036. support = Sizzle.support = {};
  1037. /**
  1038. * Detects XML nodes
  1039. * @param {Element|Object} elem An element or a document
  1040. * @returns {Boolean} True iff elem is a non-HTML XML node
  1041. */
  1042. isXML = Sizzle.isXML = function( elem ) {
  1043. // documentElement is verified for cases where it doesn't yet exist
  1044. // (such as loading iframes in IE - #4833)
  1045. var documentElement = elem && (elem.ownerDocument || elem).documentElement;
  1046. return documentElement ? documentElement.nodeName !== "HTML" : false;
  1047. };
  1048. /**
  1049. * Sets document-related variables once based on the current document
  1050. * @param {Element|Object} [doc] An element or document object to use to set the document
  1051. * @returns {Object} Returns the current document
  1052. */
  1053. setDocument = Sizzle.setDocument = function( node ) {
  1054. var hasCompare, parent,
  1055. doc = node ? node.ownerDocument || node : preferredDoc;
  1056. // Return early if doc is invalid or already selected
  1057. if ( doc === document || doc.nodeType !== 9 || !doc.documentElement ) {
  1058. return document;
  1059. }
  1060. // Update global variables
  1061. document = doc;
  1062. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  1063. docElem = document.documentElement;
  1064. documentIsHTML = !isXML( document );
  1065. // Support: IE 9-11, Edge
  1066. // Accessing iframe documents after unload throws "permission denied" errors (jQuery #13936)
  1067. if ( (parent = document.defaultView) && parent.top !== parent ) {
  1068. // Support: IE 11
  1069. if ( parent.addEventListener ) {
  1070. parent.addEventListener( "unload", unloadHandler, false );
  1071. // Support: IE 9 - 10 only
  1072. =======
  1073. docElem = doc.documentElement;
  1074. parent = doc.defaultView;
  1075. // Support: IE>8
  1076. // If iframe document is assigned to "document" variable and if iframe has been reloaded,
  1077. // IE will throw "permission denied" error when accessing "document" variable, see jQuery #13936
  1078. // IE6-8 do not support the defaultView property so parent will be undefined
  1079. if ( parent && parent !== parent.top ) {
  1080. // IE11 does not have attachEvent, so all must suffer
  1081. if ( parent.addEventListener ) {
  1082. parent.addEventListener( "unload", unloadHandler, false );
  1083. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  1084. } else if ( parent.attachEvent ) {
  1085. parent.attachEvent( "onunload", unloadHandler );
  1086. }
  1087. }
  1088. /* Support tests
  1089. ---------------------------------------------------------------------- */
  1090. documentIsHTML = !isXML( doc );
  1091. /* Attributes
  1092. ---------------------------------------------------------------------- */
  1093. // Support: IE<8
  1094. // Verify that getAttribute really returns attributes and not properties
  1095. // (excepting IE8 booleans)
  1096. support.attributes = assert(function( div ) {
  1097. div.className = "i";
  1098. return !div.getAttribute("className");
  1099. });
  1100. /* getElement(s)By*
  1101. ---------------------------------------------------------------------- */
  1102. // Check if getElementsByTagName("*") returns only elements
  1103. support.getElementsByTagName = assert(function( div ) {
  1104. div.appendChild( document.createComment("") );
  1105. return !div.getElementsByTagName("*").length;
  1106. });
  1107. // Support: IE<9
  1108. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  1109. support.getElementsByClassName = rnative.test( document.getElementsByClassName );
  1110. =======
  1111. support.getElementsByClassName = rnative.test( doc.getElementsByClassName );
  1112. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  1113. // Support: IE<10
  1114. // Check if getElementById returns elements by name
  1115. // The broken getElementById methods don't pick up programatically-set names,
  1116. // so use a roundabout getElementsByName test
  1117. support.getById = assert(function( div ) {
  1118. docElem.appendChild( div ).id = expando;
  1119. return !document.getElementsByName || !document.getElementsByName( expando ).length;
  1120. });
  1121. // ID find and filter
  1122. if ( support.getById ) {
  1123. Expr.find["ID"] = function( id, context ) {
  1124. if ( typeof context.getElementById !== "undefined" && documentIsHTML ) {
  1125. var m = context.getElementById( id );
  1126. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  1127. return m ? [ m ] : [];
  1128. =======
  1129. // Check parentNode to catch when Blackberry 4.6 returns
  1130. // nodes that are no longer in the document #6963
  1131. return m && m.parentNode ? [ m ] : [];
  1132. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  1133. }
  1134. };
  1135. Expr.filter["ID"] = function( id ) {
  1136. var attrId = id.replace( runescape, funescape );
  1137. return function( elem ) {
  1138. return elem.getAttribute("id") === attrId;
  1139. };
  1140. };
  1141. } else {
  1142. // Support: IE6/7
  1143. // getElementById is not reliable as a find shortcut
  1144. delete Expr.find["ID"];
  1145. Expr.filter["ID"] = function( id ) {
  1146. var attrId = id.replace( runescape, funescape );
  1147. return function( elem ) {
  1148. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  1149. var node = typeof elem.getAttributeNode !== "undefined" &&
  1150. elem.getAttributeNode("id");
  1151. =======
  1152. var node = typeof elem.getAttributeNode !== "undefined" && elem.getAttributeNode("id");
  1153. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  1154. return node && node.value === attrId;
  1155. };
  1156. };
  1157. }
  1158. // Tag
  1159. Expr.find["TAG"] = support.getElementsByTagName ?
  1160. function( tag, context ) {
  1161. if ( typeof context.getElementsByTagName !== "undefined" ) {
  1162. return context.getElementsByTagName( tag );
  1163. // DocumentFragment nodes don't have gEBTN
  1164. } else if ( support.qsa ) {
  1165. return context.querySelectorAll( tag );
  1166. }
  1167. } :
  1168. function( tag, context ) {
  1169. var elem,
  1170. tmp = [],
  1171. i = 0,
  1172. // By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too
  1173. results = context.getElementsByTagName( tag );
  1174. // Filter out possible comments
  1175. if ( tag === "*" ) {
  1176. while ( (elem = results[i++]) ) {
  1177. if ( elem.nodeType === 1 ) {
  1178. tmp.push( elem );
  1179. }
  1180. }
  1181. return tmp;
  1182. }
  1183. return results;
  1184. };
  1185. // Class
  1186. Expr.find["CLASS"] = support.getElementsByClassName && function( className, context ) {
  1187. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  1188. if ( typeof context.getElementsByClassName !== "undefined" && documentIsHTML ) {
  1189. =======
  1190. if ( documentIsHTML ) {
  1191. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  1192. return context.getElementsByClassName( className );
  1193. }
  1194. };
  1195. /* QSA/matchesSelector
  1196. ---------------------------------------------------------------------- */
  1197. // QSA and matchesSelector support
  1198. // matchesSelector(:active) reports false when true (IE9/Opera 11.5)
  1199. rbuggyMatches = [];
  1200. // qSa(:focus) reports false when true (Chrome 21)
  1201. // We allow this because of a bug in IE8/9 that throws an error
  1202. // whenever `document.activeElement` is accessed on an iframe
  1203. // So, we allow :focus to pass through QSA all the time to avoid the IE error
  1204. // See http://bugs.jquery.com/ticket/13378
  1205. rbuggyQSA = [];
  1206. if ( (support.qsa = rnative.test( document.querySelectorAll )) ) {
  1207. // Build QSA regex
  1208. // Regex strategy adopted from Diego Perini
  1209. assert(function( div ) {
  1210. // Select is set to empty string on purpose
  1211. // This is to test IE's treatment of not explicitly
  1212. // setting a boolean content attribute,
  1213. // since its presence should be enough
  1214. // http://bugs.jquery.com/ticket/12359
  1215. docElem.appendChild( div ).innerHTML = "<a id='" + expando + "'></a>" +
  1216. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  1217. "<select id='" + expando + "-\r\\' msallowcapture=''>" +
  1218. =======
  1219. "<select id='" + expando + "-\f]' msallowcapture=''>" +
  1220. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  1221. "<option selected=''></option></select>";
  1222. // Support: IE8, Opera 11-12.16
  1223. // Nothing should be selected when empty strings follow ^= or $= or *=
  1224. // The test attribute must be unknown in Opera but "safe" for WinRT
  1225. // http://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section
  1226. if ( div.querySelectorAll("[msallowcapture^='']").length ) {
  1227. rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" );
  1228. }
  1229. // Support: IE8
  1230. // Boolean attributes and "value" are not treated correctly
  1231. if ( !div.querySelectorAll("[selected]").length ) {
  1232. rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" );
  1233. }
  1234. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  1235. // Support: Chrome<29, Android<4.4, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.8+
  1236. =======
  1237. // Support: Chrome<29, Android<4.2+, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.7+
  1238. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  1239. if ( !div.querySelectorAll( "[id~=" + expando + "-]" ).length ) {
  1240. rbuggyQSA.push("~=");
  1241. }
  1242. // Webkit/Opera - :checked should return selected option elements
  1243. // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked
  1244. // IE8 throws error here and will not see later tests
  1245. if ( !div.querySelectorAll(":checked").length ) {
  1246. rbuggyQSA.push(":checked");
  1247. }
  1248. // Support: Safari 8+, iOS 8+
  1249. // https://bugs.webkit.org/show_bug.cgi?id=136851
  1250. // In-page `selector#id sibing-combinator selector` fails
  1251. if ( !div.querySelectorAll( "a#" + expando + "+*" ).length ) {
  1252. rbuggyQSA.push(".#.+[+~]");
  1253. }
  1254. });
  1255. assert(function( div ) {
  1256. // Support: Windows 8 Native Apps
  1257. // The type and name attributes are restricted during .innerHTML assignment
  1258. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  1259. var input = document.createElement("input");
  1260. =======
  1261. var input = doc.createElement("input");
  1262. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  1263. input.setAttribute( "type", "hidden" );
  1264. div.appendChild( input ).setAttribute( "name", "D" );
  1265. // Support: IE8
  1266. // Enforce case-sensitivity of name attribute
  1267. if ( div.querySelectorAll("[name=d]").length ) {
  1268. rbuggyQSA.push( "name" + whitespace + "*[*^$|!~]?=" );
  1269. }
  1270. // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled)
  1271. // IE8 throws error here and will not see later tests
  1272. if ( !div.querySelectorAll(":enabled").length ) {
  1273. rbuggyQSA.push( ":enabled", ":disabled" );
  1274. }
  1275. // Opera 10-11 does not throw on post-comma invalid pseudos
  1276. div.querySelectorAll("*,:x");
  1277. rbuggyQSA.push(",.*:");
  1278. });
  1279. }
  1280. if ( (support.matchesSelector = rnative.test( (matches = docElem.matches ||
  1281. docElem.webkitMatchesSelector ||
  1282. docElem.mozMatchesSelector ||
  1283. docElem.oMatchesSelector ||
  1284. docElem.msMatchesSelector) )) ) {
  1285. assert(function( div ) {
  1286. // Check to see if it's possible to do matchesSelector
  1287. // on a disconnected node (IE 9)
  1288. support.disconnectedMatch = matches.call( div, "div" );
  1289. // This should fail with an exception
  1290. // Gecko does not error, returns false instead
  1291. matches.call( div, "[s!='']:x" );
  1292. rbuggyMatches.push( "!=", pseudos );
  1293. });
  1294. }
  1295. rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join("|") );
  1296. rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join("|") );
  1297. /* Contains
  1298. ---------------------------------------------------------------------- */
  1299. hasCompare = rnative.test( docElem.compareDocumentPosition );
  1300. // Element contains another
  1301. // Purposefully self-exclusive
  1302. // As in, an element does not contain itself
  1303. contains = hasCompare || rnative.test( docElem.contains ) ?
  1304. function( a, b ) {
  1305. var adown = a.nodeType === 9 ? a.documentElement : a,
  1306. bup = b && b.parentNode;
  1307. return a === bup || !!( bup && bup.nodeType === 1 && (
  1308. adown.contains ?
  1309. adown.contains( bup ) :
  1310. a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16
  1311. ));
  1312. } :
  1313. function( a, b ) {
  1314. if ( b ) {
  1315. while ( (b = b.parentNode) ) {
  1316. if ( b === a ) {
  1317. return true;
  1318. }
  1319. }
  1320. }
  1321. return false;
  1322. };
  1323. /* Sorting
  1324. ---------------------------------------------------------------------- */
  1325. // Document order sorting
  1326. sortOrder = hasCompare ?
  1327. function( a, b ) {
  1328. // Flag for duplicate removal
  1329. if ( a === b ) {
  1330. hasDuplicate = true;
  1331. return 0;
  1332. }
  1333. // Sort on method existence if only one input has compareDocumentPosition
  1334. var compare = !a.compareDocumentPosition - !b.compareDocumentPosition;
  1335. if ( compare ) {
  1336. return compare;
  1337. }
  1338. // Calculate position if both inputs belong to the same document
  1339. compare = ( a.ownerDocument || a ) === ( b.ownerDocument || b ) ?
  1340. a.compareDocumentPosition( b ) :
  1341. // Otherwise we know they are disconnected
  1342. 1;
  1343. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  1344. // Disconnected nodes
  1345. if ( compare & 1 ||
  1346. (!support.sortDetached && b.compareDocumentPosition( a ) === compare) ) {
  1347. // Choose the first element that is related to our preferred document
  1348. if ( a === document || a.ownerDocument === preferredDoc && contains(preferredDoc, a) ) {
  1349. return -1;
  1350. }
  1351. if ( b === document || b.ownerDocument === preferredDoc && contains(preferredDoc, b) ) {
  1352. =======
  1353. // Disconnected nodes
  1354. if ( compare & 1 ||
  1355. (!support.sortDetached && b.compareDocumentPosition( a ) === compare) ) {
  1356. // Choose the first element that is related to our preferred document
  1357. if ( a === doc || a.ownerDocument === preferredDoc && contains(preferredDoc, a) ) {
  1358. return -1;
  1359. }
  1360. if ( b === doc || b.ownerDocument === preferredDoc && contains(preferredDoc, b) ) {
  1361. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  1362. return 1;
  1363. }
  1364. // Maintain original order
  1365. return sortInput ?
  1366. ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) :
  1367. 0;
  1368. }
  1369. return compare & 4 ? -1 : 1;
  1370. } :
  1371. function( a, b ) {
  1372. // Exit early if the nodes are identical
  1373. if ( a === b ) {
  1374. hasDuplicate = true;
  1375. return 0;
  1376. }
  1377. var cur,
  1378. i = 0,
  1379. aup = a.parentNode,
  1380. bup = b.parentNode,
  1381. ap = [ a ],
  1382. bp = [ b ];
  1383. // Parentless nodes are either documents or disconnected
  1384. if ( !aup || !bup ) {
  1385. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  1386. return a === document ? -1 :
  1387. b === document ? 1 :
  1388. =======
  1389. return a === doc ? -1 :
  1390. b === doc ? 1 :
  1391. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  1392. aup ? -1 :
  1393. bup ? 1 :
  1394. sortInput ?
  1395. ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) :
  1396. 0;
  1397. // If the nodes are siblings, we can do a quick check
  1398. } else if ( aup === bup ) {
  1399. return siblingCheck( a, b );
  1400. }
  1401. // Otherwise we need full lists of their ancestors for comparison
  1402. cur = a;
  1403. while ( (cur = cur.parentNode) ) {
  1404. ap.unshift( cur );
  1405. }
  1406. cur = b;
  1407. while ( (cur = cur.parentNode) ) {
  1408. bp.unshift( cur );
  1409. }
  1410. // Walk down the tree looking for a discrepancy
  1411. while ( ap[i] === bp[i] ) {
  1412. i++;
  1413. }
  1414. return i ?
  1415. // Do a sibling check if the nodes have a common ancestor
  1416. siblingCheck( ap[i], bp[i] ) :
  1417. // Otherwise nodes in our document sort first
  1418. ap[i] === preferredDoc ? -1 :
  1419. bp[i] === preferredDoc ? 1 :
  1420. 0;
  1421. };
  1422. return document;
  1423. };
  1424. Sizzle.matches = function( expr, elements ) {
  1425. return Sizzle( expr, null, null, elements );
  1426. };
  1427. Sizzle.matchesSelector = function( elem, expr ) {
  1428. // Set document vars if needed
  1429. if ( ( elem.ownerDocument || elem ) !== document ) {
  1430. setDocument( elem );
  1431. }
  1432. // Make sure that attribute selectors are quoted
  1433. expr = expr.replace( rattributeQuotes, "='$1']" );
  1434. if ( support.matchesSelector && documentIsHTML &&
  1435. !compilerCache[ expr + " " ] &&
  1436. ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) &&
  1437. ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) {
  1438. try {
  1439. var ret = matches.call( elem, expr );
  1440. // IE 9's matchesSelector returns false on disconnected nodes
  1441. if ( ret || support.disconnectedMatch ||
  1442. // As well, disconnected nodes are said to be in a document
  1443. // fragment in IE 9
  1444. elem.document && elem.document.nodeType !== 11 ) {
  1445. return ret;
  1446. }
  1447. } catch (e) {}
  1448. }
  1449. return Sizzle( expr, document, null, [ elem ] ).length > 0;
  1450. };
  1451. Sizzle.contains = function( context, elem ) {
  1452. // Set document vars if needed
  1453. if ( ( context.ownerDocument || context ) !== document ) {
  1454. setDocument( context );
  1455. }
  1456. return contains( context, elem );
  1457. };
  1458. Sizzle.attr = function( elem, name ) {
  1459. // Set document vars if needed
  1460. if ( ( elem.ownerDocument || elem ) !== document ) {
  1461. setDocument( elem );
  1462. }
  1463. var fn = Expr.attrHandle[ name.toLowerCase() ],
  1464. // Don't get fooled by Object.prototype properties (jQuery #13807)
  1465. val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ?
  1466. fn( elem, name, !documentIsHTML ) :
  1467. undefined;
  1468. return val !== undefined ?
  1469. val :
  1470. support.attributes || !documentIsHTML ?
  1471. elem.getAttribute( name ) :
  1472. (val = elem.getAttributeNode(name)) && val.specified ?
  1473. val.value :
  1474. null;
  1475. };
  1476. Sizzle.error = function( msg ) {
  1477. throw new Error( "Syntax error, unrecognized expression: " + msg );
  1478. };
  1479. /**
  1480. * Document sorting and removing duplicates
  1481. * @param {ArrayLike} results
  1482. */
  1483. Sizzle.uniqueSort = function( results ) {
  1484. var elem,
  1485. duplicates = [],
  1486. j = 0,
  1487. i = 0;
  1488. // Unless we *know* we can detect duplicates, assume their presence
  1489. hasDuplicate = !support.detectDuplicates;
  1490. sortInput = !support.sortStable && results.slice( 0 );
  1491. results.sort( sortOrder );
  1492. if ( hasDuplicate ) {
  1493. while ( (elem = results[i++]) ) {
  1494. if ( elem === results[ i ] ) {
  1495. j = duplicates.push( i );
  1496. }
  1497. }
  1498. while ( j-- ) {
  1499. results.splice( duplicates[ j ], 1 );
  1500. }
  1501. }
  1502. // Clear input after sorting to release objects
  1503. // See https://github.com/jquery/sizzle/pull/225
  1504. sortInput = null;
  1505. return results;
  1506. };
  1507. /**
  1508. * Utility function for retrieving the text value of an array of DOM nodes
  1509. * @param {Array|Element} elem
  1510. */
  1511. getText = Sizzle.getText = function( elem ) {
  1512. var node,
  1513. ret = "",
  1514. i = 0,
  1515. nodeType = elem.nodeType;
  1516. if ( !nodeType ) {
  1517. // If no nodeType, this is expected to be an array
  1518. while ( (node = elem[i++]) ) {
  1519. // Do not traverse comment nodes
  1520. ret += getText( node );
  1521. }
  1522. } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) {
  1523. // Use textContent for elements
  1524. // innerText usage removed for consistency of new lines (jQuery #11153)
  1525. if ( typeof elem.textContent === "string" ) {
  1526. return elem.textContent;
  1527. } else {
  1528. // Traverse its children
  1529. for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) {
  1530. ret += getText( elem );
  1531. }
  1532. }
  1533. } else if ( nodeType === 3 || nodeType === 4 ) {
  1534. return elem.nodeValue;
  1535. }
  1536. // Do not include comment or processing instruction nodes
  1537. return ret;
  1538. };
  1539. Expr = Sizzle.selectors = {
  1540. // Can be adjusted by the user
  1541. cacheLength: 50,
  1542. createPseudo: markFunction,
  1543. match: matchExpr,
  1544. attrHandle: {},
  1545. find: {},
  1546. relative: {
  1547. ">": { dir: "parentNode", first: true },
  1548. " ": { dir: "parentNode" },
  1549. "+": { dir: "previousSibling", first: true },
  1550. "~": { dir: "previousSibling" }
  1551. },
  1552. preFilter: {
  1553. "ATTR": function( match ) {
  1554. match[1] = match[1].replace( runescape, funescape );
  1555. // Move the given value to match[3] whether quoted or unquoted
  1556. match[3] = ( match[3] || match[4] || match[5] || "" ).replace( runescape, funescape );
  1557. if ( match[2] === "~=" ) {
  1558. match[3] = " " + match[3] + " ";
  1559. }
  1560. return match.slice( 0, 4 );
  1561. },
  1562. "CHILD": function( match ) {
  1563. /* matches from matchExpr["CHILD"]
  1564. 1 type (only|nth|...)
  1565. 2 what (child|of-type)
  1566. 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...)
  1567. 4 xn-component of xn+y argument ([+-]?\d*n|)
  1568. 5 sign of xn-component
  1569. 6 x of xn-component
  1570. 7 sign of y-component
  1571. 8 y of y-component
  1572. */
  1573. match[1] = match[1].toLowerCase();
  1574. if ( match[1].slice( 0, 3 ) === "nth" ) {
  1575. // nth-* requires argument
  1576. if ( !match[3] ) {
  1577. Sizzle.error( match[0] );
  1578. }
  1579. // numeric x and y parameters for Expr.filter.CHILD
  1580. // remember that false/true cast respectively to 0/1
  1581. match[4] = +( match[4] ? match[5] + (match[6] || 1) : 2 * ( match[3] === "even" || match[3] === "odd" ) );
  1582. match[5] = +( ( match[7] + match[8] ) || match[3] === "odd" );
  1583. // other types prohibit arguments
  1584. } else if ( match[3] ) {
  1585. Sizzle.error( match[0] );
  1586. }
  1587. return match;
  1588. },
  1589. "PSEUDO": function( match ) {
  1590. var excess,
  1591. unquoted = !match[6] && match[2];
  1592. if ( matchExpr["CHILD"].test( match[0] ) ) {
  1593. return null;
  1594. }
  1595. // Accept quoted arguments as-is
  1596. if ( match[3] ) {
  1597. match[2] = match[4] || match[5] || "";
  1598. // Strip excess characters from unquoted arguments
  1599. } else if ( unquoted && rpseudo.test( unquoted ) &&
  1600. // Get excess from tokenize (recursively)
  1601. (excess = tokenize( unquoted, true )) &&
  1602. // advance to the next closing parenthesis
  1603. (excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length) ) {
  1604. // excess is a negative index
  1605. match[0] = match[0].slice( 0, excess );
  1606. match[2] = unquoted.slice( 0, excess );
  1607. }
  1608. // Return only captures needed by the pseudo filter method (type and argument)
  1609. return match.slice( 0, 3 );
  1610. }
  1611. },
  1612. filter: {
  1613. "TAG": function( nodeNameSelector ) {
  1614. var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase();
  1615. return nodeNameSelector === "*" ?
  1616. function() { return true; } :
  1617. function( elem ) {
  1618. return elem.nodeName && elem.nodeName.toLowerCase() === nodeName;
  1619. };
  1620. },
  1621. "CLASS": function( className ) {
  1622. var pattern = classCache[ className + " " ];
  1623. return pattern ||
  1624. (pattern = new RegExp( "(^|" + whitespace + ")" + className + "(" + whitespace + "|$)" )) &&
  1625. classCache( className, function( elem ) {
  1626. return pattern.test( typeof elem.className === "string" && elem.className || typeof elem.getAttribute !== "undefined" && elem.getAttribute("class") || "" );
  1627. });
  1628. },
  1629. "ATTR": function( name, operator, check ) {
  1630. return function( elem ) {
  1631. var result = Sizzle.attr( elem, name );
  1632. if ( result == null ) {
  1633. return operator === "!=";
  1634. }
  1635. if ( !operator ) {
  1636. return true;
  1637. }
  1638. result += "";
  1639. return operator === "=" ? result === check :
  1640. operator === "!=" ? result !== check :
  1641. operator === "^=" ? check && result.indexOf( check ) === 0 :
  1642. operator === "*=" ? check && result.indexOf( check ) > -1 :
  1643. operator === "$=" ? check && result.slice( -check.length ) === check :
  1644. operator === "~=" ? ( " " + result.replace( rwhitespace, " " ) + " " ).indexOf( check ) > -1 :
  1645. operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" :
  1646. false;
  1647. };
  1648. },
  1649. "CHILD": function( type, what, argument, first, last ) {
  1650. var simple = type.slice( 0, 3 ) !== "nth",
  1651. forward = type.slice( -4 ) !== "last",
  1652. ofType = what === "of-type";
  1653. return first === 1 && last === 0 ?
  1654. // Shortcut for :nth-*(n)
  1655. function( elem ) {
  1656. return !!elem.parentNode;
  1657. } :
  1658. function( elem, context, xml ) {
  1659. var cache, uniqueCache, outerCache, node, nodeIndex, start,
  1660. dir = simple !== forward ? "nextSibling" : "previousSibling",
  1661. parent = elem.parentNode,
  1662. name = ofType && elem.nodeName.toLowerCase(),
  1663. useCache = !xml && !ofType,
  1664. diff = false;
  1665. if ( parent ) {
  1666. // :(first|last|only)-(child|of-type)
  1667. if ( simple ) {
  1668. while ( dir ) {
  1669. node = elem;
  1670. while ( (node = node[ dir ]) ) {
  1671. if ( ofType ?
  1672. node.nodeName.toLowerCase() === name :
  1673. node.nodeType === 1 ) {
  1674. return false;
  1675. }
  1676. }
  1677. // Reverse direction for :only-* (if we haven't yet done so)
  1678. start = dir = type === "only" && !start && "nextSibling";
  1679. }
  1680. return true;
  1681. }
  1682. start = [ forward ? parent.firstChild : parent.lastChild ];
  1683. // non-xml :nth-child(...) stores cache data on `parent`
  1684. if ( forward && useCache ) {
  1685. // Seek `elem` from a previously-cached index
  1686. // ...in a gzip-friendly way
  1687. node = parent;
  1688. outerCache = node[ expando ] || (node[ expando ] = {});
  1689. // Support: IE <9 only
  1690. // Defend against cloned attroperties (jQuery gh-1709)
  1691. uniqueCache = outerCache[ node.uniqueID ] ||
  1692. (outerCache[ node.uniqueID ] = {});
  1693. cache = uniqueCache[ type ] || [];
  1694. nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ];
  1695. diff = nodeIndex && cache[ 2 ];
  1696. node = nodeIndex && parent.childNodes[ nodeIndex ];
  1697. while ( (node = ++nodeIndex && node && node[ dir ] ||
  1698. // Fallback to seeking `elem` from the start
  1699. (diff = nodeIndex = 0) || start.pop()) ) {
  1700. // When found, cache indexes on `parent` and break
  1701. if ( node.nodeType === 1 && ++diff && node === elem ) {
  1702. uniqueCache[ type ] = [ dirruns, nodeIndex, diff ];
  1703. break;
  1704. }
  1705. }
  1706. } else {
  1707. // Use previously-cached element index if available
  1708. if ( useCache ) {
  1709. // ...in a gzip-friendly way
  1710. node = elem;
  1711. outerCache = node[ expando ] || (node[ expando ] = {});
  1712. // Support: IE <9 only
  1713. // Defend against cloned attroperties (jQuery gh-1709)
  1714. uniqueCache = outerCache[ node.uniqueID ] ||
  1715. (outerCache[ node.uniqueID ] = {});
  1716. cache = uniqueCache[ type ] || [];
  1717. nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ];
  1718. diff = nodeIndex;
  1719. }
  1720. // xml :nth-child(...)
  1721. // or :nth-last-child(...) or :nth(-last)?-of-type(...)
  1722. if ( diff === false ) {
  1723. // Use the same loop as above to seek `elem` from the start
  1724. while ( (node = ++nodeIndex && node && node[ dir ] ||
  1725. (diff = nodeIndex = 0) || start.pop()) ) {
  1726. if ( ( ofType ?
  1727. node.nodeName.toLowerCase() === name :
  1728. node.nodeType === 1 ) &&
  1729. ++diff ) {
  1730. // Cache the index of each encountered element
  1731. if ( useCache ) {
  1732. outerCache = node[ expando ] || (node[ expando ] = {});
  1733. // Support: IE <9 only
  1734. // Defend against cloned attroperties (jQuery gh-1709)
  1735. uniqueCache = outerCache[ node.uniqueID ] ||
  1736. (outerCache[ node.uniqueID ] = {});
  1737. uniqueCache[ type ] = [ dirruns, diff ];
  1738. }
  1739. if ( node === elem ) {
  1740. break;
  1741. }
  1742. }
  1743. }
  1744. }
  1745. }
  1746. // Incorporate the offset, then check against cycle size
  1747. diff -= last;
  1748. return diff === first || ( diff % first === 0 && diff / first >= 0 );
  1749. }
  1750. };
  1751. },
  1752. "PSEUDO": function( pseudo, argument ) {
  1753. // pseudo-class names are case-insensitive
  1754. // http://www.w3.org/TR/selectors/#pseudo-classes
  1755. // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters
  1756. // Remember that setFilters inherits from pseudos
  1757. var args,
  1758. fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] ||
  1759. Sizzle.error( "unsupported pseudo: " + pseudo );
  1760. // The user may use createPseudo to indicate that
  1761. // arguments are needed to create the filter function
  1762. // just as Sizzle does
  1763. if ( fn[ expando ] ) {
  1764. return fn( argument );
  1765. }
  1766. // But maintain support for old signatures
  1767. if ( fn.length > 1 ) {
  1768. args = [ pseudo, pseudo, "", argument ];
  1769. return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ?
  1770. markFunction(function( seed, matches ) {
  1771. var idx,
  1772. matched = fn( seed, argument ),
  1773. i = matched.length;
  1774. while ( i-- ) {
  1775. idx = indexOf( seed, matched[i] );
  1776. seed[ idx ] = !( matches[ idx ] = matched[i] );
  1777. }
  1778. }) :
  1779. function( elem ) {
  1780. return fn( elem, 0, args );
  1781. };
  1782. }
  1783. return fn;
  1784. }
  1785. },
  1786. pseudos: {
  1787. // Potentially complex pseudos
  1788. "not": markFunction(function( selector ) {
  1789. // Trim the selector passed to compile
  1790. // to avoid treating leading and trailing
  1791. // spaces as combinators
  1792. var input = [],
  1793. results = [],
  1794. matcher = compile( selector.replace( rtrim, "$1" ) );
  1795. return matcher[ expando ] ?
  1796. markFunction(function( seed, matches, context, xml ) {
  1797. var elem,
  1798. unmatched = matcher( seed, null, xml, [] ),
  1799. i = seed.length;
  1800. // Match elements unmatched by `matcher`
  1801. while ( i-- ) {
  1802. if ( (elem = unmatched[i]) ) {
  1803. seed[i] = !(matches[i] = elem);
  1804. }
  1805. }
  1806. }) :
  1807. function( elem, context, xml ) {
  1808. input[0] = elem;
  1809. matcher( input, null, xml, results );
  1810. // Don't keep the element (issue #299)
  1811. input[0] = null;
  1812. return !results.pop();
  1813. };
  1814. }),
  1815. "has": markFunction(function( selector ) {
  1816. return function( elem ) {
  1817. return Sizzle( selector, elem ).length > 0;
  1818. };
  1819. }),
  1820. "contains": markFunction(function( text ) {
  1821. text = text.replace( runescape, funescape );
  1822. return function( elem ) {
  1823. return ( elem.textContent || elem.innerText || getText( elem ) ).indexOf( text ) > -1;
  1824. };
  1825. }),
  1826. // "Whether an element is represented by a :lang() selector
  1827. // is based solely on the element's language value
  1828. // being equal to the identifier C,
  1829. // or beginning with the identifier C immediately followed by "-".
  1830. // The matching of C against the element's language value is performed case-insensitively.
  1831. // The identifier C does not have to be a valid language name."
  1832. // http://www.w3.org/TR/selectors/#lang-pseudo
  1833. "lang": markFunction( function( lang ) {
  1834. // lang value must be a valid identifier
  1835. if ( !ridentifier.test(lang || "") ) {
  1836. Sizzle.error( "unsupported lang: " + lang );
  1837. }
  1838. lang = lang.replace( runescape, funescape ).toLowerCase();
  1839. return function( elem ) {
  1840. var elemLang;
  1841. do {
  1842. if ( (elemLang = documentIsHTML ?
  1843. elem.lang :
  1844. elem.getAttribute("xml:lang") || elem.getAttribute("lang")) ) {
  1845. elemLang = elemLang.toLowerCase();
  1846. return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0;
  1847. }
  1848. } while ( (elem = elem.parentNode) && elem.nodeType === 1 );
  1849. return false;
  1850. };
  1851. }),
  1852. // Miscellaneous
  1853. "target": function( elem ) {
  1854. var hash = window.location && window.location.hash;
  1855. return hash && hash.slice( 1 ) === elem.id;
  1856. },
  1857. "root": function( elem ) {
  1858. return elem === docElem;
  1859. },
  1860. "focus": function( elem ) {
  1861. return elem === document.activeElement && (!document.hasFocus || document.hasFocus()) && !!(elem.type || elem.href || ~elem.tabIndex);
  1862. },
  1863. // Boolean properties
  1864. "enabled": function( elem ) {
  1865. return elem.disabled === false;
  1866. },
  1867. "disabled": function( elem ) {
  1868. return elem.disabled === true;
  1869. },
  1870. "checked": function( elem ) {
  1871. // In CSS3, :checked should return both checked and selected elements
  1872. // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked
  1873. var nodeName = elem.nodeName.toLowerCase();
  1874. return (nodeName === "input" && !!elem.checked) || (nodeName === "option" && !!elem.selected);
  1875. },
  1876. "selected": function( elem ) {
  1877. // Accessing this property makes selected-by-default
  1878. // options in Safari work properly
  1879. if ( elem.parentNode ) {
  1880. elem.parentNode.selectedIndex;
  1881. }
  1882. return elem.selected === true;
  1883. },
  1884. // Contents
  1885. "empty": function( elem ) {
  1886. // http://www.w3.org/TR/selectors/#empty-pseudo
  1887. // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5),
  1888. // but not by others (comment: 8; processing instruction: 7; etc.)
  1889. // nodeType < 6 works because attributes (2) do not appear as children
  1890. for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) {
  1891. if ( elem.nodeType < 6 ) {
  1892. return false;
  1893. }
  1894. }
  1895. return true;
  1896. },
  1897. "parent": function( elem ) {
  1898. return !Expr.pseudos["empty"]( elem );
  1899. },
  1900. // Element/input types
  1901. "header": function( elem ) {
  1902. return rheader.test( elem.nodeName );
  1903. },
  1904. "input": function( elem ) {
  1905. return rinputs.test( elem.nodeName );
  1906. },
  1907. "button": function( elem ) {
  1908. var name = elem.nodeName.toLowerCase();
  1909. return name === "input" && elem.type === "button" || name === "button";
  1910. },
  1911. "text": function( elem ) {
  1912. var attr;
  1913. return elem.nodeName.toLowerCase() === "input" &&
  1914. elem.type === "text" &&
  1915. // Support: IE<8
  1916. // New HTML5 attribute values (e.g., "search") appear with elem.type === "text"
  1917. ( (attr = elem.getAttribute("type")) == null || attr.toLowerCase() === "text" );
  1918. },
  1919. // Position-in-collection
  1920. "first": createPositionalPseudo(function() {
  1921. return [ 0 ];
  1922. }),
  1923. "last": createPositionalPseudo(function( matchIndexes, length ) {
  1924. return [ length - 1 ];
  1925. }),
  1926. "eq": createPositionalPseudo(function( matchIndexes, length, argument ) {
  1927. return [ argument < 0 ? argument + length : argument ];
  1928. }),
  1929. "even": createPositionalPseudo(function( matchIndexes, length ) {
  1930. var i = 0;
  1931. for ( ; i < length; i += 2 ) {
  1932. matchIndexes.push( i );
  1933. }
  1934. return matchIndexes;
  1935. }),
  1936. "odd": createPositionalPseudo(function( matchIndexes, length ) {
  1937. var i = 1;
  1938. for ( ; i < length; i += 2 ) {
  1939. matchIndexes.push( i );
  1940. }
  1941. return matchIndexes;
  1942. }),
  1943. "lt": createPositionalPseudo(function( matchIndexes, length, argument ) {
  1944. var i = argument < 0 ? argument + length : argument;
  1945. for ( ; --i >= 0; ) {
  1946. matchIndexes.push( i );
  1947. }
  1948. return matchIndexes;
  1949. }),
  1950. "gt": createPositionalPseudo(function( matchIndexes, length, argument ) {
  1951. var i = argument < 0 ? argument + length : argument;
  1952. for ( ; ++i < length; ) {
  1953. matchIndexes.push( i );
  1954. }
  1955. return matchIndexes;
  1956. })
  1957. }
  1958. };
  1959. Expr.pseudos["nth"] = Expr.pseudos["eq"];
  1960. // Add button/input type pseudos
  1961. for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) {
  1962. Expr.pseudos[ i ] = createInputPseudo( i );
  1963. }
  1964. for ( i in { submit: true, reset: true } ) {
  1965. Expr.pseudos[ i ] = createButtonPseudo( i );
  1966. }
  1967. // Easy API for creating new setFilters
  1968. function setFilters() {}
  1969. setFilters.prototype = Expr.filters = Expr.pseudos;
  1970. Expr.setFilters = new setFilters();
  1971. tokenize = Sizzle.tokenize = function( selector, parseOnly ) {
  1972. var matched, match, tokens, type,
  1973. soFar, groups, preFilters,
  1974. cached = tokenCache[ selector + " " ];
  1975. if ( cached ) {
  1976. return parseOnly ? 0 : cached.slice( 0 );
  1977. }
  1978. soFar = selector;
  1979. groups = [];
  1980. preFilters = Expr.preFilter;
  1981. while ( soFar ) {
  1982. // Comma and first run
  1983. if ( !matched || (match = rcomma.exec( soFar )) ) {
  1984. if ( match ) {
  1985. // Don't consume trailing commas as valid
  1986. soFar = soFar.slice( match[0].length ) || soFar;
  1987. }
  1988. groups.push( (tokens = []) );
  1989. }
  1990. matched = false;
  1991. // Combinators
  1992. if ( (match = rcombinators.exec( soFar )) ) {
  1993. matched = match.shift();
  1994. tokens.push({
  1995. value: matched,
  1996. // Cast descendant combinators to space
  1997. type: match[0].replace( rtrim, " " )
  1998. });
  1999. soFar = soFar.slice( matched.length );
  2000. }
  2001. // Filters
  2002. for ( type in Expr.filter ) {
  2003. if ( (match = matchExpr[ type ].exec( soFar )) && (!preFilters[ type ] ||
  2004. (match = preFilters[ type ]( match ))) ) {
  2005. matched = match.shift();
  2006. tokens.push({
  2007. value: matched,
  2008. type: type,
  2009. matches: match
  2010. });
  2011. soFar = soFar.slice( matched.length );
  2012. }
  2013. }
  2014. if ( !matched ) {
  2015. break;
  2016. }
  2017. }
  2018. // Return the length of the invalid excess
  2019. // if we're just parsing
  2020. // Otherwise, throw an error or return tokens
  2021. return parseOnly ?
  2022. soFar.length :
  2023. soFar ?
  2024. Sizzle.error( selector ) :
  2025. // Cache the tokens
  2026. tokenCache( selector, groups ).slice( 0 );
  2027. };
  2028. function toSelector( tokens ) {
  2029. var i = 0,
  2030. len = tokens.length,
  2031. selector = "";
  2032. for ( ; i < len; i++ ) {
  2033. selector += tokens[i].value;
  2034. }
  2035. return selector;
  2036. }
  2037. function addCombinator( matcher, combinator, base ) {
  2038. var dir = combinator.dir,
  2039. checkNonElements = base && dir === "parentNode",
  2040. doneName = done++;
  2041. return combinator.first ?
  2042. // Check against closest ancestor/preceding element
  2043. function( elem, context, xml ) {
  2044. while ( (elem = elem[ dir ]) ) {
  2045. if ( elem.nodeType === 1 || checkNonElements ) {
  2046. return matcher( elem, context, xml );
  2047. }
  2048. }
  2049. } :
  2050. // Check against all ancestor/preceding elements
  2051. function( elem, context, xml ) {
  2052. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  2053. var oldCache, uniqueCache, outerCache,
  2054. =======
  2055. var oldCache, outerCache,
  2056. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  2057. newCache = [ dirruns, doneName ];
  2058. // We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching
  2059. if ( xml ) {
  2060. while ( (elem = elem[ dir ]) ) {
  2061. if ( elem.nodeType === 1 || checkNonElements ) {
  2062. if ( matcher( elem, context, xml ) ) {
  2063. return true;
  2064. }
  2065. }
  2066. }
  2067. } else {
  2068. while ( (elem = elem[ dir ]) ) {
  2069. if ( elem.nodeType === 1 || checkNonElements ) {
  2070. outerCache = elem[ expando ] || (elem[ expando ] = {});
  2071. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  2072. // Support: IE <9 only
  2073. // Defend against cloned attroperties (jQuery gh-1709)
  2074. uniqueCache = outerCache[ elem.uniqueID ] || (outerCache[ elem.uniqueID ] = {});
  2075. if ( (oldCache = uniqueCache[ dir ]) &&
  2076. =======
  2077. if ( (oldCache = outerCache[ dir ]) &&
  2078. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  2079. oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) {
  2080. // Assign to newCache so results back-propagate to previous elements
  2081. return (newCache[ 2 ] = oldCache[ 2 ]);
  2082. } else {
  2083. // Reuse newcache so results back-propagate to previous elements
  2084. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  2085. uniqueCache[ dir ] = newCache;
  2086. =======
  2087. outerCache[ dir ] = newCache;
  2088. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  2089. // A match means we're done; a fail means we have to keep checking
  2090. if ( (newCache[ 2 ] = matcher( elem, context, xml )) ) {
  2091. return true;
  2092. }
  2093. }
  2094. }
  2095. }
  2096. }
  2097. };
  2098. }
  2099. function elementMatcher( matchers ) {
  2100. return matchers.length > 1 ?
  2101. function( elem, context, xml ) {
  2102. var i = matchers.length;
  2103. while ( i-- ) {
  2104. if ( !matchers[i]( elem, context, xml ) ) {
  2105. return false;
  2106. }
  2107. }
  2108. return true;
  2109. } :
  2110. matchers[0];
  2111. }
  2112. function multipleContexts( selector, contexts, results ) {
  2113. var i = 0,
  2114. len = contexts.length;
  2115. for ( ; i < len; i++ ) {
  2116. Sizzle( selector, contexts[i], results );
  2117. }
  2118. return results;
  2119. }
  2120. function condense( unmatched, map, filter, context, xml ) {
  2121. var elem,
  2122. newUnmatched = [],
  2123. i = 0,
  2124. len = unmatched.length,
  2125. mapped = map != null;
  2126. for ( ; i < len; i++ ) {
  2127. if ( (elem = unmatched[i]) ) {
  2128. if ( !filter || filter( elem, context, xml ) ) {
  2129. newUnmatched.push( elem );
  2130. if ( mapped ) {
  2131. map.push( i );
  2132. }
  2133. }
  2134. }
  2135. }
  2136. return newUnmatched;
  2137. }
  2138. function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) {
  2139. if ( postFilter && !postFilter[ expando ] ) {
  2140. postFilter = setMatcher( postFilter );
  2141. }
  2142. if ( postFinder && !postFinder[ expando ] ) {
  2143. postFinder = setMatcher( postFinder, postSelector );
  2144. }
  2145. return markFunction(function( seed, results, context, xml ) {
  2146. var temp, i, elem,
  2147. preMap = [],
  2148. postMap = [],
  2149. preexisting = results.length,
  2150. // Get initial elements from seed or context
  2151. elems = seed || multipleContexts( selector || "*", context.nodeType ? [ context ] : context, [] ),
  2152. // Prefilter to get matcher input, preserving a map for seed-results synchronization
  2153. matcherIn = preFilter && ( seed || !selector ) ?
  2154. condense( elems, preMap, preFilter, context, xml ) :
  2155. elems,
  2156. matcherOut = matcher ?
  2157. // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results,
  2158. postFinder || ( seed ? preFilter : preexisting || postFilter ) ?
  2159. // ...intermediate processing is necessary
  2160. [] :
  2161. // ...otherwise use results directly
  2162. results :
  2163. matcherIn;
  2164. // Find primary matches
  2165. if ( matcher ) {
  2166. matcher( matcherIn, matcherOut, context, xml );
  2167. }
  2168. // Apply postFilter
  2169. if ( postFilter ) {
  2170. temp = condense( matcherOut, postMap );
  2171. postFilter( temp, [], context, xml );
  2172. // Un-match failing elements by moving them back to matcherIn
  2173. i = temp.length;
  2174. while ( i-- ) {
  2175. if ( (elem = temp[i]) ) {
  2176. matcherOut[ postMap[i] ] = !(matcherIn[ postMap[i] ] = elem);
  2177. }
  2178. }
  2179. }
  2180. if ( seed ) {
  2181. if ( postFinder || preFilter ) {
  2182. if ( postFinder ) {
  2183. // Get the final matcherOut by condensing this intermediate into postFinder contexts
  2184. temp = [];
  2185. i = matcherOut.length;
  2186. while ( i-- ) {
  2187. if ( (elem = matcherOut[i]) ) {
  2188. // Restore matcherIn since elem is not yet a final match
  2189. temp.push( (matcherIn[i] = elem) );
  2190. }
  2191. }
  2192. postFinder( null, (matcherOut = []), temp, xml );
  2193. }
  2194. // Move matched elements from seed to results to keep them synchronized
  2195. i = matcherOut.length;
  2196. while ( i-- ) {
  2197. if ( (elem = matcherOut[i]) &&
  2198. (temp = postFinder ? indexOf( seed, elem ) : preMap[i]) > -1 ) {
  2199. seed[temp] = !(results[temp] = elem);
  2200. }
  2201. }
  2202. }
  2203. // Add elements to results, through postFinder if defined
  2204. } else {
  2205. matcherOut = condense(
  2206. matcherOut === results ?
  2207. matcherOut.splice( preexisting, matcherOut.length ) :
  2208. matcherOut
  2209. );
  2210. if ( postFinder ) {
  2211. postFinder( null, results, matcherOut, xml );
  2212. } else {
  2213. push.apply( results, matcherOut );
  2214. }
  2215. }
  2216. });
  2217. }
  2218. function matcherFromTokens( tokens ) {
  2219. var checkContext, matcher, j,
  2220. len = tokens.length,
  2221. leadingRelative = Expr.relative[ tokens[0].type ],
  2222. implicitRelative = leadingRelative || Expr.relative[" "],
  2223. i = leadingRelative ? 1 : 0,
  2224. // The foundational matcher ensures that elements are reachable from top-level context(s)
  2225. matchContext = addCombinator( function( elem ) {
  2226. return elem === checkContext;
  2227. }, implicitRelative, true ),
  2228. matchAnyContext = addCombinator( function( elem ) {
  2229. return indexOf( checkContext, elem ) > -1;
  2230. }, implicitRelative, true ),
  2231. matchers = [ function( elem, context, xml ) {
  2232. var ret = ( !leadingRelative && ( xml || context !== outermostContext ) ) || (
  2233. (checkContext = context).nodeType ?
  2234. matchContext( elem, context, xml ) :
  2235. matchAnyContext( elem, context, xml ) );
  2236. // Avoid hanging onto element (issue #299)
  2237. checkContext = null;
  2238. return ret;
  2239. } ];
  2240. for ( ; i < len; i++ ) {
  2241. if ( (matcher = Expr.relative[ tokens[i].type ]) ) {
  2242. matchers = [ addCombinator(elementMatcher( matchers ), matcher) ];
  2243. } else {
  2244. matcher = Expr.filter[ tokens[i].type ].apply( null, tokens[i].matches );
  2245. // Return special upon seeing a positional matcher
  2246. if ( matcher[ expando ] ) {
  2247. // Find the next relative operator (if any) for proper handling
  2248. j = ++i;
  2249. for ( ; j < len; j++ ) {
  2250. if ( Expr.relative[ tokens[j].type ] ) {
  2251. break;
  2252. }
  2253. }
  2254. return setMatcher(
  2255. i > 1 && elementMatcher( matchers ),
  2256. i > 1 && toSelector(
  2257. // If the preceding token was a descendant combinator, insert an implicit any-element `*`
  2258. tokens.slice( 0, i - 1 ).concat({ value: tokens[ i - 2 ].type === " " ? "*" : "" })
  2259. ).replace( rtrim, "$1" ),
  2260. matcher,
  2261. i < j && matcherFromTokens( tokens.slice( i, j ) ),
  2262. j < len && matcherFromTokens( (tokens = tokens.slice( j )) ),
  2263. j < len && toSelector( tokens )
  2264. );
  2265. }
  2266. matchers.push( matcher );
  2267. }
  2268. }
  2269. return elementMatcher( matchers );
  2270. }
  2271. function matcherFromGroupMatchers( elementMatchers, setMatchers ) {
  2272. var bySet = setMatchers.length > 0,
  2273. byElement = elementMatchers.length > 0,
  2274. superMatcher = function( seed, context, xml, results, outermost ) {
  2275. var elem, j, matcher,
  2276. matchedCount = 0,
  2277. i = "0",
  2278. unmatched = seed && [],
  2279. setMatched = [],
  2280. contextBackup = outermostContext,
  2281. // We must always have either seed elements or outermost context
  2282. elems = seed || byElement && Expr.find["TAG"]( "*", outermost ),
  2283. // Use integer dirruns iff this is the outermost matcher
  2284. dirrunsUnique = (dirruns += contextBackup == null ? 1 : Math.random() || 0.1),
  2285. len = elems.length;
  2286. if ( outermost ) {
  2287. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  2288. outermostContext = context === document || context || outermost;
  2289. }
  2290. // Add elements passing elementMatchers directly to results
  2291. =======
  2292. outermostContext = context !== document && context;
  2293. }
  2294. // Add elements passing elementMatchers directly to results
  2295. // Keep `i` a string if there are no elements so `matchedCount` will be "00" below
  2296. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  2297. // Support: IE<9, Safari
  2298. // Tolerate NodeList properties (IE: "length"; Safari: <number>) matching elements by id
  2299. for ( ; i !== len && (elem = elems[i]) != null; i++ ) {
  2300. if ( byElement && elem ) {
  2301. j = 0;
  2302. if ( !context && elem.ownerDocument !== document ) {
  2303. setDocument( elem );
  2304. xml = !documentIsHTML;
  2305. }
  2306. while ( (matcher = elementMatchers[j++]) ) {
  2307. if ( matcher( elem, context || document, xml) ) {
  2308. results.push( elem );
  2309. break;
  2310. }
  2311. }
  2312. if ( outermost ) {
  2313. dirruns = dirrunsUnique;
  2314. }
  2315. }
  2316. // Track unmatched elements for set filters
  2317. if ( bySet ) {
  2318. // They will have gone through all possible matchers
  2319. if ( (elem = !matcher && elem) ) {
  2320. matchedCount--;
  2321. }
  2322. // Lengthen the array for every element, matched or not
  2323. if ( seed ) {
  2324. unmatched.push( elem );
  2325. }
  2326. }
  2327. }
  2328. // `i` is now the count of elements visited above, and adding it to `matchedCount`
  2329. // makes the latter nonnegative.
  2330. matchedCount += i;
  2331. // Apply set filters to unmatched elements
  2332. // NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount`
  2333. // equals `i`), unless we didn't visit _any_ elements in the above loop because we have
  2334. // no element matchers and no seed.
  2335. // Incrementing an initially-string "0" `i` allows `i` to remain a string only in that
  2336. // case, which will result in a "00" `matchedCount` that differs from `i` but is also
  2337. // numerically zero.
  2338. if ( bySet && i !== matchedCount ) {
  2339. j = 0;
  2340. while ( (matcher = setMatchers[j++]) ) {
  2341. matcher( unmatched, setMatched, context, xml );
  2342. }
  2343. if ( seed ) {
  2344. // Reintegrate element matches to eliminate the need for sorting
  2345. if ( matchedCount > 0 ) {
  2346. while ( i-- ) {
  2347. if ( !(unmatched[i] || setMatched[i]) ) {
  2348. setMatched[i] = pop.call( results );
  2349. }
  2350. }
  2351. }
  2352. // Discard index placeholder values to get only actual matches
  2353. setMatched = condense( setMatched );
  2354. }
  2355. // Add matches to results
  2356. push.apply( results, setMatched );
  2357. // Seedless set matches succeeding multiple successful matchers stipulate sorting
  2358. if ( outermost && !seed && setMatched.length > 0 &&
  2359. ( matchedCount + setMatchers.length ) > 1 ) {
  2360. Sizzle.uniqueSort( results );
  2361. }
  2362. }
  2363. // Override manipulation of globals by nested matchers
  2364. if ( outermost ) {
  2365. dirruns = dirrunsUnique;
  2366. outermostContext = contextBackup;
  2367. }
  2368. return unmatched;
  2369. };
  2370. return bySet ?
  2371. markFunction( superMatcher ) :
  2372. superMatcher;
  2373. }
  2374. compile = Sizzle.compile = function( selector, match /* Internal Use Only */ ) {
  2375. var i,
  2376. setMatchers = [],
  2377. elementMatchers = [],
  2378. cached = compilerCache[ selector + " " ];
  2379. if ( !cached ) {
  2380. // Generate a function of recursive functions that can be used to check each element
  2381. if ( !match ) {
  2382. match = tokenize( selector );
  2383. }
  2384. i = match.length;
  2385. while ( i-- ) {
  2386. cached = matcherFromTokens( match[i] );
  2387. if ( cached[ expando ] ) {
  2388. setMatchers.push( cached );
  2389. } else {
  2390. elementMatchers.push( cached );
  2391. }
  2392. }
  2393. // Cache the compiled function
  2394. cached = compilerCache( selector, matcherFromGroupMatchers( elementMatchers, setMatchers ) );
  2395. // Save selector and tokenization
  2396. cached.selector = selector;
  2397. }
  2398. return cached;
  2399. };
  2400. /**
  2401. * A low-level selection function that works with Sizzle's compiled
  2402. * selector functions
  2403. * @param {String|Function} selector A selector or a pre-compiled
  2404. * selector function built with Sizzle.compile
  2405. * @param {Element} context
  2406. * @param {Array} [results]
  2407. * @param {Array} [seed] A set of elements to match against
  2408. */
  2409. select = Sizzle.select = function( selector, context, results, seed ) {
  2410. var i, tokens, token, type, find,
  2411. compiled = typeof selector === "function" && selector,
  2412. match = !seed && tokenize( (selector = compiled.selector || selector) );
  2413. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  2414. results = results || [];
  2415. // Try to minimize operations if there is only one selector in the list and no seed
  2416. // (the latter of which guarantees us context)
  2417. if ( match.length === 1 ) {
  2418. // Reduce context if the leading compound selector is an ID
  2419. tokens = match[0] = match[0].slice( 0 );
  2420. if ( tokens.length > 2 && (token = tokens[0]).type === "ID" &&
  2421. support.getById && context.nodeType === 9 && documentIsHTML &&
  2422. Expr.relative[ tokens[1].type ] ) {
  2423. =======
  2424. results = results || [];
  2425. // Try to minimize operations if there is no seed and only one group
  2426. if ( match.length === 1 ) {
  2427. // Take a shortcut and set the context if the root selector is an ID
  2428. tokens = match[0] = match[0].slice( 0 );
  2429. if ( tokens.length > 2 && (token = tokens[0]).type === "ID" &&
  2430. support.getById && context.nodeType === 9 && documentIsHTML &&
  2431. Expr.relative[ tokens[1].type ] ) {
  2432. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  2433. context = ( Expr.find["ID"]( token.matches[0].replace(runescape, funescape), context ) || [] )[0];
  2434. if ( !context ) {
  2435. return results;
  2436. // Precompiled matchers will still verify ancestry, so step up a level
  2437. } else if ( compiled ) {
  2438. context = context.parentNode;
  2439. }
  2440. selector = selector.slice( tokens.shift().value.length );
  2441. }
  2442. // Fetch a seed set for right-to-left matching
  2443. i = matchExpr["needsContext"].test( selector ) ? 0 : tokens.length;
  2444. while ( i-- ) {
  2445. token = tokens[i];
  2446. // Abort if we hit a combinator
  2447. if ( Expr.relative[ (type = token.type) ] ) {
  2448. break;
  2449. }
  2450. if ( (find = Expr.find[ type ]) ) {
  2451. // Search, expanding context for leading sibling combinators
  2452. if ( (seed = find(
  2453. token.matches[0].replace( runescape, funescape ),
  2454. rsibling.test( tokens[0].type ) && testContext( context.parentNode ) || context
  2455. )) ) {
  2456. // If seed is empty or no tokens remain, we can return early
  2457. tokens.splice( i, 1 );
  2458. selector = seed.length && toSelector( tokens );
  2459. if ( !selector ) {
  2460. push.apply( results, seed );
  2461. return results;
  2462. }
  2463. break;
  2464. }
  2465. }
  2466. }
  2467. }
  2468. // Compile and execute a filtering function if one is not provided
  2469. // Provide `match` to avoid retokenization if we modified the selector above
  2470. ( compiled || compile( selector, match ) )(
  2471. seed,
  2472. context,
  2473. !documentIsHTML,
  2474. results,
  2475. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  2476. !context || rsibling.test( selector ) && testContext( context.parentNode ) || context
  2477. =======
  2478. rsibling.test( selector ) && testContext( context.parentNode ) || context
  2479. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  2480. );
  2481. return results;
  2482. };
  2483. // One-time assignments
  2484. // Sort stability
  2485. support.sortStable = expando.split("").sort( sortOrder ).join("") === expando;
  2486. // Support: Chrome 14-35+
  2487. // Always assume duplicates if they aren't passed to the comparison function
  2488. support.detectDuplicates = !!hasDuplicate;
  2489. // Initialize against the default document
  2490. setDocument();
  2491. // Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27)
  2492. // Detached nodes confoundingly follow *each other*
  2493. support.sortDetached = assert(function( div1 ) {
  2494. // Should return 1, but returns 4 (following)
  2495. return div1.compareDocumentPosition( document.createElement("div") ) & 1;
  2496. });
  2497. // Support: IE<8
  2498. // Prevent attribute/property "interpolation"
  2499. // http://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx
  2500. if ( !assert(function( div ) {
  2501. div.innerHTML = "<a href='#'></a>";
  2502. return div.firstChild.getAttribute("href") === "#" ;
  2503. }) ) {
  2504. addHandle( "type|href|height|width", function( elem, name, isXML ) {
  2505. if ( !isXML ) {
  2506. return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 );
  2507. }
  2508. });
  2509. }
  2510. // Support: IE<9
  2511. // Use defaultValue in place of getAttribute("value")
  2512. if ( !support.attributes || !assert(function( div ) {
  2513. div.innerHTML = "<input/>";
  2514. div.firstChild.setAttribute( "value", "" );
  2515. return div.firstChild.getAttribute( "value" ) === "";
  2516. }) ) {
  2517. addHandle( "value", function( elem, name, isXML ) {
  2518. if ( !isXML && elem.nodeName.toLowerCase() === "input" ) {
  2519. return elem.defaultValue;
  2520. }
  2521. });
  2522. }
  2523. // Support: IE<9
  2524. // Use getAttributeNode to fetch booleans when getAttribute lies
  2525. if ( !assert(function( div ) {
  2526. return div.getAttribute("disabled") == null;
  2527. }) ) {
  2528. addHandle( booleans, function( elem, name, isXML ) {
  2529. var val;
  2530. if ( !isXML ) {
  2531. return elem[ name ] === true ? name.toLowerCase() :
  2532. (val = elem.getAttributeNode( name )) && val.specified ?
  2533. val.value :
  2534. null;
  2535. }
  2536. });
  2537. }
  2538. return Sizzle;
  2539. })( window );
  2540. jQuery.find = Sizzle;
  2541. jQuery.expr = Sizzle.selectors;
  2542. jQuery.expr[ ":" ] = jQuery.expr.pseudos;
  2543. jQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort;
  2544. jQuery.text = Sizzle.getText;
  2545. jQuery.isXMLDoc = Sizzle.isXML;
  2546. jQuery.contains = Sizzle.contains;
  2547. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  2548. =======
  2549. var rneedsContext = jQuery.expr.match.needsContext;
  2550. var rsingleTag = (/^<(\w+)\s*\/?>(?:<\/\1>|)$/);
  2551. var risSimple = /^.[^:#\[\.,]*$/;
  2552. // Implement the identical functionality for filter and not
  2553. function winnow( elements, qualifier, not ) {
  2554. if ( jQuery.isFunction( qualifier ) ) {
  2555. return jQuery.grep( elements, function( elem, i ) {
  2556. /* jshint -W018 */
  2557. return !!qualifier.call( elem, i, elem ) !== not;
  2558. });
  2559. }
  2560. if ( qualifier.nodeType ) {
  2561. return jQuery.grep( elements, function( elem ) {
  2562. return ( elem === qualifier ) !== not;
  2563. });
  2564. }
  2565. if ( typeof qualifier === "string" ) {
  2566. if ( risSimple.test( qualifier ) ) {
  2567. return jQuery.filter( qualifier, elements, not );
  2568. }
  2569. qualifier = jQuery.filter( qualifier, elements );
  2570. }
  2571. return jQuery.grep( elements, function( elem ) {
  2572. return ( jQuery.inArray( elem, qualifier ) >= 0 ) !== not;
  2573. });
  2574. }
  2575. jQuery.filter = function( expr, elems, not ) {
  2576. var elem = elems[ 0 ];
  2577. if ( not ) {
  2578. expr = ":not(" + expr + ")";
  2579. }
  2580. return elems.length === 1 && elem.nodeType === 1 ?
  2581. jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : [] :
  2582. jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) {
  2583. return elem.nodeType === 1;
  2584. }));
  2585. };
  2586. jQuery.fn.extend({
  2587. find: function( selector ) {
  2588. var i,
  2589. ret = [],
  2590. self = this,
  2591. len = self.length;
  2592. if ( typeof selector !== "string" ) {
  2593. return this.pushStack( jQuery( selector ).filter(function() {
  2594. for ( i = 0; i < len; i++ ) {
  2595. if ( jQuery.contains( self[ i ], this ) ) {
  2596. return true;
  2597. }
  2598. }
  2599. }) );
  2600. }
  2601. for ( i = 0; i < len; i++ ) {
  2602. jQuery.find( selector, self[ i ], ret );
  2603. }
  2604. // Needed because $( selector, context ) becomes $( context ).find( selector )
  2605. ret = this.pushStack( len > 1 ? jQuery.unique( ret ) : ret );
  2606. ret.selector = this.selector ? this.selector + " " + selector : selector;
  2607. return ret;
  2608. },
  2609. filter: function( selector ) {
  2610. return this.pushStack( winnow(this, selector || [], false) );
  2611. },
  2612. not: function( selector ) {
  2613. return this.pushStack( winnow(this, selector || [], true) );
  2614. },
  2615. is: function( selector ) {
  2616. return !!winnow(
  2617. this,
  2618. // If this is a positional/relative selector, check membership in the returned set
  2619. // so $("p:first").is("p:last") won't return true for a doc with two "p".
  2620. typeof selector === "string" && rneedsContext.test( selector ) ?
  2621. jQuery( selector ) :
  2622. selector || [],
  2623. false
  2624. ).length;
  2625. }
  2626. });
  2627. // Initialize a jQuery object
  2628. // A central reference to the root jQuery(document)
  2629. var rootjQuery,
  2630. // Use the correct document accordingly with window argument (sandbox)
  2631. document = window.document,
  2632. // A simple way to check for HTML strings
  2633. // Prioritize #id over <tag> to avoid XSS via location.hash (#9521)
  2634. // Strict HTML recognition (#11290: must start with <)
  2635. rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,
  2636. init = jQuery.fn.init = function( selector, context ) {
  2637. var match, elem;
  2638. // HANDLE: $(""), $(null), $(undefined), $(false)
  2639. if ( !selector ) {
  2640. return this;
  2641. }
  2642. // Handle HTML strings
  2643. if ( typeof selector === "string" ) {
  2644. if ( selector.charAt(0) === "<" && selector.charAt( selector.length - 1 ) === ">" && selector.length >= 3 ) {
  2645. // Assume that strings that start and end with <> are HTML and skip the regex check
  2646. match = [ null, selector, null ];
  2647. } else {
  2648. match = rquickExpr.exec( selector );
  2649. }
  2650. // Match html or make sure no context is specified for #id
  2651. if ( match && (match[1] || !context) ) {
  2652. // HANDLE: $(html) -> $(array)
  2653. if ( match[1] ) {
  2654. context = context instanceof jQuery ? context[0] : context;
  2655. // scripts is true for back-compat
  2656. // Intentionally let the error be thrown if parseHTML is not present
  2657. jQuery.merge( this, jQuery.parseHTML(
  2658. match[1],
  2659. context && context.nodeType ? context.ownerDocument || context : document,
  2660. true
  2661. ) );
  2662. // HANDLE: $(html, props)
  2663. if ( rsingleTag.test( match[1] ) && jQuery.isPlainObject( context ) ) {
  2664. for ( match in context ) {
  2665. // Properties of context are called as methods if possible
  2666. if ( jQuery.isFunction( this[ match ] ) ) {
  2667. this[ match ]( context[ match ] );
  2668. // ...and otherwise set as attributes
  2669. } else {
  2670. this.attr( match, context[ match ] );
  2671. }
  2672. }
  2673. }
  2674. return this;
  2675. // HANDLE: $(#id)
  2676. } else {
  2677. elem = document.getElementById( match[2] );
  2678. // Check parentNode to catch when Blackberry 4.6 returns
  2679. // nodes that are no longer in the document #6963
  2680. if ( elem && elem.parentNode ) {
  2681. // Handle the case where IE and Opera return items
  2682. // by name instead of ID
  2683. if ( elem.id !== match[2] ) {
  2684. return rootjQuery.find( selector );
  2685. }
  2686. // Otherwise, we inject the element directly into the jQuery object
  2687. this.length = 1;
  2688. this[0] = elem;
  2689. }
  2690. this.context = document;
  2691. this.selector = selector;
  2692. return this;
  2693. }
  2694. // HANDLE: $(expr, $(...))
  2695. } else if ( !context || context.jquery ) {
  2696. return ( context || rootjQuery ).find( selector );
  2697. // HANDLE: $(expr, context)
  2698. // (which is just equivalent to: $(context).find(expr)
  2699. } else {
  2700. return this.constructor( context ).find( selector );
  2701. }
  2702. // HANDLE: $(DOMElement)
  2703. } else if ( selector.nodeType ) {
  2704. this.context = this[0] = selector;
  2705. this.length = 1;
  2706. return this;
  2707. // HANDLE: $(function)
  2708. // Shortcut for document ready
  2709. } else if ( jQuery.isFunction( selector ) ) {
  2710. return typeof rootjQuery.ready !== "undefined" ?
  2711. rootjQuery.ready( selector ) :
  2712. // Execute immediately if ready is not present
  2713. selector( jQuery );
  2714. }
  2715. if ( selector.selector !== undefined ) {
  2716. this.selector = selector.selector;
  2717. this.context = selector.context;
  2718. }
  2719. return jQuery.makeArray( selector, this );
  2720. };
  2721. // Give the init function the jQuery prototype for later instantiation
  2722. init.prototype = jQuery.fn;
  2723. // Initialize central reference
  2724. rootjQuery = jQuery( document );
  2725. var rparentsprev = /^(?:parents|prev(?:Until|All))/,
  2726. // methods guaranteed to produce a unique set when starting from a unique set
  2727. guaranteedUnique = {
  2728. children: true,
  2729. contents: true,
  2730. next: true,
  2731. prev: true
  2732. };
  2733. jQuery.extend({
  2734. dir: function( elem, dir, until ) {
  2735. var matched = [],
  2736. cur = elem[ dir ];
  2737. while ( cur && cur.nodeType !== 9 && (until === undefined || cur.nodeType !== 1 || !jQuery( cur ).is( until )) ) {
  2738. if ( cur.nodeType === 1 ) {
  2739. matched.push( cur );
  2740. }
  2741. cur = cur[dir];
  2742. }
  2743. return matched;
  2744. },
  2745. sibling: function( n, elem ) {
  2746. var r = [];
  2747. for ( ; n; n = n.nextSibling ) {
  2748. if ( n.nodeType === 1 && n !== elem ) {
  2749. r.push( n );
  2750. }
  2751. }
  2752. return r;
  2753. }
  2754. });
  2755. jQuery.fn.extend({
  2756. has: function( target ) {
  2757. var i,
  2758. targets = jQuery( target, this ),
  2759. len = targets.length;
  2760. return this.filter(function() {
  2761. for ( i = 0; i < len; i++ ) {
  2762. if ( jQuery.contains( this, targets[i] ) ) {
  2763. return true;
  2764. }
  2765. }
  2766. });
  2767. },
  2768. closest: function( selectors, context ) {
  2769. var cur,
  2770. i = 0,
  2771. l = this.length,
  2772. matched = [],
  2773. pos = rneedsContext.test( selectors ) || typeof selectors !== "string" ?
  2774. jQuery( selectors, context || this.context ) :
  2775. 0;
  2776. for ( ; i < l; i++ ) {
  2777. for ( cur = this[i]; cur && cur !== context; cur = cur.parentNode ) {
  2778. // Always skip document fragments
  2779. if ( cur.nodeType < 11 && (pos ?
  2780. pos.index(cur) > -1 :
  2781. // Don't pass non-elements to Sizzle
  2782. cur.nodeType === 1 &&
  2783. jQuery.find.matchesSelector(cur, selectors)) ) {
  2784. matched.push( cur );
  2785. break;
  2786. }
  2787. }
  2788. }
  2789. return this.pushStack( matched.length > 1 ? jQuery.unique( matched ) : matched );
  2790. },
  2791. // Determine the position of an element within
  2792. // the matched set of elements
  2793. index: function( elem ) {
  2794. // No argument, return index in parent
  2795. if ( !elem ) {
  2796. return ( this[0] && this[0].parentNode ) ? this.first().prevAll().length : -1;
  2797. }
  2798. // index in selector
  2799. if ( typeof elem === "string" ) {
  2800. return jQuery.inArray( this[0], jQuery( elem ) );
  2801. }
  2802. // Locate the position of the desired element
  2803. return jQuery.inArray(
  2804. // If it receives a jQuery object, the first element is used
  2805. elem.jquery ? elem[0] : elem, this );
  2806. },
  2807. add: function( selector, context ) {
  2808. return this.pushStack(
  2809. jQuery.unique(
  2810. jQuery.merge( this.get(), jQuery( selector, context ) )
  2811. )
  2812. );
  2813. },
  2814. addBack: function( selector ) {
  2815. return this.add( selector == null ?
  2816. this.prevObject : this.prevObject.filter(selector)
  2817. );
  2818. }
  2819. });
  2820. function sibling( cur, dir ) {
  2821. do {
  2822. cur = cur[ dir ];
  2823. } while ( cur && cur.nodeType !== 1 );
  2824. return cur;
  2825. }
  2826. jQuery.each({
  2827. parent: function( elem ) {
  2828. var parent = elem.parentNode;
  2829. return parent && parent.nodeType !== 11 ? parent : null;
  2830. },
  2831. parents: function( elem ) {
  2832. return jQuery.dir( elem, "parentNode" );
  2833. },
  2834. parentsUntil: function( elem, i, until ) {
  2835. return jQuery.dir( elem, "parentNode", until );
  2836. },
  2837. next: function( elem ) {
  2838. return sibling( elem, "nextSibling" );
  2839. },
  2840. prev: function( elem ) {
  2841. return sibling( elem, "previousSibling" );
  2842. },
  2843. nextAll: function( elem ) {
  2844. return jQuery.dir( elem, "nextSibling" );
  2845. },
  2846. prevAll: function( elem ) {
  2847. return jQuery.dir( elem, "previousSibling" );
  2848. },
  2849. nextUntil: function( elem, i, until ) {
  2850. return jQuery.dir( elem, "nextSibling", until );
  2851. },
  2852. prevUntil: function( elem, i, until ) {
  2853. return jQuery.dir( elem, "previousSibling", until );
  2854. },
  2855. siblings: function( elem ) {
  2856. return jQuery.sibling( ( elem.parentNode || {} ).firstChild, elem );
  2857. },
  2858. children: function( elem ) {
  2859. return jQuery.sibling( elem.firstChild );
  2860. },
  2861. contents: function( elem ) {
  2862. return jQuery.nodeName( elem, "iframe" ) ?
  2863. elem.contentDocument || elem.contentWindow.document :
  2864. jQuery.merge( [], elem.childNodes );
  2865. }
  2866. }, function( name, fn ) {
  2867. jQuery.fn[ name ] = function( until, selector ) {
  2868. var ret = jQuery.map( this, fn, until );
  2869. if ( name.slice( -5 ) !== "Until" ) {
  2870. selector = until;
  2871. }
  2872. if ( selector && typeof selector === "string" ) {
  2873. ret = jQuery.filter( selector, ret );
  2874. }
  2875. if ( this.length > 1 ) {
  2876. // Remove duplicates
  2877. if ( !guaranteedUnique[ name ] ) {
  2878. ret = jQuery.unique( ret );
  2879. }
  2880. // Reverse order for parents* and prev-derivatives
  2881. if ( rparentsprev.test( name ) ) {
  2882. ret = ret.reverse();
  2883. }
  2884. }
  2885. return this.pushStack( ret );
  2886. };
  2887. });
  2888. var rnotwhite = (/\S+/g);
  2889. // String to Object options format cache
  2890. var optionsCache = {};
  2891. // Convert String-formatted options into Object-formatted ones and store in cache
  2892. function createOptions( options ) {
  2893. var object = optionsCache[ options ] = {};
  2894. jQuery.each( options.match( rnotwhite ) || [], function( _, flag ) {
  2895. object[ flag ] = true;
  2896. });
  2897. return object;
  2898. }
  2899. /*
  2900. * Create a callback list using the following parameters:
  2901. *
  2902. * options: an optional list of space-separated options that will change how
  2903. * the callback list behaves or a more traditional option object
  2904. *
  2905. * By default a callback list will act like an event callback list and can be
  2906. * "fired" multiple times.
  2907. *
  2908. * Possible options:
  2909. *
  2910. * once: will ensure the callback list can only be fired once (like a Deferred)
  2911. *
  2912. * memory: will keep track of previous values and will call any callback added
  2913. * after the list has been fired right away with the latest "memorized"
  2914. * values (like a Deferred)
  2915. *
  2916. * unique: will ensure a callback can only be added once (no duplicate in the list)
  2917. *
  2918. * stopOnFalse: interrupt callings when a callback returns false
  2919. *
  2920. */
  2921. jQuery.Callbacks = function( options ) {
  2922. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  2923. var dir = function( elem, dir, until ) {
  2924. var matched = [],
  2925. truncate = until !== undefined;
  2926. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  2927. while ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) {
  2928. if ( elem.nodeType === 1 ) {
  2929. if ( truncate && jQuery( elem ).is( until ) ) {
  2930. break;
  2931. =======
  2932. var // Flag to know if list is currently firing
  2933. firing,
  2934. // Last fire value (for non-forgettable lists)
  2935. memory,
  2936. // Flag to know if list was already fired
  2937. fired,
  2938. // End of the loop when firing
  2939. firingLength,
  2940. // Index of currently firing callback (modified by remove if needed)
  2941. firingIndex,
  2942. // First callback to fire (used internally by add and fireWith)
  2943. firingStart,
  2944. // Actual callback list
  2945. list = [],
  2946. // Stack of fire calls for repeatable lists
  2947. stack = !options.once && [],
  2948. // Fire callbacks
  2949. fire = function( data ) {
  2950. memory = options.memory && data;
  2951. fired = true;
  2952. firingIndex = firingStart || 0;
  2953. firingStart = 0;
  2954. firingLength = list.length;
  2955. firing = true;
  2956. for ( ; list && firingIndex < firingLength; firingIndex++ ) {
  2957. if ( list[ firingIndex ].apply( data[ 0 ], data[ 1 ] ) === false && options.stopOnFalse ) {
  2958. memory = false; // To prevent further calls using add
  2959. break;
  2960. }
  2961. }
  2962. firing = false;
  2963. if ( list ) {
  2964. if ( stack ) {
  2965. if ( stack.length ) {
  2966. fire( stack.shift() );
  2967. }
  2968. } else if ( memory ) {
  2969. list = [];
  2970. } else {
  2971. self.disable();
  2972. }
  2973. }
  2974. },
  2975. // Actual Callbacks object
  2976. self = {
  2977. // Add a callback or a collection of callbacks to the list
  2978. add: function() {
  2979. if ( list ) {
  2980. // First, we save the current length
  2981. var start = list.length;
  2982. (function add( args ) {
  2983. jQuery.each( args, function( _, arg ) {
  2984. var type = jQuery.type( arg );
  2985. if ( type === "function" ) {
  2986. if ( !options.unique || !self.has( arg ) ) {
  2987. list.push( arg );
  2988. }
  2989. } else if ( arg && arg.length && type !== "string" ) {
  2990. // Inspect recursively
  2991. add( arg );
  2992. }
  2993. });
  2994. })( arguments );
  2995. // Do we need to add the callbacks to the
  2996. // current firing batch?
  2997. if ( firing ) {
  2998. firingLength = list.length;
  2999. // With memory, if we're not firing then
  3000. // we should call right away
  3001. } else if ( memory ) {
  3002. firingStart = start;
  3003. fire( memory );
  3004. }
  3005. }
  3006. return this;
  3007. },
  3008. // Remove a callback from the list
  3009. remove: function() {
  3010. if ( list ) {
  3011. jQuery.each( arguments, function( _, arg ) {
  3012. var index;
  3013. while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) {
  3014. list.splice( index, 1 );
  3015. // Handle firing indexes
  3016. if ( firing ) {
  3017. if ( index <= firingLength ) {
  3018. firingLength--;
  3019. }
  3020. if ( index <= firingIndex ) {
  3021. firingIndex--;
  3022. }
  3023. }
  3024. }
  3025. });
  3026. }
  3027. return this;
  3028. },
  3029. // Check if a given callback is in the list.
  3030. // If no argument is given, return whether or not list has callbacks attached.
  3031. has: function( fn ) {
  3032. return fn ? jQuery.inArray( fn, list ) > -1 : !!( list && list.length );
  3033. },
  3034. // Remove all callbacks from the list
  3035. empty: function() {
  3036. list = [];
  3037. firingLength = 0;
  3038. return this;
  3039. },
  3040. // Have the list do nothing anymore
  3041. disable: function() {
  3042. list = stack = memory = undefined;
  3043. return this;
  3044. },
  3045. // Is it disabled?
  3046. disabled: function() {
  3047. return !list;
  3048. },
  3049. // Lock the list in its current state
  3050. lock: function() {
  3051. stack = undefined;
  3052. if ( !memory ) {
  3053. self.disable();
  3054. }
  3055. return this;
  3056. },
  3057. // Is it locked?
  3058. locked: function() {
  3059. return !stack;
  3060. },
  3061. // Call all callbacks with the given context and arguments
  3062. fireWith: function( context, args ) {
  3063. if ( list && ( !fired || stack ) ) {
  3064. args = args || [];
  3065. args = [ context, args.slice ? args.slice() : args ];
  3066. if ( firing ) {
  3067. stack.push( args );
  3068. } else {
  3069. fire( args );
  3070. }
  3071. }
  3072. return this;
  3073. },
  3074. // Call all the callbacks with the given arguments
  3075. fire: function() {
  3076. self.fireWith( this, arguments );
  3077. return this;
  3078. },
  3079. // To know if the callbacks have already been called at least once
  3080. fired: function() {
  3081. return !!fired;
  3082. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  3083. }
  3084. matched.push( elem );
  3085. }
  3086. }
  3087. return matched;
  3088. };
  3089. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  3090. =======
  3091. jQuery.extend({
  3092. Deferred: function( func ) {
  3093. var tuples = [
  3094. // action, add listener, listener list, final state
  3095. [ "resolve", "done", jQuery.Callbacks("once memory"), "resolved" ],
  3096. [ "reject", "fail", jQuery.Callbacks("once memory"), "rejected" ],
  3097. [ "notify", "progress", jQuery.Callbacks("memory") ]
  3098. ],
  3099. state = "pending",
  3100. promise = {
  3101. state: function() {
  3102. return state;
  3103. },
  3104. always: function() {
  3105. deferred.done( arguments ).fail( arguments );
  3106. return this;
  3107. },
  3108. then: function( /* fnDone, fnFail, fnProgress */ ) {
  3109. var fns = arguments;
  3110. return jQuery.Deferred(function( newDefer ) {
  3111. jQuery.each( tuples, function( i, tuple ) {
  3112. var fn = jQuery.isFunction( fns[ i ] ) && fns[ i ];
  3113. // deferred[ done | fail | progress ] for forwarding actions to newDefer
  3114. deferred[ tuple[1] ](function() {
  3115. var returned = fn && fn.apply( this, arguments );
  3116. if ( returned && jQuery.isFunction( returned.promise ) ) {
  3117. returned.promise()
  3118. .done( newDefer.resolve )
  3119. .fail( newDefer.reject )
  3120. .progress( newDefer.notify );
  3121. } else {
  3122. newDefer[ tuple[ 0 ] + "With" ]( this === promise ? newDefer.promise() : this, fn ? [ returned ] : arguments );
  3123. }
  3124. });
  3125. });
  3126. fns = null;
  3127. }).promise();
  3128. },
  3129. // Get a promise for this deferred
  3130. // If obj is provided, the promise aspect is added to the object
  3131. promise: function( obj ) {
  3132. return obj != null ? jQuery.extend( obj, promise ) : promise;
  3133. }
  3134. },
  3135. deferred = {};
  3136. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  3137. var siblings = function( n, elem ) {
  3138. var matched = [];
  3139. for ( ; n; n = n.nextSibling ) {
  3140. if ( n.nodeType === 1 && n !== elem ) {
  3141. matched.push( n );
  3142. }
  3143. }
  3144. return matched;
  3145. };
  3146. var rneedsContext = jQuery.expr.match.needsContext;
  3147. var rsingleTag = ( /^<([\w-]+)\s*\/?>(?:<\/\1>|)$/ );
  3148. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  3149. var risSimple = /^.[^:#\[\.,]*$/;
  3150. =======
  3151. // Deferred helper
  3152. when: function( subordinate /* , ..., subordinateN */ ) {
  3153. var i = 0,
  3154. resolveValues = slice.call( arguments ),
  3155. length = resolveValues.length,
  3156. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  3157. // Implement the identical functionality for filter and not
  3158. function winnow( elements, qualifier, not ) {
  3159. if ( jQuery.isFunction( qualifier ) ) {
  3160. return jQuery.grep( elements, function( elem, i ) {
  3161. /* jshint -W018 */
  3162. return !!qualifier.call( elem, i, elem ) !== not;
  3163. } );
  3164. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  3165. }
  3166. =======
  3167. // Update function for both resolve and progress values
  3168. updateFunc = function( i, contexts, values ) {
  3169. return function( value ) {
  3170. contexts[ i ] = this;
  3171. values[ i ] = arguments.length > 1 ? slice.call( arguments ) : value;
  3172. if ( values === progressValues ) {
  3173. deferred.notifyWith( contexts, values );
  3174. } else if ( !(--remaining) ) {
  3175. deferred.resolveWith( contexts, values );
  3176. }
  3177. };
  3178. },
  3179. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  3180. if ( qualifier.nodeType ) {
  3181. return jQuery.grep( elements, function( elem ) {
  3182. return ( elem === qualifier ) !== not;
  3183. } );
  3184. }
  3185. if ( typeof qualifier === "string" ) {
  3186. if ( risSimple.test( qualifier ) ) {
  3187. return jQuery.filter( qualifier, elements, not );
  3188. }
  3189. qualifier = jQuery.filter( qualifier, elements );
  3190. }
  3191. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  3192. return jQuery.grep( elements, function( elem ) {
  3193. return ( jQuery.inArray( elem, qualifier ) > -1 ) !== not;
  3194. } );
  3195. }
  3196. jQuery.filter = function( expr, elems, not ) {
  3197. var elem = elems[ 0 ];
  3198. if ( not ) {
  3199. expr = ":not(" + expr + ")";
  3200. }
  3201. return elems.length === 1 && elem.nodeType === 1 ?
  3202. jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : [] :
  3203. jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) {
  3204. return elem.nodeType === 1;
  3205. } ) );
  3206. };
  3207. jQuery.fn.extend( {
  3208. find: function( selector ) {
  3209. var i,
  3210. ret = [],
  3211. self = this,
  3212. len = self.length;
  3213. if ( typeof selector !== "string" ) {
  3214. return this.pushStack( jQuery( selector ).filter( function() {
  3215. for ( i = 0; i < len; i++ ) {
  3216. if ( jQuery.contains( self[ i ], this ) ) {
  3217. return true;
  3218. }
  3219. }
  3220. } ) );
  3221. }
  3222. for ( i = 0; i < len; i++ ) {
  3223. jQuery.find( selector, self[ i ], ret );
  3224. }
  3225. // Needed because $( selector, context ) becomes $( context ).find( selector )
  3226. ret = this.pushStack( len > 1 ? jQuery.unique( ret ) : ret );
  3227. ret.selector = this.selector ? this.selector + " " + selector : selector;
  3228. return ret;
  3229. },
  3230. filter: function( selector ) {
  3231. return this.pushStack( winnow( this, selector || [], false ) );
  3232. },
  3233. not: function( selector ) {
  3234. return this.pushStack( winnow( this, selector || [], true ) );
  3235. },
  3236. is: function( selector ) {
  3237. return !!winnow(
  3238. this,
  3239. // If this is a positional/relative selector, check membership in the returned set
  3240. // so $("p:first").is("p:last") won't return true for a doc with two "p".
  3241. typeof selector === "string" && rneedsContext.test( selector ) ?
  3242. jQuery( selector ) :
  3243. selector || [],
  3244. false
  3245. ).length;
  3246. }
  3247. } );
  3248. // Initialize a jQuery object
  3249. // A central reference to the root jQuery(document)
  3250. var rootjQuery,
  3251. // A simple way to check for HTML strings
  3252. // Prioritize #id over <tag> to avoid XSS via location.hash (#9521)
  3253. // Strict HTML recognition (#11290: must start with <)
  3254. rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,
  3255. init = jQuery.fn.init = function( selector, context, root ) {
  3256. var match, elem;
  3257. // HANDLE: $(""), $(null), $(undefined), $(false)
  3258. if ( !selector ) {
  3259. return this;
  3260. }
  3261. // init accepts an alternate rootjQuery
  3262. // so migrate can support jQuery.sub (gh-2101)
  3263. root = root || rootjQuery;
  3264. // Handle HTML strings
  3265. if ( typeof selector === "string" ) {
  3266. if ( selector.charAt( 0 ) === "<" &&
  3267. selector.charAt( selector.length - 1 ) === ">" &&
  3268. selector.length >= 3 ) {
  3269. // Assume that strings that start and end with <> are HTML and skip the regex check
  3270. match = [ null, selector, null ];
  3271. } else {
  3272. match = rquickExpr.exec( selector );
  3273. }
  3274. // Match html or make sure no context is specified for #id
  3275. if ( match && ( match[ 1 ] || !context ) ) {
  3276. // HANDLE: $(html) -> $(array)
  3277. if ( match[ 1 ] ) {
  3278. context = context instanceof jQuery ? context[ 0 ] : context;
  3279. // scripts is true for back-compat
  3280. // Intentionally let the error be thrown if parseHTML is not present
  3281. jQuery.merge( this, jQuery.parseHTML(
  3282. match[ 1 ],
  3283. context && context.nodeType ? context.ownerDocument || context : document,
  3284. true
  3285. ) );
  3286. // HANDLE: $(html, props)
  3287. if ( rsingleTag.test( match[ 1 ] ) && jQuery.isPlainObject( context ) ) {
  3288. for ( match in context ) {
  3289. // Properties of context are called as methods if possible
  3290. if ( jQuery.isFunction( this[ match ] ) ) {
  3291. this[ match ]( context[ match ] );
  3292. // ...and otherwise set as attributes
  3293. } else {
  3294. this.attr( match, context[ match ] );
  3295. }
  3296. }
  3297. }
  3298. return this;
  3299. // HANDLE: $(#id)
  3300. } else {
  3301. elem = document.getElementById( match[ 2 ] );
  3302. // Check parentNode to catch when Blackberry 4.6 returns
  3303. // nodes that are no longer in the document #6963
  3304. if ( elem && elem.parentNode ) {
  3305. // Handle the case where IE and Opera return items
  3306. // by name instead of ID
  3307. if ( elem.id !== match[ 2 ] ) {
  3308. return rootjQuery.find( selector );
  3309. }
  3310. // Otherwise, we inject the element directly into the jQuery object
  3311. this.length = 1;
  3312. this[ 0 ] = elem;
  3313. }
  3314. this.context = document;
  3315. this.selector = selector;
  3316. return this;
  3317. }
  3318. // HANDLE: $(expr, $(...))
  3319. } else if ( !context || context.jquery ) {
  3320. return ( context || root ).find( selector );
  3321. // HANDLE: $(expr, context)
  3322. // (which is just equivalent to: $(context).find(expr)
  3323. } else {
  3324. return this.constructor( context ).find( selector );
  3325. }
  3326. // HANDLE: $(DOMElement)
  3327. } else if ( selector.nodeType ) {
  3328. this.context = this[ 0 ] = selector;
  3329. this.length = 1;
  3330. return this;
  3331. // HANDLE: $(function)
  3332. // Shortcut for document ready
  3333. } else if ( jQuery.isFunction( selector ) ) {
  3334. return typeof root.ready !== "undefined" ?
  3335. root.ready( selector ) :
  3336. // Execute immediately if ready is not present
  3337. selector( jQuery );
  3338. }
  3339. if ( selector.selector !== undefined ) {
  3340. this.selector = selector.selector;
  3341. this.context = selector.context;
  3342. =======
  3343. });
  3344. // The deferred used on DOM ready
  3345. var readyList;
  3346. jQuery.fn.ready = function( fn ) {
  3347. // Add the callback
  3348. jQuery.ready.promise().done( fn );
  3349. return this;
  3350. };
  3351. jQuery.extend({
  3352. // Is the DOM ready to be used? Set to true once it occurs.
  3353. isReady: false,
  3354. // A counter to track how many items to wait for before
  3355. // the ready event fires. See #6781
  3356. readyWait: 1,
  3357. // Hold (or release) the ready event
  3358. holdReady: function( hold ) {
  3359. if ( hold ) {
  3360. jQuery.readyWait++;
  3361. } else {
  3362. jQuery.ready( true );
  3363. }
  3364. },
  3365. // Handle when the DOM is ready
  3366. ready: function( wait ) {
  3367. // Abort if there are pending holds or we're already ready
  3368. if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) {
  3369. return;
  3370. }
  3371. // Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443).
  3372. if ( !document.body ) {
  3373. return setTimeout( jQuery.ready );
  3374. }
  3375. // Remember that the DOM is ready
  3376. jQuery.isReady = true;
  3377. // If a normal DOM Ready event fired, decrement, and wait if need be
  3378. if ( wait !== true && --jQuery.readyWait > 0 ) {
  3379. return;
  3380. }
  3381. // If there are functions bound, to execute
  3382. readyList.resolveWith( document, [ jQuery ] );
  3383. // Trigger any bound ready events
  3384. if ( jQuery.fn.triggerHandler ) {
  3385. jQuery( document ).triggerHandler( "ready" );
  3386. jQuery( document ).off( "ready" );
  3387. }
  3388. }
  3389. });
  3390. /**
  3391. * Clean-up method for dom ready events
  3392. */
  3393. function detach() {
  3394. if ( document.addEventListener ) {
  3395. document.removeEventListener( "DOMContentLoaded", completed, false );
  3396. window.removeEventListener( "load", completed, false );
  3397. } else {
  3398. document.detachEvent( "onreadystatechange", completed );
  3399. window.detachEvent( "onload", completed );
  3400. }
  3401. }
  3402. /**
  3403. * The ready event handler and self cleanup method
  3404. */
  3405. function completed() {
  3406. // readyState === "complete" is good enough for us to call the dom ready in oldIE
  3407. if ( document.addEventListener || event.type === "load" || document.readyState === "complete" ) {
  3408. detach();
  3409. jQuery.ready();
  3410. }
  3411. }
  3412. jQuery.ready.promise = function( obj ) {
  3413. if ( !readyList ) {
  3414. readyList = jQuery.Deferred();
  3415. // Catch cases where $(document).ready() is called after the browser event has already occurred.
  3416. // we once tried to use readyState "interactive" here, but it caused issues like the one
  3417. // discovered by ChrisS here: http://bugs.jquery.com/ticket/12282#comment:15
  3418. if ( document.readyState === "complete" ) {
  3419. // Handle it asynchronously to allow scripts the opportunity to delay ready
  3420. setTimeout( jQuery.ready );
  3421. // Standards-based browsers support DOMContentLoaded
  3422. } else if ( document.addEventListener ) {
  3423. // Use the handy event callback
  3424. document.addEventListener( "DOMContentLoaded", completed, false );
  3425. // A fallback to window.onload, that will always work
  3426. window.addEventListener( "load", completed, false );
  3427. // If IE event model is used
  3428. } else {
  3429. // Ensure firing before onload, maybe late but safe also for iframes
  3430. document.attachEvent( "onreadystatechange", completed );
  3431. // A fallback to window.onload, that will always work
  3432. window.attachEvent( "onload", completed );
  3433. // If IE and not a frame
  3434. // continually check to see if the document is ready
  3435. var top = false;
  3436. try {
  3437. top = window.frameElement == null && document.documentElement;
  3438. } catch(e) {}
  3439. if ( top && top.doScroll ) {
  3440. (function doScrollCheck() {
  3441. if ( !jQuery.isReady ) {
  3442. try {
  3443. // Use the trick by Diego Perini
  3444. // http://javascript.nwbox.com/IEContentLoaded/
  3445. top.doScroll("left");
  3446. } catch(e) {
  3447. return setTimeout( doScrollCheck, 50 );
  3448. }
  3449. // detach all dom ready events
  3450. detach();
  3451. // and execute any waiting functions
  3452. jQuery.ready();
  3453. }
  3454. })();
  3455. }
  3456. }
  3457. }
  3458. return readyList.promise( obj );
  3459. };
  3460. var strundefined = typeof undefined;
  3461. // Support: IE<9
  3462. // Iteration over object's inherited properties before its own
  3463. var i;
  3464. for ( i in jQuery( support ) ) {
  3465. break;
  3466. }
  3467. support.ownLast = i !== "0";
  3468. // Note: most support tests are defined in their respective modules.
  3469. // false until the test is run
  3470. support.inlineBlockNeedsLayout = false;
  3471. // Execute ASAP in case we need to set body.style.zoom
  3472. jQuery(function() {
  3473. // Minified: var a,b,c,d
  3474. var val, div, body, container;
  3475. body = document.getElementsByTagName( "body" )[ 0 ];
  3476. if ( !body || !body.style ) {
  3477. // Return for frameset docs that don't have a body
  3478. return;
  3479. }
  3480. // Setup
  3481. div = document.createElement( "div" );
  3482. container = document.createElement( "div" );
  3483. container.style.cssText = "position:absolute;border:0;width:0;height:0;top:0;left:-9999px";
  3484. body.appendChild( container ).appendChild( div );
  3485. if ( typeof div.style.zoom !== strundefined ) {
  3486. // Support: IE<8
  3487. // Check if natively block-level elements act like inline-block
  3488. // elements when setting their display to 'inline' and giving
  3489. // them layout
  3490. div.style.cssText = "display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1";
  3491. support.inlineBlockNeedsLayout = val = div.offsetWidth === 3;
  3492. if ( val ) {
  3493. // Prevent IE 6 from affecting layout for positioned elements #11048
  3494. // Prevent IE from shrinking the body in IE 7 mode #12869
  3495. // Support: IE<8
  3496. body.style.zoom = 1;
  3497. }
  3498. }
  3499. body.removeChild( container );
  3500. });
  3501. (function() {
  3502. var div = document.createElement( "div" );
  3503. // Execute the test only if not already executed in another module.
  3504. if (support.deleteExpando == null) {
  3505. // Support: IE<9
  3506. support.deleteExpando = true;
  3507. try {
  3508. delete div.test;
  3509. } catch( e ) {
  3510. support.deleteExpando = false;
  3511. }
  3512. }
  3513. // Null elements to avoid leaks in IE.
  3514. div = null;
  3515. })();
  3516. /**
  3517. * Determines whether an object can have data
  3518. */
  3519. jQuery.acceptData = function( elem ) {
  3520. var noData = jQuery.noData[ (elem.nodeName + " ").toLowerCase() ],
  3521. nodeType = +elem.nodeType || 1;
  3522. // Do not set data on non-element DOM nodes because it will not be cleared (#8335).
  3523. return nodeType !== 1 && nodeType !== 9 ?
  3524. false :
  3525. // Nodes accept data unless otherwise specified; rejection can be conditional
  3526. !noData || noData !== true && elem.getAttribute("classid") === noData;
  3527. };
  3528. var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,
  3529. rmultiDash = /([A-Z])/g;
  3530. function dataAttr( elem, key, data ) {
  3531. // If nothing was found internally, try to fetch any
  3532. // data from the HTML5 data-* attribute
  3533. if ( data === undefined && elem.nodeType === 1 ) {
  3534. var name = "data-" + key.replace( rmultiDash, "-$1" ).toLowerCase();
  3535. data = elem.getAttribute( name );
  3536. if ( typeof data === "string" ) {
  3537. try {
  3538. data = data === "true" ? true :
  3539. data === "false" ? false :
  3540. data === "null" ? null :
  3541. // Only convert to a number if it doesn't change the string
  3542. +data + "" === data ? +data :
  3543. rbrace.test( data ) ? jQuery.parseJSON( data ) :
  3544. data;
  3545. } catch( e ) {}
  3546. // Make sure we set the data so it isn't changed later
  3547. jQuery.data( elem, key, data );
  3548. } else {
  3549. data = undefined;
  3550. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  3551. }
  3552. }
  3553. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  3554. return jQuery.makeArray( selector, this );
  3555. };
  3556. // Give the init function the jQuery prototype for later instantiation
  3557. init.prototype = jQuery.fn;
  3558. // Initialize central reference
  3559. rootjQuery = jQuery( document );
  3560. var rparentsprev = /^(?:parents|prev(?:Until|All))/,
  3561. =======
  3562. return data;
  3563. }
  3564. // checks a cache object for emptiness
  3565. function isEmptyDataObject( obj ) {
  3566. var name;
  3567. for ( name in obj ) {
  3568. // if the public data object is empty, the private is still empty
  3569. if ( name === "data" && jQuery.isEmptyObject( obj[name] ) ) {
  3570. continue;
  3571. }
  3572. if ( name !== "toJSON" ) {
  3573. return false;
  3574. }
  3575. }
  3576. return true;
  3577. }
  3578. function internalData( elem, name, data, pvt /* Internal Use Only */ ) {
  3579. if ( !jQuery.acceptData( elem ) ) {
  3580. return;
  3581. }
  3582. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  3583. // methods guaranteed to produce a unique set when starting from a unique set
  3584. guaranteedUnique = {
  3585. children: true,
  3586. contents: true,
  3587. next: true,
  3588. prev: true
  3589. };
  3590. jQuery.fn.extend( {
  3591. has: function( target ) {
  3592. var i,
  3593. targets = jQuery( target, this ),
  3594. len = targets.length;
  3595. return this.filter( function() {
  3596. for ( i = 0; i < len; i++ ) {
  3597. if ( jQuery.contains( this, targets[ i ] ) ) {
  3598. return true;
  3599. }
  3600. }
  3601. } );
  3602. },
  3603. closest: function( selectors, context ) {
  3604. var cur,
  3605. i = 0,
  3606. l = this.length,
  3607. matched = [],
  3608. pos = rneedsContext.test( selectors ) || typeof selectors !== "string" ?
  3609. jQuery( selectors, context || this.context ) :
  3610. 0;
  3611. for ( ; i < l; i++ ) {
  3612. for ( cur = this[ i ]; cur && cur !== context; cur = cur.parentNode ) {
  3613. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  3614. // Always skip document fragments
  3615. if ( cur.nodeType < 11 && ( pos ?
  3616. pos.index( cur ) > -1 :
  3617. =======
  3618. if ( !id ) {
  3619. // Only DOM nodes need a new unique ID for each element since their data
  3620. // ends up in the global cache
  3621. if ( isNode ) {
  3622. id = elem[ internalKey ] = deletedIds.pop() || jQuery.guid++;
  3623. } else {
  3624. id = internalKey;
  3625. }
  3626. }
  3627. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  3628. // Don't pass non-elements to Sizzle
  3629. cur.nodeType === 1 &&
  3630. jQuery.find.matchesSelector( cur, selectors ) ) ) {
  3631. matched.push( cur );
  3632. break;
  3633. }
  3634. }
  3635. }
  3636. return this.pushStack( matched.length > 1 ? jQuery.uniqueSort( matched ) : matched );
  3637. },
  3638. // Determine the position of an element within
  3639. // the matched set of elements
  3640. index: function( elem ) {
  3641. // No argument, return index in parent
  3642. if ( !elem ) {
  3643. return ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1;
  3644. }
  3645. // index in selector
  3646. if ( typeof elem === "string" ) {
  3647. return jQuery.inArray( this[ 0 ], jQuery( elem ) );
  3648. }
  3649. // Locate the position of the desired element
  3650. return jQuery.inArray(
  3651. // If it receives a jQuery object, the first element is used
  3652. elem.jquery ? elem[ 0 ] : elem, this );
  3653. },
  3654. add: function( selector, context ) {
  3655. return this.pushStack(
  3656. jQuery.uniqueSort(
  3657. jQuery.merge( this.get(), jQuery( selector, context ) )
  3658. )
  3659. );
  3660. },
  3661. addBack: function( selector ) {
  3662. return this.add( selector == null ?
  3663. this.prevObject : this.prevObject.filter( selector )
  3664. );
  3665. }
  3666. } );
  3667. function sibling( cur, dir ) {
  3668. do {
  3669. cur = cur[ dir ];
  3670. } while ( cur && cur.nodeType !== 1 );
  3671. return cur;
  3672. }
  3673. jQuery.each( {
  3674. parent: function( elem ) {
  3675. var parent = elem.parentNode;
  3676. return parent && parent.nodeType !== 11 ? parent : null;
  3677. },
  3678. parents: function( elem ) {
  3679. return dir( elem, "parentNode" );
  3680. },
  3681. parentsUntil: function( elem, i, until ) {
  3682. return dir( elem, "parentNode", until );
  3683. },
  3684. next: function( elem ) {
  3685. return sibling( elem, "nextSibling" );
  3686. },
  3687. prev: function( elem ) {
  3688. return sibling( elem, "previousSibling" );
  3689. },
  3690. nextAll: function( elem ) {
  3691. return dir( elem, "nextSibling" );
  3692. },
  3693. prevAll: function( elem ) {
  3694. return dir( elem, "previousSibling" );
  3695. },
  3696. nextUntil: function( elem, i, until ) {
  3697. return dir( elem, "nextSibling", until );
  3698. },
  3699. prevUntil: function( elem, i, until ) {
  3700. return dir( elem, "previousSibling", until );
  3701. },
  3702. siblings: function( elem ) {
  3703. return siblings( ( elem.parentNode || {} ).firstChild, elem );
  3704. },
  3705. children: function( elem ) {
  3706. return siblings( elem.firstChild );
  3707. },
  3708. contents: function( elem ) {
  3709. return jQuery.nodeName( elem, "iframe" ) ?
  3710. elem.contentDocument || elem.contentWindow.document :
  3711. jQuery.merge( [], elem.childNodes );
  3712. }
  3713. }, function( name, fn ) {
  3714. jQuery.fn[ name ] = function( until, selector ) {
  3715. var ret = jQuery.map( this, fn, until );
  3716. if ( name.slice( -5 ) !== "Until" ) {
  3717. selector = until;
  3718. }
  3719. if ( selector && typeof selector === "string" ) {
  3720. ret = jQuery.filter( selector, ret );
  3721. }
  3722. if ( this.length > 1 ) {
  3723. // Remove duplicates
  3724. if ( !guaranteedUnique[ name ] ) {
  3725. ret = jQuery.uniqueSort( ret );
  3726. }
  3727. // Reverse order for parents* and prev-derivatives
  3728. if ( rparentsprev.test( name ) ) {
  3729. ret = ret.reverse();
  3730. }
  3731. }
  3732. return this.pushStack( ret );
  3733. };
  3734. } );
  3735. var rnotwhite = ( /\S+/g );
  3736. // Convert String-formatted options into Object-formatted ones
  3737. function createOptions( options ) {
  3738. var object = {};
  3739. jQuery.each( options.match( rnotwhite ) || [], function( _, flag ) {
  3740. object[ flag ] = true;
  3741. } );
  3742. return object;
  3743. }
  3744. /*
  3745. * Create a callback list using the following parameters:
  3746. *
  3747. * options: an optional list of space-separated options that will change how
  3748. * the callback list behaves or a more traditional option object
  3749. *
  3750. * By default a callback list will act like an event callback list and can be
  3751. * "fired" multiple times.
  3752. *
  3753. * Possible options:
  3754. *
  3755. * once: will ensure the callback list can only be fired once (like a Deferred)
  3756. *
  3757. * memory: will keep track of previous values and will call any callback added
  3758. * after the list has been fired right away with the latest "memorized"
  3759. * values (like a Deferred)
  3760. *
  3761. * unique: will ensure a callback can only be added once (no duplicate in the list)
  3762. *
  3763. * stopOnFalse: interrupt callings when a callback returns false
  3764. *
  3765. */
  3766. jQuery.Callbacks = function( options ) {
  3767. // Convert options from String-formatted to Object-formatted if needed
  3768. // (we check in cache first)
  3769. options = typeof options === "string" ?
  3770. createOptions( options ) :
  3771. jQuery.extend( {}, options );
  3772. var // Flag to know if list is currently firing
  3773. firing,
  3774. // Last fire value for non-forgettable lists
  3775. memory,
  3776. // Flag to know if list was already fired
  3777. fired,
  3778. // Flag to prevent firing
  3779. locked,
  3780. // Actual callback list
  3781. list = [],
  3782. // Queue of execution data for repeatable lists
  3783. queue = [],
  3784. // Index of currently firing callback (modified by add/remove as needed)
  3785. firingIndex = -1,
  3786. // Fire callbacks
  3787. fire = function() {
  3788. // Enforce single-firing
  3789. locked = options.once;
  3790. // Execute callbacks for all pending executions,
  3791. // respecting firingIndex overrides and runtime changes
  3792. fired = firing = true;
  3793. for ( ; queue.length; firingIndex = -1 ) {
  3794. memory = queue.shift();
  3795. while ( ++firingIndex < list.length ) {
  3796. // Run callback and check for early termination
  3797. if ( list[ firingIndex ].apply( memory[ 0 ], memory[ 1 ] ) === false &&
  3798. options.stopOnFalse ) {
  3799. // Jump to end and forget the data so .add doesn't re-fire
  3800. firingIndex = list.length;
  3801. memory = false;
  3802. }
  3803. }
  3804. }
  3805. // Forget the data if we're done with it
  3806. if ( !options.memory ) {
  3807. memory = false;
  3808. }
  3809. firing = false;
  3810. // Clean up if we're done firing for good
  3811. if ( locked ) {
  3812. // Keep an empty list if we have data for future add calls
  3813. if ( memory ) {
  3814. list = [];
  3815. // Otherwise, this object is spent
  3816. } else {
  3817. list = "";
  3818. }
  3819. }
  3820. },
  3821. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  3822. // Actual Callbacks object
  3823. self = {
  3824. =======
  3825. // Use delete when supported for expandos or `cache` is not a window per isWindow (#10080)
  3826. /* jshint eqeqeq: false */
  3827. } else if ( support.deleteExpando || cache != cache.window ) {
  3828. /* jshint eqeqeq: true */
  3829. delete cache[ id ];
  3830. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  3831. // Add a callback or a collection of callbacks to the list
  3832. add: function() {
  3833. if ( list ) {
  3834. // If we have memory from a past run, we should fire after adding
  3835. if ( memory && !firing ) {
  3836. firingIndex = list.length - 1;
  3837. queue.push( memory );
  3838. }
  3839. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  3840. ( function add( args ) {
  3841. jQuery.each( args, function( _, arg ) {
  3842. if ( jQuery.isFunction( arg ) ) {
  3843. if ( !options.unique || !self.has( arg ) ) {
  3844. list.push( arg );
  3845. }
  3846. } else if ( arg && arg.length && jQuery.type( arg ) !== "string" ) {
  3847. =======
  3848. // The following elements (space-suffixed to avoid Object.prototype collisions)
  3849. // throw uncatchable exceptions if you attempt to set expando properties
  3850. noData: {
  3851. "applet ": true,
  3852. "embed ": true,
  3853. // ...but Flash objects (which have this classid) *can* handle expandos
  3854. "object ": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
  3855. },
  3856. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  3857. // Inspect recursively
  3858. add( arg );
  3859. }
  3860. } );
  3861. } )( arguments );
  3862. if ( memory && !firing ) {
  3863. fire();
  3864. }
  3865. }
  3866. return this;
  3867. },
  3868. // Remove a callback from the list
  3869. remove: function() {
  3870. jQuery.each( arguments, function( _, arg ) {
  3871. var index;
  3872. while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) {
  3873. list.splice( index, 1 );
  3874. // Handle firing indexes
  3875. if ( index <= firingIndex ) {
  3876. firingIndex--;
  3877. }
  3878. }
  3879. } );
  3880. return this;
  3881. },
  3882. // Check if a given callback is in the list.
  3883. // If no argument is given, return whether or not list has callbacks attached.
  3884. has: function( fn ) {
  3885. return fn ?
  3886. jQuery.inArray( fn, list ) > -1 :
  3887. list.length > 0;
  3888. },
  3889. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  3890. // Remove all callbacks from the list
  3891. empty: function() {
  3892. if ( list ) {
  3893. list = [];
  3894. }
  3895. return this;
  3896. },
  3897. // Disable .fire and .add
  3898. // Abort any current/pending executions
  3899. // Clear all callbacks and values
  3900. disable: function() {
  3901. locked = queue = [];
  3902. list = memory = "";
  3903. return this;
  3904. },
  3905. disabled: function() {
  3906. return !list;
  3907. },
  3908. // Disable .fire
  3909. // Also disable .add unless we have memory (since it would have no effect)
  3910. // Abort any pending executions
  3911. lock: function() {
  3912. locked = true;
  3913. if ( !memory ) {
  3914. self.disable();
  3915. }
  3916. return this;
  3917. },
  3918. locked: function() {
  3919. return !!locked;
  3920. },
  3921. // Call all callbacks with the given context and arguments
  3922. fireWith: function( context, args ) {
  3923. if ( !locked ) {
  3924. args = args || [];
  3925. args = [ context, args.slice ? args.slice() : args ];
  3926. queue.push( args );
  3927. if ( !firing ) {
  3928. fire();
  3929. }
  3930. }
  3931. return this;
  3932. },
  3933. // Call all the callbacks with the given arguments
  3934. fire: function() {
  3935. self.fireWith( this, arguments );
  3936. return this;
  3937. },
  3938. // To know if the callbacks have already been called at least once
  3939. fired: function() {
  3940. return !!fired;
  3941. }
  3942. };
  3943. return self;
  3944. };
  3945. jQuery.extend( {
  3946. Deferred: function( func ) {
  3947. var tuples = [
  3948. // action, add listener, listener list, final state
  3949. [ "resolve", "done", jQuery.Callbacks( "once memory" ), "resolved" ],
  3950. [ "reject", "fail", jQuery.Callbacks( "once memory" ), "rejected" ],
  3951. [ "notify", "progress", jQuery.Callbacks( "memory" ) ]
  3952. ],
  3953. state = "pending",
  3954. promise = {
  3955. state: function() {
  3956. return state;
  3957. },
  3958. always: function() {
  3959. deferred.done( arguments ).fail( arguments );
  3960. return this;
  3961. },
  3962. then: function( /* fnDone, fnFail, fnProgress */ ) {
  3963. var fns = arguments;
  3964. return jQuery.Deferred( function( newDefer ) {
  3965. jQuery.each( tuples, function( i, tuple ) {
  3966. var fn = jQuery.isFunction( fns[ i ] ) && fns[ i ];
  3967. // deferred[ done | fail | progress ] for forwarding actions to newDefer
  3968. deferred[ tuple[ 1 ] ]( function() {
  3969. var returned = fn && fn.apply( this, arguments );
  3970. if ( returned && jQuery.isFunction( returned.promise ) ) {
  3971. returned.promise()
  3972. .progress( newDefer.notify )
  3973. .done( newDefer.resolve )
  3974. .fail( newDefer.reject );
  3975. } else {
  3976. newDefer[ tuple[ 0 ] + "With" ](
  3977. this === promise ? newDefer.promise() : this,
  3978. fn ? [ returned ] : arguments
  3979. );
  3980. }
  3981. } );
  3982. } );
  3983. fns = null;
  3984. } ).promise();
  3985. },
  3986. // Get a promise for this deferred
  3987. // If obj is provided, the promise aspect is added to the object
  3988. promise: function( obj ) {
  3989. return obj != null ? jQuery.extend( obj, promise ) : promise;
  3990. }
  3991. },
  3992. deferred = {};
  3993. // Keep pipe for back-compat
  3994. promise.pipe = promise.then;
  3995. // Add list-specific methods
  3996. jQuery.each( tuples, function( i, tuple ) {
  3997. var list = tuple[ 2 ],
  3998. stateString = tuple[ 3 ];
  3999. // promise[ done | fail | progress ] = list.add
  4000. promise[ tuple[ 1 ] ] = list.add;
  4001. // Handle state
  4002. if ( stateString ) {
  4003. list.add( function() {
  4004. // state = [ resolved | rejected ]
  4005. state = stateString;
  4006. // [ reject_list | resolve_list ].disable; progress_list.lock
  4007. }, tuples[ i ^ 1 ][ 2 ].disable, tuples[ 2 ][ 2 ].lock );
  4008. }
  4009. // deferred[ resolve | reject | notify ]
  4010. deferred[ tuple[ 0 ] ] = function() {
  4011. deferred[ tuple[ 0 ] + "With" ]( this === deferred ? promise : this, arguments );
  4012. return this;
  4013. };
  4014. deferred[ tuple[ 0 ] + "With" ] = list.fireWith;
  4015. } );
  4016. // Make the deferred a promise
  4017. promise.promise( deferred );
  4018. // Call given func if any
  4019. if ( func ) {
  4020. func.call( deferred, deferred );
  4021. }
  4022. // All done!
  4023. return deferred;
  4024. },
  4025. // Deferred helper
  4026. when: function( subordinate /* , ..., subordinateN */ ) {
  4027. var i = 0,
  4028. resolveValues = slice.call( arguments ),
  4029. length = resolveValues.length,
  4030. // the count of uncompleted subordinates
  4031. remaining = length !== 1 ||
  4032. ( subordinate && jQuery.isFunction( subordinate.promise ) ) ? length : 0,
  4033. // the master Deferred.
  4034. // If resolveValues consist of only a single Deferred, just use that.
  4035. deferred = remaining === 1 ? subordinate : jQuery.Deferred(),
  4036. // Update function for both resolve and progress values
  4037. updateFunc = function( i, contexts, values ) {
  4038. return function( value ) {
  4039. contexts[ i ] = this;
  4040. values[ i ] = arguments.length > 1 ? slice.call( arguments ) : value;
  4041. if ( values === progressValues ) {
  4042. deferred.notifyWith( contexts, values );
  4043. } else if ( !( --remaining ) ) {
  4044. deferred.resolveWith( contexts, values );
  4045. }
  4046. };
  4047. },
  4048. progressValues, progressContexts, resolveContexts;
  4049. // add listeners to Deferred subordinates; treat others as resolved
  4050. if ( length > 1 ) {
  4051. progressValues = new Array( length );
  4052. progressContexts = new Array( length );
  4053. resolveContexts = new Array( length );
  4054. for ( ; i < length; i++ ) {
  4055. if ( resolveValues[ i ] && jQuery.isFunction( resolveValues[ i ].promise ) ) {
  4056. resolveValues[ i ].promise()
  4057. .progress( updateFunc( i, progressContexts, progressValues ) )
  4058. .done( updateFunc( i, resolveContexts, resolveValues ) )
  4059. .fail( deferred.reject );
  4060. } else {
  4061. --remaining;
  4062. }
  4063. }
  4064. }
  4065. // if we're not waiting on anything, resolve the master
  4066. if ( !remaining ) {
  4067. deferred.resolveWith( resolveContexts, resolveValues );
  4068. }
  4069. return deferred.promise();
  4070. }
  4071. } );
  4072. // The deferred used on DOM ready
  4073. var readyList;
  4074. jQuery.fn.ready = function( fn ) {
  4075. // Add the callback
  4076. jQuery.ready.promise().done( fn );
  4077. return this;
  4078. };
  4079. jQuery.extend( {
  4080. // Is the DOM ready to be used? Set to true once it occurs.
  4081. isReady: false,
  4082. // A counter to track how many items to wait for before
  4083. // the ready event fires. See #6781
  4084. readyWait: 1,
  4085. // Hold (or release) the ready event
  4086. holdReady: function( hold ) {
  4087. if ( hold ) {
  4088. jQuery.readyWait++;
  4089. } else {
  4090. jQuery.ready( true );
  4091. }
  4092. },
  4093. // Handle when the DOM is ready
  4094. ready: function( wait ) {
  4095. // Abort if there are pending holds or we're already ready
  4096. if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) {
  4097. return;
  4098. }
  4099. // Remember that the DOM is ready
  4100. jQuery.isReady = true;
  4101. // If a normal DOM Ready event fired, decrement, and wait if need be
  4102. if ( wait !== true && --jQuery.readyWait > 0 ) {
  4103. return;
  4104. }
  4105. // If there are functions bound, to execute
  4106. readyList.resolveWith( document, [ jQuery ] );
  4107. // Trigger any bound ready events
  4108. if ( jQuery.fn.triggerHandler ) {
  4109. jQuery( document ).triggerHandler( "ready" );
  4110. jQuery( document ).off( "ready" );
  4111. }
  4112. }
  4113. } );
  4114. /**
  4115. * Clean-up method for dom ready events
  4116. */
  4117. function detach() {
  4118. if ( document.addEventListener ) {
  4119. document.removeEventListener( "DOMContentLoaded", completed );
  4120. window.removeEventListener( "load", completed );
  4121. } else {
  4122. document.detachEvent( "onreadystatechange", completed );
  4123. window.detachEvent( "onload", completed );
  4124. }
  4125. }
  4126. /**
  4127. * The ready event handler and self cleanup method
  4128. */
  4129. function completed() {
  4130. // readyState === "complete" is good enough for us to call the dom ready in oldIE
  4131. if ( document.addEventListener ||
  4132. window.event.type === "load" ||
  4133. document.readyState === "complete" ) {
  4134. detach();
  4135. jQuery.ready();
  4136. }
  4137. }
  4138. jQuery.ready.promise = function( obj ) {
  4139. if ( !readyList ) {
  4140. readyList = jQuery.Deferred();
  4141. // Catch cases where $(document).ready() is called
  4142. // after the browser event has already occurred.
  4143. // Support: IE6-10
  4144. // Older IE sometimes signals "interactive" too soon
  4145. if ( document.readyState === "complete" ||
  4146. ( document.readyState !== "loading" && !document.documentElement.doScroll ) ) {
  4147. // Handle it asynchronously to allow scripts the opportunity to delay ready
  4148. window.setTimeout( jQuery.ready );
  4149. // Standards-based browsers support DOMContentLoaded
  4150. } else if ( document.addEventListener ) {
  4151. // Use the handy event callback
  4152. document.addEventListener( "DOMContentLoaded", completed );
  4153. // A fallback to window.onload, that will always work
  4154. window.addEventListener( "load", completed );
  4155. // If IE event model is used
  4156. } else {
  4157. // Ensure firing before onload, maybe late but safe also for iframes
  4158. document.attachEvent( "onreadystatechange", completed );
  4159. // A fallback to window.onload, that will always work
  4160. window.attachEvent( "onload", completed );
  4161. // If IE and not a frame
  4162. // continually check to see if the document is ready
  4163. var top = false;
  4164. try {
  4165. top = window.frameElement == null && document.documentElement;
  4166. } catch ( e ) {}
  4167. if ( top && top.doScroll ) {
  4168. ( function doScrollCheck() {
  4169. if ( !jQuery.isReady ) {
  4170. try {
  4171. // Use the trick by Diego Perini
  4172. // http://javascript.nwbox.com/IEContentLoaded/
  4173. top.doScroll( "left" );
  4174. } catch ( e ) {
  4175. return window.setTimeout( doScrollCheck, 50 );
  4176. }
  4177. // detach all dom ready events
  4178. detach();
  4179. // and execute any waiting functions
  4180. jQuery.ready();
  4181. }
  4182. } )();
  4183. }
  4184. }
  4185. }
  4186. return readyList.promise( obj );
  4187. };
  4188. // Kick off the DOM ready check even if the user does not
  4189. jQuery.ready.promise();
  4190. // Support: IE<9
  4191. // Iteration over object's inherited properties before its own
  4192. var i;
  4193. for ( i in jQuery( support ) ) {
  4194. break;
  4195. }
  4196. support.ownFirst = i === "0";
  4197. // Note: most support tests are defined in their respective modules.
  4198. // false until the test is run
  4199. support.inlineBlockNeedsLayout = false;
  4200. // Execute ASAP in case we need to set body.style.zoom
  4201. jQuery( function() {
  4202. // Minified: var a,b,c,d
  4203. var val, div, body, container;
  4204. body = document.getElementsByTagName( "body" )[ 0 ];
  4205. if ( !body || !body.style ) {
  4206. // Return for frameset docs that don't have a body
  4207. return;
  4208. }
  4209. // Setup
  4210. div = document.createElement( "div" );
  4211. container = document.createElement( "div" );
  4212. container.style.cssText = "position:absolute;border:0;width:0;height:0;top:0;left:-9999px";
  4213. body.appendChild( container ).appendChild( div );
  4214. if ( typeof div.style.zoom !== "undefined" ) {
  4215. // Support: IE<8
  4216. // Check if natively block-level elements act like inline-block
  4217. // elements when setting their display to 'inline' and giving
  4218. // them layout
  4219. div.style.cssText = "display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1";
  4220. support.inlineBlockNeedsLayout = val = div.offsetWidth === 3;
  4221. if ( val ) {
  4222. // Prevent IE 6 from affecting layout for positioned elements #11048
  4223. // Prevent IE from shrinking the body in IE 7 mode #12869
  4224. // Support: IE<8
  4225. body.style.zoom = 1;
  4226. =======
  4227. _removeData: function( elem, name ) {
  4228. return internalRemoveData( elem, name, true );
  4229. }
  4230. });
  4231. jQuery.fn.extend({
  4232. data: function( key, value ) {
  4233. var i, name, data,
  4234. elem = this[0],
  4235. attrs = elem && elem.attributes;
  4236. // Special expections of .data basically thwart jQuery.access,
  4237. // so implement the relevant behavior ourselves
  4238. // Gets all values
  4239. if ( key === undefined ) {
  4240. if ( this.length ) {
  4241. data = jQuery.data( elem );
  4242. if ( elem.nodeType === 1 && !jQuery._data( elem, "parsedAttrs" ) ) {
  4243. i = attrs.length;
  4244. while ( i-- ) {
  4245. // Support: IE11+
  4246. // The attrs elements can be null (#14894)
  4247. if ( attrs[ i ] ) {
  4248. name = attrs[ i ].name;
  4249. if ( name.indexOf( "data-" ) === 0 ) {
  4250. name = jQuery.camelCase( name.slice(5) );
  4251. dataAttr( elem, name, data[ name ] );
  4252. }
  4253. }
  4254. }
  4255. jQuery._data( elem, "parsedAttrs", true );
  4256. }
  4257. }
  4258. return data;
  4259. }
  4260. // Sets multiple values
  4261. if ( typeof key === "object" ) {
  4262. return this.each(function() {
  4263. jQuery.data( this, key );
  4264. });
  4265. }
  4266. return arguments.length > 1 ?
  4267. // Sets one value
  4268. this.each(function() {
  4269. jQuery.data( this, key, value );
  4270. }) :
  4271. // Gets one value
  4272. // Try to fetch any internally stored data first
  4273. elem ? dataAttr( elem, key, jQuery.data( elem, key ) ) : undefined;
  4274. },
  4275. removeData: function( key ) {
  4276. return this.each(function() {
  4277. jQuery.removeData( this, key );
  4278. });
  4279. }
  4280. });
  4281. jQuery.extend({
  4282. queue: function( elem, type, data ) {
  4283. var queue;
  4284. if ( elem ) {
  4285. type = ( type || "fx" ) + "queue";
  4286. queue = jQuery._data( elem, type );
  4287. // Speed up dequeue by getting out quickly if this is just a lookup
  4288. if ( data ) {
  4289. if ( !queue || jQuery.isArray(data) ) {
  4290. queue = jQuery._data( elem, type, jQuery.makeArray(data) );
  4291. } else {
  4292. queue.push( data );
  4293. }
  4294. }
  4295. return queue || [];
  4296. }
  4297. },
  4298. dequeue: function( elem, type ) {
  4299. type = type || "fx";
  4300. var queue = jQuery.queue( elem, type ),
  4301. startLength = queue.length,
  4302. fn = queue.shift(),
  4303. hooks = jQuery._queueHooks( elem, type ),
  4304. next = function() {
  4305. jQuery.dequeue( elem, type );
  4306. };
  4307. // If the fx queue is dequeued, always remove the progress sentinel
  4308. if ( fn === "inprogress" ) {
  4309. fn = queue.shift();
  4310. startLength--;
  4311. }
  4312. if ( fn ) {
  4313. // Add a progress sentinel to prevent the fx queue from being
  4314. // automatically dequeued
  4315. if ( type === "fx" ) {
  4316. queue.unshift( "inprogress" );
  4317. }
  4318. // clear up the last queue stop function
  4319. delete hooks.stop;
  4320. fn.call( elem, next, hooks );
  4321. }
  4322. if ( !startLength && hooks ) {
  4323. hooks.empty.fire();
  4324. }
  4325. },
  4326. // not intended for public consumption - generates a queueHooks object, or returns the current one
  4327. _queueHooks: function( elem, type ) {
  4328. var key = type + "queueHooks";
  4329. return jQuery._data( elem, key ) || jQuery._data( elem, key, {
  4330. empty: jQuery.Callbacks("once memory").add(function() {
  4331. jQuery._removeData( elem, type + "queue" );
  4332. jQuery._removeData( elem, key );
  4333. })
  4334. });
  4335. }
  4336. });
  4337. jQuery.fn.extend({
  4338. queue: function( type, data ) {
  4339. var setter = 2;
  4340. if ( typeof type !== "string" ) {
  4341. data = type;
  4342. type = "fx";
  4343. setter--;
  4344. }
  4345. if ( arguments.length < setter ) {
  4346. return jQuery.queue( this[0], type );
  4347. }
  4348. return data === undefined ?
  4349. this :
  4350. this.each(function() {
  4351. var queue = jQuery.queue( this, type, data );
  4352. // ensure a hooks for this queue
  4353. jQuery._queueHooks( this, type );
  4354. if ( type === "fx" && queue[0] !== "inprogress" ) {
  4355. jQuery.dequeue( this, type );
  4356. }
  4357. });
  4358. },
  4359. dequeue: function( type ) {
  4360. return this.each(function() {
  4361. jQuery.dequeue( this, type );
  4362. });
  4363. },
  4364. clearQueue: function( type ) {
  4365. return this.queue( type || "fx", [] );
  4366. },
  4367. // Get a promise resolved when queues of a certain type
  4368. // are emptied (fx is the type by default)
  4369. promise: function( type, obj ) {
  4370. var tmp,
  4371. count = 1,
  4372. defer = jQuery.Deferred(),
  4373. elements = this,
  4374. i = this.length,
  4375. resolve = function() {
  4376. if ( !( --count ) ) {
  4377. defer.resolveWith( elements, [ elements ] );
  4378. }
  4379. };
  4380. if ( typeof type !== "string" ) {
  4381. obj = type;
  4382. type = undefined;
  4383. }
  4384. type = type || "fx";
  4385. while ( i-- ) {
  4386. tmp = jQuery._data( elements[ i ], type + "queueHooks" );
  4387. if ( tmp && tmp.empty ) {
  4388. count++;
  4389. tmp.empty.add( resolve );
  4390. }
  4391. }
  4392. resolve();
  4393. return defer.promise( obj );
  4394. }
  4395. });
  4396. var pnum = (/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/).source;
  4397. var cssExpand = [ "Top", "Right", "Bottom", "Left" ];
  4398. var isHidden = function( elem, el ) {
  4399. // isHidden might be called from jQuery#filter function;
  4400. // in that case, element will be second argument
  4401. elem = el || elem;
  4402. return jQuery.css( elem, "display" ) === "none" || !jQuery.contains( elem.ownerDocument, elem );
  4403. };
  4404. // Multifunctional method to get and set values of a collection
  4405. // The value/s can optionally be executed if it's a function
  4406. var access = jQuery.access = function( elems, fn, key, value, chainable, emptyGet, raw ) {
  4407. var i = 0,
  4408. length = elems.length,
  4409. bulk = key == null;
  4410. // Sets many values
  4411. if ( jQuery.type( key ) === "object" ) {
  4412. chainable = true;
  4413. for ( i in key ) {
  4414. jQuery.access( elems, fn, i, key[i], true, emptyGet, raw );
  4415. }
  4416. // Sets one value
  4417. } else if ( value !== undefined ) {
  4418. chainable = true;
  4419. if ( !jQuery.isFunction( value ) ) {
  4420. raw = true;
  4421. }
  4422. if ( bulk ) {
  4423. // Bulk operations run against the entire set
  4424. if ( raw ) {
  4425. fn.call( elems, value );
  4426. fn = null;
  4427. // ...except when executing function values
  4428. } else {
  4429. bulk = fn;
  4430. fn = function( elem, key, value ) {
  4431. return bulk.call( jQuery( elem ), value );
  4432. };
  4433. }
  4434. }
  4435. if ( fn ) {
  4436. for ( ; i < length; i++ ) {
  4437. fn( elems[i], key, raw ? value : value.call( elems[i], i, fn( elems[i], key ) ) );
  4438. }
  4439. }
  4440. }
  4441. return chainable ?
  4442. elems :
  4443. // Gets
  4444. bulk ?
  4445. fn.call( elems ) :
  4446. length ? fn( elems[0], key ) : emptyGet;
  4447. };
  4448. var rcheckableType = (/^(?:checkbox|radio)$/i);
  4449. (function() {
  4450. // Minified: var a,b,c
  4451. var input = document.createElement( "input" ),
  4452. div = document.createElement( "div" ),
  4453. fragment = document.createDocumentFragment();
  4454. // Setup
  4455. div.innerHTML = " <link/><table></table><a href='/a'>a</a><input type='checkbox'/>";
  4456. // IE strips leading whitespace when .innerHTML is used
  4457. support.leadingWhitespace = div.firstChild.nodeType === 3;
  4458. // Make sure that tbody elements aren't automatically inserted
  4459. // IE will insert them into empty tables
  4460. support.tbody = !div.getElementsByTagName( "tbody" ).length;
  4461. // Make sure that link elements get serialized correctly by innerHTML
  4462. // This requires a wrapper element in IE
  4463. support.htmlSerialize = !!div.getElementsByTagName( "link" ).length;
  4464. // Makes sure cloning an html5 element does not cause problems
  4465. // Where outerHTML is undefined, this still works
  4466. support.html5Clone =
  4467. document.createElement( "nav" ).cloneNode( true ).outerHTML !== "<:nav></:nav>";
  4468. // Check if a disconnected checkbox will retain its checked
  4469. // value of true after appended to the DOM (IE6/7)
  4470. input.type = "checkbox";
  4471. input.checked = true;
  4472. fragment.appendChild( input );
  4473. support.appendChecked = input.checked;
  4474. // Make sure textarea (and checkbox) defaultValue is properly cloned
  4475. // Support: IE6-IE11+
  4476. div.innerHTML = "<textarea>x</textarea>";
  4477. support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue;
  4478. // #11217 - WebKit loses check when the name is after the checked attribute
  4479. fragment.appendChild( div );
  4480. div.innerHTML = "<input type='radio' checked='checked' name='t'/>";
  4481. // Support: Safari 5.1, iOS 5.1, Android 4.x, Android 2.3
  4482. // old WebKit doesn't clone checked state correctly in fragments
  4483. support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked;
  4484. // Support: IE<9
  4485. // Opera does not clone events (and typeof div.attachEvent === undefined).
  4486. // IE9-10 clones events bound via attachEvent, but they don't trigger with .click()
  4487. support.noCloneEvent = true;
  4488. if ( div.attachEvent ) {
  4489. div.attachEvent( "onclick", function() {
  4490. support.noCloneEvent = false;
  4491. });
  4492. div.cloneNode( true ).click();
  4493. }
  4494. // Execute the test only if not already executed in another module.
  4495. if (support.deleteExpando == null) {
  4496. // Support: IE<9
  4497. support.deleteExpando = true;
  4498. try {
  4499. delete div.test;
  4500. } catch( e ) {
  4501. support.deleteExpando = false;
  4502. }
  4503. }
  4504. })();
  4505. (function() {
  4506. var i, eventName,
  4507. div = document.createElement( "div" );
  4508. // Support: IE<9 (lack submit/change bubble), Firefox 23+ (lack focusin event)
  4509. for ( i in { submit: true, change: true, focusin: true }) {
  4510. eventName = "on" + i;
  4511. if ( !(support[ i + "Bubbles" ] = eventName in window) ) {
  4512. // Beware of CSP restrictions (https://developer.mozilla.org/en/Security/CSP)
  4513. div.setAttribute( eventName, "t" );
  4514. support[ i + "Bubbles" ] = div.attributes[ eventName ].expando === false;
  4515. }
  4516. }
  4517. // Null elements to avoid leaks in IE.
  4518. div = null;
  4519. })();
  4520. var rformElems = /^(?:input|select|textarea)$/i,
  4521. rkeyEvent = /^key/,
  4522. rmouseEvent = /^(?:mouse|pointer|contextmenu)|click/,
  4523. rfocusMorph = /^(?:focusinfocus|focusoutblur)$/,
  4524. rtypenamespace = /^([^.]*)(?:\.(.+)|)$/;
  4525. function returnTrue() {
  4526. return true;
  4527. }
  4528. function returnFalse() {
  4529. return false;
  4530. }
  4531. function safeActiveElement() {
  4532. try {
  4533. return document.activeElement;
  4534. } catch ( err ) { }
  4535. }
  4536. /*
  4537. * Helper functions for managing events -- not part of the public interface.
  4538. * Props to Dean Edwards' addEvent library for many of the ideas.
  4539. */
  4540. jQuery.event = {
  4541. global: {},
  4542. add: function( elem, types, handler, data, selector ) {
  4543. var tmp, events, t, handleObjIn,
  4544. special, eventHandle, handleObj,
  4545. handlers, type, namespaces, origType,
  4546. elemData = jQuery._data( elem );
  4547. // Don't attach events to noData or text/comment nodes (but allow plain objects)
  4548. if ( !elemData ) {
  4549. return;
  4550. }
  4551. // Caller can pass in an object of custom data in lieu of the handler
  4552. if ( handler.handler ) {
  4553. handleObjIn = handler;
  4554. handler = handleObjIn.handler;
  4555. selector = handleObjIn.selector;
  4556. }
  4557. // Make sure that the handler has a unique ID, used to find/remove it later
  4558. if ( !handler.guid ) {
  4559. handler.guid = jQuery.guid++;
  4560. }
  4561. // Init the element's event structure and main handler, if this is the first
  4562. if ( !(events = elemData.events) ) {
  4563. events = elemData.events = {};
  4564. }
  4565. if ( !(eventHandle = elemData.handle) ) {
  4566. eventHandle = elemData.handle = function( e ) {
  4567. // Discard the second event of a jQuery.event.trigger() and
  4568. // when an event is called after a page has unloaded
  4569. return typeof jQuery !== strundefined && (!e || jQuery.event.triggered !== e.type) ?
  4570. jQuery.event.dispatch.apply( eventHandle.elem, arguments ) :
  4571. undefined;
  4572. };
  4573. // Add elem as a property of the handle fn to prevent a memory leak with IE non-native events
  4574. eventHandle.elem = elem;
  4575. }
  4576. // Handle multiple events separated by a space
  4577. types = ( types || "" ).match( rnotwhite ) || [ "" ];
  4578. t = types.length;
  4579. while ( t-- ) {
  4580. tmp = rtypenamespace.exec( types[t] ) || [];
  4581. type = origType = tmp[1];
  4582. namespaces = ( tmp[2] || "" ).split( "." ).sort();
  4583. // There *must* be a type, no attaching namespace-only handlers
  4584. if ( !type ) {
  4585. continue;
  4586. }
  4587. // If event changes its type, use the special event handlers for the changed type
  4588. special = jQuery.event.special[ type ] || {};
  4589. // If selector defined, determine special event api type, otherwise given type
  4590. type = ( selector ? special.delegateType : special.bindType ) || type;
  4591. // Update special based on newly reset type
  4592. special = jQuery.event.special[ type ] || {};
  4593. // handleObj is passed to all event handlers
  4594. handleObj = jQuery.extend({
  4595. type: type,
  4596. origType: origType,
  4597. data: data,
  4598. handler: handler,
  4599. guid: handler.guid,
  4600. selector: selector,
  4601. needsContext: selector && jQuery.expr.match.needsContext.test( selector ),
  4602. namespace: namespaces.join(".")
  4603. }, handleObjIn );
  4604. // Init the event handler queue if we're the first
  4605. if ( !(handlers = events[ type ]) ) {
  4606. handlers = events[ type ] = [];
  4607. handlers.delegateCount = 0;
  4608. // Only use addEventListener/attachEvent if the special events handler returns false
  4609. if ( !special.setup || special.setup.call( elem, data, namespaces, eventHandle ) === false ) {
  4610. // Bind the global event handler to the element
  4611. if ( elem.addEventListener ) {
  4612. elem.addEventListener( type, eventHandle, false );
  4613. } else if ( elem.attachEvent ) {
  4614. elem.attachEvent( "on" + type, eventHandle );
  4615. }
  4616. }
  4617. }
  4618. if ( special.add ) {
  4619. special.add.call( elem, handleObj );
  4620. if ( !handleObj.handler.guid ) {
  4621. handleObj.handler.guid = handler.guid;
  4622. }
  4623. }
  4624. // Add to the element's handler list, delegates in front
  4625. if ( selector ) {
  4626. handlers.splice( handlers.delegateCount++, 0, handleObj );
  4627. } else {
  4628. handlers.push( handleObj );
  4629. }
  4630. // Keep track of which events have ever been used, for event optimization
  4631. jQuery.event.global[ type ] = true;
  4632. }
  4633. // Nullify elem to prevent memory leaks in IE
  4634. elem = null;
  4635. },
  4636. // Detach an event or set of events from an element
  4637. remove: function( elem, types, handler, selector, mappedTypes ) {
  4638. var j, handleObj, tmp,
  4639. origCount, t, events,
  4640. special, handlers, type,
  4641. namespaces, origType,
  4642. elemData = jQuery.hasData( elem ) && jQuery._data( elem );
  4643. if ( !elemData || !(events = elemData.events) ) {
  4644. return;
  4645. }
  4646. // Once for each type.namespace in types; type may be omitted
  4647. types = ( types || "" ).match( rnotwhite ) || [ "" ];
  4648. t = types.length;
  4649. while ( t-- ) {
  4650. tmp = rtypenamespace.exec( types[t] ) || [];
  4651. type = origType = tmp[1];
  4652. namespaces = ( tmp[2] || "" ).split( "." ).sort();
  4653. // Unbind all events (on this namespace, if provided) for the element
  4654. if ( !type ) {
  4655. for ( type in events ) {
  4656. jQuery.event.remove( elem, type + types[ t ], handler, selector, true );
  4657. }
  4658. continue;
  4659. }
  4660. special = jQuery.event.special[ type ] || {};
  4661. type = ( selector ? special.delegateType : special.bindType ) || type;
  4662. handlers = events[ type ] || [];
  4663. tmp = tmp[2] && new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" );
  4664. // Remove matching events
  4665. origCount = j = handlers.length;
  4666. while ( j-- ) {
  4667. handleObj = handlers[ j ];
  4668. if ( ( mappedTypes || origType === handleObj.origType ) &&
  4669. ( !handler || handler.guid === handleObj.guid ) &&
  4670. ( !tmp || tmp.test( handleObj.namespace ) ) &&
  4671. ( !selector || selector === handleObj.selector || selector === "**" && handleObj.selector ) ) {
  4672. handlers.splice( j, 1 );
  4673. if ( handleObj.selector ) {
  4674. handlers.delegateCount--;
  4675. }
  4676. if ( special.remove ) {
  4677. special.remove.call( elem, handleObj );
  4678. }
  4679. }
  4680. }
  4681. // Remove generic event handler if we removed something and no more handlers exist
  4682. // (avoids potential for endless recursion during removal of special event handlers)
  4683. if ( origCount && !handlers.length ) {
  4684. if ( !special.teardown || special.teardown.call( elem, namespaces, elemData.handle ) === false ) {
  4685. jQuery.removeEvent( elem, type, elemData.handle );
  4686. }
  4687. delete events[ type ];
  4688. }
  4689. }
  4690. // Remove the expando if it's no longer used
  4691. if ( jQuery.isEmptyObject( events ) ) {
  4692. delete elemData.handle;
  4693. // removeData also checks for emptiness and clears the expando if empty
  4694. // so use it instead of delete
  4695. jQuery._removeData( elem, "events" );
  4696. }
  4697. },
  4698. trigger: function( event, data, elem, onlyHandlers ) {
  4699. var handle, ontype, cur,
  4700. bubbleType, special, tmp, i,
  4701. eventPath = [ elem || document ],
  4702. type = hasOwn.call( event, "type" ) ? event.type : event,
  4703. namespaces = hasOwn.call( event, "namespace" ) ? event.namespace.split(".") : [];
  4704. cur = tmp = elem = elem || document;
  4705. // Don't do events on text and comment nodes
  4706. if ( elem.nodeType === 3 || elem.nodeType === 8 ) {
  4707. return;
  4708. }
  4709. // focus/blur morphs to focusin/out; ensure we're not firing them right now
  4710. if ( rfocusMorph.test( type + jQuery.event.triggered ) ) {
  4711. return;
  4712. }
  4713. if ( type.indexOf(".") >= 0 ) {
  4714. // Namespaced trigger; create a regexp to match event type in handle()
  4715. namespaces = type.split(".");
  4716. type = namespaces.shift();
  4717. namespaces.sort();
  4718. }
  4719. ontype = type.indexOf(":") < 0 && "on" + type;
  4720. // Caller can pass in a jQuery.Event object, Object, or just an event type string
  4721. event = event[ jQuery.expando ] ?
  4722. event :
  4723. new jQuery.Event( type, typeof event === "object" && event );
  4724. // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true)
  4725. event.isTrigger = onlyHandlers ? 2 : 3;
  4726. event.namespace = namespaces.join(".");
  4727. event.namespace_re = event.namespace ?
  4728. new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" ) :
  4729. null;
  4730. // Clean up the event in case it is being reused
  4731. event.result = undefined;
  4732. if ( !event.target ) {
  4733. event.target = elem;
  4734. }
  4735. // Clone any incoming data and prepend the event, creating the handler arg list
  4736. data = data == null ?
  4737. [ event ] :
  4738. jQuery.makeArray( data, [ event ] );
  4739. // Allow special events to draw outside the lines
  4740. special = jQuery.event.special[ type ] || {};
  4741. if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) {
  4742. return;
  4743. }
  4744. // Determine event propagation path in advance, per W3C events spec (#9951)
  4745. // Bubble up to document, then to window; watch for a global ownerDocument var (#9724)
  4746. if ( !onlyHandlers && !special.noBubble && !jQuery.isWindow( elem ) ) {
  4747. bubbleType = special.delegateType || type;
  4748. if ( !rfocusMorph.test( bubbleType + type ) ) {
  4749. cur = cur.parentNode;
  4750. }
  4751. for ( ; cur; cur = cur.parentNode ) {
  4752. eventPath.push( cur );
  4753. tmp = cur;
  4754. }
  4755. // Only add window if we got to document (e.g., not plain obj or detached DOM)
  4756. if ( tmp === (elem.ownerDocument || document) ) {
  4757. eventPath.push( tmp.defaultView || tmp.parentWindow || window );
  4758. }
  4759. }
  4760. // Fire handlers on the event path
  4761. i = 0;
  4762. while ( (cur = eventPath[i++]) && !event.isPropagationStopped() ) {
  4763. event.type = i > 1 ?
  4764. bubbleType :
  4765. special.bindType || type;
  4766. // jQuery handler
  4767. handle = ( jQuery._data( cur, "events" ) || {} )[ event.type ] && jQuery._data( cur, "handle" );
  4768. if ( handle ) {
  4769. handle.apply( cur, data );
  4770. }
  4771. // Native handler
  4772. handle = ontype && cur[ ontype ];
  4773. if ( handle && handle.apply && jQuery.acceptData( cur ) ) {
  4774. event.result = handle.apply( cur, data );
  4775. if ( event.result === false ) {
  4776. event.preventDefault();
  4777. }
  4778. }
  4779. }
  4780. event.type = type;
  4781. // If nobody prevented the default action, do it now
  4782. if ( !onlyHandlers && !event.isDefaultPrevented() ) {
  4783. if ( (!special._default || special._default.apply( eventPath.pop(), data ) === false) &&
  4784. jQuery.acceptData( elem ) ) {
  4785. // Call a native DOM method on the target with the same name name as the event.
  4786. // Can't use an .isFunction() check here because IE6/7 fails that test.
  4787. // Don't do default actions on window, that's where global variables be (#6170)
  4788. if ( ontype && elem[ type ] && !jQuery.isWindow( elem ) ) {
  4789. // Don't re-trigger an onFOO event when we call its FOO() method
  4790. tmp = elem[ ontype ];
  4791. if ( tmp ) {
  4792. elem[ ontype ] = null;
  4793. }
  4794. // Prevent re-triggering of the same event, since we already bubbled it above
  4795. jQuery.event.triggered = type;
  4796. try {
  4797. elem[ type ]();
  4798. } catch ( e ) {
  4799. // IE<9 dies on focus/blur to hidden element (#1486,#12518)
  4800. // only reproducible on winXP IE8 native, not IE9 in IE8 mode
  4801. }
  4802. jQuery.event.triggered = undefined;
  4803. if ( tmp ) {
  4804. elem[ ontype ] = tmp;
  4805. }
  4806. }
  4807. }
  4808. }
  4809. return event.result;
  4810. },
  4811. dispatch: function( event ) {
  4812. // Make a writable jQuery.Event from the native event object
  4813. event = jQuery.event.fix( event );
  4814. var i, ret, handleObj, matched, j,
  4815. handlerQueue = [],
  4816. args = slice.call( arguments ),
  4817. handlers = ( jQuery._data( this, "events" ) || {} )[ event.type ] || [],
  4818. special = jQuery.event.special[ event.type ] || {};
  4819. // Use the fix-ed jQuery.Event rather than the (read-only) native event
  4820. args[0] = event;
  4821. event.delegateTarget = this;
  4822. // Call the preDispatch hook for the mapped type, and let it bail if desired
  4823. if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) {
  4824. return;
  4825. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  4826. }
  4827. }
  4828. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  4829. body.removeChild( container );
  4830. } );
  4831. ( function() {
  4832. var div = document.createElement( "div" );
  4833. // Support: IE<9
  4834. support.deleteExpando = true;
  4835. try {
  4836. delete div.test;
  4837. } catch ( e ) {
  4838. support.deleteExpando = false;
  4839. }
  4840. // Null elements to avoid leaks in IE.
  4841. div = null;
  4842. } )();
  4843. var acceptData = function( elem ) {
  4844. var noData = jQuery.noData[ ( elem.nodeName + " " ).toLowerCase() ],
  4845. nodeType = +elem.nodeType || 1;
  4846. // Do not set data on non-element DOM nodes because it will not be cleared (#8335).
  4847. return nodeType !== 1 && nodeType !== 9 ?
  4848. false :
  4849. // Nodes accept data unless otherwise specified; rejection can be conditional
  4850. !noData || noData !== true && elem.getAttribute( "classid" ) === noData;
  4851. };
  4852. var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,
  4853. rmultiDash = /([A-Z])/g;
  4854. function dataAttr( elem, key, data ) {
  4855. // If nothing was found internally, try to fetch any
  4856. // data from the HTML5 data-* attribute
  4857. if ( data === undefined && elem.nodeType === 1 ) {
  4858. var name = "data-" + key.replace( rmultiDash, "-$1" ).toLowerCase();
  4859. data = elem.getAttribute( name );
  4860. if ( typeof data === "string" ) {
  4861. try {
  4862. data = data === "true" ? true :
  4863. data === "false" ? false :
  4864. data === "null" ? null :
  4865. // Only convert to a number if it doesn't change the string
  4866. +data + "" === data ? +data :
  4867. rbrace.test( data ) ? jQuery.parseJSON( data ) :
  4868. data;
  4869. } catch ( e ) {}
  4870. // Make sure we set the data so it isn't changed later
  4871. jQuery.data( elem, key, data );
  4872. } else {
  4873. data = undefined;
  4874. =======
  4875. // Determine handlers
  4876. handlerQueue = jQuery.event.handlers.call( this, event, handlers );
  4877. // Run delegates first; they may want to stop propagation beneath us
  4878. i = 0;
  4879. while ( (matched = handlerQueue[ i++ ]) && !event.isPropagationStopped() ) {
  4880. event.currentTarget = matched.elem;
  4881. j = 0;
  4882. while ( (handleObj = matched.handlers[ j++ ]) && !event.isImmediatePropagationStopped() ) {
  4883. // Triggered event must either 1) have no namespace, or
  4884. // 2) have namespace(s) a subset or equal to those in the bound event (both can have no namespace).
  4885. if ( !event.namespace_re || event.namespace_re.test( handleObj.namespace ) ) {
  4886. event.handleObj = handleObj;
  4887. event.data = handleObj.data;
  4888. ret = ( (jQuery.event.special[ handleObj.origType ] || {}).handle || handleObj.handler )
  4889. .apply( matched.elem, args );
  4890. if ( ret !== undefined ) {
  4891. if ( (event.result = ret) === false ) {
  4892. event.preventDefault();
  4893. event.stopPropagation();
  4894. }
  4895. }
  4896. }
  4897. }
  4898. }
  4899. // Call the postDispatch hook for the mapped type
  4900. if ( special.postDispatch ) {
  4901. special.postDispatch.call( this, event );
  4902. }
  4903. return event.result;
  4904. },
  4905. handlers: function( event, handlers ) {
  4906. var sel, handleObj, matches, i,
  4907. handlerQueue = [],
  4908. delegateCount = handlers.delegateCount,
  4909. cur = event.target;
  4910. // Find delegate handlers
  4911. // Black-hole SVG <use> instance trees (#13180)
  4912. // Avoid non-left-click bubbling in Firefox (#3861)
  4913. if ( delegateCount && cur.nodeType && (!event.button || event.type !== "click") ) {
  4914. /* jshint eqeqeq: false */
  4915. for ( ; cur != this; cur = cur.parentNode || this ) {
  4916. /* jshint eqeqeq: true */
  4917. // Don't check non-elements (#13208)
  4918. // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764)
  4919. if ( cur.nodeType === 1 && (cur.disabled !== true || event.type !== "click") ) {
  4920. matches = [];
  4921. for ( i = 0; i < delegateCount; i++ ) {
  4922. handleObj = handlers[ i ];
  4923. // Don't conflict with Object.prototype properties (#13203)
  4924. sel = handleObj.selector + " ";
  4925. if ( matches[ sel ] === undefined ) {
  4926. matches[ sel ] = handleObj.needsContext ?
  4927. jQuery( sel, this ).index( cur ) >= 0 :
  4928. jQuery.find( sel, this, null, [ cur ] ).length;
  4929. }
  4930. if ( matches[ sel ] ) {
  4931. matches.push( handleObj );
  4932. }
  4933. }
  4934. if ( matches.length ) {
  4935. handlerQueue.push({ elem: cur, handlers: matches });
  4936. }
  4937. }
  4938. }
  4939. }
  4940. // Add the remaining (directly-bound) handlers
  4941. if ( delegateCount < handlers.length ) {
  4942. handlerQueue.push({ elem: this, handlers: handlers.slice( delegateCount ) });
  4943. }
  4944. return handlerQueue;
  4945. },
  4946. fix: function( event ) {
  4947. if ( event[ jQuery.expando ] ) {
  4948. return event;
  4949. }
  4950. // Create a writable copy of the event object and normalize some properties
  4951. var i, prop, copy,
  4952. type = event.type,
  4953. originalEvent = event,
  4954. fixHook = this.fixHooks[ type ];
  4955. if ( !fixHook ) {
  4956. this.fixHooks[ type ] = fixHook =
  4957. rmouseEvent.test( type ) ? this.mouseHooks :
  4958. rkeyEvent.test( type ) ? this.keyHooks :
  4959. {};
  4960. }
  4961. copy = fixHook.props ? this.props.concat( fixHook.props ) : this.props;
  4962. event = new jQuery.Event( originalEvent );
  4963. i = copy.length;
  4964. while ( i-- ) {
  4965. prop = copy[ i ];
  4966. event[ prop ] = originalEvent[ prop ];
  4967. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  4968. }
  4969. }
  4970. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  4971. return data;
  4972. }
  4973. // checks a cache object for emptiness
  4974. function isEmptyDataObject( obj ) {
  4975. var name;
  4976. for ( name in obj ) {
  4977. // if the public data object is empty, the private is still empty
  4978. if ( name === "data" && jQuery.isEmptyObject( obj[ name ] ) ) {
  4979. continue;
  4980. }
  4981. if ( name !== "toJSON" ) {
  4982. return false;
  4983. =======
  4984. // Support: IE<9
  4985. // Fix target property (#1925)
  4986. if ( !event.target ) {
  4987. event.target = originalEvent.srcElement || document;
  4988. }
  4989. // Support: Chrome 23+, Safari?
  4990. // Target should not be a text node (#504, #13143)
  4991. if ( event.target.nodeType === 3 ) {
  4992. event.target = event.target.parentNode;
  4993. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  4994. }
  4995. }
  4996. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  4997. return true;
  4998. }
  4999. function internalData( elem, name, data, pvt /* Internal Use Only */ ) {
  5000. if ( !acceptData( elem ) ) {
  5001. return;
  5002. }
  5003. var ret, thisCache,
  5004. internalKey = jQuery.expando,
  5005. // We have to handle DOM nodes and JS objects differently because IE6-7
  5006. // can't GC object references properly across the DOM-JS boundary
  5007. isNode = elem.nodeType,
  5008. // Only DOM nodes need the global jQuery cache; JS object data is
  5009. // attached directly to the object so GC can occur automatically
  5010. cache = isNode ? jQuery.cache : elem,
  5011. // Only defining an ID for JS objects if its cache already exists allows
  5012. // the code to shortcut on the same path as a DOM node with no cache
  5013. id = isNode ? elem[ internalKey ] : elem[ internalKey ] && internalKey;
  5014. // Avoid doing any more work than we need to when trying to get data on an
  5015. // object that has no data at all
  5016. if ( ( !id || !cache[ id ] || ( !pvt && !cache[ id ].data ) ) &&
  5017. data === undefined && typeof name === "string" ) {
  5018. return;
  5019. }
  5020. if ( !id ) {
  5021. // Only DOM nodes need a new unique ID for each element since their data
  5022. // ends up in the global cache
  5023. if ( isNode ) {
  5024. id = elem[ internalKey ] = deletedIds.pop() || jQuery.guid++;
  5025. } else {
  5026. id = internalKey;
  5027. }
  5028. }
  5029. if ( !cache[ id ] ) {
  5030. // Avoid exposing jQuery metadata on plain JS objects when the object
  5031. // is serialized using JSON.stringify
  5032. cache[ id ] = isNode ? {} : { toJSON: jQuery.noop };
  5033. }
  5034. // An object can be passed to jQuery.data instead of a key/value pair; this gets
  5035. // shallow copied over onto the existing cache
  5036. if ( typeof name === "object" || typeof name === "function" ) {
  5037. if ( pvt ) {
  5038. cache[ id ] = jQuery.extend( cache[ id ], name );
  5039. } else {
  5040. cache[ id ].data = jQuery.extend( cache[ id ].data, name );
  5041. =======
  5042. // Support: IE<9
  5043. // For mouse/key events, metaKey==false if it's undefined (#3368, #11328)
  5044. event.metaKey = !!event.metaKey;
  5045. return fixHook.filter ? fixHook.filter( event, originalEvent ) : event;
  5046. },
  5047. // Includes some event props shared by KeyEvent and MouseEvent
  5048. props: "altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),
  5049. fixHooks: {},
  5050. keyHooks: {
  5051. props: "char charCode key keyCode".split(" "),
  5052. filter: function( event, original ) {
  5053. // Add which for key events
  5054. if ( event.which == null ) {
  5055. event.which = original.charCode != null ? original.charCode : original.keyCode;
  5056. }
  5057. return event;
  5058. }
  5059. },
  5060. mouseHooks: {
  5061. props: "button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),
  5062. filter: function( event, original ) {
  5063. var body, eventDoc, doc,
  5064. button = original.button,
  5065. fromElement = original.fromElement;
  5066. // Calculate pageX/Y if missing and clientX/Y available
  5067. if ( event.pageX == null && original.clientX != null ) {
  5068. eventDoc = event.target.ownerDocument || document;
  5069. doc = eventDoc.documentElement;
  5070. body = eventDoc.body;
  5071. event.pageX = original.clientX + ( doc && doc.scrollLeft || body && body.scrollLeft || 0 ) - ( doc && doc.clientLeft || body && body.clientLeft || 0 );
  5072. event.pageY = original.clientY + ( doc && doc.scrollTop || body && body.scrollTop || 0 ) - ( doc && doc.clientTop || body && body.clientTop || 0 );
  5073. }
  5074. // Add relatedTarget, if necessary
  5075. if ( !event.relatedTarget && fromElement ) {
  5076. event.relatedTarget = fromElement === event.target ? original.toElement : fromElement;
  5077. }
  5078. // Add which for click: 1 === left; 2 === middle; 3 === right
  5079. // Note: button is not normalized, so don't use it
  5080. if ( !event.which && button !== undefined ) {
  5081. event.which = ( button & 1 ? 1 : ( button & 2 ? 3 : ( button & 4 ? 2 : 0 ) ) );
  5082. }
  5083. return event;
  5084. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  5085. }
  5086. }
  5087. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  5088. thisCache = cache[ id ];
  5089. // jQuery data() is stored in a separate object inside the object's internal data
  5090. // cache in order to avoid key collisions between internal data and user-defined
  5091. // data.
  5092. if ( !pvt ) {
  5093. if ( !thisCache.data ) {
  5094. thisCache.data = {};
  5095. }
  5096. thisCache = thisCache.data;
  5097. }
  5098. if ( data !== undefined ) {
  5099. thisCache[ jQuery.camelCase( name ) ] = data;
  5100. }
  5101. // Check for both converted-to-camel and non-converted data property names
  5102. // If a data property was specified
  5103. if ( typeof name === "string" ) {
  5104. // First Try to find as-is property data
  5105. ret = thisCache[ name ];
  5106. // Test for null|undefined property data
  5107. if ( ret == null ) {
  5108. // Try to find the camelCased property
  5109. ret = thisCache[ jQuery.camelCase( name ) ];
  5110. =======
  5111. special: {
  5112. load: {
  5113. // Prevent triggered image.load events from bubbling to window.load
  5114. noBubble: true
  5115. },
  5116. focus: {
  5117. // Fire native event if possible so blur/focus sequence is correct
  5118. trigger: function() {
  5119. if ( this !== safeActiveElement() && this.focus ) {
  5120. try {
  5121. this.focus();
  5122. return false;
  5123. } catch ( e ) {
  5124. // Support: IE<9
  5125. // If we error on focus to hidden element (#1486, #12518),
  5126. // let .trigger() run the handlers
  5127. }
  5128. }
  5129. },
  5130. delegateType: "focusin"
  5131. },
  5132. blur: {
  5133. trigger: function() {
  5134. if ( this === safeActiveElement() && this.blur ) {
  5135. this.blur();
  5136. return false;
  5137. }
  5138. },
  5139. delegateType: "focusout"
  5140. },
  5141. click: {
  5142. // For checkbox, fire native event so checked state will be right
  5143. trigger: function() {
  5144. if ( jQuery.nodeName( this, "input" ) && this.type === "checkbox" && this.click ) {
  5145. this.click();
  5146. return false;
  5147. }
  5148. },
  5149. // For cross-browser consistency, don't fire native .click() on links
  5150. _default: function( event ) {
  5151. return jQuery.nodeName( event.target, "a" );
  5152. }
  5153. },
  5154. beforeunload: {
  5155. postDispatch: function( event ) {
  5156. // Support: Firefox 20+
  5157. // Firefox doesn't alert if the returnValue field is not set.
  5158. if ( event.result !== undefined && event.originalEvent ) {
  5159. event.originalEvent.returnValue = event.result;
  5160. }
  5161. }
  5162. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  5163. }
  5164. } else {
  5165. ret = thisCache;
  5166. }
  5167. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  5168. return ret;
  5169. }
  5170. function internalRemoveData( elem, name, pvt ) {
  5171. if ( !acceptData( elem ) ) {
  5172. return;
  5173. }
  5174. var thisCache, i,
  5175. isNode = elem.nodeType,
  5176. // See jQuery.data for more information
  5177. cache = isNode ? jQuery.cache : elem,
  5178. id = isNode ? elem[ jQuery.expando ] : jQuery.expando;
  5179. // If there is already no cache entry for this object, there is no
  5180. // purpose in continuing
  5181. if ( !cache[ id ] ) {
  5182. return;
  5183. }
  5184. if ( name ) {
  5185. thisCache = pvt ? cache[ id ] : cache[ id ].data;
  5186. if ( thisCache ) {
  5187. // Support array or space separated string names for data keys
  5188. if ( !jQuery.isArray( name ) ) {
  5189. // try the string as a key before any manipulation
  5190. if ( name in thisCache ) {
  5191. name = [ name ];
  5192. } else {
  5193. // split the camel cased version by spaces unless a key with the spaces exists
  5194. name = jQuery.camelCase( name );
  5195. if ( name in thisCache ) {
  5196. name = [ name ];
  5197. } else {
  5198. name = name.split( " " );
  5199. }
  5200. }
  5201. } else {
  5202. // If "name" is an array of keys...
  5203. // When data is initially created, via ("key", "val") signature,
  5204. // keys will be converted to camelCase.
  5205. // Since there is no way to tell _how_ a key was added, remove
  5206. // both plain key and camelCase key. #12786
  5207. // This will only penalize the array argument path.
  5208. name = name.concat( jQuery.map( name, jQuery.camelCase ) );
  5209. }
  5210. i = name.length;
  5211. while ( i-- ) {
  5212. delete thisCache[ name[ i ] ];
  5213. }
  5214. // If there is no data left in the cache, we want to continue
  5215. // and let the cache object itself get destroyed
  5216. if ( pvt ? !isEmptyDataObject( thisCache ) : !jQuery.isEmptyObject( thisCache ) ) {
  5217. return;
  5218. }
  5219. }
  5220. }
  5221. // See jQuery.data for more information
  5222. if ( !pvt ) {
  5223. delete cache[ id ].data;
  5224. // Don't destroy the parent cache unless the internal data object
  5225. // had been the only thing left in it
  5226. if ( !isEmptyDataObject( cache[ id ] ) ) {
  5227. return;
  5228. }
  5229. }
  5230. // Destroy the cache
  5231. if ( isNode ) {
  5232. jQuery.cleanData( [ elem ], true );
  5233. // Use delete when supported for expandos or `cache` is not a window per isWindow (#10080)
  5234. /* jshint eqeqeq: false */
  5235. } else if ( support.deleteExpando || cache != cache.window ) {
  5236. /* jshint eqeqeq: true */
  5237. delete cache[ id ];
  5238. // When all else fails, undefined
  5239. } else {
  5240. cache[ id ] = undefined;
  5241. }
  5242. }
  5243. jQuery.extend( {
  5244. cache: {},
  5245. // The following elements (space-suffixed to avoid Object.prototype collisions)
  5246. // throw uncatchable exceptions if you attempt to set expando properties
  5247. noData: {
  5248. "applet ": true,
  5249. "embed ": true,
  5250. // ...but Flash objects (which have this classid) *can* handle expandos
  5251. "object ": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
  5252. },
  5253. hasData: function( elem ) {
  5254. elem = elem.nodeType ? jQuery.cache[ elem[ jQuery.expando ] ] : elem[ jQuery.expando ];
  5255. return !!elem && !isEmptyDataObject( elem );
  5256. },
  5257. data: function( elem, name, data ) {
  5258. return internalData( elem, name, data );
  5259. },
  5260. removeData: function( elem, name ) {
  5261. return internalRemoveData( elem, name );
  5262. },
  5263. // For internal use only.
  5264. _data: function( elem, name, data ) {
  5265. return internalData( elem, name, data, true );
  5266. },
  5267. _removeData: function( elem, name ) {
  5268. return internalRemoveData( elem, name, true );
  5269. }
  5270. } );
  5271. jQuery.fn.extend( {
  5272. data: function( key, value ) {
  5273. var i, name, data,
  5274. elem = this[ 0 ],
  5275. attrs = elem && elem.attributes;
  5276. // Special expections of .data basically thwart jQuery.access,
  5277. // so implement the relevant behavior ourselves
  5278. // Gets all values
  5279. if ( key === undefined ) {
  5280. if ( this.length ) {
  5281. data = jQuery.data( elem );
  5282. if ( elem.nodeType === 1 && !jQuery._data( elem, "parsedAttrs" ) ) {
  5283. i = attrs.length;
  5284. while ( i-- ) {
  5285. // Support: IE11+
  5286. // The attrs elements can be null (#14894)
  5287. if ( attrs[ i ] ) {
  5288. name = attrs[ i ].name;
  5289. if ( name.indexOf( "data-" ) === 0 ) {
  5290. name = jQuery.camelCase( name.slice( 5 ) );
  5291. dataAttr( elem, name, data[ name ] );
  5292. }
  5293. }
  5294. }
  5295. jQuery._data( elem, "parsedAttrs", true );
  5296. }
  5297. }
  5298. return data;
  5299. =======
  5300. simulate: function( type, elem, event, bubble ) {
  5301. // Piggyback on a donor event to simulate a different one.
  5302. // Fake originalEvent to avoid donor's stopPropagation, but if the
  5303. // simulated event prevents default then we do the same on the donor.
  5304. var e = jQuery.extend(
  5305. new jQuery.Event(),
  5306. event,
  5307. {
  5308. type: type,
  5309. isSimulated: true,
  5310. originalEvent: {}
  5311. }
  5312. );
  5313. if ( bubble ) {
  5314. jQuery.event.trigger( e, null, elem );
  5315. } else {
  5316. jQuery.event.dispatch.call( elem, e );
  5317. }
  5318. if ( e.isDefaultPrevented() ) {
  5319. event.preventDefault();
  5320. }
  5321. }
  5322. };
  5323. jQuery.removeEvent = document.removeEventListener ?
  5324. function( elem, type, handle ) {
  5325. if ( elem.removeEventListener ) {
  5326. elem.removeEventListener( type, handle, false );
  5327. }
  5328. } :
  5329. function( elem, type, handle ) {
  5330. var name = "on" + type;
  5331. if ( elem.detachEvent ) {
  5332. // #8545, #7054, preventing memory leaks for custom events in IE6-8
  5333. // detachEvent needed property on element, by name of that event, to properly expose it to GC
  5334. if ( typeof elem[ name ] === strundefined ) {
  5335. elem[ name ] = null;
  5336. }
  5337. elem.detachEvent( name, handle );
  5338. }
  5339. };
  5340. jQuery.Event = function( src, props ) {
  5341. // Allow instantiation without the 'new' keyword
  5342. if ( !(this instanceof jQuery.Event) ) {
  5343. return new jQuery.Event( src, props );
  5344. }
  5345. // Event object
  5346. if ( src && src.type ) {
  5347. this.originalEvent = src;
  5348. this.type = src.type;
  5349. // Events bubbling up the document may have been marked as prevented
  5350. // by a handler lower down the tree; reflect the correct value.
  5351. this.isDefaultPrevented = src.defaultPrevented ||
  5352. src.defaultPrevented === undefined &&
  5353. // Support: IE < 9, Android < 4.0
  5354. src.returnValue === false ?
  5355. returnTrue :
  5356. returnFalse;
  5357. // Event type
  5358. } else {
  5359. this.type = src;
  5360. }
  5361. // Put explicitly provided properties onto the event object
  5362. if ( props ) {
  5363. jQuery.extend( this, props );
  5364. }
  5365. // Create a timestamp if incoming event doesn't have one
  5366. this.timeStamp = src && src.timeStamp || jQuery.now();
  5367. // Mark it as fixed
  5368. this[ jQuery.expando ] = true;
  5369. };
  5370. // jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding
  5371. // http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html
  5372. jQuery.Event.prototype = {
  5373. isDefaultPrevented: returnFalse,
  5374. isPropagationStopped: returnFalse,
  5375. isImmediatePropagationStopped: returnFalse,
  5376. preventDefault: function() {
  5377. var e = this.originalEvent;
  5378. this.isDefaultPrevented = returnTrue;
  5379. if ( !e ) {
  5380. return;
  5381. }
  5382. // If preventDefault exists, run it on the original event
  5383. if ( e.preventDefault ) {
  5384. e.preventDefault();
  5385. // Support: IE
  5386. // Otherwise set the returnValue property of the original event to false
  5387. } else {
  5388. e.returnValue = false;
  5389. }
  5390. },
  5391. stopPropagation: function() {
  5392. var e = this.originalEvent;
  5393. this.isPropagationStopped = returnTrue;
  5394. if ( !e ) {
  5395. return;
  5396. }
  5397. // If stopPropagation exists, run it on the original event
  5398. if ( e.stopPropagation ) {
  5399. e.stopPropagation();
  5400. }
  5401. // Support: IE
  5402. // Set the cancelBubble property of the original event to true
  5403. e.cancelBubble = true;
  5404. },
  5405. stopImmediatePropagation: function() {
  5406. var e = this.originalEvent;
  5407. this.isImmediatePropagationStopped = returnTrue;
  5408. if ( e && e.stopImmediatePropagation ) {
  5409. e.stopImmediatePropagation();
  5410. }
  5411. this.stopPropagation();
  5412. }
  5413. };
  5414. // Create mouseenter/leave events using mouseover/out and event-time checks
  5415. jQuery.each({
  5416. mouseenter: "mouseover",
  5417. mouseleave: "mouseout",
  5418. pointerenter: "pointerover",
  5419. pointerleave: "pointerout"
  5420. }, function( orig, fix ) {
  5421. jQuery.event.special[ orig ] = {
  5422. delegateType: fix,
  5423. bindType: fix,
  5424. handle: function( event ) {
  5425. var ret,
  5426. target = this,
  5427. related = event.relatedTarget,
  5428. handleObj = event.handleObj;
  5429. // For mousenter/leave call the handler if related is outside the target.
  5430. // NB: No relatedTarget if the mouse left/entered the browser window
  5431. if ( !related || (related !== target && !jQuery.contains( target, related )) ) {
  5432. event.type = handleObj.origType;
  5433. ret = handleObj.handler.apply( this, arguments );
  5434. event.type = fix;
  5435. }
  5436. return ret;
  5437. }
  5438. };
  5439. });
  5440. // IE submit delegation
  5441. if ( !support.submitBubbles ) {
  5442. jQuery.event.special.submit = {
  5443. setup: function() {
  5444. // Only need this for delegated form submit events
  5445. if ( jQuery.nodeName( this, "form" ) ) {
  5446. return false;
  5447. }
  5448. // Lazy-add a submit handler when a descendant form may potentially be submitted
  5449. jQuery.event.add( this, "click._submit keypress._submit", function( e ) {
  5450. // Node name check avoids a VML-related crash in IE (#9807)
  5451. var elem = e.target,
  5452. form = jQuery.nodeName( elem, "input" ) || jQuery.nodeName( elem, "button" ) ? elem.form : undefined;
  5453. if ( form && !jQuery._data( form, "submitBubbles" ) ) {
  5454. jQuery.event.add( form, "submit._submit", function( event ) {
  5455. event._submit_bubble = true;
  5456. });
  5457. jQuery._data( form, "submitBubbles", true );
  5458. }
  5459. });
  5460. // return undefined since we don't need an event listener
  5461. },
  5462. postDispatch: function( event ) {
  5463. // If form was submitted by the user, bubble the event up the tree
  5464. if ( event._submit_bubble ) {
  5465. delete event._submit_bubble;
  5466. if ( this.parentNode && !event.isTrigger ) {
  5467. jQuery.event.simulate( "submit", this.parentNode, event, true );
  5468. }
  5469. }
  5470. },
  5471. teardown: function() {
  5472. // Only need this for delegated form submit events
  5473. if ( jQuery.nodeName( this, "form" ) ) {
  5474. return false;
  5475. }
  5476. // Remove delegated handlers; cleanData eventually reaps submit handlers attached above
  5477. jQuery.event.remove( this, "._submit" );
  5478. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  5479. }
  5480. };
  5481. }
  5482. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  5483. // Sets multiple values
  5484. if ( typeof key === "object" ) {
  5485. return this.each( function() {
  5486. jQuery.data( this, key );
  5487. } );
  5488. }
  5489. return arguments.length > 1 ?
  5490. // Sets one value
  5491. this.each( function() {
  5492. jQuery.data( this, key, value );
  5493. } ) :
  5494. // Gets one value
  5495. // Try to fetch any internally stored data first
  5496. elem ? dataAttr( elem, key, jQuery.data( elem, key ) ) : undefined;
  5497. },
  5498. removeData: function( key ) {
  5499. return this.each( function() {
  5500. jQuery.removeData( this, key );
  5501. } );
  5502. }
  5503. } );
  5504. jQuery.extend( {
  5505. queue: function( elem, type, data ) {
  5506. var queue;
  5507. if ( elem ) {
  5508. type = ( type || "fx" ) + "queue";
  5509. queue = jQuery._data( elem, type );
  5510. // Speed up dequeue by getting out quickly if this is just a lookup
  5511. if ( data ) {
  5512. if ( !queue || jQuery.isArray( data ) ) {
  5513. queue = jQuery._data( elem, type, jQuery.makeArray( data ) );
  5514. } else {
  5515. queue.push( data );
  5516. }
  5517. }
  5518. return queue || [];
  5519. }
  5520. },
  5521. dequeue: function( elem, type ) {
  5522. type = type || "fx";
  5523. var queue = jQuery.queue( elem, type ),
  5524. startLength = queue.length,
  5525. fn = queue.shift(),
  5526. hooks = jQuery._queueHooks( elem, type ),
  5527. next = function() {
  5528. jQuery.dequeue( elem, type );
  5529. };
  5530. // If the fx queue is dequeued, always remove the progress sentinel
  5531. if ( fn === "inprogress" ) {
  5532. fn = queue.shift();
  5533. startLength--;
  5534. }
  5535. if ( fn ) {
  5536. // Add a progress sentinel to prevent the fx queue from being
  5537. // automatically dequeued
  5538. if ( type === "fx" ) {
  5539. queue.unshift( "inprogress" );
  5540. =======
  5541. // IE change delegation and checkbox/radio fix
  5542. if ( !support.changeBubbles ) {
  5543. jQuery.event.special.change = {
  5544. setup: function() {
  5545. if ( rformElems.test( this.nodeName ) ) {
  5546. // IE doesn't fire change on a check/radio until blur; trigger it on click
  5547. // after a propertychange. Eat the blur-change in special.change.handle.
  5548. // This still fires onchange a second time for check/radio after blur.
  5549. if ( this.type === "checkbox" || this.type === "radio" ) {
  5550. jQuery.event.add( this, "propertychange._change", function( event ) {
  5551. if ( event.originalEvent.propertyName === "checked" ) {
  5552. this._just_changed = true;
  5553. }
  5554. });
  5555. jQuery.event.add( this, "click._change", function( event ) {
  5556. if ( this._just_changed && !event.isTrigger ) {
  5557. this._just_changed = false;
  5558. }
  5559. // Allow triggered, simulated change events (#11500)
  5560. jQuery.event.simulate( "change", this, event, true );
  5561. });
  5562. }
  5563. return false;
  5564. }
  5565. // Delegated event; lazy-add a change handler on descendant inputs
  5566. jQuery.event.add( this, "beforeactivate._change", function( e ) {
  5567. var elem = e.target;
  5568. if ( rformElems.test( elem.nodeName ) && !jQuery._data( elem, "changeBubbles" ) ) {
  5569. jQuery.event.add( elem, "change._change", function( event ) {
  5570. if ( this.parentNode && !event.isSimulated && !event.isTrigger ) {
  5571. jQuery.event.simulate( "change", this.parentNode, event, true );
  5572. }
  5573. });
  5574. jQuery._data( elem, "changeBubbles", true );
  5575. }
  5576. });
  5577. },
  5578. handle: function( event ) {
  5579. var elem = event.target;
  5580. // Swallow native change events from checkbox/radio, we already triggered them above
  5581. if ( this !== elem || event.isSimulated || event.isTrigger || (elem.type !== "radio" && elem.type !== "checkbox") ) {
  5582. return event.handleObj.handler.apply( this, arguments );
  5583. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  5584. }
  5585. },
  5586. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  5587. // clear up the last queue stop function
  5588. delete hooks.stop;
  5589. fn.call( elem, next, hooks );
  5590. }
  5591. if ( !startLength && hooks ) {
  5592. hooks.empty.fire();
  5593. }
  5594. },
  5595. // not intended for public consumption - generates a queueHooks object,
  5596. // or returns the current one
  5597. _queueHooks: function( elem, type ) {
  5598. var key = type + "queueHooks";
  5599. return jQuery._data( elem, key ) || jQuery._data( elem, key, {
  5600. empty: jQuery.Callbacks( "once memory" ).add( function() {
  5601. jQuery._removeData( elem, type + "queue" );
  5602. jQuery._removeData( elem, key );
  5603. } )
  5604. } );
  5605. }
  5606. } );
  5607. jQuery.fn.extend( {
  5608. queue: function( type, data ) {
  5609. var setter = 2;
  5610. if ( typeof type !== "string" ) {
  5611. data = type;
  5612. type = "fx";
  5613. setter--;
  5614. }
  5615. if ( arguments.length < setter ) {
  5616. return jQuery.queue( this[ 0 ], type );
  5617. }
  5618. return data === undefined ?
  5619. this :
  5620. this.each( function() {
  5621. var queue = jQuery.queue( this, type, data );
  5622. // ensure a hooks for this queue
  5623. jQuery._queueHooks( this, type );
  5624. if ( type === "fx" && queue[ 0 ] !== "inprogress" ) {
  5625. jQuery.dequeue( this, type );
  5626. }
  5627. } );
  5628. },
  5629. dequeue: function( type ) {
  5630. return this.each( function() {
  5631. jQuery.dequeue( this, type );
  5632. } );
  5633. },
  5634. clearQueue: function( type ) {
  5635. return this.queue( type || "fx", [] );
  5636. },
  5637. // Get a promise resolved when queues of a certain type
  5638. // are emptied (fx is the type by default)
  5639. promise: function( type, obj ) {
  5640. var tmp,
  5641. count = 1,
  5642. defer = jQuery.Deferred(),
  5643. elements = this,
  5644. i = this.length,
  5645. resolve = function() {
  5646. if ( !( --count ) ) {
  5647. defer.resolveWith( elements, [ elements ] );
  5648. }
  5649. };
  5650. if ( typeof type !== "string" ) {
  5651. obj = type;
  5652. type = undefined;
  5653. }
  5654. type = type || "fx";
  5655. while ( i-- ) {
  5656. tmp = jQuery._data( elements[ i ], type + "queueHooks" );
  5657. if ( tmp && tmp.empty ) {
  5658. count++;
  5659. tmp.empty.add( resolve );
  5660. }
  5661. }
  5662. resolve();
  5663. return defer.promise( obj );
  5664. }
  5665. } );
  5666. ( function() {
  5667. var shrinkWrapBlocksVal;
  5668. support.shrinkWrapBlocks = function() {
  5669. if ( shrinkWrapBlocksVal != null ) {
  5670. return shrinkWrapBlocksVal;
  5671. =======
  5672. teardown: function() {
  5673. jQuery.event.remove( this, "._change" );
  5674. return !rformElems.test( this.nodeName );
  5675. }
  5676. };
  5677. }
  5678. // Create "bubbling" focus and blur events
  5679. if ( !support.focusinBubbles ) {
  5680. jQuery.each({ focus: "focusin", blur: "focusout" }, function( orig, fix ) {
  5681. // Attach a single capturing handler on the document while someone wants focusin/focusout
  5682. var handler = function( event ) {
  5683. jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ), true );
  5684. };
  5685. jQuery.event.special[ fix ] = {
  5686. setup: function() {
  5687. var doc = this.ownerDocument || this,
  5688. attaches = jQuery._data( doc, fix );
  5689. if ( !attaches ) {
  5690. doc.addEventListener( orig, handler, true );
  5691. }
  5692. jQuery._data( doc, fix, ( attaches || 0 ) + 1 );
  5693. },
  5694. teardown: function() {
  5695. var doc = this.ownerDocument || this,
  5696. attaches = jQuery._data( doc, fix ) - 1;
  5697. if ( !attaches ) {
  5698. doc.removeEventListener( orig, handler, true );
  5699. jQuery._removeData( doc, fix );
  5700. } else {
  5701. jQuery._data( doc, fix, attaches );
  5702. }
  5703. }
  5704. };
  5705. });
  5706. }
  5707. jQuery.fn.extend({
  5708. on: function( types, selector, data, fn, /*INTERNAL*/ one ) {
  5709. var type, origFn;
  5710. // Types can be a map of types/handlers
  5711. if ( typeof types === "object" ) {
  5712. // ( types-Object, selector, data )
  5713. if ( typeof selector !== "string" ) {
  5714. // ( types-Object, data )
  5715. data = data || selector;
  5716. selector = undefined;
  5717. }
  5718. for ( type in types ) {
  5719. this.on( type, selector, data, types[ type ], one );
  5720. }
  5721. return this;
  5722. }
  5723. if ( data == null && fn == null ) {
  5724. // ( types, fn )
  5725. fn = selector;
  5726. data = selector = undefined;
  5727. } else if ( fn == null ) {
  5728. if ( typeof selector === "string" ) {
  5729. // ( types, selector, fn )
  5730. fn = data;
  5731. data = undefined;
  5732. } else {
  5733. // ( types, data, fn )
  5734. fn = data;
  5735. data = selector;
  5736. selector = undefined;
  5737. }
  5738. }
  5739. if ( fn === false ) {
  5740. fn = returnFalse;
  5741. } else if ( !fn ) {
  5742. return this;
  5743. }
  5744. if ( one === 1 ) {
  5745. origFn = fn;
  5746. fn = function( event ) {
  5747. // Can use an empty set, since event contains the info
  5748. jQuery().off( event );
  5749. return origFn.apply( this, arguments );
  5750. };
  5751. // Use same guid so caller can remove using origFn
  5752. fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ );
  5753. }
  5754. return this.each( function() {
  5755. jQuery.event.add( this, types, fn, data, selector );
  5756. });
  5757. },
  5758. one: function( types, selector, data, fn ) {
  5759. return this.on( types, selector, data, fn, 1 );
  5760. },
  5761. off: function( types, selector, fn ) {
  5762. var handleObj, type;
  5763. if ( types && types.preventDefault && types.handleObj ) {
  5764. // ( event ) dispatched jQuery.Event
  5765. handleObj = types.handleObj;
  5766. jQuery( types.delegateTarget ).off(
  5767. handleObj.namespace ? handleObj.origType + "." + handleObj.namespace : handleObj.origType,
  5768. handleObj.selector,
  5769. handleObj.handler
  5770. );
  5771. return this;
  5772. }
  5773. if ( typeof types === "object" ) {
  5774. // ( types-object [, selector] )
  5775. for ( type in types ) {
  5776. this.off( type, selector, types[ type ] );
  5777. }
  5778. return this;
  5779. }
  5780. if ( selector === false || typeof selector === "function" ) {
  5781. // ( types [, fn] )
  5782. fn = selector;
  5783. selector = undefined;
  5784. }
  5785. if ( fn === false ) {
  5786. fn = returnFalse;
  5787. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  5788. }
  5789. return this.each(function() {
  5790. jQuery.event.remove( this, types, fn, selector );
  5791. });
  5792. },
  5793. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  5794. // Will be changed later if needed.
  5795. shrinkWrapBlocksVal = false;
  5796. // Minified: var b,c,d
  5797. var div, body, container;
  5798. body = document.getElementsByTagName( "body" )[ 0 ];
  5799. if ( !body || !body.style ) {
  5800. // Test fired too early or in an unsupported environment, exit.
  5801. return;
  5802. =======
  5803. trigger: function( type, data ) {
  5804. return this.each(function() {
  5805. jQuery.event.trigger( type, data, this );
  5806. });
  5807. },
  5808. triggerHandler: function( type, data ) {
  5809. var elem = this[0];
  5810. if ( elem ) {
  5811. return jQuery.event.trigger( type, data, elem, true );
  5812. }
  5813. }
  5814. });
  5815. function createSafeFragment( document ) {
  5816. var list = nodeNames.split( "|" ),
  5817. safeFrag = document.createDocumentFragment();
  5818. if ( safeFrag.createElement ) {
  5819. while ( list.length ) {
  5820. safeFrag.createElement(
  5821. list.pop()
  5822. );
  5823. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  5824. }
  5825. }
  5826. return safeFrag;
  5827. }
  5828. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  5829. // Setup
  5830. div = document.createElement( "div" );
  5831. container = document.createElement( "div" );
  5832. container.style.cssText = "position:absolute;border:0;width:0;height:0;top:0;left:-9999px";
  5833. body.appendChild( container ).appendChild( div );
  5834. // Support: IE6
  5835. // Check if elements with layout shrink-wrap their children
  5836. if ( typeof div.style.zoom !== "undefined" ) {
  5837. // Reset CSS: box-sizing; display; margin; border
  5838. div.style.cssText =
  5839. // Support: Firefox<29, Android 2.3
  5840. // Vendor-prefix box-sizing
  5841. "-webkit-box-sizing:content-box;-moz-box-sizing:content-box;" +
  5842. "box-sizing:content-box;display:block;margin:0;border:0;" +
  5843. "padding:1px;width:1px;zoom:1";
  5844. div.appendChild( document.createElement( "div" ) ).style.width = "5px";
  5845. shrinkWrapBlocksVal = div.offsetWidth !== 3;
  5846. }
  5847. body.removeChild( container );
  5848. return shrinkWrapBlocksVal;
  5849. };
  5850. } )();
  5851. var pnum = ( /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/ ).source;
  5852. var rcssNum = new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" );
  5853. var cssExpand = [ "Top", "Right", "Bottom", "Left" ];
  5854. var isHidden = function( elem, el ) {
  5855. // isHidden might be called from jQuery#filter function;
  5856. // in that case, element will be second argument
  5857. elem = el || elem;
  5858. return jQuery.css( elem, "display" ) === "none" ||
  5859. !jQuery.contains( elem.ownerDocument, elem );
  5860. };
  5861. function adjustCSS( elem, prop, valueParts, tween ) {
  5862. var adjusted,
  5863. scale = 1,
  5864. maxIterations = 20,
  5865. currentValue = tween ?
  5866. function() { return tween.cur(); } :
  5867. function() { return jQuery.css( elem, prop, "" ); },
  5868. initial = currentValue(),
  5869. unit = valueParts && valueParts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ),
  5870. // Starting value computation is required for potential unit mismatches
  5871. initialInUnit = ( jQuery.cssNumber[ prop ] || unit !== "px" && +initial ) &&
  5872. rcssNum.exec( jQuery.css( elem, prop ) );
  5873. if ( initialInUnit && initialInUnit[ 3 ] !== unit ) {
  5874. // Trust units reported by jQuery.css
  5875. unit = unit || initialInUnit[ 3 ];
  5876. // Make sure we update the tween properties later on
  5877. valueParts = valueParts || [];
  5878. // Iteratively approximate from a nonzero starting point
  5879. initialInUnit = +initial || 1;
  5880. do {
  5881. // If previous iteration zeroed out, double until we get *something*.
  5882. // Use string for doubling so we don't accidentally see scale as unchanged below
  5883. scale = scale || ".5";
  5884. // Adjust and apply
  5885. initialInUnit = initialInUnit / scale;
  5886. jQuery.style( elem, prop, initialInUnit + unit );
  5887. // Update scale, tolerating zero or NaN from tween.cur()
  5888. // Break the loop if scale is unchanged or perfect, or if we've just had enough.
  5889. } while (
  5890. scale !== ( scale = currentValue() / initial ) && scale !== 1 && --maxIterations
  5891. );
  5892. }
  5893. if ( valueParts ) {
  5894. initialInUnit = +initialInUnit || +initial || 0;
  5895. // Apply relative offset (+=/-=) if specified
  5896. adjusted = valueParts[ 1 ] ?
  5897. initialInUnit + ( valueParts[ 1 ] + 1 ) * valueParts[ 2 ] :
  5898. +valueParts[ 2 ];
  5899. if ( tween ) {
  5900. tween.unit = unit;
  5901. tween.start = initialInUnit;
  5902. tween.end = adjusted;
  5903. =======
  5904. var nodeNames = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|" +
  5905. "header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",
  5906. rinlinejQuery = / jQuery\d+="(?:null|\d+)"/g,
  5907. rnoshimcache = new RegExp("<(?:" + nodeNames + ")[\\s/>]", "i"),
  5908. rleadingWhitespace = /^\s+/,
  5909. rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,
  5910. rtagName = /<([\w:]+)/,
  5911. rtbody = /<tbody/i,
  5912. rhtml = /<|&#?\w+;/,
  5913. rnoInnerhtml = /<(?:script|style|link)/i,
  5914. // checked="checked" or checked
  5915. rchecked = /checked\s*(?:[^=]|=\s*.checked.)/i,
  5916. rscriptType = /^$|\/(?:java|ecma)script/i,
  5917. rscriptTypeMasked = /^true\/(.*)/,
  5918. rcleanScript = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,
  5919. // We have to close these tags to support XHTML (#13200)
  5920. wrapMap = {
  5921. option: [ 1, "<select multiple='multiple'>", "</select>" ],
  5922. legend: [ 1, "<fieldset>", "</fieldset>" ],
  5923. area: [ 1, "<map>", "</map>" ],
  5924. param: [ 1, "<object>", "</object>" ],
  5925. thead: [ 1, "<table>", "</table>" ],
  5926. tr: [ 2, "<table><tbody>", "</tbody></table>" ],
  5927. col: [ 2, "<table><tbody></tbody><colgroup>", "</colgroup></table>" ],
  5928. td: [ 3, "<table><tbody><tr>", "</tr></tbody></table>" ],
  5929. // IE6-8 can't serialize link, script, style, or any html5 (NoScope) tags,
  5930. // unless wrapped in a div with non-breaking characters in front of it.
  5931. _default: support.htmlSerialize ? [ 0, "", "" ] : [ 1, "X<div>", "</div>" ]
  5932. },
  5933. safeFragment = createSafeFragment( document ),
  5934. fragmentDiv = safeFragment.appendChild( document.createElement("div") );
  5935. wrapMap.optgroup = wrapMap.option;
  5936. wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead;
  5937. wrapMap.th = wrapMap.td;
  5938. function getAll( context, tag ) {
  5939. var elems, elem,
  5940. i = 0,
  5941. found = typeof context.getElementsByTagName !== strundefined ? context.getElementsByTagName( tag || "*" ) :
  5942. typeof context.querySelectorAll !== strundefined ? context.querySelectorAll( tag || "*" ) :
  5943. undefined;
  5944. if ( !found ) {
  5945. for ( found = [], elems = context.childNodes || context; (elem = elems[i]) != null; i++ ) {
  5946. if ( !tag || jQuery.nodeName( elem, tag ) ) {
  5947. found.push( elem );
  5948. } else {
  5949. jQuery.merge( found, getAll( elem, tag ) );
  5950. }
  5951. }
  5952. }
  5953. return tag === undefined || tag && jQuery.nodeName( context, tag ) ?
  5954. jQuery.merge( [ context ], found ) :
  5955. found;
  5956. }
  5957. // Used in buildFragment, fixes the defaultChecked property
  5958. function fixDefaultChecked( elem ) {
  5959. if ( rcheckableType.test( elem.type ) ) {
  5960. elem.defaultChecked = elem.checked;
  5961. }
  5962. }
  5963. // Support: IE<8
  5964. // Manipulating tables requires a tbody
  5965. function manipulationTarget( elem, content ) {
  5966. return jQuery.nodeName( elem, "table" ) &&
  5967. jQuery.nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ?
  5968. elem.getElementsByTagName("tbody")[0] ||
  5969. elem.appendChild( elem.ownerDocument.createElement("tbody") ) :
  5970. elem;
  5971. }
  5972. // Replace/restore the type attribute of script elements for safe DOM manipulation
  5973. function disableScript( elem ) {
  5974. elem.type = (jQuery.find.attr( elem, "type" ) !== null) + "/" + elem.type;
  5975. return elem;
  5976. }
  5977. function restoreScript( elem ) {
  5978. var match = rscriptTypeMasked.exec( elem.type );
  5979. if ( match ) {
  5980. elem.type = match[1];
  5981. } else {
  5982. elem.removeAttribute("type");
  5983. }
  5984. return elem;
  5985. }
  5986. // Mark scripts as having already been evaluated
  5987. function setGlobalEval( elems, refElements ) {
  5988. var elem,
  5989. i = 0;
  5990. for ( ; (elem = elems[i]) != null; i++ ) {
  5991. jQuery._data( elem, "globalEval", !refElements || jQuery._data( refElements[i], "globalEval" ) );
  5992. }
  5993. }
  5994. function cloneCopyEvent( src, dest ) {
  5995. if ( dest.nodeType !== 1 || !jQuery.hasData( src ) ) {
  5996. return;
  5997. }
  5998. var type, i, l,
  5999. oldData = jQuery._data( src ),
  6000. curData = jQuery._data( dest, oldData ),
  6001. events = oldData.events;
  6002. if ( events ) {
  6003. delete curData.handle;
  6004. curData.events = {};
  6005. for ( type in events ) {
  6006. for ( i = 0, l = events[ type ].length; i < l; i++ ) {
  6007. jQuery.event.add( dest, type, events[ type ][ i ] );
  6008. }
  6009. }
  6010. }
  6011. // make the cloned public data object a copy from the original
  6012. if ( curData.data ) {
  6013. curData.data = jQuery.extend( {}, curData.data );
  6014. }
  6015. }
  6016. function fixCloneNodeIssues( src, dest ) {
  6017. var nodeName, e, data;
  6018. // We do not need to do anything for non-Elements
  6019. if ( dest.nodeType !== 1 ) {
  6020. return;
  6021. }
  6022. nodeName = dest.nodeName.toLowerCase();
  6023. // IE6-8 copies events bound via attachEvent when using cloneNode.
  6024. if ( !support.noCloneEvent && dest[ jQuery.expando ] ) {
  6025. data = jQuery._data( dest );
  6026. for ( e in data.events ) {
  6027. jQuery.removeEvent( dest, e, data.handle );
  6028. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  6029. }
  6030. }
  6031. return adjusted;
  6032. }
  6033. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  6034. // Multifunctional method to get and set values of a collection
  6035. // The value/s can optionally be executed if it's a function
  6036. var access = function( elems, fn, key, value, chainable, emptyGet, raw ) {
  6037. var i = 0,
  6038. length = elems.length,
  6039. bulk = key == null;
  6040. // Sets many values
  6041. if ( jQuery.type( key ) === "object" ) {
  6042. chainable = true;
  6043. for ( i in key ) {
  6044. access( elems, fn, i, key[ i ], true, emptyGet, raw );
  6045. }
  6046. // Sets one value
  6047. } else if ( value !== undefined ) {
  6048. chainable = true;
  6049. if ( !jQuery.isFunction( value ) ) {
  6050. raw = true;
  6051. }
  6052. if ( bulk ) {
  6053. // Bulk operations run against the entire set
  6054. if ( raw ) {
  6055. fn.call( elems, value );
  6056. fn = null;
  6057. // ...except when executing function values
  6058. } else {
  6059. bulk = fn;
  6060. fn = function( elem, key, value ) {
  6061. return bulk.call( jQuery( elem ), value );
  6062. };
  6063. }
  6064. }
  6065. if ( fn ) {
  6066. for ( ; i < length; i++ ) {
  6067. fn(
  6068. elems[ i ],
  6069. key,
  6070. raw ? value : value.call( elems[ i ], i, fn( elems[ i ], key ) )
  6071. );
  6072. }
  6073. }
  6074. }
  6075. return chainable ?
  6076. elems :
  6077. // Gets
  6078. bulk ?
  6079. fn.call( elems ) :
  6080. length ? fn( elems[ 0 ], key ) : emptyGet;
  6081. };
  6082. var rcheckableType = ( /^(?:checkbox|radio)$/i );
  6083. var rtagName = ( /<([\w:-]+)/ );
  6084. var rscriptType = ( /^$|\/(?:java|ecma)script/i );
  6085. var rleadingWhitespace = ( /^\s+/ );
  6086. var nodeNames = "abbr|article|aside|audio|bdi|canvas|data|datalist|" +
  6087. "details|dialog|figcaption|figure|footer|header|hgroup|main|" +
  6088. "mark|meter|nav|output|picture|progress|section|summary|template|time|video";
  6089. function createSafeFragment( document ) {
  6090. var list = nodeNames.split( "|" ),
  6091. safeFrag = document.createDocumentFragment();
  6092. if ( safeFrag.createElement ) {
  6093. while ( list.length ) {
  6094. safeFrag.createElement(
  6095. list.pop()
  6096. );
  6097. }
  6098. }
  6099. return safeFrag;
  6100. }
  6101. ( function() {
  6102. var div = document.createElement( "div" ),
  6103. fragment = document.createDocumentFragment(),
  6104. input = document.createElement( "input" );
  6105. // Setup
  6106. div.innerHTML = " <link/><table></table><a href='/a'>a</a><input type='checkbox'/>";
  6107. // IE strips leading whitespace when .innerHTML is used
  6108. support.leadingWhitespace = div.firstChild.nodeType === 3;
  6109. // Make sure that tbody elements aren't automatically inserted
  6110. // IE will insert them into empty tables
  6111. support.tbody = !div.getElementsByTagName( "tbody" ).length;
  6112. // Make sure that link elements get serialized correctly by innerHTML
  6113. // This requires a wrapper element in IE
  6114. support.htmlSerialize = !!div.getElementsByTagName( "link" ).length;
  6115. // Makes sure cloning an html5 element does not cause problems
  6116. // Where outerHTML is undefined, this still works
  6117. support.html5Clone =
  6118. document.createElement( "nav" ).cloneNode( true ).outerHTML !== "<:nav></:nav>";
  6119. // Check if a disconnected checkbox will retain its checked
  6120. // value of true after appended to the DOM (IE6/7)
  6121. input.type = "checkbox";
  6122. input.checked = true;
  6123. fragment.appendChild( input );
  6124. support.appendChecked = input.checked;
  6125. // Make sure textarea (and checkbox) defaultValue is properly cloned
  6126. // Support: IE6-IE11+
  6127. div.innerHTML = "<textarea>x</textarea>";
  6128. support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue;
  6129. // #11217 - WebKit loses check when the name is after the checked attribute
  6130. fragment.appendChild( div );
  6131. // Support: Windows Web Apps (WWA)
  6132. // `name` and `type` must use .setAttribute for WWA (#14901)
  6133. input = document.createElement( "input" );
  6134. input.setAttribute( "type", "radio" );
  6135. input.setAttribute( "checked", "checked" );
  6136. input.setAttribute( "name", "t" );
  6137. div.appendChild( input );
  6138. // Support: Safari 5.1, iOS 5.1, Android 4.x, Android 2.3
  6139. // old WebKit doesn't clone checked state correctly in fragments
  6140. support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked;
  6141. // Support: IE<9
  6142. // Cloned elements keep attachEvent handlers, we use addEventListener on IE9+
  6143. support.noCloneEvent = !!div.addEventListener;
  6144. // Support: IE<9
  6145. // Since attributes and properties are the same in IE,
  6146. // cleanData must set properties to undefined rather than use removeAttribute
  6147. div[ jQuery.expando ] = 1;
  6148. support.attributes = !div.getAttribute( jQuery.expando );
  6149. } )();
  6150. // We have to close these tags to support XHTML (#13200)
  6151. var wrapMap = {
  6152. option: [ 1, "<select multiple='multiple'>", "</select>" ],
  6153. legend: [ 1, "<fieldset>", "</fieldset>" ],
  6154. area: [ 1, "<map>", "</map>" ],
  6155. // Support: IE8
  6156. param: [ 1, "<object>", "</object>" ],
  6157. thead: [ 1, "<table>", "</table>" ],
  6158. tr: [ 2, "<table><tbody>", "</tbody></table>" ],
  6159. col: [ 2, "<table><tbody></tbody><colgroup>", "</colgroup></table>" ],
  6160. td: [ 3, "<table><tbody><tr>", "</tr></tbody></table>" ],
  6161. // IE6-8 can't serialize link, script, style, or any html5 (NoScope) tags,
  6162. // unless wrapped in a div with non-breaking characters in front of it.
  6163. _default: support.htmlSerialize ? [ 0, "", "" ] : [ 1, "X<div>", "</div>" ]
  6164. };
  6165. // Support: IE8-IE9
  6166. wrapMap.optgroup = wrapMap.option;
  6167. wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead;
  6168. wrapMap.th = wrapMap.td;
  6169. function getAll( context, tag ) {
  6170. var elems, elem,
  6171. i = 0,
  6172. found = typeof context.getElementsByTagName !== "undefined" ?
  6173. context.getElementsByTagName( tag || "*" ) :
  6174. typeof context.querySelectorAll !== "undefined" ?
  6175. context.querySelectorAll( tag || "*" ) :
  6176. undefined;
  6177. if ( !found ) {
  6178. for ( found = [], elems = context.childNodes || context;
  6179. ( elem = elems[ i ] ) != null;
  6180. i++
  6181. ) {
  6182. if ( !tag || jQuery.nodeName( elem, tag ) ) {
  6183. found.push( elem );
  6184. } else {
  6185. jQuery.merge( found, getAll( elem, tag ) );
  6186. =======
  6187. // Event data gets referenced instead of copied if the expando gets copied too
  6188. dest.removeAttribute( jQuery.expando );
  6189. }
  6190. // IE blanks contents when cloning scripts, and tries to evaluate newly-set text
  6191. if ( nodeName === "script" && dest.text !== src.text ) {
  6192. disableScript( dest ).text = src.text;
  6193. restoreScript( dest );
  6194. // IE6-10 improperly clones children of object elements using classid.
  6195. // IE10 throws NoModificationAllowedError if parent is null, #12132.
  6196. } else if ( nodeName === "object" ) {
  6197. if ( dest.parentNode ) {
  6198. dest.outerHTML = src.outerHTML;
  6199. }
  6200. // This path appears unavoidable for IE9. When cloning an object
  6201. // element in IE9, the outerHTML strategy above is not sufficient.
  6202. // If the src has innerHTML and the destination does not,
  6203. // copy the src.innerHTML into the dest.innerHTML. #10324
  6204. if ( support.html5Clone && ( src.innerHTML && !jQuery.trim(dest.innerHTML) ) ) {
  6205. dest.innerHTML = src.innerHTML;
  6206. }
  6207. } else if ( nodeName === "input" && rcheckableType.test( src.type ) ) {
  6208. // IE6-8 fails to persist the checked state of a cloned checkbox
  6209. // or radio button. Worse, IE6-7 fail to give the cloned element
  6210. // a checked appearance if the defaultChecked value isn't also set
  6211. dest.defaultChecked = dest.checked = src.checked;
  6212. // IE6-7 get confused and end up setting the value of a cloned
  6213. // checkbox/radio button to an empty string instead of "on"
  6214. if ( dest.value !== src.value ) {
  6215. dest.value = src.value;
  6216. }
  6217. // IE6-8 fails to return the selected option to the default selected
  6218. // state when cloning options
  6219. } else if ( nodeName === "option" ) {
  6220. dest.defaultSelected = dest.selected = src.defaultSelected;
  6221. // IE6-8 fails to set the defaultValue to the correct value when
  6222. // cloning other types of input fields
  6223. } else if ( nodeName === "input" || nodeName === "textarea" ) {
  6224. dest.defaultValue = src.defaultValue;
  6225. }
  6226. }
  6227. jQuery.extend({
  6228. clone: function( elem, dataAndEvents, deepDataAndEvents ) {
  6229. var destElements, node, clone, i, srcElements,
  6230. inPage = jQuery.contains( elem.ownerDocument, elem );
  6231. if ( support.html5Clone || jQuery.isXMLDoc(elem) || !rnoshimcache.test( "<" + elem.nodeName + ">" ) ) {
  6232. clone = elem.cloneNode( true );
  6233. // IE<=8 does not properly clone detached, unknown element nodes
  6234. } else {
  6235. fragmentDiv.innerHTML = elem.outerHTML;
  6236. fragmentDiv.removeChild( clone = fragmentDiv.firstChild );
  6237. }
  6238. if ( (!support.noCloneEvent || !support.noCloneChecked) &&
  6239. (elem.nodeType === 1 || elem.nodeType === 11) && !jQuery.isXMLDoc(elem) ) {
  6240. // We eschew Sizzle here for performance reasons: http://jsperf.com/getall-vs-sizzle/2
  6241. destElements = getAll( clone );
  6242. srcElements = getAll( elem );
  6243. // Fix all IE cloning issues
  6244. for ( i = 0; (node = srcElements[i]) != null; ++i ) {
  6245. // Ensure that the destination node is not null; Fixes #9587
  6246. if ( destElements[i] ) {
  6247. fixCloneNodeIssues( node, destElements[i] );
  6248. }
  6249. }
  6250. }
  6251. // Copy the events from the original to the clone
  6252. if ( dataAndEvents ) {
  6253. if ( deepDataAndEvents ) {
  6254. srcElements = srcElements || getAll( elem );
  6255. destElements = destElements || getAll( clone );
  6256. for ( i = 0; (node = srcElements[i]) != null; i++ ) {
  6257. cloneCopyEvent( node, destElements[i] );
  6258. }
  6259. } else {
  6260. cloneCopyEvent( elem, clone );
  6261. }
  6262. }
  6263. // Preserve script evaluation history
  6264. destElements = getAll( clone, "script" );
  6265. if ( destElements.length > 0 ) {
  6266. setGlobalEval( destElements, !inPage && getAll( elem, "script" ) );
  6267. }
  6268. destElements = srcElements = node = null;
  6269. // Return the cloned set
  6270. return clone;
  6271. },
  6272. buildFragment: function( elems, context, scripts, selection ) {
  6273. var j, elem, contains,
  6274. tmp, tag, tbody, wrap,
  6275. l = elems.length,
  6276. // Ensure a safe fragment
  6277. safe = createSafeFragment( context ),
  6278. nodes = [],
  6279. i = 0;
  6280. for ( ; i < l; i++ ) {
  6281. elem = elems[ i ];
  6282. if ( elem || elem === 0 ) {
  6283. // Add nodes directly
  6284. if ( jQuery.type( elem ) === "object" ) {
  6285. jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem );
  6286. // Convert non-html into a text node
  6287. } else if ( !rhtml.test( elem ) ) {
  6288. nodes.push( context.createTextNode( elem ) );
  6289. // Convert html into DOM nodes
  6290. } else {
  6291. tmp = tmp || safe.appendChild( context.createElement("div") );
  6292. // Deserialize a standard representation
  6293. tag = (rtagName.exec( elem ) || [ "", "" ])[ 1 ].toLowerCase();
  6294. wrap = wrapMap[ tag ] || wrapMap._default;
  6295. tmp.innerHTML = wrap[1] + elem.replace( rxhtmlTag, "<$1></$2>" ) + wrap[2];
  6296. // Descend through wrappers to the right content
  6297. j = wrap[0];
  6298. while ( j-- ) {
  6299. tmp = tmp.lastChild;
  6300. }
  6301. // Manually add leading whitespace removed by IE
  6302. if ( !support.leadingWhitespace && rleadingWhitespace.test( elem ) ) {
  6303. nodes.push( context.createTextNode( rleadingWhitespace.exec( elem )[0] ) );
  6304. }
  6305. // Remove IE's autoinserted <tbody> from table fragments
  6306. if ( !support.tbody ) {
  6307. // String was a <table>, *may* have spurious <tbody>
  6308. elem = tag === "table" && !rtbody.test( elem ) ?
  6309. tmp.firstChild :
  6310. // String was a bare <thead> or <tfoot>
  6311. wrap[1] === "<table>" && !rtbody.test( elem ) ?
  6312. tmp :
  6313. 0;
  6314. j = elem && elem.childNodes.length;
  6315. while ( j-- ) {
  6316. if ( jQuery.nodeName( (tbody = elem.childNodes[j]), "tbody" ) && !tbody.childNodes.length ) {
  6317. elem.removeChild( tbody );
  6318. }
  6319. }
  6320. }
  6321. jQuery.merge( nodes, tmp.childNodes );
  6322. // Fix #12392 for WebKit and IE > 9
  6323. tmp.textContent = "";
  6324. // Fix #12392 for oldIE
  6325. while ( tmp.firstChild ) {
  6326. tmp.removeChild( tmp.firstChild );
  6327. }
  6328. // Remember the top-level container for proper cleanup
  6329. tmp = safe.lastChild;
  6330. }
  6331. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  6332. }
  6333. }
  6334. }
  6335. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  6336. return tag === undefined || tag && jQuery.nodeName( context, tag ) ?
  6337. jQuery.merge( [ context ], found ) :
  6338. found;
  6339. }
  6340. // Mark scripts as having already been evaluated
  6341. function setGlobalEval( elems, refElements ) {
  6342. var elem,
  6343. i = 0;
  6344. for ( ; ( elem = elems[ i ] ) != null; i++ ) {
  6345. jQuery._data(
  6346. elem,
  6347. "globalEval",
  6348. !refElements || jQuery._data( refElements[ i ], "globalEval" )
  6349. );
  6350. }
  6351. }
  6352. var rhtml = /<|&#?\w+;/,
  6353. rtbody = /<tbody/i;
  6354. function fixDefaultChecked( elem ) {
  6355. if ( rcheckableType.test( elem.type ) ) {
  6356. elem.defaultChecked = elem.checked;
  6357. }
  6358. }
  6359. function buildFragment( elems, context, scripts, selection, ignored ) {
  6360. var j, elem, contains,
  6361. tmp, tag, tbody, wrap,
  6362. l = elems.length,
  6363. // Ensure a safe fragment
  6364. safe = createSafeFragment( context ),
  6365. nodes = [],
  6366. i = 0;
  6367. for ( ; i < l; i++ ) {
  6368. elem = elems[ i ];
  6369. if ( elem || elem === 0 ) {
  6370. // Add nodes directly
  6371. if ( jQuery.type( elem ) === "object" ) {
  6372. jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem );
  6373. // Convert non-html into a text node
  6374. } else if ( !rhtml.test( elem ) ) {
  6375. nodes.push( context.createTextNode( elem ) );
  6376. // Convert html into DOM nodes
  6377. } else {
  6378. tmp = tmp || safe.appendChild( context.createElement( "div" ) );
  6379. // Deserialize a standard representation
  6380. tag = ( rtagName.exec( elem ) || [ "", "" ] )[ 1 ].toLowerCase();
  6381. wrap = wrapMap[ tag ] || wrapMap._default;
  6382. tmp.innerHTML = wrap[ 1 ] + jQuery.htmlPrefilter( elem ) + wrap[ 2 ];
  6383. // Descend through wrappers to the right content
  6384. j = wrap[ 0 ];
  6385. while ( j-- ) {
  6386. tmp = tmp.lastChild;
  6387. }
  6388. // Manually add leading whitespace removed by IE
  6389. if ( !support.leadingWhitespace && rleadingWhitespace.test( elem ) ) {
  6390. nodes.push( context.createTextNode( rleadingWhitespace.exec( elem )[ 0 ] ) );
  6391. }
  6392. // Remove IE's autoinserted <tbody> from table fragments
  6393. if ( !support.tbody ) {
  6394. // String was a <table>, *may* have spurious <tbody>
  6395. elem = tag === "table" && !rtbody.test( elem ) ?
  6396. tmp.firstChild :
  6397. // String was a bare <thead> or <tfoot>
  6398. wrap[ 1 ] === "<table>" && !rtbody.test( elem ) ?
  6399. tmp :
  6400. 0;
  6401. j = elem && elem.childNodes.length;
  6402. while ( j-- ) {
  6403. if ( jQuery.nodeName( ( tbody = elem.childNodes[ j ] ), "tbody" ) &&
  6404. !tbody.childNodes.length ) {
  6405. elem.removeChild( tbody );
  6406. }
  6407. }
  6408. }
  6409. jQuery.merge( nodes, tmp.childNodes );
  6410. // Fix #12392 for WebKit and IE > 9
  6411. tmp.textContent = "";
  6412. // Fix #12392 for oldIE
  6413. while ( tmp.firstChild ) {
  6414. tmp.removeChild( tmp.firstChild );
  6415. }
  6416. // Remember the top-level container for proper cleanup
  6417. tmp = safe.lastChild;
  6418. }
  6419. }
  6420. }
  6421. // Fix #11356: Clear elements from fragment
  6422. if ( tmp ) {
  6423. safe.removeChild( tmp );
  6424. }
  6425. // Reset defaultChecked for any radios and checkboxes
  6426. // about to be appended to the DOM in IE 6/7 (#8060)
  6427. if ( !support.appendChecked ) {
  6428. jQuery.grep( getAll( nodes, "input" ), fixDefaultChecked );
  6429. }
  6430. i = 0;
  6431. while ( ( elem = nodes[ i++ ] ) ) {
  6432. // Skip elements already in the context collection (trac-4087)
  6433. if ( selection && jQuery.inArray( elem, selection ) > -1 ) {
  6434. if ( ignored ) {
  6435. ignored.push( elem );
  6436. =======
  6437. // Fix #11356: Clear elements from fragment
  6438. if ( tmp ) {
  6439. safe.removeChild( tmp );
  6440. }
  6441. // Reset defaultChecked for any radios and checkboxes
  6442. // about to be appended to the DOM in IE 6/7 (#8060)
  6443. if ( !support.appendChecked ) {
  6444. jQuery.grep( getAll( nodes, "input" ), fixDefaultChecked );
  6445. }
  6446. i = 0;
  6447. while ( (elem = nodes[ i++ ]) ) {
  6448. // #4087 - If origin and destination elements are the same, and this is
  6449. // that element, do not do anything
  6450. if ( selection && jQuery.inArray( elem, selection ) !== -1 ) {
  6451. continue;
  6452. }
  6453. contains = jQuery.contains( elem.ownerDocument, elem );
  6454. // Append to fragment
  6455. tmp = getAll( safe.appendChild( elem ), "script" );
  6456. // Preserve script evaluation history
  6457. if ( contains ) {
  6458. setGlobalEval( tmp );
  6459. }
  6460. // Capture executables
  6461. if ( scripts ) {
  6462. j = 0;
  6463. while ( (elem = tmp[ j++ ]) ) {
  6464. if ( rscriptType.test( elem.type || "" ) ) {
  6465. scripts.push( elem );
  6466. }
  6467. }
  6468. }
  6469. }
  6470. tmp = null;
  6471. return safe;
  6472. },
  6473. cleanData: function( elems, /* internal */ acceptData ) {
  6474. var elem, type, id, data,
  6475. i = 0,
  6476. internalKey = jQuery.expando,
  6477. cache = jQuery.cache,
  6478. deleteExpando = support.deleteExpando,
  6479. special = jQuery.event.special;
  6480. for ( ; (elem = elems[i]) != null; i++ ) {
  6481. if ( acceptData || jQuery.acceptData( elem ) ) {
  6482. id = elem[ internalKey ];
  6483. data = id && cache[ id ];
  6484. if ( data ) {
  6485. if ( data.events ) {
  6486. for ( type in data.events ) {
  6487. if ( special[ type ] ) {
  6488. jQuery.event.remove( elem, type );
  6489. // This is a shortcut to avoid jQuery.event.remove's overhead
  6490. } else {
  6491. jQuery.removeEvent( elem, type, data.handle );
  6492. }
  6493. }
  6494. }
  6495. // Remove cache only if it was not already removed by jQuery.event.remove
  6496. if ( cache[ id ] ) {
  6497. delete cache[ id ];
  6498. // IE does not allow us to delete expando properties from nodes,
  6499. // nor does it have a removeAttribute function on Document nodes;
  6500. // we must handle all of these cases
  6501. if ( deleteExpando ) {
  6502. delete elem[ internalKey ];
  6503. } else if ( typeof elem.removeAttribute !== strundefined ) {
  6504. elem.removeAttribute( internalKey );
  6505. } else {
  6506. elem[ internalKey ] = null;
  6507. }
  6508. deletedIds.push( id );
  6509. }
  6510. }
  6511. }
  6512. }
  6513. }
  6514. });
  6515. jQuery.fn.extend({
  6516. text: function( value ) {
  6517. return access( this, function( value ) {
  6518. return value === undefined ?
  6519. jQuery.text( this ) :
  6520. this.empty().append( ( this[0] && this[0].ownerDocument || document ).createTextNode( value ) );
  6521. }, null, value, arguments.length );
  6522. },
  6523. append: function() {
  6524. return this.domManip( arguments, function( elem ) {
  6525. if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) {
  6526. var target = manipulationTarget( this, elem );
  6527. target.appendChild( elem );
  6528. }
  6529. });
  6530. },
  6531. prepend: function() {
  6532. return this.domManip( arguments, function( elem ) {
  6533. if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) {
  6534. var target = manipulationTarget( this, elem );
  6535. target.insertBefore( elem, target.firstChild );
  6536. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  6537. }
  6538. });
  6539. },
  6540. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  6541. continue;
  6542. }
  6543. contains = jQuery.contains( elem.ownerDocument, elem );
  6544. // Append to fragment
  6545. tmp = getAll( safe.appendChild( elem ), "script" );
  6546. // Preserve script evaluation history
  6547. if ( contains ) {
  6548. setGlobalEval( tmp );
  6549. }
  6550. // Capture executables
  6551. if ( scripts ) {
  6552. j = 0;
  6553. while ( ( elem = tmp[ j++ ] ) ) {
  6554. if ( rscriptType.test( elem.type || "" ) ) {
  6555. scripts.push( elem );
  6556. }
  6557. }
  6558. }
  6559. }
  6560. tmp = null;
  6561. return safe;
  6562. }
  6563. ( function() {
  6564. var i, eventName,
  6565. div = document.createElement( "div" );
  6566. // Support: IE<9 (lack submit/change bubble), Firefox (lack focus(in | out) events)
  6567. for ( i in { submit: true, change: true, focusin: true } ) {
  6568. eventName = "on" + i;
  6569. if ( !( support[ i ] = eventName in window ) ) {
  6570. // Beware of CSP restrictions (https://developer.mozilla.org/en/Security/CSP)
  6571. div.setAttribute( eventName, "t" );
  6572. support[ i ] = div.attributes[ eventName ].expando === false;
  6573. }
  6574. }
  6575. // Null elements to avoid leaks in IE.
  6576. div = null;
  6577. } )();
  6578. var rformElems = /^(?:input|select|textarea)$/i,
  6579. rkeyEvent = /^key/,
  6580. rmouseEvent = /^(?:mouse|pointer|contextmenu|drag|drop)|click/,
  6581. rfocusMorph = /^(?:focusinfocus|focusoutblur)$/,
  6582. rtypenamespace = /^([^.]*)(?:\.(.+)|)/;
  6583. function returnTrue() {
  6584. return true;
  6585. }
  6586. function returnFalse() {
  6587. return false;
  6588. }
  6589. // Support: IE9
  6590. // See #13393 for more info
  6591. function safeActiveElement() {
  6592. try {
  6593. return document.activeElement;
  6594. } catch ( err ) { }
  6595. }
  6596. function on( elem, types, selector, data, fn, one ) {
  6597. var origFn, type;
  6598. // Types can be a map of types/handlers
  6599. if ( typeof types === "object" ) {
  6600. // ( types-Object, selector, data )
  6601. if ( typeof selector !== "string" ) {
  6602. // ( types-Object, data )
  6603. data = data || selector;
  6604. selector = undefined;
  6605. }
  6606. for ( type in types ) {
  6607. on( elem, type, selector, data, types[ type ], one );
  6608. }
  6609. return elem;
  6610. }
  6611. if ( data == null && fn == null ) {
  6612. // ( types, fn )
  6613. fn = selector;
  6614. data = selector = undefined;
  6615. } else if ( fn == null ) {
  6616. if ( typeof selector === "string" ) {
  6617. // ( types, selector, fn )
  6618. fn = data;
  6619. data = undefined;
  6620. } else {
  6621. // ( types, data, fn )
  6622. fn = data;
  6623. data = selector;
  6624. selector = undefined;
  6625. }
  6626. }
  6627. if ( fn === false ) {
  6628. fn = returnFalse;
  6629. } else if ( !fn ) {
  6630. return elem;
  6631. }
  6632. if ( one === 1 ) {
  6633. origFn = fn;
  6634. fn = function( event ) {
  6635. // Can use an empty set, since event contains the info
  6636. jQuery().off( event );
  6637. return origFn.apply( this, arguments );
  6638. };
  6639. // Use same guid so caller can remove using origFn
  6640. fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ );
  6641. }
  6642. return elem.each( function() {
  6643. jQuery.event.add( this, types, fn, data, selector );
  6644. } );
  6645. }
  6646. /*
  6647. * Helper functions for managing events -- not part of the public interface.
  6648. * Props to Dean Edwards' addEvent library for many of the ideas.
  6649. */
  6650. jQuery.event = {
  6651. global: {},
  6652. add: function( elem, types, handler, data, selector ) {
  6653. var tmp, events, t, handleObjIn,
  6654. special, eventHandle, handleObj,
  6655. handlers, type, namespaces, origType,
  6656. elemData = jQuery._data( elem );
  6657. // Don't attach events to noData or text/comment nodes (but allow plain objects)
  6658. if ( !elemData ) {
  6659. return;
  6660. }
  6661. // Caller can pass in an object of custom data in lieu of the handler
  6662. if ( handler.handler ) {
  6663. handleObjIn = handler;
  6664. handler = handleObjIn.handler;
  6665. selector = handleObjIn.selector;
  6666. }
  6667. // Make sure that the handler has a unique ID, used to find/remove it later
  6668. if ( !handler.guid ) {
  6669. handler.guid = jQuery.guid++;
  6670. }
  6671. // Init the element's event structure and main handler, if this is the first
  6672. if ( !( events = elemData.events ) ) {
  6673. events = elemData.events = {};
  6674. }
  6675. if ( !( eventHandle = elemData.handle ) ) {
  6676. eventHandle = elemData.handle = function( e ) {
  6677. // Discard the second event of a jQuery.event.trigger() and
  6678. // when an event is called after a page has unloaded
  6679. return typeof jQuery !== "undefined" &&
  6680. ( !e || jQuery.event.triggered !== e.type ) ?
  6681. jQuery.event.dispatch.apply( eventHandle.elem, arguments ) :
  6682. undefined;
  6683. };
  6684. // Add elem as a property of the handle fn to prevent a memory leak
  6685. // with IE non-native events
  6686. eventHandle.elem = elem;
  6687. }
  6688. // Handle multiple events separated by a space
  6689. types = ( types || "" ).match( rnotwhite ) || [ "" ];
  6690. t = types.length;
  6691. while ( t-- ) {
  6692. tmp = rtypenamespace.exec( types[ t ] ) || [];
  6693. type = origType = tmp[ 1 ];
  6694. namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort();
  6695. // There *must* be a type, no attaching namespace-only handlers
  6696. if ( !type ) {
  6697. continue;
  6698. }
  6699. // If event changes its type, use the special event handlers for the changed type
  6700. special = jQuery.event.special[ type ] || {};
  6701. // If selector defined, determine special event api type, otherwise given type
  6702. type = ( selector ? special.delegateType : special.bindType ) || type;
  6703. // Update special based on newly reset type
  6704. special = jQuery.event.special[ type ] || {};
  6705. // handleObj is passed to all event handlers
  6706. handleObj = jQuery.extend( {
  6707. type: type,
  6708. origType: origType,
  6709. data: data,
  6710. handler: handler,
  6711. guid: handler.guid,
  6712. selector: selector,
  6713. needsContext: selector && jQuery.expr.match.needsContext.test( selector ),
  6714. namespace: namespaces.join( "." )
  6715. }, handleObjIn );
  6716. // Init the event handler queue if we're the first
  6717. if ( !( handlers = events[ type ] ) ) {
  6718. handlers = events[ type ] = [];
  6719. handlers.delegateCount = 0;
  6720. // Only use addEventListener/attachEvent if the special events handler returns false
  6721. if ( !special.setup ||
  6722. special.setup.call( elem, data, namespaces, eventHandle ) === false ) {
  6723. // Bind the global event handler to the element
  6724. if ( elem.addEventListener ) {
  6725. elem.addEventListener( type, eventHandle, false );
  6726. } else if ( elem.attachEvent ) {
  6727. elem.attachEvent( "on" + type, eventHandle );
  6728. }
  6729. }
  6730. }
  6731. if ( special.add ) {
  6732. special.add.call( elem, handleObj );
  6733. if ( !handleObj.handler.guid ) {
  6734. handleObj.handler.guid = handler.guid;
  6735. }
  6736. }
  6737. // Add to the element's handler list, delegates in front
  6738. if ( selector ) {
  6739. handlers.splice( handlers.delegateCount++, 0, handleObj );
  6740. } else {
  6741. handlers.push( handleObj );
  6742. }
  6743. // Keep track of which events have ever been used, for event optimization
  6744. jQuery.event.global[ type ] = true;
  6745. }
  6746. // Nullify elem to prevent memory leaks in IE
  6747. elem = null;
  6748. },
  6749. // Detach an event or set of events from an element
  6750. remove: function( elem, types, handler, selector, mappedTypes ) {
  6751. var j, handleObj, tmp,
  6752. origCount, t, events,
  6753. special, handlers, type,
  6754. namespaces, origType,
  6755. elemData = jQuery.hasData( elem ) && jQuery._data( elem );
  6756. if ( !elemData || !( events = elemData.events ) ) {
  6757. return;
  6758. }
  6759. // Once for each type.namespace in types; type may be omitted
  6760. types = ( types || "" ).match( rnotwhite ) || [ "" ];
  6761. t = types.length;
  6762. while ( t-- ) {
  6763. tmp = rtypenamespace.exec( types[ t ] ) || [];
  6764. type = origType = tmp[ 1 ];
  6765. namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort();
  6766. // Unbind all events (on this namespace, if provided) for the element
  6767. if ( !type ) {
  6768. for ( type in events ) {
  6769. jQuery.event.remove( elem, type + types[ t ], handler, selector, true );
  6770. }
  6771. continue;
  6772. }
  6773. special = jQuery.event.special[ type ] || {};
  6774. type = ( selector ? special.delegateType : special.bindType ) || type;
  6775. handlers = events[ type ] || [];
  6776. tmp = tmp[ 2 ] &&
  6777. new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" );
  6778. // Remove matching events
  6779. origCount = j = handlers.length;
  6780. while ( j-- ) {
  6781. handleObj = handlers[ j ];
  6782. if ( ( mappedTypes || origType === handleObj.origType ) &&
  6783. ( !handler || handler.guid === handleObj.guid ) &&
  6784. ( !tmp || tmp.test( handleObj.namespace ) ) &&
  6785. ( !selector || selector === handleObj.selector ||
  6786. selector === "**" && handleObj.selector ) ) {
  6787. handlers.splice( j, 1 );
  6788. if ( handleObj.selector ) {
  6789. handlers.delegateCount--;
  6790. }
  6791. if ( special.remove ) {
  6792. special.remove.call( elem, handleObj );
  6793. }
  6794. }
  6795. }
  6796. // Remove generic event handler if we removed something and no more handlers exist
  6797. // (avoids potential for endless recursion during removal of special event handlers)
  6798. if ( origCount && !handlers.length ) {
  6799. if ( !special.teardown ||
  6800. special.teardown.call( elem, namespaces, elemData.handle ) === false ) {
  6801. jQuery.removeEvent( elem, type, elemData.handle );
  6802. }
  6803. delete events[ type ];
  6804. }
  6805. }
  6806. // Remove the expando if it's no longer used
  6807. if ( jQuery.isEmptyObject( events ) ) {
  6808. delete elemData.handle;
  6809. // removeData also checks for emptiness and clears the expando if empty
  6810. // so use it instead of delete
  6811. jQuery._removeData( elem, "events" );
  6812. }
  6813. },
  6814. trigger: function( event, data, elem, onlyHandlers ) {
  6815. var handle, ontype, cur,
  6816. bubbleType, special, tmp, i,
  6817. eventPath = [ elem || document ],
  6818. type = hasOwn.call( event, "type" ) ? event.type : event,
  6819. namespaces = hasOwn.call( event, "namespace" ) ? event.namespace.split( "." ) : [];
  6820. cur = tmp = elem = elem || document;
  6821. // Don't do events on text and comment nodes
  6822. if ( elem.nodeType === 3 || elem.nodeType === 8 ) {
  6823. return;
  6824. }
  6825. // focus/blur morphs to focusin/out; ensure we're not firing them right now
  6826. if ( rfocusMorph.test( type + jQuery.event.triggered ) ) {
  6827. return;
  6828. }
  6829. if ( type.indexOf( "." ) > -1 ) {
  6830. // Namespaced trigger; create a regexp to match event type in handle()
  6831. namespaces = type.split( "." );
  6832. type = namespaces.shift();
  6833. namespaces.sort();
  6834. =======
  6835. before: function() {
  6836. return this.domManip( arguments, function( elem ) {
  6837. if ( this.parentNode ) {
  6838. this.parentNode.insertBefore( elem, this );
  6839. }
  6840. });
  6841. },
  6842. after: function() {
  6843. return this.domManip( arguments, function( elem ) {
  6844. if ( this.parentNode ) {
  6845. this.parentNode.insertBefore( elem, this.nextSibling );
  6846. }
  6847. });
  6848. },
  6849. remove: function( selector, keepData /* Internal Use Only */ ) {
  6850. var elem,
  6851. elems = selector ? jQuery.filter( selector, this ) : this,
  6852. i = 0;
  6853. for ( ; (elem = elems[i]) != null; i++ ) {
  6854. if ( !keepData && elem.nodeType === 1 ) {
  6855. jQuery.cleanData( getAll( elem ) );
  6856. }
  6857. if ( elem.parentNode ) {
  6858. if ( keepData && jQuery.contains( elem.ownerDocument, elem ) ) {
  6859. setGlobalEval( getAll( elem, "script" ) );
  6860. }
  6861. elem.parentNode.removeChild( elem );
  6862. }
  6863. }
  6864. return this;
  6865. },
  6866. empty: function() {
  6867. var elem,
  6868. i = 0;
  6869. for ( ; (elem = this[i]) != null; i++ ) {
  6870. // Remove element nodes and prevent memory leaks
  6871. if ( elem.nodeType === 1 ) {
  6872. jQuery.cleanData( getAll( elem, false ) );
  6873. }
  6874. // Remove any remaining nodes
  6875. while ( elem.firstChild ) {
  6876. elem.removeChild( elem.firstChild );
  6877. }
  6878. // If this is a select, ensure that it displays empty (#12336)
  6879. // Support: IE<9
  6880. if ( elem.options && jQuery.nodeName( elem, "select" ) ) {
  6881. elem.options.length = 0;
  6882. }
  6883. }
  6884. return this;
  6885. },
  6886. clone: function( dataAndEvents, deepDataAndEvents ) {
  6887. dataAndEvents = dataAndEvents == null ? false : dataAndEvents;
  6888. deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents;
  6889. return this.map(function() {
  6890. return jQuery.clone( this, dataAndEvents, deepDataAndEvents );
  6891. });
  6892. },
  6893. html: function( value ) {
  6894. return access( this, function( value ) {
  6895. var elem = this[ 0 ] || {},
  6896. i = 0,
  6897. l = this.length;
  6898. if ( value === undefined ) {
  6899. return elem.nodeType === 1 ?
  6900. elem.innerHTML.replace( rinlinejQuery, "" ) :
  6901. undefined;
  6902. }
  6903. // See if we can take a shortcut and just use innerHTML
  6904. if ( typeof value === "string" && !rnoInnerhtml.test( value ) &&
  6905. ( support.htmlSerialize || !rnoshimcache.test( value ) ) &&
  6906. ( support.leadingWhitespace || !rleadingWhitespace.test( value ) ) &&
  6907. !wrapMap[ (rtagName.exec( value ) || [ "", "" ])[ 1 ].toLowerCase() ] ) {
  6908. value = value.replace( rxhtmlTag, "<$1></$2>" );
  6909. try {
  6910. for (; i < l; i++ ) {
  6911. // Remove element nodes and prevent memory leaks
  6912. elem = this[i] || {};
  6913. if ( elem.nodeType === 1 ) {
  6914. jQuery.cleanData( getAll( elem, false ) );
  6915. elem.innerHTML = value;
  6916. }
  6917. }
  6918. elem = 0;
  6919. // If using innerHTML throws an exception, use the fallback method
  6920. } catch(e) {}
  6921. }
  6922. if ( elem ) {
  6923. this.empty().append( value );
  6924. }
  6925. }, null, value, arguments.length );
  6926. },
  6927. replaceWith: function() {
  6928. var arg = arguments[ 0 ];
  6929. // Make the changes, replacing each context element with the new content
  6930. this.domManip( arguments, function( elem ) {
  6931. arg = this.parentNode;
  6932. jQuery.cleanData( getAll( this ) );
  6933. if ( arg ) {
  6934. arg.replaceChild( elem, this );
  6935. }
  6936. });
  6937. // Force removal if there was no new content (e.g., from empty arguments)
  6938. return arg && (arg.length || arg.nodeType) ? this : this.remove();
  6939. },
  6940. detach: function( selector ) {
  6941. return this.remove( selector, true );
  6942. },
  6943. domManip: function( args, callback ) {
  6944. // Flatten any nested arrays
  6945. args = concat.apply( [], args );
  6946. var first, node, hasScripts,
  6947. scripts, doc, fragment,
  6948. i = 0,
  6949. l = this.length,
  6950. set = this,
  6951. iNoClone = l - 1,
  6952. value = args[0],
  6953. isFunction = jQuery.isFunction( value );
  6954. // We can't cloneNode fragments that contain checked, in WebKit
  6955. if ( isFunction ||
  6956. ( l > 1 && typeof value === "string" &&
  6957. !support.checkClone && rchecked.test( value ) ) ) {
  6958. return this.each(function( index ) {
  6959. var self = set.eq( index );
  6960. if ( isFunction ) {
  6961. args[0] = value.call( this, index, self.html() );
  6962. }
  6963. self.domManip( args, callback );
  6964. });
  6965. }
  6966. if ( l ) {
  6967. fragment = jQuery.buildFragment( args, this[ 0 ].ownerDocument, false, this );
  6968. first = fragment.firstChild;
  6969. if ( fragment.childNodes.length === 1 ) {
  6970. fragment = first;
  6971. }
  6972. if ( first ) {
  6973. scripts = jQuery.map( getAll( fragment, "script" ), disableScript );
  6974. hasScripts = scripts.length;
  6975. // Use the original fragment for the last item instead of the first because it can end up
  6976. // being emptied incorrectly in certain situations (#8070).
  6977. for ( ; i < l; i++ ) {
  6978. node = fragment;
  6979. if ( i !== iNoClone ) {
  6980. node = jQuery.clone( node, true, true );
  6981. // Keep references to cloned scripts for later restoration
  6982. if ( hasScripts ) {
  6983. jQuery.merge( scripts, getAll( node, "script" ) );
  6984. }
  6985. }
  6986. callback.call( this[i], node, i );
  6987. }
  6988. if ( hasScripts ) {
  6989. doc = scripts[ scripts.length - 1 ].ownerDocument;
  6990. // Reenable scripts
  6991. jQuery.map( scripts, restoreScript );
  6992. // Evaluate executable scripts on first document insertion
  6993. for ( i = 0; i < hasScripts; i++ ) {
  6994. node = scripts[ i ];
  6995. if ( rscriptType.test( node.type || "" ) &&
  6996. !jQuery._data( node, "globalEval" ) && jQuery.contains( doc, node ) ) {
  6997. if ( node.src ) {
  6998. // Optional AJAX dependency, but won't run scripts if not present
  6999. if ( jQuery._evalUrl ) {
  7000. jQuery._evalUrl( node.src );
  7001. }
  7002. } else {
  7003. jQuery.globalEval( ( node.text || node.textContent || node.innerHTML || "" ).replace( rcleanScript, "" ) );
  7004. }
  7005. }
  7006. }
  7007. }
  7008. // Fix #11809: Avoid leaking memory
  7009. fragment = first = null;
  7010. }
  7011. }
  7012. return this;
  7013. }
  7014. });
  7015. jQuery.each({
  7016. appendTo: "append",
  7017. prependTo: "prepend",
  7018. insertBefore: "before",
  7019. insertAfter: "after",
  7020. replaceAll: "replaceWith"
  7021. }, function( name, original ) {
  7022. jQuery.fn[ name ] = function( selector ) {
  7023. var elems,
  7024. i = 0,
  7025. ret = [],
  7026. insert = jQuery( selector ),
  7027. last = insert.length - 1;
  7028. for ( ; i <= last; i++ ) {
  7029. elems = i === last ? this : this.clone(true);
  7030. jQuery( insert[i] )[ original ]( elems );
  7031. // Modern browsers can apply jQuery collections as arrays, but oldIE needs a .get()
  7032. push.apply( ret, elems.get() );
  7033. }
  7034. return this.pushStack( ret );
  7035. };
  7036. });
  7037. var iframe,
  7038. elemdisplay = {};
  7039. /**
  7040. * Retrieve the actual display of a element
  7041. * @param {String} name nodeName of the element
  7042. * @param {Object} doc Document object
  7043. */
  7044. // Called only from within defaultDisplay
  7045. function actualDisplay( name, doc ) {
  7046. var style,
  7047. elem = jQuery( doc.createElement( name ) ).appendTo( doc.body ),
  7048. // getDefaultComputedStyle might be reliably used only on attached element
  7049. display = window.getDefaultComputedStyle && ( style = window.getDefaultComputedStyle( elem[ 0 ] ) ) ?
  7050. // Use of this method is a temporary fix (more like optmization) until something better comes along,
  7051. // since it was removed from specification and supported only in FF
  7052. style.display : jQuery.css( elem[ 0 ], "display" );
  7053. // We don't have any data stored on the element,
  7054. // so use "detach" method as fast way to get rid of the element
  7055. elem.detach();
  7056. return display;
  7057. }
  7058. /**
  7059. * Try to determine the default display value of an element
  7060. * @param {String} nodeName
  7061. */
  7062. function defaultDisplay( nodeName ) {
  7063. var doc = document,
  7064. display = elemdisplay[ nodeName ];
  7065. if ( !display ) {
  7066. display = actualDisplay( nodeName, doc );
  7067. // If the simple way fails, read from inside an iframe
  7068. if ( display === "none" || !display ) {
  7069. // Use the already-created iframe if possible
  7070. iframe = (iframe || jQuery( "<iframe frameborder='0' width='0' height='0'/>" )).appendTo( doc.documentElement );
  7071. // Always write a new HTML skeleton so Webkit and Firefox don't choke on reuse
  7072. doc = ( iframe[ 0 ].contentWindow || iframe[ 0 ].contentDocument ).document;
  7073. // Support: IE
  7074. doc.write();
  7075. doc.close();
  7076. display = actualDisplay( nodeName, doc );
  7077. iframe.detach();
  7078. }
  7079. // Store the correct default display
  7080. elemdisplay[ nodeName ] = display;
  7081. }
  7082. return display;
  7083. }
  7084. (function() {
  7085. var shrinkWrapBlocksVal;
  7086. support.shrinkWrapBlocks = function() {
  7087. if ( shrinkWrapBlocksVal != null ) {
  7088. return shrinkWrapBlocksVal;
  7089. }
  7090. // Will be changed later if needed.
  7091. shrinkWrapBlocksVal = false;
  7092. // Minified: var b,c,d
  7093. var div, body, container;
  7094. body = document.getElementsByTagName( "body" )[ 0 ];
  7095. if ( !body || !body.style ) {
  7096. // Test fired too early or in an unsupported environment, exit.
  7097. return;
  7098. }
  7099. // Setup
  7100. div = document.createElement( "div" );
  7101. container = document.createElement( "div" );
  7102. container.style.cssText = "position:absolute;border:0;width:0;height:0;top:0;left:-9999px";
  7103. body.appendChild( container ).appendChild( div );
  7104. // Support: IE6
  7105. // Check if elements with layout shrink-wrap their children
  7106. if ( typeof div.style.zoom !== strundefined ) {
  7107. // Reset CSS: box-sizing; display; margin; border
  7108. div.style.cssText =
  7109. // Support: Firefox<29, Android 2.3
  7110. // Vendor-prefix box-sizing
  7111. "-webkit-box-sizing:content-box;-moz-box-sizing:content-box;" +
  7112. "box-sizing:content-box;display:block;margin:0;border:0;" +
  7113. "padding:1px;width:1px;zoom:1";
  7114. div.appendChild( document.createElement( "div" ) ).style.width = "5px";
  7115. shrinkWrapBlocksVal = div.offsetWidth !== 3;
  7116. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  7117. }
  7118. ontype = type.indexOf( ":" ) < 0 && "on" + type;
  7119. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  7120. // Caller can pass in a jQuery.Event object, Object, or just an event type string
  7121. event = event[ jQuery.expando ] ?
  7122. event :
  7123. new jQuery.Event( type, typeof event === "object" && event );
  7124. // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true)
  7125. event.isTrigger = onlyHandlers ? 2 : 3;
  7126. event.namespace = namespaces.join( "." );
  7127. event.rnamespace = event.namespace ?
  7128. new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ) :
  7129. null;
  7130. // Clean up the event in case it is being reused
  7131. event.result = undefined;
  7132. if ( !event.target ) {
  7133. event.target = elem;
  7134. }
  7135. // Clone any incoming data and prepend the event, creating the handler arg list
  7136. data = data == null ?
  7137. [ event ] :
  7138. jQuery.makeArray( data, [ event ] );
  7139. // Allow special events to draw outside the lines
  7140. special = jQuery.event.special[ type ] || {};
  7141. if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) {
  7142. return;
  7143. }
  7144. // Determine event propagation path in advance, per W3C events spec (#9951)
  7145. // Bubble up to document, then to window; watch for a global ownerDocument var (#9724)
  7146. if ( !onlyHandlers && !special.noBubble && !jQuery.isWindow( elem ) ) {
  7147. bubbleType = special.delegateType || type;
  7148. if ( !rfocusMorph.test( bubbleType + type ) ) {
  7149. cur = cur.parentNode;
  7150. }
  7151. for ( ; cur; cur = cur.parentNode ) {
  7152. eventPath.push( cur );
  7153. tmp = cur;
  7154. }
  7155. // Only add window if we got to document (e.g., not plain obj or detached DOM)
  7156. if ( tmp === ( elem.ownerDocument || document ) ) {
  7157. eventPath.push( tmp.defaultView || tmp.parentWindow || window );
  7158. }
  7159. }
  7160. // Fire handlers on the event path
  7161. i = 0;
  7162. while ( ( cur = eventPath[ i++ ] ) && !event.isPropagationStopped() ) {
  7163. event.type = i > 1 ?
  7164. bubbleType :
  7165. special.bindType || type;
  7166. // jQuery handler
  7167. handle = ( jQuery._data( cur, "events" ) || {} )[ event.type ] &&
  7168. jQuery._data( cur, "handle" );
  7169. if ( handle ) {
  7170. handle.apply( cur, data );
  7171. }
  7172. // Native handler
  7173. handle = ontype && cur[ ontype ];
  7174. if ( handle && handle.apply && acceptData( cur ) ) {
  7175. event.result = handle.apply( cur, data );
  7176. if ( event.result === false ) {
  7177. event.preventDefault();
  7178. }
  7179. }
  7180. }
  7181. event.type = type;
  7182. // If nobody prevented the default action, do it now
  7183. if ( !onlyHandlers && !event.isDefaultPrevented() ) {
  7184. if (
  7185. ( !special._default ||
  7186. special._default.apply( eventPath.pop(), data ) === false
  7187. ) && acceptData( elem )
  7188. ) {
  7189. // Call a native DOM method on the target with the same name name as the event.
  7190. // Can't use an .isFunction() check here because IE6/7 fails that test.
  7191. // Don't do default actions on window, that's where global variables be (#6170)
  7192. if ( ontype && elem[ type ] && !jQuery.isWindow( elem ) ) {
  7193. // Don't re-trigger an onFOO event when we call its FOO() method
  7194. tmp = elem[ ontype ];
  7195. if ( tmp ) {
  7196. elem[ ontype ] = null;
  7197. }
  7198. // Prevent re-triggering of the same event, since we already bubbled it above
  7199. jQuery.event.triggered = type;
  7200. try {
  7201. elem[ type ]();
  7202. } catch ( e ) {
  7203. // IE<9 dies on focus/blur to hidden element (#1486,#12518)
  7204. // only reproducible on winXP IE8 native, not IE9 in IE8 mode
  7205. }
  7206. jQuery.event.triggered = undefined;
  7207. if ( tmp ) {
  7208. elem[ ontype ] = tmp;
  7209. }
  7210. }
  7211. =======
  7212. body.removeChild( container );
  7213. return shrinkWrapBlocksVal;
  7214. };
  7215. })();
  7216. var rmargin = (/^margin/);
  7217. var rnumnonpx = new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" );
  7218. var getStyles, curCSS,
  7219. rposition = /^(top|right|bottom|left)$/;
  7220. if ( window.getComputedStyle ) {
  7221. getStyles = function( elem ) {
  7222. // Support: IE<=11+, Firefox<=30+ (#15098, #14150)
  7223. // IE throws on elements created in popups
  7224. // FF meanwhile throws on frame elements through "defaultView.getComputedStyle"
  7225. if ( elem.ownerDocument.defaultView.opener ) {
  7226. return elem.ownerDocument.defaultView.getComputedStyle( elem, null );
  7227. }
  7228. return window.getComputedStyle( elem, null );
  7229. };
  7230. curCSS = function( elem, name, computed ) {
  7231. var width, minWidth, maxWidth, ret,
  7232. style = elem.style;
  7233. computed = computed || getStyles( elem );
  7234. // getPropertyValue is only needed for .css('filter') in IE9, see #12537
  7235. ret = computed ? computed.getPropertyValue( name ) || computed[ name ] : undefined;
  7236. if ( computed ) {
  7237. if ( ret === "" && !jQuery.contains( elem.ownerDocument, elem ) ) {
  7238. ret = jQuery.style( elem, name );
  7239. }
  7240. // A tribute to the "awesome hack by Dean Edwards"
  7241. // Chrome < 17 and Safari 5.0 uses "computed value" instead of "used value" for margin-right
  7242. // Safari 5.1.7 (at least) returns percentage for a larger set of values, but width seems to be reliably pixels
  7243. // this is against the CSSOM draft spec: http://dev.w3.org/csswg/cssom/#resolved-values
  7244. if ( rnumnonpx.test( ret ) && rmargin.test( name ) ) {
  7245. // Remember the original values
  7246. width = style.width;
  7247. minWidth = style.minWidth;
  7248. maxWidth = style.maxWidth;
  7249. // Put in the new values to get a computed value out
  7250. style.minWidth = style.maxWidth = style.width = ret;
  7251. ret = computed.width;
  7252. // Revert the changed values
  7253. style.width = width;
  7254. style.minWidth = minWidth;
  7255. style.maxWidth = maxWidth;
  7256. }
  7257. }
  7258. // Support: IE
  7259. // IE returns zIndex value as an integer.
  7260. return ret === undefined ?
  7261. ret :
  7262. ret + "";
  7263. };
  7264. } else if ( document.documentElement.currentStyle ) {
  7265. getStyles = function( elem ) {
  7266. return elem.currentStyle;
  7267. };
  7268. curCSS = function( elem, name, computed ) {
  7269. var left, rs, rsLeft, ret,
  7270. style = elem.style;
  7271. computed = computed || getStyles( elem );
  7272. ret = computed ? computed[ name ] : undefined;
  7273. // Avoid setting ret to empty string here
  7274. // so we don't default to auto
  7275. if ( ret == null && style && style[ name ] ) {
  7276. ret = style[ name ];
  7277. }
  7278. // From the awesome hack by Dean Edwards
  7279. // http://erik.eae.net/archives/2007/07/27/18.54.15/#comment-102291
  7280. // If we're not dealing with a regular pixel number
  7281. // but a number that has a weird ending, we need to convert it to pixels
  7282. // but not position css attributes, as those are proportional to the parent element instead
  7283. // and we can't measure the parent instead because it might trigger a "stacking dolls" problem
  7284. if ( rnumnonpx.test( ret ) && !rposition.test( name ) ) {
  7285. // Remember the original values
  7286. left = style.left;
  7287. rs = elem.runtimeStyle;
  7288. rsLeft = rs && rs.left;
  7289. // Put in the new values to get a computed value out
  7290. if ( rsLeft ) {
  7291. rs.left = elem.currentStyle.left;
  7292. }
  7293. style.left = name === "fontSize" ? "1em" : ret;
  7294. ret = style.pixelLeft + "px";
  7295. // Revert the changed values
  7296. style.left = left;
  7297. if ( rsLeft ) {
  7298. rs.left = rsLeft;
  7299. }
  7300. }
  7301. // Support: IE
  7302. // IE returns zIndex value as an integer.
  7303. return ret === undefined ?
  7304. ret :
  7305. ret + "" || "auto";
  7306. };
  7307. }
  7308. function addGetHookIf( conditionFn, hookFn ) {
  7309. // Define the hook, we'll check on the first run if it's really needed.
  7310. return {
  7311. get: function() {
  7312. var condition = conditionFn();
  7313. if ( condition == null ) {
  7314. // The test was not ready at this point; screw the hook this time
  7315. // but check again when needed next time.
  7316. return;
  7317. }
  7318. if ( condition ) {
  7319. // Hook not needed (or it's not possible to use it due to missing dependency),
  7320. // remove it.
  7321. // Since there are no other hooks for marginRight, remove the whole object.
  7322. delete this.get;
  7323. return;
  7324. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  7325. }
  7326. // Hook needed; redefine it so that the support test is not executed again.
  7327. return (this.get = hookFn).apply( this, arguments );
  7328. }
  7329. };
  7330. }
  7331. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  7332. return event.result;
  7333. },
  7334. dispatch: function( event ) {
  7335. // Make a writable jQuery.Event from the native event object
  7336. event = jQuery.event.fix( event );
  7337. var i, j, ret, matched, handleObj,
  7338. handlerQueue = [],
  7339. args = slice.call( arguments ),
  7340. handlers = ( jQuery._data( this, "events" ) || {} )[ event.type ] || [],
  7341. special = jQuery.event.special[ event.type ] || {};
  7342. // Use the fix-ed jQuery.Event rather than the (read-only) native event
  7343. args[ 0 ] = event;
  7344. event.delegateTarget = this;
  7345. // Call the preDispatch hook for the mapped type, and let it bail if desired
  7346. if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) {
  7347. return;
  7348. }
  7349. // Determine handlers
  7350. handlerQueue = jQuery.event.handlers.call( this, event, handlers );
  7351. // Run delegates first; they may want to stop propagation beneath us
  7352. i = 0;
  7353. while ( ( matched = handlerQueue[ i++ ] ) && !event.isPropagationStopped() ) {
  7354. event.currentTarget = matched.elem;
  7355. j = 0;
  7356. while ( ( handleObj = matched.handlers[ j++ ] ) &&
  7357. !event.isImmediatePropagationStopped() ) {
  7358. // Triggered event must either 1) have no namespace, or 2) have namespace(s)
  7359. // a subset or equal to those in the bound event (both can have no namespace).
  7360. if ( !event.rnamespace || event.rnamespace.test( handleObj.namespace ) ) {
  7361. event.handleObj = handleObj;
  7362. event.data = handleObj.data;
  7363. ret = ( ( jQuery.event.special[ handleObj.origType ] || {} ).handle ||
  7364. handleObj.handler ).apply( matched.elem, args );
  7365. if ( ret !== undefined ) {
  7366. if ( ( event.result = ret ) === false ) {
  7367. event.preventDefault();
  7368. event.stopPropagation();
  7369. }
  7370. }
  7371. }
  7372. }
  7373. }
  7374. // Call the postDispatch hook for the mapped type
  7375. if ( special.postDispatch ) {
  7376. special.postDispatch.call( this, event );
  7377. }
  7378. return event.result;
  7379. },
  7380. handlers: function( event, handlers ) {
  7381. var i, matches, sel, handleObj,
  7382. handlerQueue = [],
  7383. delegateCount = handlers.delegateCount,
  7384. cur = event.target;
  7385. // Support (at least): Chrome, IE9
  7386. // Find delegate handlers
  7387. // Black-hole SVG <use> instance trees (#13180)
  7388. //
  7389. // Support: Firefox<=42+
  7390. // Avoid non-left-click in FF but don't block IE radio events (#3861, gh-2343)
  7391. if ( delegateCount && cur.nodeType &&
  7392. ( event.type !== "click" || isNaN( event.button ) || event.button < 1 ) ) {
  7393. /* jshint eqeqeq: false */
  7394. for ( ; cur != this; cur = cur.parentNode || this ) {
  7395. /* jshint eqeqeq: true */
  7396. // Don't check non-elements (#13208)
  7397. // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764)
  7398. if ( cur.nodeType === 1 && ( cur.disabled !== true || event.type !== "click" ) ) {
  7399. matches = [];
  7400. for ( i = 0; i < delegateCount; i++ ) {
  7401. handleObj = handlers[ i ];
  7402. // Don't conflict with Object.prototype properties (#13203)
  7403. sel = handleObj.selector + " ";
  7404. if ( matches[ sel ] === undefined ) {
  7405. matches[ sel ] = handleObj.needsContext ?
  7406. jQuery( sel, this ).index( cur ) > -1 :
  7407. jQuery.find( sel, this, null, [ cur ] ).length;
  7408. }
  7409. if ( matches[ sel ] ) {
  7410. matches.push( handleObj );
  7411. }
  7412. }
  7413. if ( matches.length ) {
  7414. handlerQueue.push( { elem: cur, handlers: matches } );
  7415. }
  7416. }
  7417. }
  7418. }
  7419. // Add the remaining (directly-bound) handlers
  7420. if ( delegateCount < handlers.length ) {
  7421. handlerQueue.push( { elem: this, handlers: handlers.slice( delegateCount ) } );
  7422. }
  7423. return handlerQueue;
  7424. },
  7425. fix: function( event ) {
  7426. if ( event[ jQuery.expando ] ) {
  7427. return event;
  7428. }
  7429. // Create a writable copy of the event object and normalize some properties
  7430. var i, prop, copy,
  7431. type = event.type,
  7432. originalEvent = event,
  7433. fixHook = this.fixHooks[ type ];
  7434. if ( !fixHook ) {
  7435. this.fixHooks[ type ] = fixHook =
  7436. rmouseEvent.test( type ) ? this.mouseHooks :
  7437. rkeyEvent.test( type ) ? this.keyHooks :
  7438. {};
  7439. }
  7440. copy = fixHook.props ? this.props.concat( fixHook.props ) : this.props;
  7441. event = new jQuery.Event( originalEvent );
  7442. i = copy.length;
  7443. while ( i-- ) {
  7444. prop = copy[ i ];
  7445. event[ prop ] = originalEvent[ prop ];
  7446. }
  7447. // Support: IE<9
  7448. // Fix target property (#1925)
  7449. if ( !event.target ) {
  7450. event.target = originalEvent.srcElement || document;
  7451. }
  7452. // Support: Safari 6-8+
  7453. // Target should not be a text node (#504, #13143)
  7454. if ( event.target.nodeType === 3 ) {
  7455. event.target = event.target.parentNode;
  7456. }
  7457. // Support: IE<9
  7458. // For mouse/key events, metaKey==false if it's undefined (#3368, #11328)
  7459. event.metaKey = !!event.metaKey;
  7460. return fixHook.filter ? fixHook.filter( event, originalEvent ) : event;
  7461. },
  7462. // Includes some event props shared by KeyEvent and MouseEvent
  7463. props: ( "altKey bubbles cancelable ctrlKey currentTarget detail eventPhase " +
  7464. "metaKey relatedTarget shiftKey target timeStamp view which" ).split( " " ),
  7465. fixHooks: {},
  7466. keyHooks: {
  7467. props: "char charCode key keyCode".split( " " ),
  7468. filter: function( event, original ) {
  7469. // Add which for key events
  7470. if ( event.which == null ) {
  7471. event.which = original.charCode != null ? original.charCode : original.keyCode;
  7472. =======
  7473. (function() {
  7474. // Minified: var b,c,d,e,f,g, h,i
  7475. var div, style, a, pixelPositionVal, boxSizingReliableVal,
  7476. reliableHiddenOffsetsVal, reliableMarginRightVal;
  7477. // Setup
  7478. div = document.createElement( "div" );
  7479. div.innerHTML = " <link/><table></table><a href='/a'>a</a><input type='checkbox'/>";
  7480. a = div.getElementsByTagName( "a" )[ 0 ];
  7481. style = a && a.style;
  7482. // Finish early in limited (non-browser) environments
  7483. if ( !style ) {
  7484. return;
  7485. }
  7486. style.cssText = "float:left;opacity:.5";
  7487. // Support: IE<9
  7488. // Make sure that element opacity exists (as opposed to filter)
  7489. support.opacity = style.opacity === "0.5";
  7490. // Verify style float existence
  7491. // (IE uses styleFloat instead of cssFloat)
  7492. support.cssFloat = !!style.cssFloat;
  7493. div.style.backgroundClip = "content-box";
  7494. div.cloneNode( true ).style.backgroundClip = "";
  7495. support.clearCloneStyle = div.style.backgroundClip === "content-box";
  7496. // Support: Firefox<29, Android 2.3
  7497. // Vendor-prefix box-sizing
  7498. support.boxSizing = style.boxSizing === "" || style.MozBoxSizing === "" ||
  7499. style.WebkitBoxSizing === "";
  7500. jQuery.extend(support, {
  7501. reliableHiddenOffsets: function() {
  7502. if ( reliableHiddenOffsetsVal == null ) {
  7503. computeStyleTests();
  7504. }
  7505. return reliableHiddenOffsetsVal;
  7506. },
  7507. boxSizingReliable: function() {
  7508. if ( boxSizingReliableVal == null ) {
  7509. computeStyleTests();
  7510. }
  7511. return boxSizingReliableVal;
  7512. },
  7513. pixelPosition: function() {
  7514. if ( pixelPositionVal == null ) {
  7515. computeStyleTests();
  7516. }
  7517. return pixelPositionVal;
  7518. },
  7519. // Support: Android 2.3
  7520. reliableMarginRight: function() {
  7521. if ( reliableMarginRightVal == null ) {
  7522. computeStyleTests();
  7523. }
  7524. return reliableMarginRightVal;
  7525. }
  7526. });
  7527. function computeStyleTests() {
  7528. // Minified: var b,c,d,j
  7529. var div, body, container, contents;
  7530. body = document.getElementsByTagName( "body" )[ 0 ];
  7531. if ( !body || !body.style ) {
  7532. // Test fired too early or in an unsupported environment, exit.
  7533. return;
  7534. }
  7535. // Setup
  7536. div = document.createElement( "div" );
  7537. container = document.createElement( "div" );
  7538. container.style.cssText = "position:absolute;border:0;width:0;height:0;top:0;left:-9999px";
  7539. body.appendChild( container ).appendChild( div );
  7540. div.style.cssText =
  7541. // Support: Firefox<29, Android 2.3
  7542. // Vendor-prefix box-sizing
  7543. "-webkit-box-sizing:border-box;-moz-box-sizing:border-box;" +
  7544. "box-sizing:border-box;display:block;margin-top:1%;top:1%;" +
  7545. "border:1px;padding:1px;width:4px;position:absolute";
  7546. // Support: IE<9
  7547. // Assume reasonable values in the absence of getComputedStyle
  7548. pixelPositionVal = boxSizingReliableVal = false;
  7549. reliableMarginRightVal = true;
  7550. // Check for getComputedStyle so that this code is not run in IE<9.
  7551. if ( window.getComputedStyle ) {
  7552. pixelPositionVal = ( window.getComputedStyle( div, null ) || {} ).top !== "1%";
  7553. boxSizingReliableVal =
  7554. ( window.getComputedStyle( div, null ) || { width: "4px" } ).width === "4px";
  7555. // Support: Android 2.3
  7556. // Div with explicit width and no margin-right incorrectly
  7557. // gets computed margin-right based on width of container (#3333)
  7558. // WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right
  7559. contents = div.appendChild( document.createElement( "div" ) );
  7560. // Reset CSS: box-sizing; display; margin; border; padding
  7561. contents.style.cssText = div.style.cssText =
  7562. // Support: Firefox<29, Android 2.3
  7563. // Vendor-prefix box-sizing
  7564. "-webkit-box-sizing:content-box;-moz-box-sizing:content-box;" +
  7565. "box-sizing:content-box;display:block;margin:0;border:0;padding:0";
  7566. contents.style.marginRight = contents.style.width = "0";
  7567. div.style.width = "1px";
  7568. reliableMarginRightVal =
  7569. !parseFloat( ( window.getComputedStyle( contents, null ) || {} ).marginRight );
  7570. div.removeChild( contents );
  7571. }
  7572. // Support: IE8
  7573. // Check if table cells still have offsetWidth/Height when they are set
  7574. // to display:none and there are still other visible table cells in a
  7575. // table row; if so, offsetWidth/Height are not reliable for use when
  7576. // determining if an element has been hidden directly using
  7577. // display:none (it is still safe to use offsets if a parent element is
  7578. // hidden; don safety goggles and see bug #4512 for more information).
  7579. div.innerHTML = "<table><tr><td></td><td>t</td></tr></table>";
  7580. contents = div.getElementsByTagName( "td" );
  7581. contents[ 0 ].style.cssText = "margin:0;border:0;padding:0;display:none";
  7582. reliableHiddenOffsetsVal = contents[ 0 ].offsetHeight === 0;
  7583. if ( reliableHiddenOffsetsVal ) {
  7584. contents[ 0 ].style.display = "";
  7585. contents[ 1 ].style.display = "none";
  7586. reliableHiddenOffsetsVal = contents[ 0 ].offsetHeight === 0;
  7587. }
  7588. body.removeChild( container );
  7589. }
  7590. })();
  7591. // A method for quickly swapping in/out CSS properties to get correct calculations.
  7592. jQuery.swap = function( elem, options, callback, args ) {
  7593. var ret, name,
  7594. old = {};
  7595. // Remember the old values, and insert the new ones
  7596. for ( name in options ) {
  7597. old[ name ] = elem.style[ name ];
  7598. elem.style[ name ] = options[ name ];
  7599. }
  7600. ret = callback.apply( elem, args || [] );
  7601. // Revert the old values
  7602. for ( name in options ) {
  7603. elem.style[ name ] = old[ name ];
  7604. }
  7605. return ret;
  7606. };
  7607. var
  7608. ralpha = /alpha\([^)]*\)/i,
  7609. ropacity = /opacity\s*=\s*([^)]*)/,
  7610. // swappable if display is none or starts with table except "table", "table-cell", or "table-caption"
  7611. // see here for display values: https://developer.mozilla.org/en-US/docs/CSS/display
  7612. rdisplayswap = /^(none|table(?!-c[ea]).+)/,
  7613. rnumsplit = new RegExp( "^(" + pnum + ")(.*)$", "i" ),
  7614. rrelNum = new RegExp( "^([+-])=(" + pnum + ")", "i" ),
  7615. cssShow = { position: "absolute", visibility: "hidden", display: "block" },
  7616. cssNormalTransform = {
  7617. letterSpacing: "0",
  7618. fontWeight: "400"
  7619. },
  7620. cssPrefixes = [ "Webkit", "O", "Moz", "ms" ];
  7621. // return a css property mapped to a potentially vendor prefixed property
  7622. function vendorPropName( style, name ) {
  7623. // shortcut for names that are not vendor prefixed
  7624. if ( name in style ) {
  7625. return name;
  7626. }
  7627. // check for vendor prefixed names
  7628. var capName = name.charAt(0).toUpperCase() + name.slice(1),
  7629. origName = name,
  7630. i = cssPrefixes.length;
  7631. while ( i-- ) {
  7632. name = cssPrefixes[ i ] + capName;
  7633. if ( name in style ) {
  7634. return name;
  7635. }
  7636. }
  7637. return origName;
  7638. }
  7639. function showHide( elements, show ) {
  7640. var display, elem, hidden,
  7641. values = [],
  7642. index = 0,
  7643. length = elements.length;
  7644. for ( ; index < length; index++ ) {
  7645. elem = elements[ index ];
  7646. if ( !elem.style ) {
  7647. continue;
  7648. }
  7649. values[ index ] = jQuery._data( elem, "olddisplay" );
  7650. display = elem.style.display;
  7651. if ( show ) {
  7652. // Reset the inline display of this element to learn if it is
  7653. // being hidden by cascaded rules or not
  7654. if ( !values[ index ] && display === "none" ) {
  7655. elem.style.display = "";
  7656. }
  7657. // Set elements which have been overridden with display: none
  7658. // in a stylesheet to whatever the default browser style is
  7659. // for such an element
  7660. if ( elem.style.display === "" && isHidden( elem ) ) {
  7661. values[ index ] = jQuery._data( elem, "olddisplay", defaultDisplay(elem.nodeName) );
  7662. }
  7663. } else {
  7664. hidden = isHidden( elem );
  7665. if ( display && display !== "none" || !hidden ) {
  7666. jQuery._data( elem, "olddisplay", hidden ? display : jQuery.css( elem, "display" ) );
  7667. }
  7668. }
  7669. }
  7670. // Set the display of most of the elements in a second loop
  7671. // to avoid the constant reflow
  7672. for ( index = 0; index < length; index++ ) {
  7673. elem = elements[ index ];
  7674. if ( !elem.style ) {
  7675. continue;
  7676. }
  7677. if ( !show || elem.style.display === "none" || elem.style.display === "" ) {
  7678. elem.style.display = show ? values[ index ] || "" : "none";
  7679. }
  7680. }
  7681. return elements;
  7682. }
  7683. function setPositiveNumber( elem, value, subtract ) {
  7684. var matches = rnumsplit.exec( value );
  7685. return matches ?
  7686. // Guard against undefined "subtract", e.g., when used as in cssHooks
  7687. Math.max( 0, matches[ 1 ] - ( subtract || 0 ) ) + ( matches[ 2 ] || "px" ) :
  7688. value;
  7689. }
  7690. function augmentWidthOrHeight( elem, name, extra, isBorderBox, styles ) {
  7691. var i = extra === ( isBorderBox ? "border" : "content" ) ?
  7692. // If we already have the right measurement, avoid augmentation
  7693. 4 :
  7694. // Otherwise initialize for horizontal or vertical properties
  7695. name === "width" ? 1 : 0,
  7696. val = 0;
  7697. for ( ; i < 4; i += 2 ) {
  7698. // both box models exclude margin, so add it if we want it
  7699. if ( extra === "margin" ) {
  7700. val += jQuery.css( elem, extra + cssExpand[ i ], true, styles );
  7701. }
  7702. if ( isBorderBox ) {
  7703. // border-box includes padding, so remove it if we want content
  7704. if ( extra === "content" ) {
  7705. val -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles );
  7706. }
  7707. // at this point, extra isn't border nor margin, so remove border
  7708. if ( extra !== "margin" ) {
  7709. val -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles );
  7710. }
  7711. } else {
  7712. // at this point, extra isn't content, so add padding
  7713. val += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles );
  7714. // at this point, extra isn't content nor padding, so add border
  7715. if ( extra !== "padding" ) {
  7716. val += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles );
  7717. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  7718. }
  7719. return event;
  7720. }
  7721. },
  7722. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  7723. mouseHooks: {
  7724. props: ( "button buttons clientX clientY fromElement offsetX offsetY " +
  7725. "pageX pageY screenX screenY toElement" ).split( " " ),
  7726. filter: function( event, original ) {
  7727. var body, eventDoc, doc,
  7728. button = original.button,
  7729. fromElement = original.fromElement;
  7730. // Calculate pageX/Y if missing and clientX/Y available
  7731. if ( event.pageX == null && original.clientX != null ) {
  7732. eventDoc = event.target.ownerDocument || document;
  7733. doc = eventDoc.documentElement;
  7734. body = eventDoc.body;
  7735. event.pageX = original.clientX +
  7736. ( doc && doc.scrollLeft || body && body.scrollLeft || 0 ) -
  7737. ( doc && doc.clientLeft || body && body.clientLeft || 0 );
  7738. event.pageY = original.clientY +
  7739. ( doc && doc.scrollTop || body && body.scrollTop || 0 ) -
  7740. ( doc && doc.clientTop || body && body.clientTop || 0 );
  7741. }
  7742. // Add relatedTarget, if necessary
  7743. if ( !event.relatedTarget && fromElement ) {
  7744. event.relatedTarget = fromElement === event.target ?
  7745. original.toElement :
  7746. fromElement;
  7747. }
  7748. // Add which for click: 1 === left; 2 === middle; 3 === right
  7749. // Note: button is not normalized, so don't use it
  7750. if ( !event.which && button !== undefined ) {
  7751. event.which = ( button & 1 ? 1 : ( button & 2 ? 3 : ( button & 4 ? 2 : 0 ) ) );
  7752. }
  7753. return event;
  7754. =======
  7755. return val;
  7756. }
  7757. function getWidthOrHeight( elem, name, extra ) {
  7758. // Start with offset property, which is equivalent to the border-box value
  7759. var valueIsBorderBox = true,
  7760. val = name === "width" ? elem.offsetWidth : elem.offsetHeight,
  7761. styles = getStyles( elem ),
  7762. isBorderBox = support.boxSizing && jQuery.css( elem, "boxSizing", false, styles ) === "border-box";
  7763. // some non-html elements return undefined for offsetWidth, so check for null/undefined
  7764. // svg - https://bugzilla.mozilla.org/show_bug.cgi?id=649285
  7765. // MathML - https://bugzilla.mozilla.org/show_bug.cgi?id=491668
  7766. if ( val <= 0 || val == null ) {
  7767. // Fall back to computed then uncomputed css if necessary
  7768. val = curCSS( elem, name, styles );
  7769. if ( val < 0 || val == null ) {
  7770. val = elem.style[ name ];
  7771. }
  7772. // Computed unit is not pixels. Stop here and return.
  7773. if ( rnumnonpx.test(val) ) {
  7774. return val;
  7775. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  7776. }
  7777. },
  7778. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  7779. special: {
  7780. load: {
  7781. // Prevent triggered image.load events from bubbling to window.load
  7782. noBubble: true
  7783. },
  7784. focus: {
  7785. // Fire native event if possible so blur/focus sequence is correct
  7786. trigger: function() {
  7787. if ( this !== safeActiveElement() && this.focus ) {
  7788. try {
  7789. this.focus();
  7790. return false;
  7791. } catch ( e ) {
  7792. // Support: IE<9
  7793. // If we error on focus to hidden element (#1486, #12518),
  7794. // let .trigger() run the handlers
  7795. }
  7796. }
  7797. },
  7798. delegateType: "focusin"
  7799. },
  7800. blur: {
  7801. trigger: function() {
  7802. if ( this === safeActiveElement() && this.blur ) {
  7803. this.blur();
  7804. return false;
  7805. }
  7806. },
  7807. delegateType: "focusout"
  7808. },
  7809. click: {
  7810. // For checkbox, fire native event so checked state will be right
  7811. trigger: function() {
  7812. if ( jQuery.nodeName( this, "input" ) && this.type === "checkbox" && this.click ) {
  7813. this.click();
  7814. return false;
  7815. }
  7816. },
  7817. // For cross-browser consistency, don't fire native .click() on links
  7818. _default: function( event ) {
  7819. return jQuery.nodeName( event.target, "a" );
  7820. }
  7821. },
  7822. beforeunload: {
  7823. postDispatch: function( event ) {
  7824. // Support: Firefox 20+
  7825. // Firefox doesn't alert if the returnValue field is not set.
  7826. if ( event.result !== undefined && event.originalEvent ) {
  7827. event.originalEvent.returnValue = event.result;
  7828. }
  7829. }
  7830. }
  7831. },
  7832. // Piggyback on a donor event to simulate a different one
  7833. simulate: function( type, elem, event ) {
  7834. var e = jQuery.extend(
  7835. new jQuery.Event(),
  7836. event,
  7837. {
  7838. type: type,
  7839. isSimulated: true
  7840. // Previously, `originalEvent: {}` was set here, so stopPropagation call
  7841. // would not be triggered on donor event, since in our own
  7842. // jQuery.event.stopPropagation function we had a check for existence of
  7843. // originalEvent.stopPropagation method, so, consequently it would be a noop.
  7844. //
  7845. // Guard for simulated events was moved to jQuery.event.stopPropagation function
  7846. // since `originalEvent` should point to the original event for the
  7847. // constancy with other events and for more focused logic
  7848. }
  7849. );
  7850. jQuery.event.trigger( e, null, elem );
  7851. if ( e.isDefaultPrevented() ) {
  7852. event.preventDefault();
  7853. }
  7854. }
  7855. };
  7856. jQuery.removeEvent = document.removeEventListener ?
  7857. function( elem, type, handle ) {
  7858. // This "if" is needed for plain objects
  7859. if ( elem.removeEventListener ) {
  7860. elem.removeEventListener( type, handle );
  7861. }
  7862. } :
  7863. function( elem, type, handle ) {
  7864. var name = "on" + type;
  7865. if ( elem.detachEvent ) {
  7866. // #8545, #7054, preventing memory leaks for custom events in IE6-8
  7867. // detachEvent needed property on element, by name of that event,
  7868. // to properly expose it to GC
  7869. if ( typeof elem[ name ] === "undefined" ) {
  7870. elem[ name ] = null;
  7871. }
  7872. elem.detachEvent( name, handle );
  7873. }
  7874. };
  7875. jQuery.Event = function( src, props ) {
  7876. // Allow instantiation without the 'new' keyword
  7877. if ( !( this instanceof jQuery.Event ) ) {
  7878. return new jQuery.Event( src, props );
  7879. }
  7880. // Event object
  7881. if ( src && src.type ) {
  7882. this.originalEvent = src;
  7883. this.type = src.type;
  7884. // Events bubbling up the document may have been marked as prevented
  7885. // by a handler lower down the tree; reflect the correct value.
  7886. this.isDefaultPrevented = src.defaultPrevented ||
  7887. src.defaultPrevented === undefined &&
  7888. // Support: IE < 9, Android < 4.0
  7889. src.returnValue === false ?
  7890. returnTrue :
  7891. returnFalse;
  7892. // Event type
  7893. } else {
  7894. this.type = src;
  7895. }
  7896. // Put explicitly provided properties onto the event object
  7897. if ( props ) {
  7898. jQuery.extend( this, props );
  7899. }
  7900. // Create a timestamp if incoming event doesn't have one
  7901. this.timeStamp = src && src.timeStamp || jQuery.now();
  7902. // Mark it as fixed
  7903. this[ jQuery.expando ] = true;
  7904. };
  7905. // jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding
  7906. // http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html
  7907. jQuery.Event.prototype = {
  7908. constructor: jQuery.Event,
  7909. isDefaultPrevented: returnFalse,
  7910. isPropagationStopped: returnFalse,
  7911. isImmediatePropagationStopped: returnFalse,
  7912. preventDefault: function() {
  7913. var e = this.originalEvent;
  7914. this.isDefaultPrevented = returnTrue;
  7915. if ( !e ) {
  7916. return;
  7917. =======
  7918. // we need the check for style in case a browser which returns unreliable values
  7919. // for getComputedStyle silently falls back to the reliable elem.style
  7920. valueIsBorderBox = isBorderBox && ( support.boxSizingReliable() || val === elem.style[ name ] );
  7921. // Normalize "", auto, and prepare for extra
  7922. val = parseFloat( val ) || 0;
  7923. }
  7924. // use the active box-sizing model to add/subtract irrelevant styles
  7925. return ( val +
  7926. augmentWidthOrHeight(
  7927. elem,
  7928. name,
  7929. extra || ( isBorderBox ? "border" : "content" ),
  7930. valueIsBorderBox,
  7931. styles
  7932. )
  7933. ) + "px";
  7934. }
  7935. jQuery.extend({
  7936. // Add in style property hooks for overriding the default
  7937. // behavior of getting and setting a style property
  7938. cssHooks: {
  7939. opacity: {
  7940. get: function( elem, computed ) {
  7941. if ( computed ) {
  7942. // We should always get a number back from opacity
  7943. var ret = curCSS( elem, "opacity" );
  7944. return ret === "" ? "1" : ret;
  7945. }
  7946. }
  7947. }
  7948. },
  7949. // Don't automatically add "px" to these possibly-unitless properties
  7950. cssNumber: {
  7951. "columnCount": true,
  7952. "fillOpacity": true,
  7953. "flexGrow": true,
  7954. "flexShrink": true,
  7955. "fontWeight": true,
  7956. "lineHeight": true,
  7957. "opacity": true,
  7958. "order": true,
  7959. "orphans": true,
  7960. "widows": true,
  7961. "zIndex": true,
  7962. "zoom": true
  7963. },
  7964. // Add in properties whose names you wish to fix before
  7965. // setting or getting the value
  7966. cssProps: {
  7967. // normalize float css property
  7968. "float": support.cssFloat ? "cssFloat" : "styleFloat"
  7969. },
  7970. // Get and set the style property on a DOM Node
  7971. style: function( elem, name, value, extra ) {
  7972. // Don't set styles on text and comment nodes
  7973. if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) {
  7974. return;
  7975. }
  7976. // Make sure that we're working with the right name
  7977. var ret, type, hooks,
  7978. origName = jQuery.camelCase( name ),
  7979. style = elem.style;
  7980. name = jQuery.cssProps[ origName ] || ( jQuery.cssProps[ origName ] = vendorPropName( style, origName ) );
  7981. // gets hook for the prefixed version
  7982. // followed by the unprefixed version
  7983. hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ];
  7984. // Check if we're setting a value
  7985. if ( value !== undefined ) {
  7986. type = typeof value;
  7987. // convert relative number strings (+= or -=) to relative numbers. #7345
  7988. if ( type === "string" && (ret = rrelNum.exec( value )) ) {
  7989. value = ( ret[1] + 1 ) * ret[2] + parseFloat( jQuery.css( elem, name ) );
  7990. // Fixes bug #9237
  7991. type = "number";
  7992. }
  7993. // Make sure that null and NaN values aren't set. See: #7116
  7994. if ( value == null || value !== value ) {
  7995. return;
  7996. }
  7997. // If a number was passed in, add 'px' to the (except for certain CSS properties)
  7998. if ( type === "number" && !jQuery.cssNumber[ origName ] ) {
  7999. value += "px";
  8000. }
  8001. // Fixes #8908, it can be done more correctly by specifing setters in cssHooks,
  8002. // but it would mean to define eight (for every problematic property) identical functions
  8003. if ( !support.clearCloneStyle && value === "" && name.indexOf("background") === 0 ) {
  8004. style[ name ] = "inherit";
  8005. }
  8006. // If a hook was provided, use that value, otherwise just set the specified value
  8007. if ( !hooks || !("set" in hooks) || (value = hooks.set( elem, value, extra )) !== undefined ) {
  8008. // Support: IE
  8009. // Swallow errors from 'invalid' CSS values (#5509)
  8010. try {
  8011. style[ name ] = value;
  8012. } catch(e) {}
  8013. }
  8014. } else {
  8015. // If a hook was provided get the non-computed value from there
  8016. if ( hooks && "get" in hooks && (ret = hooks.get( elem, false, extra )) !== undefined ) {
  8017. return ret;
  8018. }
  8019. // Otherwise just get the value from the style object
  8020. return style[ name ];
  8021. }
  8022. },
  8023. css: function( elem, name, extra, styles ) {
  8024. var num, val, hooks,
  8025. origName = jQuery.camelCase( name );
  8026. // Make sure that we're working with the right name
  8027. name = jQuery.cssProps[ origName ] || ( jQuery.cssProps[ origName ] = vendorPropName( elem.style, origName ) );
  8028. // gets hook for the prefixed version
  8029. // followed by the unprefixed version
  8030. hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ];
  8031. // If a hook was provided get the computed value from there
  8032. if ( hooks && "get" in hooks ) {
  8033. val = hooks.get( elem, true, extra );
  8034. }
  8035. // Otherwise, if a way to get the computed value exists, use that
  8036. if ( val === undefined ) {
  8037. val = curCSS( elem, name, styles );
  8038. }
  8039. //convert "normal" to computed value
  8040. if ( val === "normal" && name in cssNormalTransform ) {
  8041. val = cssNormalTransform[ name ];
  8042. }
  8043. // Return, converting to number if forced or a qualifier was provided and val looks numeric
  8044. if ( extra === "" || extra ) {
  8045. num = parseFloat( val );
  8046. return extra === true || jQuery.isNumeric( num ) ? num || 0 : val;
  8047. }
  8048. return val;
  8049. }
  8050. });
  8051. jQuery.each([ "height", "width" ], function( i, name ) {
  8052. jQuery.cssHooks[ name ] = {
  8053. get: function( elem, computed, extra ) {
  8054. if ( computed ) {
  8055. // certain elements can have dimension info if we invisibly show them
  8056. // however, it must have a current display style that would benefit from this
  8057. return rdisplayswap.test( jQuery.css( elem, "display" ) ) && elem.offsetWidth === 0 ?
  8058. jQuery.swap( elem, cssShow, function() {
  8059. return getWidthOrHeight( elem, name, extra );
  8060. }) :
  8061. getWidthOrHeight( elem, name, extra );
  8062. }
  8063. },
  8064. set: function( elem, value, extra ) {
  8065. var styles = extra && getStyles( elem );
  8066. return setPositiveNumber( elem, value, extra ?
  8067. augmentWidthOrHeight(
  8068. elem,
  8069. name,
  8070. extra,
  8071. support.boxSizing && jQuery.css( elem, "boxSizing", false, styles ) === "border-box",
  8072. styles
  8073. ) : 0
  8074. );
  8075. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  8076. }
  8077. };
  8078. });
  8079. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  8080. // If preventDefault exists, run it on the original event
  8081. if ( e.preventDefault ) {
  8082. e.preventDefault();
  8083. // Support: IE
  8084. // Otherwise set the returnValue property of the original event to false
  8085. } else {
  8086. e.returnValue = false;
  8087. }
  8088. },
  8089. stopPropagation: function() {
  8090. var e = this.originalEvent;
  8091. this.isPropagationStopped = returnTrue;
  8092. if ( !e || this.isSimulated ) {
  8093. return;
  8094. }
  8095. // If stopPropagation exists, run it on the original event
  8096. if ( e.stopPropagation ) {
  8097. e.stopPropagation();
  8098. }
  8099. // Support: IE
  8100. // Set the cancelBubble property of the original event to true
  8101. e.cancelBubble = true;
  8102. },
  8103. stopImmediatePropagation: function() {
  8104. var e = this.originalEvent;
  8105. this.isImmediatePropagationStopped = returnTrue;
  8106. if ( e && e.stopImmediatePropagation ) {
  8107. e.stopImmediatePropagation();
  8108. }
  8109. this.stopPropagation();
  8110. }
  8111. };
  8112. // Create mouseenter/leave events using mouseover/out and event-time checks
  8113. // so that event delegation works in jQuery.
  8114. // Do the same for pointerenter/pointerleave and pointerover/pointerout
  8115. //
  8116. // Support: Safari 7 only
  8117. // Safari sends mouseenter too often; see:
  8118. // https://code.google.com/p/chromium/issues/detail?id=470258
  8119. // for the description of the bug (it existed in older Chrome versions as well).
  8120. jQuery.each( {
  8121. mouseenter: "mouseover",
  8122. mouseleave: "mouseout",
  8123. pointerenter: "pointerover",
  8124. pointerleave: "pointerout"
  8125. }, function( orig, fix ) {
  8126. jQuery.event.special[ orig ] = {
  8127. delegateType: fix,
  8128. bindType: fix,
  8129. handle: function( event ) {
  8130. var ret,
  8131. target = this,
  8132. related = event.relatedTarget,
  8133. handleObj = event.handleObj;
  8134. // For mouseenter/leave call the handler if related is outside the target.
  8135. // NB: No relatedTarget if the mouse left/entered the browser window
  8136. if ( !related || ( related !== target && !jQuery.contains( target, related ) ) ) {
  8137. event.type = handleObj.origType;
  8138. ret = handleObj.handler.apply( this, arguments );
  8139. event.type = fix;
  8140. }
  8141. return ret;
  8142. }
  8143. };
  8144. } );
  8145. // IE submit delegation
  8146. if ( !support.submit ) {
  8147. jQuery.event.special.submit = {
  8148. setup: function() {
  8149. // Only need this for delegated form submit events
  8150. if ( jQuery.nodeName( this, "form" ) ) {
  8151. return false;
  8152. }
  8153. // Lazy-add a submit handler when a descendant form may potentially be submitted
  8154. jQuery.event.add( this, "click._submit keypress._submit", function( e ) {
  8155. // Node name check avoids a VML-related crash in IE (#9807)
  8156. var elem = e.target,
  8157. form = jQuery.nodeName( elem, "input" ) || jQuery.nodeName( elem, "button" ) ?
  8158. // Support: IE <=8
  8159. // We use jQuery.prop instead of elem.form
  8160. // to allow fixing the IE8 delegated submit issue (gh-2332)
  8161. // by 3rd party polyfills/workarounds.
  8162. jQuery.prop( elem, "form" ) :
  8163. undefined;
  8164. if ( form && !jQuery._data( form, "submit" ) ) {
  8165. jQuery.event.add( form, "submit._submit", function( event ) {
  8166. event._submitBubble = true;
  8167. } );
  8168. jQuery._data( form, "submit", true );
  8169. }
  8170. } );
  8171. // return undefined since we don't need an event listener
  8172. },
  8173. postDispatch: function( event ) {
  8174. // If form was submitted by the user, bubble the event up the tree
  8175. if ( event._submitBubble ) {
  8176. delete event._submitBubble;
  8177. if ( this.parentNode && !event.isTrigger ) {
  8178. jQuery.event.simulate( "submit", this.parentNode, event );
  8179. }
  8180. }
  8181. },
  8182. teardown: function() {
  8183. // Only need this for delegated form submit events
  8184. if ( jQuery.nodeName( this, "form" ) ) {
  8185. return false;
  8186. }
  8187. // Remove delegated handlers; cleanData eventually reaps submit handlers attached above
  8188. jQuery.event.remove( this, "._submit" );
  8189. }
  8190. };
  8191. }
  8192. // IE change delegation and checkbox/radio fix
  8193. if ( !support.change ) {
  8194. jQuery.event.special.change = {
  8195. setup: function() {
  8196. if ( rformElems.test( this.nodeName ) ) {
  8197. // IE doesn't fire change on a check/radio until blur; trigger it on click
  8198. // after a propertychange. Eat the blur-change in special.change.handle.
  8199. // This still fires onchange a second time for check/radio after blur.
  8200. if ( this.type === "checkbox" || this.type === "radio" ) {
  8201. jQuery.event.add( this, "propertychange._change", function( event ) {
  8202. if ( event.originalEvent.propertyName === "checked" ) {
  8203. this._justChanged = true;
  8204. }
  8205. } );
  8206. jQuery.event.add( this, "click._change", function( event ) {
  8207. if ( this._justChanged && !event.isTrigger ) {
  8208. this._justChanged = false;
  8209. }
  8210. // Allow triggered, simulated change events (#11500)
  8211. jQuery.event.simulate( "change", this, event );
  8212. } );
  8213. }
  8214. return false;
  8215. }
  8216. // Delegated event; lazy-add a change handler on descendant inputs
  8217. jQuery.event.add( this, "beforeactivate._change", function( e ) {
  8218. var elem = e.target;
  8219. if ( rformElems.test( elem.nodeName ) && !jQuery._data( elem, "change" ) ) {
  8220. jQuery.event.add( elem, "change._change", function( event ) {
  8221. if ( this.parentNode && !event.isSimulated && !event.isTrigger ) {
  8222. jQuery.event.simulate( "change", this.parentNode, event );
  8223. }
  8224. } );
  8225. jQuery._data( elem, "change", true );
  8226. }
  8227. } );
  8228. },
  8229. handle: function( event ) {
  8230. var elem = event.target;
  8231. // Swallow native change events from checkbox/radio, we already triggered them above
  8232. if ( this !== elem || event.isSimulated || event.isTrigger ||
  8233. ( elem.type !== "radio" && elem.type !== "checkbox" ) ) {
  8234. return event.handleObj.handler.apply( this, arguments );
  8235. }
  8236. },
  8237. teardown: function() {
  8238. jQuery.event.remove( this, "._change" );
  8239. return !rformElems.test( this.nodeName );
  8240. }
  8241. };
  8242. }
  8243. // Support: Firefox
  8244. // Firefox doesn't have focus(in | out) events
  8245. // Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787
  8246. //
  8247. // Support: Chrome, Safari
  8248. // focus(in | out) events fire after focus & blur events,
  8249. // which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order
  8250. // Related ticket - https://code.google.com/p/chromium/issues/detail?id=449857
  8251. if ( !support.focusin ) {
  8252. jQuery.each( { focus: "focusin", blur: "focusout" }, function( orig, fix ) {
  8253. // Attach a single capturing handler on the document while someone wants focusin/focusout
  8254. var handler = function( event ) {
  8255. jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ) );
  8256. };
  8257. jQuery.event.special[ fix ] = {
  8258. setup: function() {
  8259. var doc = this.ownerDocument || this,
  8260. attaches = jQuery._data( doc, fix );
  8261. if ( !attaches ) {
  8262. doc.addEventListener( orig, handler, true );
  8263. }
  8264. jQuery._data( doc, fix, ( attaches || 0 ) + 1 );
  8265. },
  8266. teardown: function() {
  8267. var doc = this.ownerDocument || this,
  8268. attaches = jQuery._data( doc, fix ) - 1;
  8269. if ( !attaches ) {
  8270. doc.removeEventListener( orig, handler, true );
  8271. jQuery._removeData( doc, fix );
  8272. } else {
  8273. jQuery._data( doc, fix, attaches );
  8274. }
  8275. }
  8276. };
  8277. } );
  8278. }
  8279. jQuery.fn.extend( {
  8280. on: function( types, selector, data, fn ) {
  8281. return on( this, types, selector, data, fn );
  8282. },
  8283. one: function( types, selector, data, fn ) {
  8284. return on( this, types, selector, data, fn, 1 );
  8285. },
  8286. off: function( types, selector, fn ) {
  8287. var handleObj, type;
  8288. if ( types && types.preventDefault && types.handleObj ) {
  8289. // ( event ) dispatched jQuery.Event
  8290. handleObj = types.handleObj;
  8291. jQuery( types.delegateTarget ).off(
  8292. handleObj.namespace ?
  8293. handleObj.origType + "." + handleObj.namespace :
  8294. handleObj.origType,
  8295. handleObj.selector,
  8296. handleObj.handler
  8297. );
  8298. return this;
  8299. }
  8300. if ( typeof types === "object" ) {
  8301. // ( types-object [, selector] )
  8302. for ( type in types ) {
  8303. this.off( type, selector, types[ type ] );
  8304. }
  8305. return this;
  8306. }
  8307. if ( selector === false || typeof selector === "function" ) {
  8308. // ( types [, fn] )
  8309. fn = selector;
  8310. selector = undefined;
  8311. }
  8312. if ( fn === false ) {
  8313. fn = returnFalse;
  8314. }
  8315. return this.each( function() {
  8316. jQuery.event.remove( this, types, fn, selector );
  8317. } );
  8318. },
  8319. trigger: function( type, data ) {
  8320. return this.each( function() {
  8321. jQuery.event.trigger( type, data, this );
  8322. } );
  8323. },
  8324. triggerHandler: function( type, data ) {
  8325. var elem = this[ 0 ];
  8326. if ( elem ) {
  8327. return jQuery.event.trigger( type, data, elem, true );
  8328. }
  8329. }
  8330. } );
  8331. var rinlinejQuery = / jQuery\d+="(?:null|\d+)"/g,
  8332. rnoshimcache = new RegExp( "<(?:" + nodeNames + ")[\\s/>]", "i" ),
  8333. rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,
  8334. // Support: IE 10-11, Edge 10240+
  8335. // In IE/Edge using regex groups here causes severe slowdowns.
  8336. // See https://connect.microsoft.com/IE/feedback/details/1736512/
  8337. rnoInnerhtml = /<script|<style|<link/i,
  8338. // checked="checked" or checked
  8339. rchecked = /checked\s*(?:[^=]|=\s*.checked.)/i,
  8340. rscriptTypeMasked = /^true\/(.*)/,
  8341. rcleanScript = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,
  8342. safeFragment = createSafeFragment( document ),
  8343. fragmentDiv = safeFragment.appendChild( document.createElement( "div" ) );
  8344. // Support: IE<8
  8345. // Manipulating tables requires a tbody
  8346. function manipulationTarget( elem, content ) {
  8347. return jQuery.nodeName( elem, "table" ) &&
  8348. jQuery.nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ?
  8349. elem.getElementsByTagName( "tbody" )[ 0 ] ||
  8350. elem.appendChild( elem.ownerDocument.createElement( "tbody" ) ) :
  8351. elem;
  8352. }
  8353. // Replace/restore the type attribute of script elements for safe DOM manipulation
  8354. function disableScript( elem ) {
  8355. elem.type = ( jQuery.find.attr( elem, "type" ) !== null ) + "/" + elem.type;
  8356. return elem;
  8357. }
  8358. function restoreScript( elem ) {
  8359. var match = rscriptTypeMasked.exec( elem.type );
  8360. if ( match ) {
  8361. elem.type = match[ 1 ];
  8362. } else {
  8363. elem.removeAttribute( "type" );
  8364. }
  8365. return elem;
  8366. }
  8367. function cloneCopyEvent( src, dest ) {
  8368. if ( dest.nodeType !== 1 || !jQuery.hasData( src ) ) {
  8369. return;
  8370. }
  8371. var type, i, l,
  8372. oldData = jQuery._data( src ),
  8373. curData = jQuery._data( dest, oldData ),
  8374. events = oldData.events;
  8375. if ( events ) {
  8376. delete curData.handle;
  8377. curData.events = {};
  8378. for ( type in events ) {
  8379. for ( i = 0, l = events[ type ].length; i < l; i++ ) {
  8380. jQuery.event.add( dest, type, events[ type ][ i ] );
  8381. }
  8382. }
  8383. }
  8384. // make the cloned public data object a copy from the original
  8385. if ( curData.data ) {
  8386. curData.data = jQuery.extend( {}, curData.data );
  8387. }
  8388. }
  8389. function fixCloneNodeIssues( src, dest ) {
  8390. var nodeName, e, data;
  8391. // We do not need to do anything for non-Elements
  8392. if ( dest.nodeType !== 1 ) {
  8393. return;
  8394. }
  8395. nodeName = dest.nodeName.toLowerCase();
  8396. // IE6-8 copies events bound via attachEvent when using cloneNode.
  8397. if ( !support.noCloneEvent && dest[ jQuery.expando ] ) {
  8398. data = jQuery._data( dest );
  8399. for ( e in data.events ) {
  8400. jQuery.removeEvent( dest, e, data.handle );
  8401. }
  8402. // Event data gets referenced instead of copied if the expando gets copied too
  8403. dest.removeAttribute( jQuery.expando );
  8404. }
  8405. // IE blanks contents when cloning scripts, and tries to evaluate newly-set text
  8406. if ( nodeName === "script" && dest.text !== src.text ) {
  8407. disableScript( dest ).text = src.text;
  8408. restoreScript( dest );
  8409. // IE6-10 improperly clones children of object elements using classid.
  8410. // IE10 throws NoModificationAllowedError if parent is null, #12132.
  8411. } else if ( nodeName === "object" ) {
  8412. if ( dest.parentNode ) {
  8413. dest.outerHTML = src.outerHTML;
  8414. }
  8415. // This path appears unavoidable for IE9. When cloning an object
  8416. // element in IE9, the outerHTML strategy above is not sufficient.
  8417. // If the src has innerHTML and the destination does not,
  8418. // copy the src.innerHTML into the dest.innerHTML. #10324
  8419. if ( support.html5Clone && ( src.innerHTML && !jQuery.trim( dest.innerHTML ) ) ) {
  8420. dest.innerHTML = src.innerHTML;
  8421. }
  8422. } else if ( nodeName === "input" && rcheckableType.test( src.type ) ) {
  8423. // IE6-8 fails to persist the checked state of a cloned checkbox
  8424. // or radio button. Worse, IE6-7 fail to give the cloned element
  8425. // a checked appearance if the defaultChecked value isn't also set
  8426. dest.defaultChecked = dest.checked = src.checked;
  8427. // IE6-7 get confused and end up setting the value of a cloned
  8428. // checkbox/radio button to an empty string instead of "on"
  8429. if ( dest.value !== src.value ) {
  8430. dest.value = src.value;
  8431. }
  8432. // IE6-8 fails to return the selected option to the default selected
  8433. // state when cloning options
  8434. } else if ( nodeName === "option" ) {
  8435. dest.defaultSelected = dest.selected = src.defaultSelected;
  8436. // IE6-8 fails to set the defaultValue to the correct value when
  8437. // cloning other types of input fields
  8438. } else if ( nodeName === "input" || nodeName === "textarea" ) {
  8439. dest.defaultValue = src.defaultValue;
  8440. }
  8441. }
  8442. function domManip( collection, args, callback, ignored ) {
  8443. // Flatten any nested arrays
  8444. args = concat.apply( [], args );
  8445. var first, node, hasScripts,
  8446. scripts, doc, fragment,
  8447. i = 0,
  8448. l = collection.length,
  8449. iNoClone = l - 1,
  8450. value = args[ 0 ],
  8451. isFunction = jQuery.isFunction( value );
  8452. // We can't cloneNode fragments that contain checked, in WebKit
  8453. if ( isFunction ||
  8454. ( l > 1 && typeof value === "string" &&
  8455. !support.checkClone && rchecked.test( value ) ) ) {
  8456. return collection.each( function( index ) {
  8457. var self = collection.eq( index );
  8458. if ( isFunction ) {
  8459. args[ 0 ] = value.call( this, index, self.html() );
  8460. }
  8461. domManip( self, args, callback, ignored );
  8462. } );
  8463. }
  8464. if ( l ) {
  8465. fragment = buildFragment( args, collection[ 0 ].ownerDocument, false, collection, ignored );
  8466. first = fragment.firstChild;
  8467. if ( fragment.childNodes.length === 1 ) {
  8468. fragment = first;
  8469. }
  8470. // Require either new content or an interest in ignored elements to invoke the callback
  8471. if ( first || ignored ) {
  8472. scripts = jQuery.map( getAll( fragment, "script" ), disableScript );
  8473. hasScripts = scripts.length;
  8474. // Use the original fragment for the last item
  8475. // instead of the first because it can end up
  8476. // being emptied incorrectly in certain situations (#8070).
  8477. for ( ; i < l; i++ ) {
  8478. node = fragment;
  8479. if ( i !== iNoClone ) {
  8480. node = jQuery.clone( node, true, true );
  8481. // Keep references to cloned scripts for later restoration
  8482. if ( hasScripts ) {
  8483. // Support: Android<4.1, PhantomJS<2
  8484. // push.apply(_, arraylike) throws on ancient WebKit
  8485. jQuery.merge( scripts, getAll( node, "script" ) );
  8486. }
  8487. }
  8488. callback.call( collection[ i ], node, i );
  8489. }
  8490. if ( hasScripts ) {
  8491. doc = scripts[ scripts.length - 1 ].ownerDocument;
  8492. // Reenable scripts
  8493. jQuery.map( scripts, restoreScript );
  8494. // Evaluate executable scripts on first document insertion
  8495. for ( i = 0; i < hasScripts; i++ ) {
  8496. node = scripts[ i ];
  8497. if ( rscriptType.test( node.type || "" ) &&
  8498. !jQuery._data( node, "globalEval" ) &&
  8499. jQuery.contains( doc, node ) ) {
  8500. if ( node.src ) {
  8501. // Optional AJAX dependency, but won't run scripts if not present
  8502. if ( jQuery._evalUrl ) {
  8503. jQuery._evalUrl( node.src );
  8504. }
  8505. } else {
  8506. jQuery.globalEval(
  8507. ( node.text || node.textContent || node.innerHTML || "" )
  8508. .replace( rcleanScript, "" )
  8509. );
  8510. }
  8511. }
  8512. }
  8513. }
  8514. // Fix #11809: Avoid leaking memory
  8515. fragment = first = null;
  8516. =======
  8517. if ( !support.opacity ) {
  8518. jQuery.cssHooks.opacity = {
  8519. get: function( elem, computed ) {
  8520. // IE uses filters for opacity
  8521. return ropacity.test( (computed && elem.currentStyle ? elem.currentStyle.filter : elem.style.filter) || "" ) ?
  8522. ( 0.01 * parseFloat( RegExp.$1 ) ) + "" :
  8523. computed ? "1" : "";
  8524. },
  8525. set: function( elem, value ) {
  8526. var style = elem.style,
  8527. currentStyle = elem.currentStyle,
  8528. opacity = jQuery.isNumeric( value ) ? "alpha(opacity=" + value * 100 + ")" : "",
  8529. filter = currentStyle && currentStyle.filter || style.filter || "";
  8530. // IE has trouble with opacity if it does not have layout
  8531. // Force it by setting the zoom level
  8532. style.zoom = 1;
  8533. // if setting opacity to 1, and no other filters exist - attempt to remove filter attribute #6652
  8534. // if value === "", then remove inline opacity #12685
  8535. if ( ( value >= 1 || value === "" ) &&
  8536. jQuery.trim( filter.replace( ralpha, "" ) ) === "" &&
  8537. style.removeAttribute ) {
  8538. // Setting style.filter to null, "" & " " still leave "filter:" in the cssText
  8539. // if "filter:" is present at all, clearType is disabled, we want to avoid this
  8540. // style.removeAttribute is IE Only, but so apparently is this code path...
  8541. style.removeAttribute( "filter" );
  8542. // if there is no filter style applied in a css rule or unset inline opacity, we are done
  8543. if ( value === "" || currentStyle && !currentStyle.filter ) {
  8544. return;
  8545. }
  8546. }
  8547. // otherwise, set new filter values
  8548. style.filter = ralpha.test( filter ) ?
  8549. filter.replace( ralpha, opacity ) :
  8550. filter + " " + opacity;
  8551. }
  8552. };
  8553. }
  8554. jQuery.cssHooks.marginRight = addGetHookIf( support.reliableMarginRight,
  8555. function( elem, computed ) {
  8556. if ( computed ) {
  8557. // WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right
  8558. // Work around by temporarily setting element display to inline-block
  8559. return jQuery.swap( elem, { "display": "inline-block" },
  8560. curCSS, [ elem, "marginRight" ] );
  8561. }
  8562. }
  8563. );
  8564. // These hooks are used by animate to expand properties
  8565. jQuery.each({
  8566. margin: "",
  8567. padding: "",
  8568. border: "Width"
  8569. }, function( prefix, suffix ) {
  8570. jQuery.cssHooks[ prefix + suffix ] = {
  8571. expand: function( value ) {
  8572. var i = 0,
  8573. expanded = {},
  8574. // assumes a single number if not a string
  8575. parts = typeof value === "string" ? value.split(" ") : [ value ];
  8576. for ( ; i < 4; i++ ) {
  8577. expanded[ prefix + cssExpand[ i ] + suffix ] =
  8578. parts[ i ] || parts[ i - 2 ] || parts[ 0 ];
  8579. }
  8580. return expanded;
  8581. }
  8582. };
  8583. if ( !rmargin.test( prefix ) ) {
  8584. jQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber;
  8585. }
  8586. });
  8587. jQuery.fn.extend({
  8588. css: function( name, value ) {
  8589. return access( this, function( elem, name, value ) {
  8590. var styles, len,
  8591. map = {},
  8592. i = 0;
  8593. if ( jQuery.isArray( name ) ) {
  8594. styles = getStyles( elem );
  8595. len = name.length;
  8596. for ( ; i < len; i++ ) {
  8597. map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles );
  8598. }
  8599. return map;
  8600. }
  8601. return value !== undefined ?
  8602. jQuery.style( elem, name, value ) :
  8603. jQuery.css( elem, name );
  8604. }, name, value, arguments.length > 1 );
  8605. },
  8606. show: function() {
  8607. return showHide( this, true );
  8608. },
  8609. hide: function() {
  8610. return showHide( this );
  8611. },
  8612. toggle: function( state ) {
  8613. if ( typeof state === "boolean" ) {
  8614. return state ? this.show() : this.hide();
  8615. }
  8616. return this.each(function() {
  8617. if ( isHidden( this ) ) {
  8618. jQuery( this ).show();
  8619. } else {
  8620. jQuery( this ).hide();
  8621. }
  8622. });
  8623. }
  8624. });
  8625. function Tween( elem, options, prop, end, easing ) {
  8626. return new Tween.prototype.init( elem, options, prop, end, easing );
  8627. }
  8628. jQuery.Tween = Tween;
  8629. Tween.prototype = {
  8630. constructor: Tween,
  8631. init: function( elem, options, prop, end, easing, unit ) {
  8632. this.elem = elem;
  8633. this.prop = prop;
  8634. this.easing = easing || "swing";
  8635. this.options = options;
  8636. this.start = this.now = this.cur();
  8637. this.end = end;
  8638. this.unit = unit || ( jQuery.cssNumber[ prop ] ? "" : "px" );
  8639. },
  8640. cur: function() {
  8641. var hooks = Tween.propHooks[ this.prop ];
  8642. return hooks && hooks.get ?
  8643. hooks.get( this ) :
  8644. Tween.propHooks._default.get( this );
  8645. },
  8646. run: function( percent ) {
  8647. var eased,
  8648. hooks = Tween.propHooks[ this.prop ];
  8649. if ( this.options.duration ) {
  8650. this.pos = eased = jQuery.easing[ this.easing ](
  8651. percent, this.options.duration * percent, 0, 1, this.options.duration
  8652. );
  8653. } else {
  8654. this.pos = eased = percent;
  8655. }
  8656. this.now = ( this.end - this.start ) * eased + this.start;
  8657. if ( this.options.step ) {
  8658. this.options.step.call( this.elem, this.now, this );
  8659. }
  8660. if ( hooks && hooks.set ) {
  8661. hooks.set( this );
  8662. } else {
  8663. Tween.propHooks._default.set( this );
  8664. }
  8665. return this;
  8666. }
  8667. };
  8668. Tween.prototype.init.prototype = Tween.prototype;
  8669. Tween.propHooks = {
  8670. _default: {
  8671. get: function( tween ) {
  8672. var result;
  8673. if ( tween.elem[ tween.prop ] != null &&
  8674. (!tween.elem.style || tween.elem.style[ tween.prop ] == null) ) {
  8675. return tween.elem[ tween.prop ];
  8676. }
  8677. // passing an empty string as a 3rd parameter to .css will automatically
  8678. // attempt a parseFloat and fallback to a string if the parse fails
  8679. // so, simple values such as "10px" are parsed to Float.
  8680. // complex values such as "rotate(1rad)" are returned as is.
  8681. result = jQuery.css( tween.elem, tween.prop, "" );
  8682. // Empty strings, null, undefined and "auto" are converted to 0.
  8683. return !result || result === "auto" ? 0 : result;
  8684. },
  8685. set: function( tween ) {
  8686. // use step hook for back compat - use cssHook if its there - use .style if its
  8687. // available and use plain properties where available
  8688. if ( jQuery.fx.step[ tween.prop ] ) {
  8689. jQuery.fx.step[ tween.prop ]( tween );
  8690. } else if ( tween.elem.style && ( tween.elem.style[ jQuery.cssProps[ tween.prop ] ] != null || jQuery.cssHooks[ tween.prop ] ) ) {
  8691. jQuery.style( tween.elem, tween.prop, tween.now + tween.unit );
  8692. } else {
  8693. tween.elem[ tween.prop ] = tween.now;
  8694. }
  8695. }
  8696. }
  8697. };
  8698. // Support: IE <=9
  8699. // Panic based approach to setting things on disconnected nodes
  8700. Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = {
  8701. set: function( tween ) {
  8702. if ( tween.elem.nodeType && tween.elem.parentNode ) {
  8703. tween.elem[ tween.prop ] = tween.now;
  8704. }
  8705. }
  8706. };
  8707. jQuery.easing = {
  8708. linear: function( p ) {
  8709. return p;
  8710. },
  8711. swing: function( p ) {
  8712. return 0.5 - Math.cos( p * Math.PI ) / 2;
  8713. }
  8714. };
  8715. jQuery.fx = Tween.prototype.init;
  8716. // Back Compat <1.8 extension point
  8717. jQuery.fx.step = {};
  8718. var
  8719. fxNow, timerId,
  8720. rfxtypes = /^(?:toggle|show|hide)$/,
  8721. rfxnum = new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" ),
  8722. rrun = /queueHooks$/,
  8723. animationPrefilters = [ defaultPrefilter ],
  8724. tweeners = {
  8725. "*": [ function( prop, value ) {
  8726. var tween = this.createTween( prop, value ),
  8727. target = tween.cur(),
  8728. parts = rfxnum.exec( value ),
  8729. unit = parts && parts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ),
  8730. // Starting value computation is required for potential unit mismatches
  8731. start = ( jQuery.cssNumber[ prop ] || unit !== "px" && +target ) &&
  8732. rfxnum.exec( jQuery.css( tween.elem, prop ) ),
  8733. scale = 1,
  8734. maxIterations = 20;
  8735. if ( start && start[ 3 ] !== unit ) {
  8736. // Trust units reported by jQuery.css
  8737. unit = unit || start[ 3 ];
  8738. // Make sure we update the tween properties later on
  8739. parts = parts || [];
  8740. // Iteratively approximate from a nonzero starting point
  8741. start = +target || 1;
  8742. do {
  8743. // If previous iteration zeroed out, double until we get *something*
  8744. // Use a string for doubling factor so we don't accidentally see scale as unchanged below
  8745. scale = scale || ".5";
  8746. // Adjust and apply
  8747. start = start / scale;
  8748. jQuery.style( tween.elem, prop, start + unit );
  8749. // Update scale, tolerating zero or NaN from tween.cur()
  8750. // And breaking the loop if scale is unchanged or perfect, or if we've just had enough
  8751. } while ( scale !== (scale = tween.cur() / target) && scale !== 1 && --maxIterations );
  8752. }
  8753. // Update tween properties
  8754. if ( parts ) {
  8755. start = tween.start = +start || +target || 0;
  8756. tween.unit = unit;
  8757. // If a +=/-= token was provided, we're doing a relative animation
  8758. tween.end = parts[ 1 ] ?
  8759. start + ( parts[ 1 ] + 1 ) * parts[ 2 ] :
  8760. +parts[ 2 ];
  8761. }
  8762. return tween;
  8763. } ]
  8764. };
  8765. // Animations created synchronously will run synchronously
  8766. function createFxNow() {
  8767. setTimeout(function() {
  8768. fxNow = undefined;
  8769. });
  8770. return ( fxNow = jQuery.now() );
  8771. }
  8772. // Generate parameters to create a standard animation
  8773. function genFx( type, includeWidth ) {
  8774. var which,
  8775. attrs = { height: type },
  8776. i = 0;
  8777. // if we include width, step value is 1 to do all cssExpand values,
  8778. // if we don't include width, step value is 2 to skip over Left and Right
  8779. includeWidth = includeWidth ? 1 : 0;
  8780. for ( ; i < 4 ; i += 2 - includeWidth ) {
  8781. which = cssExpand[ i ];
  8782. attrs[ "margin" + which ] = attrs[ "padding" + which ] = type;
  8783. }
  8784. if ( includeWidth ) {
  8785. attrs.opacity = attrs.width = type;
  8786. }
  8787. return attrs;
  8788. }
  8789. function createTween( value, prop, animation ) {
  8790. var tween,
  8791. collection = ( tweeners[ prop ] || [] ).concat( tweeners[ "*" ] ),
  8792. index = 0,
  8793. length = collection.length;
  8794. for ( ; index < length; index++ ) {
  8795. if ( (tween = collection[ index ].call( animation, prop, value )) ) {
  8796. // we're done with this property
  8797. return tween;
  8798. }
  8799. }
  8800. }
  8801. function defaultPrefilter( elem, props, opts ) {
  8802. /* jshint validthis: true */
  8803. var prop, value, toggle, tween, hooks, oldfire, display, checkDisplay,
  8804. anim = this,
  8805. orig = {},
  8806. style = elem.style,
  8807. hidden = elem.nodeType && isHidden( elem ),
  8808. dataShow = jQuery._data( elem, "fxshow" );
  8809. // handle queue: false promises
  8810. if ( !opts.queue ) {
  8811. hooks = jQuery._queueHooks( elem, "fx" );
  8812. if ( hooks.unqueued == null ) {
  8813. hooks.unqueued = 0;
  8814. oldfire = hooks.empty.fire;
  8815. hooks.empty.fire = function() {
  8816. if ( !hooks.unqueued ) {
  8817. oldfire();
  8818. }
  8819. };
  8820. }
  8821. hooks.unqueued++;
  8822. anim.always(function() {
  8823. // doing this makes sure that the complete handler will be called
  8824. // before this completes
  8825. anim.always(function() {
  8826. hooks.unqueued--;
  8827. if ( !jQuery.queue( elem, "fx" ).length ) {
  8828. hooks.empty.fire();
  8829. }
  8830. });
  8831. });
  8832. }
  8833. // height/width overflow pass
  8834. if ( elem.nodeType === 1 && ( "height" in props || "width" in props ) ) {
  8835. // Make sure that nothing sneaks out
  8836. // Record all 3 overflow attributes because IE does not
  8837. // change the overflow attribute when overflowX and
  8838. // overflowY are set to the same value
  8839. opts.overflow = [ style.overflow, style.overflowX, style.overflowY ];
  8840. // Set display property to inline-block for height/width
  8841. // animations on inline elements that are having width/height animated
  8842. display = jQuery.css( elem, "display" );
  8843. // Test default display if display is currently "none"
  8844. checkDisplay = display === "none" ?
  8845. jQuery._data( elem, "olddisplay" ) || defaultDisplay( elem.nodeName ) : display;
  8846. if ( checkDisplay === "inline" && jQuery.css( elem, "float" ) === "none" ) {
  8847. // inline-level elements accept inline-block;
  8848. // block-level elements need to be inline with layout
  8849. if ( !support.inlineBlockNeedsLayout || defaultDisplay( elem.nodeName ) === "inline" ) {
  8850. style.display = "inline-block";
  8851. } else {
  8852. style.zoom = 1;
  8853. }
  8854. }
  8855. }
  8856. if ( opts.overflow ) {
  8857. style.overflow = "hidden";
  8858. if ( !support.shrinkWrapBlocks() ) {
  8859. anim.always(function() {
  8860. style.overflow = opts.overflow[ 0 ];
  8861. style.overflowX = opts.overflow[ 1 ];
  8862. style.overflowY = opts.overflow[ 2 ];
  8863. });
  8864. }
  8865. }
  8866. // show/hide pass
  8867. for ( prop in props ) {
  8868. value = props[ prop ];
  8869. if ( rfxtypes.exec( value ) ) {
  8870. delete props[ prop ];
  8871. toggle = toggle || value === "toggle";
  8872. if ( value === ( hidden ? "hide" : "show" ) ) {
  8873. // If there is dataShow left over from a stopped hide or show and we are going to proceed with show, we should pretend to be hidden
  8874. if ( value === "show" && dataShow && dataShow[ prop ] !== undefined ) {
  8875. hidden = true;
  8876. } else {
  8877. continue;
  8878. }
  8879. }
  8880. orig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop );
  8881. // Any non-fx value stops us from restoring the original display value
  8882. } else {
  8883. display = undefined;
  8884. }
  8885. }
  8886. if ( !jQuery.isEmptyObject( orig ) ) {
  8887. if ( dataShow ) {
  8888. if ( "hidden" in dataShow ) {
  8889. hidden = dataShow.hidden;
  8890. }
  8891. } else {
  8892. dataShow = jQuery._data( elem, "fxshow", {} );
  8893. }
  8894. // store state if its toggle - enables .stop().toggle() to "reverse"
  8895. if ( toggle ) {
  8896. dataShow.hidden = !hidden;
  8897. }
  8898. if ( hidden ) {
  8899. jQuery( elem ).show();
  8900. } else {
  8901. anim.done(function() {
  8902. jQuery( elem ).hide();
  8903. });
  8904. }
  8905. anim.done(function() {
  8906. var prop;
  8907. jQuery._removeData( elem, "fxshow" );
  8908. for ( prop in orig ) {
  8909. jQuery.style( elem, prop, orig[ prop ] );
  8910. }
  8911. });
  8912. for ( prop in orig ) {
  8913. tween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim );
  8914. if ( !( prop in dataShow ) ) {
  8915. dataShow[ prop ] = tween.start;
  8916. if ( hidden ) {
  8917. tween.end = tween.start;
  8918. tween.start = prop === "width" || prop === "height" ? 1 : 0;
  8919. }
  8920. }
  8921. }
  8922. // If this is a noop like .hide().hide(), restore an overwritten display value
  8923. } else if ( (display === "none" ? defaultDisplay( elem.nodeName ) : display) === "inline" ) {
  8924. style.display = display;
  8925. }
  8926. }
  8927. function propFilter( props, specialEasing ) {
  8928. var index, name, easing, value, hooks;
  8929. // camelCase, specialEasing and expand cssHook pass
  8930. for ( index in props ) {
  8931. name = jQuery.camelCase( index );
  8932. easing = specialEasing[ name ];
  8933. value = props[ index ];
  8934. if ( jQuery.isArray( value ) ) {
  8935. easing = value[ 1 ];
  8936. value = props[ index ] = value[ 0 ];
  8937. }
  8938. if ( index !== name ) {
  8939. props[ name ] = value;
  8940. delete props[ index ];
  8941. }
  8942. hooks = jQuery.cssHooks[ name ];
  8943. if ( hooks && "expand" in hooks ) {
  8944. value = hooks.expand( value );
  8945. delete props[ name ];
  8946. // not quite $.extend, this wont overwrite keys already present.
  8947. // also - reusing 'index' from above because we have the correct "name"
  8948. for ( index in value ) {
  8949. if ( !( index in props ) ) {
  8950. props[ index ] = value[ index ];
  8951. specialEasing[ index ] = easing;
  8952. }
  8953. }
  8954. } else {
  8955. specialEasing[ name ] = easing;
  8956. }
  8957. }
  8958. }
  8959. function Animation( elem, properties, options ) {
  8960. var result,
  8961. stopped,
  8962. index = 0,
  8963. length = animationPrefilters.length,
  8964. deferred = jQuery.Deferred().always( function() {
  8965. // don't match elem in the :animated selector
  8966. delete tick.elem;
  8967. }),
  8968. tick = function() {
  8969. if ( stopped ) {
  8970. return false;
  8971. }
  8972. var currentTime = fxNow || createFxNow(),
  8973. remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ),
  8974. // archaic crash bug won't allow us to use 1 - ( 0.5 || 0 ) (#12497)
  8975. temp = remaining / animation.duration || 0,
  8976. percent = 1 - temp,
  8977. index = 0,
  8978. length = animation.tweens.length;
  8979. for ( ; index < length ; index++ ) {
  8980. animation.tweens[ index ].run( percent );
  8981. }
  8982. deferred.notifyWith( elem, [ animation, percent, remaining ]);
  8983. if ( percent < 1 && length ) {
  8984. return remaining;
  8985. } else {
  8986. deferred.resolveWith( elem, [ animation ] );
  8987. return false;
  8988. }
  8989. },
  8990. animation = deferred.promise({
  8991. elem: elem,
  8992. props: jQuery.extend( {}, properties ),
  8993. opts: jQuery.extend( true, { specialEasing: {} }, options ),
  8994. originalProperties: properties,
  8995. originalOptions: options,
  8996. startTime: fxNow || createFxNow(),
  8997. duration: options.duration,
  8998. tweens: [],
  8999. createTween: function( prop, end ) {
  9000. var tween = jQuery.Tween( elem, animation.opts, prop, end,
  9001. animation.opts.specialEasing[ prop ] || animation.opts.easing );
  9002. animation.tweens.push( tween );
  9003. return tween;
  9004. },
  9005. stop: function( gotoEnd ) {
  9006. var index = 0,
  9007. // if we are going to the end, we want to run all the tweens
  9008. // otherwise we skip this part
  9009. length = gotoEnd ? animation.tweens.length : 0;
  9010. if ( stopped ) {
  9011. return this;
  9012. }
  9013. stopped = true;
  9014. for ( ; index < length ; index++ ) {
  9015. animation.tweens[ index ].run( 1 );
  9016. }
  9017. // resolve when we played the last frame
  9018. // otherwise, reject
  9019. if ( gotoEnd ) {
  9020. deferred.resolveWith( elem, [ animation, gotoEnd ] );
  9021. } else {
  9022. deferred.rejectWith( elem, [ animation, gotoEnd ] );
  9023. }
  9024. return this;
  9025. }
  9026. }),
  9027. props = animation.props;
  9028. propFilter( props, animation.opts.specialEasing );
  9029. for ( ; index < length ; index++ ) {
  9030. result = animationPrefilters[ index ].call( animation, elem, props, animation.opts );
  9031. if ( result ) {
  9032. return result;
  9033. }
  9034. }
  9035. jQuery.map( props, createTween, animation );
  9036. if ( jQuery.isFunction( animation.opts.start ) ) {
  9037. animation.opts.start.call( elem, animation );
  9038. }
  9039. jQuery.fx.timer(
  9040. jQuery.extend( tick, {
  9041. elem: elem,
  9042. anim: animation,
  9043. queue: animation.opts.queue
  9044. })
  9045. );
  9046. // attach callbacks from options
  9047. return animation.progress( animation.opts.progress )
  9048. .done( animation.opts.done, animation.opts.complete )
  9049. .fail( animation.opts.fail )
  9050. .always( animation.opts.always );
  9051. }
  9052. jQuery.Animation = jQuery.extend( Animation, {
  9053. tweener: function( props, callback ) {
  9054. if ( jQuery.isFunction( props ) ) {
  9055. callback = props;
  9056. props = [ "*" ];
  9057. } else {
  9058. props = props.split(" ");
  9059. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  9060. }
  9061. }
  9062. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  9063. return collection;
  9064. }
  9065. function remove( elem, selector, keepData ) {
  9066. var node,
  9067. elems = selector ? jQuery.filter( selector, elem ) : elem,
  9068. i = 0;
  9069. for ( ; ( node = elems[ i ] ) != null; i++ ) {
  9070. if ( !keepData && node.nodeType === 1 ) {
  9071. jQuery.cleanData( getAll( node ) );
  9072. }
  9073. if ( node.parentNode ) {
  9074. if ( keepData && jQuery.contains( node.ownerDocument, node ) ) {
  9075. setGlobalEval( getAll( node, "script" ) );
  9076. }
  9077. node.parentNode.removeChild( node );
  9078. }
  9079. }
  9080. return elem;
  9081. }
  9082. jQuery.extend( {
  9083. htmlPrefilter: function( html ) {
  9084. return html.replace( rxhtmlTag, "<$1></$2>" );
  9085. },
  9086. clone: function( elem, dataAndEvents, deepDataAndEvents ) {
  9087. var destElements, node, clone, i, srcElements,
  9088. inPage = jQuery.contains( elem.ownerDocument, elem );
  9089. if ( support.html5Clone || jQuery.isXMLDoc( elem ) ||
  9090. !rnoshimcache.test( "<" + elem.nodeName + ">" ) ) {
  9091. clone = elem.cloneNode( true );
  9092. // IE<=8 does not properly clone detached, unknown element nodes
  9093. } else {
  9094. fragmentDiv.innerHTML = elem.outerHTML;
  9095. fragmentDiv.removeChild( clone = fragmentDiv.firstChild );
  9096. }
  9097. if ( ( !support.noCloneEvent || !support.noCloneChecked ) &&
  9098. ( elem.nodeType === 1 || elem.nodeType === 11 ) && !jQuery.isXMLDoc( elem ) ) {
  9099. // We eschew Sizzle here for performance reasons: http://jsperf.com/getall-vs-sizzle/2
  9100. destElements = getAll( clone );
  9101. srcElements = getAll( elem );
  9102. // Fix all IE cloning issues
  9103. for ( i = 0; ( node = srcElements[ i ] ) != null; ++i ) {
  9104. // Ensure that the destination node is not null; Fixes #9587
  9105. if ( destElements[ i ] ) {
  9106. fixCloneNodeIssues( node, destElements[ i ] );
  9107. }
  9108. }
  9109. }
  9110. // Copy the events from the original to the clone
  9111. if ( dataAndEvents ) {
  9112. if ( deepDataAndEvents ) {
  9113. srcElements = srcElements || getAll( elem );
  9114. destElements = destElements || getAll( clone );
  9115. for ( i = 0; ( node = srcElements[ i ] ) != null; i++ ) {
  9116. cloneCopyEvent( node, destElements[ i ] );
  9117. }
  9118. } else {
  9119. cloneCopyEvent( elem, clone );
  9120. }
  9121. }
  9122. // Preserve script evaluation history
  9123. destElements = getAll( clone, "script" );
  9124. if ( destElements.length > 0 ) {
  9125. setGlobalEval( destElements, !inPage && getAll( elem, "script" ) );
  9126. }
  9127. destElements = srcElements = node = null;
  9128. // Return the cloned set
  9129. return clone;
  9130. },
  9131. cleanData: function( elems, /* internal */ forceAcceptData ) {
  9132. var elem, type, id, data,
  9133. i = 0,
  9134. internalKey = jQuery.expando,
  9135. cache = jQuery.cache,
  9136. attributes = support.attributes,
  9137. special = jQuery.event.special;
  9138. for ( ; ( elem = elems[ i ] ) != null; i++ ) {
  9139. if ( forceAcceptData || acceptData( elem ) ) {
  9140. id = elem[ internalKey ];
  9141. data = id && cache[ id ];
  9142. if ( data ) {
  9143. if ( data.events ) {
  9144. for ( type in data.events ) {
  9145. if ( special[ type ] ) {
  9146. jQuery.event.remove( elem, type );
  9147. // This is a shortcut to avoid jQuery.event.remove's overhead
  9148. } else {
  9149. jQuery.removeEvent( elem, type, data.handle );
  9150. }
  9151. }
  9152. }
  9153. // Remove cache only if it was not already removed by jQuery.event.remove
  9154. if ( cache[ id ] ) {
  9155. delete cache[ id ];
  9156. // Support: IE<9
  9157. // IE does not allow us to delete expando properties from nodes
  9158. // IE creates expando attributes along with the property
  9159. // IE does not have a removeAttribute function on Document nodes
  9160. if ( !attributes && typeof elem.removeAttribute !== "undefined" ) {
  9161. elem.removeAttribute( internalKey );
  9162. // Webkit & Blink performance suffers when deleting properties
  9163. // from DOM nodes, so set to undefined instead
  9164. // https://code.google.com/p/chromium/issues/detail?id=378607
  9165. } else {
  9166. elem[ internalKey ] = undefined;
  9167. }
  9168. deletedIds.push( id );
  9169. }
  9170. }
  9171. }
  9172. }
  9173. }
  9174. } );
  9175. jQuery.fn.extend( {
  9176. // Keep domManip exposed until 3.0 (gh-2225)
  9177. domManip: domManip,
  9178. detach: function( selector ) {
  9179. return remove( this, selector, true );
  9180. },
  9181. remove: function( selector ) {
  9182. return remove( this, selector );
  9183. },
  9184. text: function( value ) {
  9185. return access( this, function( value ) {
  9186. return value === undefined ?
  9187. jQuery.text( this ) :
  9188. this.empty().append(
  9189. ( this[ 0 ] && this[ 0 ].ownerDocument || document ).createTextNode( value )
  9190. );
  9191. }, null, value, arguments.length );
  9192. },
  9193. append: function() {
  9194. return domManip( this, arguments, function( elem ) {
  9195. if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) {
  9196. var target = manipulationTarget( this, elem );
  9197. target.appendChild( elem );
  9198. }
  9199. } );
  9200. },
  9201. prepend: function() {
  9202. return domManip( this, arguments, function( elem ) {
  9203. if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) {
  9204. var target = manipulationTarget( this, elem );
  9205. target.insertBefore( elem, target.firstChild );
  9206. }
  9207. } );
  9208. },
  9209. before: function() {
  9210. return domManip( this, arguments, function( elem ) {
  9211. if ( this.parentNode ) {
  9212. this.parentNode.insertBefore( elem, this );
  9213. }
  9214. } );
  9215. },
  9216. after: function() {
  9217. return domManip( this, arguments, function( elem ) {
  9218. if ( this.parentNode ) {
  9219. this.parentNode.insertBefore( elem, this.nextSibling );
  9220. }
  9221. } );
  9222. },
  9223. empty: function() {
  9224. var elem,
  9225. i = 0;
  9226. for ( ; ( elem = this[ i ] ) != null; i++ ) {
  9227. // Remove element nodes and prevent memory leaks
  9228. if ( elem.nodeType === 1 ) {
  9229. jQuery.cleanData( getAll( elem, false ) );
  9230. }
  9231. // Remove any remaining nodes
  9232. while ( elem.firstChild ) {
  9233. elem.removeChild( elem.firstChild );
  9234. }
  9235. // If this is a select, ensure that it displays empty (#12336)
  9236. // Support: IE<9
  9237. if ( elem.options && jQuery.nodeName( elem, "select" ) ) {
  9238. elem.options.length = 0;
  9239. }
  9240. }
  9241. return this;
  9242. },
  9243. clone: function( dataAndEvents, deepDataAndEvents ) {
  9244. dataAndEvents = dataAndEvents == null ? false : dataAndEvents;
  9245. deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents;
  9246. return this.map( function() {
  9247. return jQuery.clone( this, dataAndEvents, deepDataAndEvents );
  9248. } );
  9249. },
  9250. html: function( value ) {
  9251. return access( this, function( value ) {
  9252. var elem = this[ 0 ] || {},
  9253. i = 0,
  9254. l = this.length;
  9255. if ( value === undefined ) {
  9256. return elem.nodeType === 1 ?
  9257. elem.innerHTML.replace( rinlinejQuery, "" ) :
  9258. undefined;
  9259. }
  9260. // See if we can take a shortcut and just use innerHTML
  9261. if ( typeof value === "string" && !rnoInnerhtml.test( value ) &&
  9262. ( support.htmlSerialize || !rnoshimcache.test( value ) ) &&
  9263. ( support.leadingWhitespace || !rleadingWhitespace.test( value ) ) &&
  9264. !wrapMap[ ( rtagName.exec( value ) || [ "", "" ] )[ 1 ].toLowerCase() ] ) {
  9265. value = jQuery.htmlPrefilter( value );
  9266. try {
  9267. for ( ; i < l; i++ ) {
  9268. // Remove element nodes and prevent memory leaks
  9269. elem = this[ i ] || {};
  9270. if ( elem.nodeType === 1 ) {
  9271. jQuery.cleanData( getAll( elem, false ) );
  9272. elem.innerHTML = value;
  9273. }
  9274. }
  9275. elem = 0;
  9276. // If using innerHTML throws an exception, use the fallback method
  9277. } catch ( e ) {}
  9278. }
  9279. if ( elem ) {
  9280. this.empty().append( value );
  9281. }
  9282. }, null, value, arguments.length );
  9283. },
  9284. replaceWith: function() {
  9285. var ignored = [];
  9286. // Make the changes, replacing each non-ignored context element with the new content
  9287. return domManip( this, arguments, function( elem ) {
  9288. var parent = this.parentNode;
  9289. if ( jQuery.inArray( this, ignored ) < 0 ) {
  9290. jQuery.cleanData( getAll( this ) );
  9291. if ( parent ) {
  9292. parent.replaceChild( elem, this );
  9293. }
  9294. }
  9295. // Force callback invocation
  9296. }, ignored );
  9297. }
  9298. } );
  9299. jQuery.each( {
  9300. appendTo: "append",
  9301. prependTo: "prepend",
  9302. insertBefore: "before",
  9303. insertAfter: "after",
  9304. replaceAll: "replaceWith"
  9305. }, function( name, original ) {
  9306. jQuery.fn[ name ] = function( selector ) {
  9307. var elems,
  9308. i = 0,
  9309. ret = [],
  9310. insert = jQuery( selector ),
  9311. last = insert.length - 1;
  9312. for ( ; i <= last; i++ ) {
  9313. elems = i === last ? this : this.clone( true );
  9314. jQuery( insert[ i ] )[ original ]( elems );
  9315. // Modern browsers can apply jQuery collections as arrays, but oldIE needs a .get()
  9316. push.apply( ret, elems.get() );
  9317. }
  9318. return this.pushStack( ret );
  9319. };
  9320. } );
  9321. var iframe,
  9322. elemdisplay = {
  9323. // Support: Firefox
  9324. // We have to pre-define these values for FF (#10227)
  9325. HTML: "block",
  9326. BODY: "block"
  9327. };
  9328. /**
  9329. * Retrieve the actual display of a element
  9330. * @param {String} name nodeName of the element
  9331. * @param {Object} doc Document object
  9332. */
  9333. // Called only from within defaultDisplay
  9334. function actualDisplay( name, doc ) {
  9335. var elem = jQuery( doc.createElement( name ) ).appendTo( doc.body ),
  9336. display = jQuery.css( elem[ 0 ], "display" );
  9337. // We don't have any data stored on the element,
  9338. // so use "detach" method as fast way to get rid of the element
  9339. elem.detach();
  9340. return display;
  9341. }
  9342. /**
  9343. * Try to determine the default display value of an element
  9344. * @param {String} nodeName
  9345. */
  9346. function defaultDisplay( nodeName ) {
  9347. var doc = document,
  9348. display = elemdisplay[ nodeName ];
  9349. =======
  9350. var prop,
  9351. index = 0,
  9352. length = props.length;
  9353. for ( ; index < length ; index++ ) {
  9354. prop = props[ index ];
  9355. tweeners[ prop ] = tweeners[ prop ] || [];
  9356. tweeners[ prop ].unshift( callback );
  9357. }
  9358. },
  9359. prefilter: function( callback, prepend ) {
  9360. if ( prepend ) {
  9361. animationPrefilters.unshift( callback );
  9362. } else {
  9363. animationPrefilters.push( callback );
  9364. }
  9365. }
  9366. });
  9367. jQuery.speed = function( speed, easing, fn ) {
  9368. var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : {
  9369. complete: fn || !fn && easing ||
  9370. jQuery.isFunction( speed ) && speed,
  9371. duration: speed,
  9372. easing: fn && easing || easing && !jQuery.isFunction( easing ) && easing
  9373. };
  9374. opt.duration = jQuery.fx.off ? 0 : typeof opt.duration === "number" ? opt.duration :
  9375. opt.duration in jQuery.fx.speeds ? jQuery.fx.speeds[ opt.duration ] : jQuery.fx.speeds._default;
  9376. // normalize opt.queue - true/undefined/null -> "fx"
  9377. if ( opt.queue == null || opt.queue === true ) {
  9378. opt.queue = "fx";
  9379. }
  9380. // Queueing
  9381. opt.old = opt.complete;
  9382. opt.complete = function() {
  9383. if ( jQuery.isFunction( opt.old ) ) {
  9384. opt.old.call( this );
  9385. }
  9386. if ( opt.queue ) {
  9387. jQuery.dequeue( this, opt.queue );
  9388. }
  9389. };
  9390. return opt;
  9391. };
  9392. jQuery.fn.extend({
  9393. fadeTo: function( speed, to, easing, callback ) {
  9394. // show any hidden elements after setting opacity to 0
  9395. return this.filter( isHidden ).css( "opacity", 0 ).show()
  9396. // animate to the value specified
  9397. .end().animate({ opacity: to }, speed, easing, callback );
  9398. },
  9399. animate: function( prop, speed, easing, callback ) {
  9400. var empty = jQuery.isEmptyObject( prop ),
  9401. optall = jQuery.speed( speed, easing, callback ),
  9402. doAnimation = function() {
  9403. // Operate on a copy of prop so per-property easing won't be lost
  9404. var anim = Animation( this, jQuery.extend( {}, prop ), optall );
  9405. // Empty animations, or finishing resolves immediately
  9406. if ( empty || jQuery._data( this, "finish" ) ) {
  9407. anim.stop( true );
  9408. }
  9409. };
  9410. doAnimation.finish = doAnimation;
  9411. return empty || optall.queue === false ?
  9412. this.each( doAnimation ) :
  9413. this.queue( optall.queue, doAnimation );
  9414. },
  9415. stop: function( type, clearQueue, gotoEnd ) {
  9416. var stopQueue = function( hooks ) {
  9417. var stop = hooks.stop;
  9418. delete hooks.stop;
  9419. stop( gotoEnd );
  9420. };
  9421. if ( typeof type !== "string" ) {
  9422. gotoEnd = clearQueue;
  9423. clearQueue = type;
  9424. type = undefined;
  9425. }
  9426. if ( clearQueue && type !== false ) {
  9427. this.queue( type || "fx", [] );
  9428. }
  9429. return this.each(function() {
  9430. var dequeue = true,
  9431. index = type != null && type + "queueHooks",
  9432. timers = jQuery.timers,
  9433. data = jQuery._data( this );
  9434. if ( index ) {
  9435. if ( data[ index ] && data[ index ].stop ) {
  9436. stopQueue( data[ index ] );
  9437. }
  9438. } else {
  9439. for ( index in data ) {
  9440. if ( data[ index ] && data[ index ].stop && rrun.test( index ) ) {
  9441. stopQueue( data[ index ] );
  9442. }
  9443. }
  9444. }
  9445. for ( index = timers.length; index--; ) {
  9446. if ( timers[ index ].elem === this && (type == null || timers[ index ].queue === type) ) {
  9447. timers[ index ].anim.stop( gotoEnd );
  9448. dequeue = false;
  9449. timers.splice( index, 1 );
  9450. }
  9451. }
  9452. // start the next in the queue if the last step wasn't forced
  9453. // timers currently will call their complete callbacks, which will dequeue
  9454. // but only if they were gotoEnd
  9455. if ( dequeue || !gotoEnd ) {
  9456. jQuery.dequeue( this, type );
  9457. }
  9458. });
  9459. },
  9460. finish: function( type ) {
  9461. if ( type !== false ) {
  9462. type = type || "fx";
  9463. }
  9464. return this.each(function() {
  9465. var index,
  9466. data = jQuery._data( this ),
  9467. queue = data[ type + "queue" ],
  9468. hooks = data[ type + "queueHooks" ],
  9469. timers = jQuery.timers,
  9470. length = queue ? queue.length : 0;
  9471. // enable finishing flag on private data
  9472. data.finish = true;
  9473. // empty the queue first
  9474. jQuery.queue( this, type, [] );
  9475. if ( hooks && hooks.stop ) {
  9476. hooks.stop.call( this, true );
  9477. }
  9478. // look for any active animations, and finish them
  9479. for ( index = timers.length; index--; ) {
  9480. if ( timers[ index ].elem === this && timers[ index ].queue === type ) {
  9481. timers[ index ].anim.stop( true );
  9482. timers.splice( index, 1 );
  9483. }
  9484. }
  9485. // look for any animations in the old queue and finish them
  9486. for ( index = 0; index < length; index++ ) {
  9487. if ( queue[ index ] && queue[ index ].finish ) {
  9488. queue[ index ].finish.call( this );
  9489. }
  9490. }
  9491. // turn off finishing flag
  9492. delete data.finish;
  9493. });
  9494. }
  9495. });
  9496. jQuery.each([ "toggle", "show", "hide" ], function( i, name ) {
  9497. var cssFn = jQuery.fn[ name ];
  9498. jQuery.fn[ name ] = function( speed, easing, callback ) {
  9499. return speed == null || typeof speed === "boolean" ?
  9500. cssFn.apply( this, arguments ) :
  9501. this.animate( genFx( name, true ), speed, easing, callback );
  9502. };
  9503. });
  9504. // Generate shortcuts for custom animations
  9505. jQuery.each({
  9506. slideDown: genFx("show"),
  9507. slideUp: genFx("hide"),
  9508. slideToggle: genFx("toggle"),
  9509. fadeIn: { opacity: "show" },
  9510. fadeOut: { opacity: "hide" },
  9511. fadeToggle: { opacity: "toggle" }
  9512. }, function( name, props ) {
  9513. jQuery.fn[ name ] = function( speed, easing, callback ) {
  9514. return this.animate( props, speed, easing, callback );
  9515. };
  9516. });
  9517. jQuery.timers = [];
  9518. jQuery.fx.tick = function() {
  9519. var timer,
  9520. timers = jQuery.timers,
  9521. i = 0;
  9522. fxNow = jQuery.now();
  9523. for ( ; i < timers.length; i++ ) {
  9524. timer = timers[ i ];
  9525. // Checks the timer has not already been removed
  9526. if ( !timer() && timers[ i ] === timer ) {
  9527. timers.splice( i--, 1 );
  9528. }
  9529. }
  9530. if ( !timers.length ) {
  9531. jQuery.fx.stop();
  9532. }
  9533. fxNow = undefined;
  9534. };
  9535. jQuery.fx.timer = function( timer ) {
  9536. jQuery.timers.push( timer );
  9537. if ( timer() ) {
  9538. jQuery.fx.start();
  9539. } else {
  9540. jQuery.timers.pop();
  9541. }
  9542. };
  9543. jQuery.fx.interval = 13;
  9544. jQuery.fx.start = function() {
  9545. if ( !timerId ) {
  9546. timerId = setInterval( jQuery.fx.tick, jQuery.fx.interval );
  9547. }
  9548. };
  9549. jQuery.fx.stop = function() {
  9550. clearInterval( timerId );
  9551. timerId = null;
  9552. };
  9553. jQuery.fx.speeds = {
  9554. slow: 600,
  9555. fast: 200,
  9556. // Default speed
  9557. _default: 400
  9558. };
  9559. // Based off of the plugin by Clint Helfers, with permission.
  9560. // http://blindsignals.com/index.php/2009/07/jquery-delay/
  9561. jQuery.fn.delay = function( time, type ) {
  9562. time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time;
  9563. type = type || "fx";
  9564. return this.queue( type, function( next, hooks ) {
  9565. var timeout = setTimeout( next, time );
  9566. hooks.stop = function() {
  9567. clearTimeout( timeout );
  9568. };
  9569. });
  9570. };
  9571. (function() {
  9572. // Minified: var a,b,c,d,e
  9573. var input, div, select, a, opt;
  9574. // Setup
  9575. div = document.createElement( "div" );
  9576. div.setAttribute( "className", "t" );
  9577. div.innerHTML = " <link/><table></table><a href='/a'>a</a><input type='checkbox'/>";
  9578. a = div.getElementsByTagName("a")[ 0 ];
  9579. // First batch of tests.
  9580. select = document.createElement("select");
  9581. opt = select.appendChild( document.createElement("option") );
  9582. input = div.getElementsByTagName("input")[ 0 ];
  9583. a.style.cssText = "top:1px";
  9584. // Test setAttribute on camelCase class. If it works, we need attrFixes when doing get/setAttribute (ie6/7)
  9585. support.getSetAttribute = div.className !== "t";
  9586. // Get the style information from getAttribute
  9587. // (IE uses .cssText instead)
  9588. support.style = /top/.test( a.getAttribute("style") );
  9589. // Make sure that URLs aren't manipulated
  9590. // (IE normalizes it by default)
  9591. support.hrefNormalized = a.getAttribute("href") === "/a";
  9592. // Check the default checkbox/radio value ("" on WebKit; "on" elsewhere)
  9593. support.checkOn = !!input.value;
  9594. // Make sure that a selected-by-default option has a working selected property.
  9595. // (WebKit defaults to false instead of true, IE too, if it's in an optgroup)
  9596. support.optSelected = opt.selected;
  9597. // Tests for enctype support on a form (#6743)
  9598. support.enctype = !!document.createElement("form").enctype;
  9599. // Make sure that the options inside disabled selects aren't marked as disabled
  9600. // (WebKit marks them as disabled)
  9601. select.disabled = true;
  9602. support.optDisabled = !opt.disabled;
  9603. // Support: IE8 only
  9604. // Check if we can trust getAttribute("value")
  9605. input = document.createElement( "input" );
  9606. input.setAttribute( "value", "" );
  9607. support.input = input.getAttribute( "value" ) === "";
  9608. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  9609. // Check if an input maintains its value after becoming a radio
  9610. input.value = "t";
  9611. input.setAttribute( "type", "radio" );
  9612. support.radioValue = input.value === "t";
  9613. })();
  9614. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  9615. // If the simple way fails, read from inside an iframe
  9616. if ( display === "none" || !display ) {
  9617. // Use the already-created iframe if possible
  9618. iframe = ( iframe || jQuery( "<iframe frameborder='0' width='0' height='0'/>" ) )
  9619. .appendTo( doc.documentElement );
  9620. // Always write a new HTML skeleton so Webkit and Firefox don't choke on reuse
  9621. doc = ( iframe[ 0 ].contentWindow || iframe[ 0 ].contentDocument ).document;
  9622. // Support: IE
  9623. doc.write();
  9624. doc.close();
  9625. =======
  9626. var rreturn = /\r/g;
  9627. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  9628. jQuery.fn.extend({
  9629. val: function( value ) {
  9630. var hooks, ret, isFunction,
  9631. elem = this[0];
  9632. if ( !arguments.length ) {
  9633. if ( elem ) {
  9634. hooks = jQuery.valHooks[ elem.type ] || jQuery.valHooks[ elem.nodeName.toLowerCase() ];
  9635. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  9636. return display;
  9637. }
  9638. var rmargin = ( /^margin/ );
  9639. var rnumnonpx = new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" );
  9640. var swap = function( elem, options, callback, args ) {
  9641. var ret, name,
  9642. old = {};
  9643. // Remember the old values, and insert the new ones
  9644. for ( name in options ) {
  9645. old[ name ] = elem.style[ name ];
  9646. elem.style[ name ] = options[ name ];
  9647. }
  9648. ret = callback.apply( elem, args || [] );
  9649. // Revert the old values
  9650. for ( name in options ) {
  9651. elem.style[ name ] = old[ name ];
  9652. }
  9653. return ret;
  9654. };
  9655. var documentElement = document.documentElement;
  9656. ( function() {
  9657. var pixelPositionVal, pixelMarginRightVal, boxSizingReliableVal,
  9658. reliableHiddenOffsetsVal, reliableMarginRightVal, reliableMarginLeftVal,
  9659. container = document.createElement( "div" ),
  9660. div = document.createElement( "div" );
  9661. // Finish early in limited (non-browser) environments
  9662. if ( !div.style ) {
  9663. return;
  9664. }
  9665. div.style.cssText = "float:left;opacity:.5";
  9666. // Support: IE<9
  9667. // Make sure that element opacity exists (as opposed to filter)
  9668. support.opacity = div.style.opacity === "0.5";
  9669. // Verify style float existence
  9670. // (IE uses styleFloat instead of cssFloat)
  9671. support.cssFloat = !!div.style.cssFloat;
  9672. div.style.backgroundClip = "content-box";
  9673. div.cloneNode( true ).style.backgroundClip = "";
  9674. support.clearCloneStyle = div.style.backgroundClip === "content-box";
  9675. container = document.createElement( "div" );
  9676. container.style.cssText = "border:0;width:8px;height:0;top:0;left:-9999px;" +
  9677. "padding:0;margin-top:1px;position:absolute";
  9678. div.innerHTML = "";
  9679. container.appendChild( div );
  9680. // Support: Firefox<29, Android 2.3
  9681. // Vendor-prefix box-sizing
  9682. support.boxSizing = div.style.boxSizing === "" || div.style.MozBoxSizing === "" ||
  9683. div.style.WebkitBoxSizing === "";
  9684. jQuery.extend( support, {
  9685. reliableHiddenOffsets: function() {
  9686. if ( pixelPositionVal == null ) {
  9687. computeStyleTests();
  9688. }
  9689. return reliableHiddenOffsetsVal;
  9690. },
  9691. boxSizingReliable: function() {
  9692. // We're checking for pixelPositionVal here instead of boxSizingReliableVal
  9693. // since that compresses better and they're computed together anyway.
  9694. if ( pixelPositionVal == null ) {
  9695. computeStyleTests();
  9696. }
  9697. return boxSizingReliableVal;
  9698. },
  9699. pixelMarginRight: function() {
  9700. // Support: Android 4.0-4.3
  9701. if ( pixelPositionVal == null ) {
  9702. computeStyleTests();
  9703. }
  9704. return pixelMarginRightVal;
  9705. },
  9706. pixelPosition: function() {
  9707. if ( pixelPositionVal == null ) {
  9708. computeStyleTests();
  9709. }
  9710. return pixelPositionVal;
  9711. },
  9712. reliableMarginRight: function() {
  9713. // Support: Android 2.3
  9714. if ( pixelPositionVal == null ) {
  9715. computeStyleTests();
  9716. }
  9717. return reliableMarginRightVal;
  9718. },
  9719. reliableMarginLeft: function() {
  9720. // Support: IE <=8 only, Android 4.0 - 4.3 only, Firefox <=3 - 37
  9721. if ( pixelPositionVal == null ) {
  9722. computeStyleTests();
  9723. }
  9724. return reliableMarginLeftVal;
  9725. }
  9726. } );
  9727. function computeStyleTests() {
  9728. var contents, divStyle,
  9729. documentElement = document.documentElement;
  9730. // Setup
  9731. documentElement.appendChild( container );
  9732. div.style.cssText =
  9733. // Support: Android 2.3
  9734. // Vendor-prefix box-sizing
  9735. "-webkit-box-sizing:border-box;box-sizing:border-box;" +
  9736. "position:relative;display:block;" +
  9737. "margin:auto;border:1px;padding:1px;" +
  9738. "top:1%;width:50%";
  9739. // Support: IE<9
  9740. // Assume reasonable values in the absence of getComputedStyle
  9741. pixelPositionVal = boxSizingReliableVal = reliableMarginLeftVal = false;
  9742. pixelMarginRightVal = reliableMarginRightVal = true;
  9743. // Check for getComputedStyle so that this code is not run in IE<9.
  9744. if ( window.getComputedStyle ) {
  9745. divStyle = window.getComputedStyle( div );
  9746. pixelPositionVal = ( divStyle || {} ).top !== "1%";
  9747. reliableMarginLeftVal = ( divStyle || {} ).marginLeft === "2px";
  9748. boxSizingReliableVal = ( divStyle || { width: "4px" } ).width === "4px";
  9749. // Support: Android 4.0 - 4.3 only
  9750. // Some styles come back with percentage values, even though they shouldn't
  9751. div.style.marginRight = "50%";
  9752. pixelMarginRightVal = ( divStyle || { marginRight: "4px" } ).marginRight === "4px";
  9753. // Support: Android 2.3 only
  9754. // Div with explicit width and no margin-right incorrectly
  9755. // gets computed margin-right based on width of container (#3333)
  9756. // WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right
  9757. contents = div.appendChild( document.createElement( "div" ) );
  9758. // Reset CSS: box-sizing; display; margin; border; padding
  9759. contents.style.cssText = div.style.cssText =
  9760. // Support: Android 2.3
  9761. // Vendor-prefix box-sizing
  9762. "-webkit-box-sizing:content-box;-moz-box-sizing:content-box;" +
  9763. "box-sizing:content-box;display:block;margin:0;border:0;padding:0";
  9764. contents.style.marginRight = contents.style.width = "0";
  9765. div.style.width = "1px";
  9766. reliableMarginRightVal =
  9767. !parseFloat( ( window.getComputedStyle( contents ) || {} ).marginRight );
  9768. div.removeChild( contents );
  9769. }
  9770. // Support: IE6-8
  9771. // First check that getClientRects works as expected
  9772. // Check if table cells still have offsetWidth/Height when they are set
  9773. // to display:none and there are still other visible table cells in a
  9774. // table row; if so, offsetWidth/Height are not reliable for use when
  9775. // determining if an element has been hidden directly using
  9776. // display:none (it is still safe to use offsets if a parent element is
  9777. // hidden; don safety goggles and see bug #4512 for more information).
  9778. div.style.display = "none";
  9779. reliableHiddenOffsetsVal = div.getClientRects().length === 0;
  9780. if ( reliableHiddenOffsetsVal ) {
  9781. div.style.display = "";
  9782. div.innerHTML = "<table><tr><td></td><td>t</td></tr></table>";
  9783. div.childNodes[ 0 ].style.borderCollapse = "separate";
  9784. contents = div.getElementsByTagName( "td" );
  9785. contents[ 0 ].style.cssText = "margin:0;border:0;padding:0;display:none";
  9786. reliableHiddenOffsetsVal = contents[ 0 ].offsetHeight === 0;
  9787. if ( reliableHiddenOffsetsVal ) {
  9788. contents[ 0 ].style.display = "";
  9789. contents[ 1 ].style.display = "none";
  9790. reliableHiddenOffsetsVal = contents[ 0 ].offsetHeight === 0;
  9791. }
  9792. }
  9793. // Teardown
  9794. documentElement.removeChild( container );
  9795. }
  9796. } )();
  9797. var getStyles, curCSS,
  9798. rposition = /^(top|right|bottom|left)$/;
  9799. if ( window.getComputedStyle ) {
  9800. getStyles = function( elem ) {
  9801. // Support: IE<=11+, Firefox<=30+ (#15098, #14150)
  9802. // IE throws on elements created in popups
  9803. // FF meanwhile throws on frame elements through "defaultView.getComputedStyle"
  9804. var view = elem.ownerDocument.defaultView;
  9805. if ( !view || !view.opener ) {
  9806. view = window;
  9807. }
  9808. return view.getComputedStyle( elem );
  9809. };
  9810. curCSS = function( elem, name, computed ) {
  9811. var width, minWidth, maxWidth, ret,
  9812. style = elem.style;
  9813. computed = computed || getStyles( elem );
  9814. // getPropertyValue is only needed for .css('filter') in IE9, see #12537
  9815. ret = computed ? computed.getPropertyValue( name ) || computed[ name ] : undefined;
  9816. // Support: Opera 12.1x only
  9817. // Fall back to style even without computed
  9818. // computed is undefined for elems on document fragments
  9819. if ( ( ret === "" || ret === undefined ) && !jQuery.contains( elem.ownerDocument, elem ) ) {
  9820. ret = jQuery.style( elem, name );
  9821. }
  9822. if ( computed ) {
  9823. // A tribute to the "awesome hack by Dean Edwards"
  9824. // Chrome < 17 and Safari 5.0 uses "computed value"
  9825. // instead of "used value" for margin-right
  9826. // Safari 5.1.7 (at least) returns percentage for a larger set of values,
  9827. // but width seems to be reliably pixels
  9828. // this is against the CSSOM draft spec:
  9829. // http://dev.w3.org/csswg/cssom/#resolved-values
  9830. if ( !support.pixelMarginRight() && rnumnonpx.test( ret ) && rmargin.test( name ) ) {
  9831. // Remember the original values
  9832. width = style.width;
  9833. minWidth = style.minWidth;
  9834. maxWidth = style.maxWidth;
  9835. // Put in the new values to get a computed value out
  9836. style.minWidth = style.maxWidth = style.width = ret;
  9837. ret = computed.width;
  9838. // Revert the changed values
  9839. style.width = width;
  9840. style.minWidth = minWidth;
  9841. style.maxWidth = maxWidth;
  9842. }
  9843. }
  9844. // Support: IE
  9845. // IE returns zIndex value as an integer.
  9846. return ret === undefined ?
  9847. ret :
  9848. ret + "";
  9849. };
  9850. } else if ( documentElement.currentStyle ) {
  9851. getStyles = function( elem ) {
  9852. return elem.currentStyle;
  9853. };
  9854. curCSS = function( elem, name, computed ) {
  9855. var left, rs, rsLeft, ret,
  9856. style = elem.style;
  9857. computed = computed || getStyles( elem );
  9858. ret = computed ? computed[ name ] : undefined;
  9859. // Avoid setting ret to empty string here
  9860. // so we don't default to auto
  9861. if ( ret == null && style && style[ name ] ) {
  9862. ret = style[ name ];
  9863. }
  9864. // From the awesome hack by Dean Edwards
  9865. // http://erik.eae.net/archives/2007/07/27/18.54.15/#comment-102291
  9866. // If we're not dealing with a regular pixel number
  9867. // but a number that has a weird ending, we need to convert it to pixels
  9868. // but not position css attributes, as those are
  9869. // proportional to the parent element instead
  9870. // and we can't measure the parent instead because it
  9871. // might trigger a "stacking dolls" problem
  9872. if ( rnumnonpx.test( ret ) && !rposition.test( name ) ) {
  9873. // Remember the original values
  9874. left = style.left;
  9875. rs = elem.runtimeStyle;
  9876. rsLeft = rs && rs.left;
  9877. // Put in the new values to get a computed value out
  9878. if ( rsLeft ) {
  9879. rs.left = elem.currentStyle.left;
  9880. }
  9881. style.left = name === "fontSize" ? "1em" : ret;
  9882. ret = style.pixelLeft + "px";
  9883. // Revert the changed values
  9884. style.left = left;
  9885. if ( rsLeft ) {
  9886. rs.left = rsLeft;
  9887. }
  9888. }
  9889. // Support: IE
  9890. // IE returns zIndex value as an integer.
  9891. return ret === undefined ?
  9892. ret :
  9893. ret + "" || "auto";
  9894. };
  9895. }
  9896. function addGetHookIf( conditionFn, hookFn ) {
  9897. // Define the hook, we'll check on the first run if it's really needed.
  9898. return {
  9899. get: function() {
  9900. if ( conditionFn() ) {
  9901. // Hook not needed (or it's not possible to use it due
  9902. // to missing dependency), remove it.
  9903. delete this.get;
  9904. return;
  9905. }
  9906. // Hook needed; redefine it so that the support test is not executed again.
  9907. return ( this.get = hookFn ).apply( this, arguments );
  9908. }
  9909. };
  9910. }
  9911. var
  9912. ralpha = /alpha\([^)]*\)/i,
  9913. ropacity = /opacity\s*=\s*([^)]*)/i,
  9914. // swappable if display is none or starts with table except
  9915. // "table", "table-cell", or "table-caption"
  9916. // see here for display values:
  9917. // https://developer.mozilla.org/en-US/docs/CSS/display
  9918. rdisplayswap = /^(none|table(?!-c[ea]).+)/,
  9919. rnumsplit = new RegExp( "^(" + pnum + ")(.*)$", "i" ),
  9920. cssShow = { position: "absolute", visibility: "hidden", display: "block" },
  9921. cssNormalTransform = {
  9922. letterSpacing: "0",
  9923. fontWeight: "400"
  9924. },
  9925. cssPrefixes = [ "Webkit", "O", "Moz", "ms" ],
  9926. emptyStyle = document.createElement( "div" ).style;
  9927. // return a css property mapped to a potentially vendor prefixed property
  9928. function vendorPropName( name ) {
  9929. // shortcut for names that are not vendor prefixed
  9930. if ( name in emptyStyle ) {
  9931. return name;
  9932. }
  9933. // check for vendor prefixed names
  9934. var capName = name.charAt( 0 ).toUpperCase() + name.slice( 1 ),
  9935. i = cssPrefixes.length;
  9936. while ( i-- ) {
  9937. name = cssPrefixes[ i ] + capName;
  9938. if ( name in emptyStyle ) {
  9939. return name;
  9940. }
  9941. }
  9942. }
  9943. function showHide( elements, show ) {
  9944. var display, elem, hidden,
  9945. values = [],
  9946. index = 0,
  9947. length = elements.length;
  9948. for ( ; index < length; index++ ) {
  9949. elem = elements[ index ];
  9950. if ( !elem.style ) {
  9951. continue;
  9952. }
  9953. values[ index ] = jQuery._data( elem, "olddisplay" );
  9954. display = elem.style.display;
  9955. if ( show ) {
  9956. // Reset the inline display of this element to learn if it is
  9957. // being hidden by cascaded rules or not
  9958. if ( !values[ index ] && display === "none" ) {
  9959. elem.style.display = "";
  9960. }
  9961. // Set elements which have been overridden with display: none
  9962. // in a stylesheet to whatever the default browser style is
  9963. // for such an element
  9964. if ( elem.style.display === "" && isHidden( elem ) ) {
  9965. values[ index ] =
  9966. jQuery._data( elem, "olddisplay", defaultDisplay( elem.nodeName ) );
  9967. }
  9968. } else {
  9969. hidden = isHidden( elem );
  9970. if ( display && display !== "none" || !hidden ) {
  9971. jQuery._data(
  9972. elem,
  9973. "olddisplay",
  9974. hidden ? display : jQuery.css( elem, "display" )
  9975. );
  9976. }
  9977. }
  9978. }
  9979. // Set the display of most of the elements in a second loop
  9980. // to avoid the constant reflow
  9981. for ( index = 0; index < length; index++ ) {
  9982. elem = elements[ index ];
  9983. if ( !elem.style ) {
  9984. continue;
  9985. }
  9986. if ( !show || elem.style.display === "none" || elem.style.display === "" ) {
  9987. elem.style.display = show ? values[ index ] || "" : "none";
  9988. =======
  9989. if ( hooks && "get" in hooks && (ret = hooks.get( elem, "value" )) !== undefined ) {
  9990. return ret;
  9991. }
  9992. ret = elem.value;
  9993. return typeof ret === "string" ?
  9994. // handle most common string cases
  9995. ret.replace(rreturn, "") :
  9996. // handle cases where value is null/undef or number
  9997. ret == null ? "" : ret;
  9998. }
  9999. return;
  10000. }
  10001. isFunction = jQuery.isFunction( value );
  10002. return this.each(function( i ) {
  10003. var val;
  10004. if ( this.nodeType !== 1 ) {
  10005. return;
  10006. }
  10007. if ( isFunction ) {
  10008. val = value.call( this, i, jQuery( this ).val() );
  10009. } else {
  10010. val = value;
  10011. }
  10012. // Treat null/undefined as ""; convert numbers to string
  10013. if ( val == null ) {
  10014. val = "";
  10015. } else if ( typeof val === "number" ) {
  10016. val += "";
  10017. } else if ( jQuery.isArray( val ) ) {
  10018. val = jQuery.map( val, function( value ) {
  10019. return value == null ? "" : value + "";
  10020. });
  10021. }
  10022. hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ];
  10023. // If set returns undefined, fall back to normal setting
  10024. if ( !hooks || !("set" in hooks) || hooks.set( this, val, "value" ) === undefined ) {
  10025. this.value = val;
  10026. }
  10027. });
  10028. }
  10029. });
  10030. jQuery.extend({
  10031. valHooks: {
  10032. option: {
  10033. get: function( elem ) {
  10034. var val = jQuery.find.attr( elem, "value" );
  10035. return val != null ?
  10036. val :
  10037. // Support: IE10-11+
  10038. // option.text throws exceptions (#14686, #14858)
  10039. jQuery.trim( jQuery.text( elem ) );
  10040. }
  10041. },
  10042. select: {
  10043. get: function( elem ) {
  10044. var value, option,
  10045. options = elem.options,
  10046. index = elem.selectedIndex,
  10047. one = elem.type === "select-one" || index < 0,
  10048. values = one ? null : [],
  10049. max = one ? index + 1 : options.length,
  10050. i = index < 0 ?
  10051. max :
  10052. one ? index : 0;
  10053. // Loop through all the selected options
  10054. for ( ; i < max; i++ ) {
  10055. option = options[ i ];
  10056. // oldIE doesn't update selected after form reset (#2551)
  10057. if ( ( option.selected || i === index ) &&
  10058. // Don't return options that are disabled or in a disabled optgroup
  10059. ( support.optDisabled ? !option.disabled : option.getAttribute("disabled") === null ) &&
  10060. ( !option.parentNode.disabled || !jQuery.nodeName( option.parentNode, "optgroup" ) ) ) {
  10061. // Get the specific value for the option
  10062. value = jQuery( option ).val();
  10063. // We don't need an array for one selects
  10064. if ( one ) {
  10065. return value;
  10066. }
  10067. // Multi-Selects return an array
  10068. values.push( value );
  10069. }
  10070. }
  10071. return values;
  10072. },
  10073. set: function( elem, value ) {
  10074. var optionSet, option,
  10075. options = elem.options,
  10076. values = jQuery.makeArray( value ),
  10077. i = options.length;
  10078. while ( i-- ) {
  10079. option = options[ i ];
  10080. if ( jQuery.inArray( jQuery.valHooks.option.get( option ), values ) >= 0 ) {
  10081. // Support: IE6
  10082. // When new option element is added to select box we need to
  10083. // force reflow of newly added node in order to workaround delay
  10084. // of initialization properties
  10085. try {
  10086. option.selected = optionSet = true;
  10087. } catch ( _ ) {
  10088. // Will be executed only in IE6
  10089. option.scrollHeight;
  10090. }
  10091. } else {
  10092. option.selected = false;
  10093. }
  10094. }
  10095. // Force browsers to behave consistently when non-matching value is set
  10096. if ( !optionSet ) {
  10097. elem.selectedIndex = -1;
  10098. }
  10099. return options;
  10100. }
  10101. }
  10102. }
  10103. });
  10104. // Radios and checkboxes getter/setter
  10105. jQuery.each([ "radio", "checkbox" ], function() {
  10106. jQuery.valHooks[ this ] = {
  10107. set: function( elem, value ) {
  10108. if ( jQuery.isArray( value ) ) {
  10109. return ( elem.checked = jQuery.inArray( jQuery(elem).val(), value ) >= 0 );
  10110. }
  10111. }
  10112. };
  10113. if ( !support.checkOn ) {
  10114. jQuery.valHooks[ this ].get = function( elem ) {
  10115. // Support: Webkit
  10116. // "" is returned instead of "on" if a value isn't specified
  10117. return elem.getAttribute("value") === null ? "on" : elem.value;
  10118. };
  10119. }
  10120. });
  10121. var nodeHook, boolHook,
  10122. attrHandle = jQuery.expr.attrHandle,
  10123. ruseDefault = /^(?:checked|selected)$/i,
  10124. getSetAttribute = support.getSetAttribute,
  10125. getSetInput = support.input;
  10126. jQuery.fn.extend({
  10127. attr: function( name, value ) {
  10128. return access( this, jQuery.attr, name, value, arguments.length > 1 );
  10129. },
  10130. removeAttr: function( name ) {
  10131. return this.each(function() {
  10132. jQuery.removeAttr( this, name );
  10133. });
  10134. }
  10135. });
  10136. jQuery.extend({
  10137. attr: function( elem, name, value ) {
  10138. var hooks, ret,
  10139. nType = elem.nodeType;
  10140. // don't get/set attributes on text, comment and attribute nodes
  10141. if ( !elem || nType === 3 || nType === 8 || nType === 2 ) {
  10142. return;
  10143. }
  10144. // Fallback to prop when attributes are not supported
  10145. if ( typeof elem.getAttribute === strundefined ) {
  10146. return jQuery.prop( elem, name, value );
  10147. }
  10148. // All attributes are lowercase
  10149. // Grab necessary hook if one is defined
  10150. if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) {
  10151. name = name.toLowerCase();
  10152. hooks = jQuery.attrHooks[ name ] ||
  10153. ( jQuery.expr.match.bool.test( name ) ? boolHook : nodeHook );
  10154. }
  10155. if ( value !== undefined ) {
  10156. if ( value === null ) {
  10157. jQuery.removeAttr( elem, name );
  10158. } else if ( hooks && "set" in hooks && (ret = hooks.set( elem, value, name )) !== undefined ) {
  10159. return ret;
  10160. } else {
  10161. elem.setAttribute( name, value + "" );
  10162. return value;
  10163. }
  10164. } else if ( hooks && "get" in hooks && (ret = hooks.get( elem, name )) !== null ) {
  10165. return ret;
  10166. } else {
  10167. ret = jQuery.find.attr( elem, name );
  10168. // Non-existent attributes return null, we normalize to undefined
  10169. return ret == null ?
  10170. undefined :
  10171. ret;
  10172. }
  10173. },
  10174. removeAttr: function( elem, value ) {
  10175. var name, propName,
  10176. i = 0,
  10177. attrNames = value && value.match( rnotwhite );
  10178. if ( attrNames && elem.nodeType === 1 ) {
  10179. while ( (name = attrNames[i++]) ) {
  10180. propName = jQuery.propFix[ name ] || name;
  10181. // Boolean attributes get special treatment (#10870)
  10182. if ( jQuery.expr.match.bool.test( name ) ) {
  10183. // Set corresponding property to false
  10184. if ( getSetInput && getSetAttribute || !ruseDefault.test( name ) ) {
  10185. elem[ propName ] = false;
  10186. // Support: IE<9
  10187. // Also clear defaultChecked/defaultSelected (if appropriate)
  10188. } else {
  10189. elem[ jQuery.camelCase( "default-" + name ) ] =
  10190. elem[ propName ] = false;
  10191. }
  10192. // See #9699 for explanation of this approach (setting first, then removal)
  10193. } else {
  10194. jQuery.attr( elem, name, "" );
  10195. }
  10196. elem.removeAttribute( getSetAttribute ? name : propName );
  10197. }
  10198. }
  10199. },
  10200. attrHooks: {
  10201. type: {
  10202. set: function( elem, value ) {
  10203. if ( !support.radioValue && value === "radio" && jQuery.nodeName(elem, "input") ) {
  10204. // Setting the type on a radio button after the value resets the value in IE6-9
  10205. // Reset value to default in case type is set after value during creation
  10206. var val = elem.value;
  10207. elem.setAttribute( "type", value );
  10208. if ( val ) {
  10209. elem.value = val;
  10210. }
  10211. return value;
  10212. }
  10213. }
  10214. }
  10215. }
  10216. });
  10217. // Hook for boolean attributes
  10218. boolHook = {
  10219. set: function( elem, value, name ) {
  10220. if ( value === false ) {
  10221. // Remove boolean attributes when set to false
  10222. jQuery.removeAttr( elem, name );
  10223. } else if ( getSetInput && getSetAttribute || !ruseDefault.test( name ) ) {
  10224. // IE<8 needs the *property* name
  10225. elem.setAttribute( !getSetAttribute && jQuery.propFix[ name ] || name, name );
  10226. // Use defaultChecked and defaultSelected for oldIE
  10227. } else {
  10228. elem[ jQuery.camelCase( "default-" + name ) ] = elem[ name ] = true;
  10229. }
  10230. return name;
  10231. }
  10232. };
  10233. // Retrieve booleans specially
  10234. jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( i, name ) {
  10235. var getter = attrHandle[ name ] || jQuery.find.attr;
  10236. attrHandle[ name ] = getSetInput && getSetAttribute || !ruseDefault.test( name ) ?
  10237. function( elem, name, isXML ) {
  10238. var ret, handle;
  10239. if ( !isXML ) {
  10240. // Avoid an infinite loop by temporarily removing this function from the getter
  10241. handle = attrHandle[ name ];
  10242. attrHandle[ name ] = ret;
  10243. ret = getter( elem, name, isXML ) != null ?
  10244. name.toLowerCase() :
  10245. null;
  10246. attrHandle[ name ] = handle;
  10247. }
  10248. return ret;
  10249. } :
  10250. function( elem, name, isXML ) {
  10251. if ( !isXML ) {
  10252. return elem[ jQuery.camelCase( "default-" + name ) ] ?
  10253. name.toLowerCase() :
  10254. null;
  10255. }
  10256. };
  10257. });
  10258. // fix oldIE attroperties
  10259. if ( !getSetInput || !getSetAttribute ) {
  10260. jQuery.attrHooks.value = {
  10261. set: function( elem, value, name ) {
  10262. if ( jQuery.nodeName( elem, "input" ) ) {
  10263. // Does not return so that setAttribute is also used
  10264. elem.defaultValue = value;
  10265. } else {
  10266. // Use nodeHook if defined (#1954); otherwise setAttribute is fine
  10267. return nodeHook && nodeHook.set( elem, value, name );
  10268. }
  10269. }
  10270. };
  10271. }
  10272. // IE6/7 do not support getting/setting some attributes with get/setAttribute
  10273. if ( !getSetAttribute ) {
  10274. // Use this for any attribute in IE6/7
  10275. // This fixes almost every IE6/7 issue
  10276. nodeHook = {
  10277. set: function( elem, value, name ) {
  10278. // Set the existing or create a new attribute node
  10279. var ret = elem.getAttributeNode( name );
  10280. if ( !ret ) {
  10281. elem.setAttributeNode(
  10282. (ret = elem.ownerDocument.createAttribute( name ))
  10283. );
  10284. }
  10285. ret.value = value += "";
  10286. // Break association with cloned elements by also using setAttribute (#9646)
  10287. if ( name === "value" || value === elem.getAttribute( name ) ) {
  10288. return value;
  10289. }
  10290. }
  10291. };
  10292. // Some attributes are constructed with empty-string values when not defined
  10293. attrHandle.id = attrHandle.name = attrHandle.coords =
  10294. function( elem, name, isXML ) {
  10295. var ret;
  10296. if ( !isXML ) {
  10297. return (ret = elem.getAttributeNode( name )) && ret.value !== "" ?
  10298. ret.value :
  10299. null;
  10300. }
  10301. };
  10302. // Fixing value retrieval on a button requires this module
  10303. jQuery.valHooks.button = {
  10304. get: function( elem, name ) {
  10305. var ret = elem.getAttributeNode( name );
  10306. if ( ret && ret.specified ) {
  10307. return ret.value;
  10308. }
  10309. },
  10310. set: nodeHook.set
  10311. };
  10312. // Set contenteditable to false on removals(#10429)
  10313. // Setting to empty string throws an error as an invalid value
  10314. jQuery.attrHooks.contenteditable = {
  10315. set: function( elem, value, name ) {
  10316. nodeHook.set( elem, value === "" ? false : value, name );
  10317. }
  10318. };
  10319. // Set width and height to auto instead of 0 on empty string( Bug #8150 )
  10320. // This is for removals
  10321. jQuery.each([ "width", "height" ], function( i, name ) {
  10322. jQuery.attrHooks[ name ] = {
  10323. set: function( elem, value ) {
  10324. if ( value === "" ) {
  10325. elem.setAttribute( name, "auto" );
  10326. return value;
  10327. }
  10328. }
  10329. };
  10330. });
  10331. }
  10332. if ( !support.style ) {
  10333. jQuery.attrHooks.style = {
  10334. get: function( elem ) {
  10335. // Return undefined in the case of empty string
  10336. // Note: IE uppercases css property names, but if we were to .toLowerCase()
  10337. // .cssText, that would destroy case senstitivity in URL's, like in "background"
  10338. return elem.style.cssText || undefined;
  10339. },
  10340. set: function( elem, value ) {
  10341. return ( elem.style.cssText = value + "" );
  10342. }
  10343. };
  10344. }
  10345. var rfocusable = /^(?:input|select|textarea|button|object)$/i,
  10346. rclickable = /^(?:a|area)$/i;
  10347. jQuery.fn.extend({
  10348. prop: function( name, value ) {
  10349. return access( this, jQuery.prop, name, value, arguments.length > 1 );
  10350. },
  10351. removeProp: function( name ) {
  10352. name = jQuery.propFix[ name ] || name;
  10353. return this.each(function() {
  10354. // try/catch handles cases where IE balks (such as removing a property on window)
  10355. try {
  10356. this[ name ] = undefined;
  10357. delete this[ name ];
  10358. } catch( e ) {}
  10359. });
  10360. }
  10361. });
  10362. jQuery.extend({
  10363. propFix: {
  10364. "for": "htmlFor",
  10365. "class": "className"
  10366. },
  10367. prop: function( elem, name, value ) {
  10368. var ret, hooks, notxml,
  10369. nType = elem.nodeType;
  10370. // don't get/set properties on text, comment and attribute nodes
  10371. if ( !elem || nType === 3 || nType === 8 || nType === 2 ) {
  10372. return;
  10373. }
  10374. notxml = nType !== 1 || !jQuery.isXMLDoc( elem );
  10375. if ( notxml ) {
  10376. // Fix name and attach hooks
  10377. name = jQuery.propFix[ name ] || name;
  10378. hooks = jQuery.propHooks[ name ];
  10379. }
  10380. if ( value !== undefined ) {
  10381. return hooks && "set" in hooks && (ret = hooks.set( elem, value, name )) !== undefined ?
  10382. ret :
  10383. ( elem[ name ] = value );
  10384. } else {
  10385. return hooks && "get" in hooks && (ret = hooks.get( elem, name )) !== null ?
  10386. ret :
  10387. elem[ name ];
  10388. }
  10389. },
  10390. propHooks: {
  10391. tabIndex: {
  10392. get: function( elem ) {
  10393. // elem.tabIndex doesn't always return the correct value when it hasn't been explicitly set
  10394. // http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/
  10395. // Use proper attribute retrieval(#12072)
  10396. var tabindex = jQuery.find.attr( elem, "tabindex" );
  10397. return tabindex ?
  10398. parseInt( tabindex, 10 ) :
  10399. rfocusable.test( elem.nodeName ) || rclickable.test( elem.nodeName ) && elem.href ?
  10400. 0 :
  10401. -1;
  10402. }
  10403. }
  10404. }
  10405. });
  10406. // Some attributes require a special call on IE
  10407. // http://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx
  10408. if ( !support.hrefNormalized ) {
  10409. // href/src property should get the full normalized URL (#10299/#12915)
  10410. jQuery.each([ "href", "src" ], function( i, name ) {
  10411. jQuery.propHooks[ name ] = {
  10412. get: function( elem ) {
  10413. return elem.getAttribute( name, 4 );
  10414. }
  10415. };
  10416. });
  10417. }
  10418. // Support: Safari, IE9+
  10419. // mis-reports the default selected property of an option
  10420. // Accessing the parent's selectedIndex property fixes it
  10421. if ( !support.optSelected ) {
  10422. jQuery.propHooks.selected = {
  10423. get: function( elem ) {
  10424. var parent = elem.parentNode;
  10425. if ( parent ) {
  10426. parent.selectedIndex;
  10427. // Make sure that it also works with optgroups, see #5701
  10428. if ( parent.parentNode ) {
  10429. parent.parentNode.selectedIndex;
  10430. }
  10431. }
  10432. return null;
  10433. }
  10434. };
  10435. }
  10436. jQuery.each([
  10437. "tabIndex",
  10438. "readOnly",
  10439. "maxLength",
  10440. "cellSpacing",
  10441. "cellPadding",
  10442. "rowSpan",
  10443. "colSpan",
  10444. "useMap",
  10445. "frameBorder",
  10446. "contentEditable"
  10447. ], function() {
  10448. jQuery.propFix[ this.toLowerCase() ] = this;
  10449. });
  10450. // IE6/7 call enctype encoding
  10451. if ( !support.enctype ) {
  10452. jQuery.propFix.enctype = "encoding";
  10453. }
  10454. var rclass = /[\t\r\n\f]/g;
  10455. jQuery.fn.extend({
  10456. addClass: function( value ) {
  10457. var classes, elem, cur, clazz, j, finalValue,
  10458. i = 0,
  10459. len = this.length,
  10460. proceed = typeof value === "string" && value;
  10461. if ( jQuery.isFunction( value ) ) {
  10462. return this.each(function( j ) {
  10463. jQuery( this ).addClass( value.call( this, j, this.className ) );
  10464. });
  10465. }
  10466. if ( proceed ) {
  10467. // The disjunction here is for better compressibility (see removeClass)
  10468. classes = ( value || "" ).match( rnotwhite ) || [];
  10469. for ( ; i < len; i++ ) {
  10470. elem = this[ i ];
  10471. cur = elem.nodeType === 1 && ( elem.className ?
  10472. ( " " + elem.className + " " ).replace( rclass, " " ) :
  10473. " "
  10474. );
  10475. if ( cur ) {
  10476. j = 0;
  10477. while ( (clazz = classes[j++]) ) {
  10478. if ( cur.indexOf( " " + clazz + " " ) < 0 ) {
  10479. cur += clazz + " ";
  10480. }
  10481. }
  10482. // only assign if different to avoid unneeded rendering.
  10483. finalValue = jQuery.trim( cur );
  10484. if ( elem.className !== finalValue ) {
  10485. elem.className = finalValue;
  10486. }
  10487. }
  10488. }
  10489. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  10490. }
  10491. }
  10492. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  10493. return elements;
  10494. }
  10495. function setPositiveNumber( elem, value, subtract ) {
  10496. var matches = rnumsplit.exec( value );
  10497. return matches ?
  10498. // Guard against undefined "subtract", e.g., when used as in cssHooks
  10499. Math.max( 0, matches[ 1 ] - ( subtract || 0 ) ) + ( matches[ 2 ] || "px" ) :
  10500. value;
  10501. }
  10502. function augmentWidthOrHeight( elem, name, extra, isBorderBox, styles ) {
  10503. var i = extra === ( isBorderBox ? "border" : "content" ) ?
  10504. // If we already have the right measurement, avoid augmentation
  10505. 4 :
  10506. // Otherwise initialize for horizontal or vertical properties
  10507. name === "width" ? 1 : 0,
  10508. val = 0;
  10509. for ( ; i < 4; i += 2 ) {
  10510. // both box models exclude margin, so add it if we want it
  10511. if ( extra === "margin" ) {
  10512. val += jQuery.css( elem, extra + cssExpand[ i ], true, styles );
  10513. }
  10514. if ( isBorderBox ) {
  10515. // border-box includes padding, so remove it if we want content
  10516. if ( extra === "content" ) {
  10517. val -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles );
  10518. }
  10519. // at this point, extra isn't border nor margin, so remove border
  10520. if ( extra !== "margin" ) {
  10521. val -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles );
  10522. }
  10523. } else {
  10524. // at this point, extra isn't content, so add padding
  10525. val += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles );
  10526. // at this point, extra isn't content nor padding, so add border
  10527. if ( extra !== "padding" ) {
  10528. val += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles );
  10529. }
  10530. }
  10531. }
  10532. return val;
  10533. }
  10534. function getWidthOrHeight( elem, name, extra ) {
  10535. // Start with offset property, which is equivalent to the border-box value
  10536. var valueIsBorderBox = true,
  10537. val = name === "width" ? elem.offsetWidth : elem.offsetHeight,
  10538. styles = getStyles( elem ),
  10539. isBorderBox = support.boxSizing &&
  10540. jQuery.css( elem, "boxSizing", false, styles ) === "border-box";
  10541. // some non-html elements return undefined for offsetWidth, so check for null/undefined
  10542. // svg - https://bugzilla.mozilla.org/show_bug.cgi?id=649285
  10543. // MathML - https://bugzilla.mozilla.org/show_bug.cgi?id=491668
  10544. if ( val <= 0 || val == null ) {
  10545. // Fall back to computed then uncomputed css if necessary
  10546. val = curCSS( elem, name, styles );
  10547. if ( val < 0 || val == null ) {
  10548. val = elem.style[ name ];
  10549. }
  10550. // Computed unit is not pixels. Stop here and return.
  10551. if ( rnumnonpx.test( val ) ) {
  10552. return val;
  10553. }
  10554. // we need the check for style in case a browser which returns unreliable values
  10555. // for getComputedStyle silently falls back to the reliable elem.style
  10556. valueIsBorderBox = isBorderBox &&
  10557. ( support.boxSizingReliable() || val === elem.style[ name ] );
  10558. // Normalize "", auto, and prepare for extra
  10559. val = parseFloat( val ) || 0;
  10560. }
  10561. // use the active box-sizing model to add/subtract irrelevant styles
  10562. return ( val +
  10563. augmentWidthOrHeight(
  10564. elem,
  10565. name,
  10566. extra || ( isBorderBox ? "border" : "content" ),
  10567. valueIsBorderBox,
  10568. styles
  10569. )
  10570. ) + "px";
  10571. }
  10572. jQuery.extend( {
  10573. // Add in style property hooks for overriding the default
  10574. // behavior of getting and setting a style property
  10575. cssHooks: {
  10576. opacity: {
  10577. get: function( elem, computed ) {
  10578. if ( computed ) {
  10579. // We should always get a number back from opacity
  10580. var ret = curCSS( elem, "opacity" );
  10581. return ret === "" ? "1" : ret;
  10582. }
  10583. }
  10584. }
  10585. },
  10586. // Don't automatically add "px" to these possibly-unitless properties
  10587. cssNumber: {
  10588. "animationIterationCount": true,
  10589. "columnCount": true,
  10590. "fillOpacity": true,
  10591. "flexGrow": true,
  10592. "flexShrink": true,
  10593. "fontWeight": true,
  10594. "lineHeight": true,
  10595. "opacity": true,
  10596. "order": true,
  10597. "orphans": true,
  10598. "widows": true,
  10599. "zIndex": true,
  10600. "zoom": true
  10601. },
  10602. // Add in properties whose names you wish to fix before
  10603. // setting or getting the value
  10604. cssProps: {
  10605. // normalize float css property
  10606. "float": support.cssFloat ? "cssFloat" : "styleFloat"
  10607. },
  10608. // Get and set the style property on a DOM Node
  10609. style: function( elem, name, value, extra ) {
  10610. // Don't set styles on text and comment nodes
  10611. if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) {
  10612. return;
  10613. }
  10614. // Make sure that we're working with the right name
  10615. var ret, type, hooks,
  10616. origName = jQuery.camelCase( name ),
  10617. style = elem.style;
  10618. name = jQuery.cssProps[ origName ] ||
  10619. ( jQuery.cssProps[ origName ] = vendorPropName( origName ) || origName );
  10620. // gets hook for the prefixed version
  10621. // followed by the unprefixed version
  10622. hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ];
  10623. // Check if we're setting a value
  10624. if ( value !== undefined ) {
  10625. type = typeof value;
  10626. // Convert "+=" or "-=" to relative numbers (#7345)
  10627. if ( type === "string" && ( ret = rcssNum.exec( value ) ) && ret[ 1 ] ) {
  10628. value = adjustCSS( elem, name, ret );
  10629. // Fixes bug #9237
  10630. type = "number";
  10631. }
  10632. // Make sure that null and NaN values aren't set. See: #7116
  10633. if ( value == null || value !== value ) {
  10634. return;
  10635. }
  10636. // If a number was passed in, add the unit (except for certain CSS properties)
  10637. if ( type === "number" ) {
  10638. value += ret && ret[ 3 ] || ( jQuery.cssNumber[ origName ] ? "" : "px" );
  10639. }
  10640. // Fixes #8908, it can be done more correctly by specifing setters in cssHooks,
  10641. // but it would mean to define eight
  10642. // (for every problematic property) identical functions
  10643. if ( !support.clearCloneStyle && value === "" && name.indexOf( "background" ) === 0 ) {
  10644. style[ name ] = "inherit";
  10645. }
  10646. // If a hook was provided, use that value, otherwise just set the specified value
  10647. if ( !hooks || !( "set" in hooks ) ||
  10648. ( value = hooks.set( elem, value, extra ) ) !== undefined ) {
  10649. // Support: IE
  10650. // Swallow errors from 'invalid' CSS values (#5509)
  10651. try {
  10652. style[ name ] = value;
  10653. } catch ( e ) {}
  10654. }
  10655. } else {
  10656. // If a hook was provided get the non-computed value from there
  10657. if ( hooks && "get" in hooks &&
  10658. ( ret = hooks.get( elem, false, extra ) ) !== undefined ) {
  10659. return ret;
  10660. }
  10661. // Otherwise just get the value from the style object
  10662. return style[ name ];
  10663. }
  10664. },
  10665. css: function( elem, name, extra, styles ) {
  10666. var num, val, hooks,
  10667. origName = jQuery.camelCase( name );
  10668. // Make sure that we're working with the right name
  10669. name = jQuery.cssProps[ origName ] ||
  10670. ( jQuery.cssProps[ origName ] = vendorPropName( origName ) || origName );
  10671. // gets hook for the prefixed version
  10672. // followed by the unprefixed version
  10673. hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ];
  10674. // If a hook was provided get the computed value from there
  10675. if ( hooks && "get" in hooks ) {
  10676. val = hooks.get( elem, true, extra );
  10677. }
  10678. // Otherwise, if a way to get the computed value exists, use that
  10679. if ( val === undefined ) {
  10680. val = curCSS( elem, name, styles );
  10681. }
  10682. //convert "normal" to computed value
  10683. if ( val === "normal" && name in cssNormalTransform ) {
  10684. val = cssNormalTransform[ name ];
  10685. }
  10686. // Return, converting to number if forced or a qualifier was provided and val looks numeric
  10687. if ( extra === "" || extra ) {
  10688. num = parseFloat( val );
  10689. return extra === true || isFinite( num ) ? num || 0 : val;
  10690. }
  10691. return val;
  10692. }
  10693. } );
  10694. jQuery.each( [ "height", "width" ], function( i, name ) {
  10695. jQuery.cssHooks[ name ] = {
  10696. get: function( elem, computed, extra ) {
  10697. if ( computed ) {
  10698. // certain elements can have dimension info if we invisibly show them
  10699. // however, it must have a current display style that would benefit from this
  10700. return rdisplayswap.test( jQuery.css( elem, "display" ) ) &&
  10701. elem.offsetWidth === 0 ?
  10702. swap( elem, cssShow, function() {
  10703. return getWidthOrHeight( elem, name, extra );
  10704. } ) :
  10705. getWidthOrHeight( elem, name, extra );
  10706. }
  10707. },
  10708. set: function( elem, value, extra ) {
  10709. var styles = extra && getStyles( elem );
  10710. return setPositiveNumber( elem, value, extra ?
  10711. augmentWidthOrHeight(
  10712. elem,
  10713. name,
  10714. extra,
  10715. support.boxSizing &&
  10716. jQuery.css( elem, "boxSizing", false, styles ) === "border-box",
  10717. styles
  10718. ) : 0
  10719. );
  10720. }
  10721. };
  10722. } );
  10723. if ( !support.opacity ) {
  10724. jQuery.cssHooks.opacity = {
  10725. get: function( elem, computed ) {
  10726. // IE uses filters for opacity
  10727. return ropacity.test( ( computed && elem.currentStyle ?
  10728. elem.currentStyle.filter :
  10729. elem.style.filter ) || "" ) ?
  10730. ( 0.01 * parseFloat( RegExp.$1 ) ) + "" :
  10731. computed ? "1" : "";
  10732. },
  10733. set: function( elem, value ) {
  10734. var style = elem.style,
  10735. currentStyle = elem.currentStyle,
  10736. opacity = jQuery.isNumeric( value ) ? "alpha(opacity=" + value * 100 + ")" : "",
  10737. filter = currentStyle && currentStyle.filter || style.filter || "";
  10738. // IE has trouble with opacity if it does not have layout
  10739. // Force it by setting the zoom level
  10740. style.zoom = 1;
  10741. =======
  10742. return this;
  10743. },
  10744. removeClass: function( value ) {
  10745. var classes, elem, cur, clazz, j, finalValue,
  10746. i = 0,
  10747. len = this.length,
  10748. proceed = arguments.length === 0 || typeof value === "string" && value;
  10749. if ( jQuery.isFunction( value ) ) {
  10750. return this.each(function( j ) {
  10751. jQuery( this ).removeClass( value.call( this, j, this.className ) );
  10752. });
  10753. }
  10754. if ( proceed ) {
  10755. classes = ( value || "" ).match( rnotwhite ) || [];
  10756. for ( ; i < len; i++ ) {
  10757. elem = this[ i ];
  10758. // This expression is here for better compressibility (see addClass)
  10759. cur = elem.nodeType === 1 && ( elem.className ?
  10760. ( " " + elem.className + " " ).replace( rclass, " " ) :
  10761. ""
  10762. );
  10763. if ( cur ) {
  10764. j = 0;
  10765. while ( (clazz = classes[j++]) ) {
  10766. // Remove *all* instances
  10767. while ( cur.indexOf( " " + clazz + " " ) >= 0 ) {
  10768. cur = cur.replace( " " + clazz + " ", " " );
  10769. }
  10770. }
  10771. // only assign if different to avoid unneeded rendering.
  10772. finalValue = value ? jQuery.trim( cur ) : "";
  10773. if ( elem.className !== finalValue ) {
  10774. elem.className = finalValue;
  10775. }
  10776. }
  10777. }
  10778. }
  10779. return this;
  10780. },
  10781. toggleClass: function( value, stateVal ) {
  10782. var type = typeof value;
  10783. if ( typeof stateVal === "boolean" && type === "string" ) {
  10784. return stateVal ? this.addClass( value ) : this.removeClass( value );
  10785. }
  10786. if ( jQuery.isFunction( value ) ) {
  10787. return this.each(function( i ) {
  10788. jQuery( this ).toggleClass( value.call(this, i, this.className, stateVal), stateVal );
  10789. });
  10790. }
  10791. return this.each(function() {
  10792. if ( type === "string" ) {
  10793. // toggle individual class names
  10794. var className,
  10795. i = 0,
  10796. self = jQuery( this ),
  10797. classNames = value.match( rnotwhite ) || [];
  10798. while ( (className = classNames[ i++ ]) ) {
  10799. // check each className given, space separated list
  10800. if ( self.hasClass( className ) ) {
  10801. self.removeClass( className );
  10802. } else {
  10803. self.addClass( className );
  10804. }
  10805. }
  10806. // Toggle whole class name
  10807. } else if ( type === strundefined || type === "boolean" ) {
  10808. if ( this.className ) {
  10809. // store className if set
  10810. jQuery._data( this, "__className__", this.className );
  10811. }
  10812. // If the element has a class name or if we're passed "false",
  10813. // then remove the whole classname (if there was one, the above saved it).
  10814. // Otherwise bring back whatever was previously saved (if anything),
  10815. // falling back to the empty string if nothing was stored.
  10816. this.className = this.className || value === false ? "" : jQuery._data( this, "__className__" ) || "";
  10817. }
  10818. });
  10819. },
  10820. hasClass: function( selector ) {
  10821. var className = " " + selector + " ",
  10822. i = 0,
  10823. l = this.length;
  10824. for ( ; i < l; i++ ) {
  10825. if ( this[i].nodeType === 1 && (" " + this[i].className + " ").replace(rclass, " ").indexOf( className ) >= 0 ) {
  10826. return true;
  10827. }
  10828. }
  10829. return false;
  10830. }
  10831. });
  10832. // Return jQuery for attributes-only inclusion
  10833. jQuery.each( ("blur focus focusin focusout load resize scroll unload click dblclick " +
  10834. "mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " +
  10835. "change select submit keydown keypress keyup error contextmenu").split(" "), function( i, name ) {
  10836. // Handle event binding
  10837. jQuery.fn[ name ] = function( data, fn ) {
  10838. return arguments.length > 0 ?
  10839. this.on( name, null, data, fn ) :
  10840. this.trigger( name );
  10841. };
  10842. });
  10843. jQuery.fn.extend({
  10844. hover: function( fnOver, fnOut ) {
  10845. return this.mouseenter( fnOver ).mouseleave( fnOut || fnOver );
  10846. },
  10847. bind: function( types, data, fn ) {
  10848. return this.on( types, null, data, fn );
  10849. },
  10850. unbind: function( types, fn ) {
  10851. return this.off( types, null, fn );
  10852. },
  10853. delegate: function( selector, types, data, fn ) {
  10854. return this.on( types, selector, data, fn );
  10855. },
  10856. undelegate: function( selector, types, fn ) {
  10857. // ( namespace ) or ( selector, types [, fn] )
  10858. return arguments.length === 1 ? this.off( selector, "**" ) : this.off( types, selector || "**", fn );
  10859. }
  10860. });
  10861. var nonce = jQuery.now();
  10862. var rquery = (/\?/);
  10863. var rvalidtokens = /(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;
  10864. jQuery.parseJSON = function( data ) {
  10865. // Attempt to parse using the native JSON parser first
  10866. if ( window.JSON && window.JSON.parse ) {
  10867. // Support: Android 2.3
  10868. // Workaround failure to string-cast null input
  10869. return window.JSON.parse( data + "" );
  10870. }
  10871. var requireNonComma,
  10872. depth = null,
  10873. str = jQuery.trim( data + "" );
  10874. // Guard against invalid (and possibly dangerous) input by ensuring that nothing remains
  10875. // after removing valid tokens
  10876. return str && !jQuery.trim( str.replace( rvalidtokens, function( token, comma, open, close ) {
  10877. // Force termination if we see a misplaced comma
  10878. if ( requireNonComma && comma ) {
  10879. depth = 0;
  10880. }
  10881. // Perform no more replacements after returning to outermost depth
  10882. if ( depth === 0 ) {
  10883. return token;
  10884. }
  10885. // Commas must not follow "[", "{", or ","
  10886. requireNonComma = open || comma;
  10887. // Determine new depth
  10888. // array/object open ("[" or "{"): depth += true - false (increment)
  10889. // array/object close ("]" or "}"): depth += false - true (decrement)
  10890. // other cases ("," or primitive): depth += true - true (numeric cast)
  10891. depth += !close - !open;
  10892. // Remove this token
  10893. return "";
  10894. }) ) ?
  10895. ( Function( "return " + str ) )() :
  10896. jQuery.error( "Invalid JSON: " + data );
  10897. };
  10898. // Cross-browser xml parsing
  10899. jQuery.parseXML = function( data ) {
  10900. var xml, tmp;
  10901. if ( !data || typeof data !== "string" ) {
  10902. return null;
  10903. }
  10904. try {
  10905. if ( window.DOMParser ) { // Standard
  10906. tmp = new DOMParser();
  10907. xml = tmp.parseFromString( data, "text/xml" );
  10908. } else { // IE
  10909. xml = new ActiveXObject( "Microsoft.XMLDOM" );
  10910. xml.async = "false";
  10911. xml.loadXML( data );
  10912. }
  10913. } catch( e ) {
  10914. xml = undefined;
  10915. }
  10916. if ( !xml || !xml.documentElement || xml.getElementsByTagName( "parsererror" ).length ) {
  10917. jQuery.error( "Invalid XML: " + data );
  10918. }
  10919. return xml;
  10920. };
  10921. var
  10922. // Document location
  10923. ajaxLocParts,
  10924. ajaxLocation,
  10925. rhash = /#.*$/,
  10926. rts = /([?&])_=[^&]*/,
  10927. rheaders = /^(.*?):[ \t]*([^\r\n]*)\r?$/mg, // IE leaves an \r character at EOL
  10928. // #7653, #8125, #8152: local protocol detection
  10929. rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/,
  10930. rnoContent = /^(?:GET|HEAD)$/,
  10931. rprotocol = /^\/\//,
  10932. rurl = /^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,
  10933. /* Prefilters
  10934. * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example)
  10935. * 2) These are called:
  10936. * - BEFORE asking for a transport
  10937. * - AFTER param serialization (s.data is a string if s.processData is true)
  10938. * 3) key is the dataType
  10939. * 4) the catchall symbol "*" can be used
  10940. * 5) execution will start with transport dataType and THEN continue down to "*" if needed
  10941. */
  10942. prefilters = {},
  10943. /* Transports bindings
  10944. * 1) key is the dataType
  10945. * 2) the catchall symbol "*" can be used
  10946. * 3) selection will start with transport dataType and THEN go to "*" if needed
  10947. */
  10948. transports = {},
  10949. // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression
  10950. allTypes = "*/".concat("*");
  10951. // #8138, IE may throw an exception when accessing
  10952. // a field from window.location if document.domain has been set
  10953. try {
  10954. ajaxLocation = location.href;
  10955. } catch( e ) {
  10956. // Use the href attribute of an A element
  10957. // since IE will modify it given document.location
  10958. ajaxLocation = document.createElement( "a" );
  10959. ajaxLocation.href = "";
  10960. ajaxLocation = ajaxLocation.href;
  10961. }
  10962. // Segment location into parts
  10963. ajaxLocParts = rurl.exec( ajaxLocation.toLowerCase() ) || [];
  10964. // Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport
  10965. function addToPrefiltersOrTransports( structure ) {
  10966. // dataTypeExpression is optional and defaults to "*"
  10967. return function( dataTypeExpression, func ) {
  10968. if ( typeof dataTypeExpression !== "string" ) {
  10969. func = dataTypeExpression;
  10970. dataTypeExpression = "*";
  10971. }
  10972. var dataType,
  10973. i = 0,
  10974. dataTypes = dataTypeExpression.toLowerCase().match( rnotwhite ) || [];
  10975. if ( jQuery.isFunction( func ) ) {
  10976. // For each dataType in the dataTypeExpression
  10977. while ( (dataType = dataTypes[i++]) ) {
  10978. // Prepend if requested
  10979. if ( dataType.charAt( 0 ) === "+" ) {
  10980. dataType = dataType.slice( 1 ) || "*";
  10981. (structure[ dataType ] = structure[ dataType ] || []).unshift( func );
  10982. // Otherwise append
  10983. } else {
  10984. (structure[ dataType ] = structure[ dataType ] || []).push( func );
  10985. }
  10986. }
  10987. }
  10988. };
  10989. }
  10990. // Base inspection function for prefilters and transports
  10991. function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) {
  10992. var inspected = {},
  10993. seekingTransport = ( structure === transports );
  10994. function inspect( dataType ) {
  10995. var selected;
  10996. inspected[ dataType ] = true;
  10997. jQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) {
  10998. var dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR );
  10999. if ( typeof dataTypeOrTransport === "string" && !seekingTransport && !inspected[ dataTypeOrTransport ] ) {
  11000. options.dataTypes.unshift( dataTypeOrTransport );
  11001. inspect( dataTypeOrTransport );
  11002. return false;
  11003. } else if ( seekingTransport ) {
  11004. return !( selected = dataTypeOrTransport );
  11005. }
  11006. });
  11007. return selected;
  11008. }
  11009. return inspect( options.dataTypes[ 0 ] ) || !inspected[ "*" ] && inspect( "*" );
  11010. }
  11011. // A special extend for ajax options
  11012. // that takes "flat" options (not to be deep extended)
  11013. // Fixes #9887
  11014. function ajaxExtend( target, src ) {
  11015. var deep, key,
  11016. flatOptions = jQuery.ajaxSettings.flatOptions || {};
  11017. for ( key in src ) {
  11018. if ( src[ key ] !== undefined ) {
  11019. ( flatOptions[ key ] ? target : ( deep || (deep = {}) ) )[ key ] = src[ key ];
  11020. }
  11021. }
  11022. if ( deep ) {
  11023. jQuery.extend( true, target, deep );
  11024. }
  11025. return target;
  11026. }
  11027. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  11028. // if setting opacity to 1, and no other filters exist -
  11029. // attempt to remove filter attribute #6652
  11030. // if value === "", then remove inline opacity #12685
  11031. if ( ( value >= 1 || value === "" ) &&
  11032. jQuery.trim( filter.replace( ralpha, "" ) ) === "" &&
  11033. style.removeAttribute ) {
  11034. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  11035. // Setting style.filter to null, "" & " " still leave "filter:" in the cssText
  11036. // if "filter:" is present at all, clearType is disabled, we want to avoid this
  11037. // style.removeAttribute is IE Only, but so apparently is this code path...
  11038. style.removeAttribute( "filter" );
  11039. =======
  11040. // Remove auto dataType and get content-type in the process
  11041. while ( dataTypes[ 0 ] === "*" ) {
  11042. dataTypes.shift();
  11043. if ( ct === undefined ) {
  11044. ct = s.mimeType || jqXHR.getResponseHeader("Content-Type");
  11045. }
  11046. }
  11047. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  11048. // if there is no filter style applied in a css rule
  11049. // or unset inline opacity, we are done
  11050. if ( value === "" || currentStyle && !currentStyle.filter ) {
  11051. return;
  11052. }
  11053. }
  11054. // otherwise, set new filter values
  11055. style.filter = ralpha.test( filter ) ?
  11056. filter.replace( ralpha, opacity ) :
  11057. filter + " " + opacity;
  11058. }
  11059. };
  11060. }
  11061. jQuery.cssHooks.marginRight = addGetHookIf( support.reliableMarginRight,
  11062. function( elem, computed ) {
  11063. if ( computed ) {
  11064. return swap( elem, { "display": "inline-block" },
  11065. curCSS, [ elem, "marginRight" ] );
  11066. }
  11067. }
  11068. );
  11069. jQuery.cssHooks.marginLeft = addGetHookIf( support.reliableMarginLeft,
  11070. function( elem, computed ) {
  11071. if ( computed ) {
  11072. return (
  11073. parseFloat( curCSS( elem, "marginLeft" ) ) ||
  11074. // Support: IE<=11+
  11075. // Running getBoundingClientRect on a disconnected node in IE throws an error
  11076. // Support: IE8 only
  11077. // getClientRects() errors on disconnected elems
  11078. ( jQuery.contains( elem.ownerDocument, elem ) ?
  11079. elem.getBoundingClientRect().left -
  11080. swap( elem, { marginLeft: 0 }, function() {
  11081. return elem.getBoundingClientRect().left;
  11082. } ) :
  11083. 0
  11084. )
  11085. ) + "px";
  11086. }
  11087. }
  11088. );
  11089. // These hooks are used by animate to expand properties
  11090. jQuery.each( {
  11091. margin: "",
  11092. padding: "",
  11093. border: "Width"
  11094. }, function( prefix, suffix ) {
  11095. jQuery.cssHooks[ prefix + suffix ] = {
  11096. expand: function( value ) {
  11097. var i = 0,
  11098. expanded = {},
  11099. // assumes a single number if not a string
  11100. parts = typeof value === "string" ? value.split( " " ) : [ value ];
  11101. for ( ; i < 4; i++ ) {
  11102. expanded[ prefix + cssExpand[ i ] + suffix ] =
  11103. parts[ i ] || parts[ i - 2 ] || parts[ 0 ];
  11104. }
  11105. return expanded;
  11106. }
  11107. };
  11108. if ( !rmargin.test( prefix ) ) {
  11109. jQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber;
  11110. }
  11111. } );
  11112. jQuery.fn.extend( {
  11113. css: function( name, value ) {
  11114. return access( this, function( elem, name, value ) {
  11115. var styles, len,
  11116. map = {},
  11117. i = 0;
  11118. if ( jQuery.isArray( name ) ) {
  11119. styles = getStyles( elem );
  11120. len = name.length;
  11121. for ( ; i < len; i++ ) {
  11122. map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles );
  11123. }
  11124. return map;
  11125. }
  11126. return value !== undefined ?
  11127. jQuery.style( elem, name, value ) :
  11128. jQuery.css( elem, name );
  11129. }, name, value, arguments.length > 1 );
  11130. },
  11131. show: function() {
  11132. return showHide( this, true );
  11133. },
  11134. hide: function() {
  11135. return showHide( this );
  11136. },
  11137. toggle: function( state ) {
  11138. if ( typeof state === "boolean" ) {
  11139. return state ? this.show() : this.hide();
  11140. }
  11141. return this.each( function() {
  11142. if ( isHidden( this ) ) {
  11143. jQuery( this ).show();
  11144. } else {
  11145. jQuery( this ).hide();
  11146. }
  11147. } );
  11148. }
  11149. } );
  11150. function Tween( elem, options, prop, end, easing ) {
  11151. return new Tween.prototype.init( elem, options, prop, end, easing );
  11152. }
  11153. jQuery.Tween = Tween;
  11154. Tween.prototype = {
  11155. constructor: Tween,
  11156. init: function( elem, options, prop, end, easing, unit ) {
  11157. this.elem = elem;
  11158. this.prop = prop;
  11159. this.easing = easing || jQuery.easing._default;
  11160. this.options = options;
  11161. this.start = this.now = this.cur();
  11162. this.end = end;
  11163. this.unit = unit || ( jQuery.cssNumber[ prop ] ? "" : "px" );
  11164. },
  11165. cur: function() {
  11166. var hooks = Tween.propHooks[ this.prop ];
  11167. return hooks && hooks.get ?
  11168. hooks.get( this ) :
  11169. Tween.propHooks._default.get( this );
  11170. },
  11171. run: function( percent ) {
  11172. var eased,
  11173. hooks = Tween.propHooks[ this.prop ];
  11174. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  11175. if ( this.options.duration ) {
  11176. this.pos = eased = jQuery.easing[ this.easing ](
  11177. percent, this.options.duration * percent, 0, 1, this.options.duration
  11178. );
  11179. } else {
  11180. this.pos = eased = percent;
  11181. }
  11182. this.now = ( this.end - this.start ) * eased + this.start;
  11183. if ( this.options.step ) {
  11184. this.options.step.call( this.elem, this.now, this );
  11185. }
  11186. if ( hooks && hooks.set ) {
  11187. hooks.set( this );
  11188. } else {
  11189. Tween.propHooks._default.set( this );
  11190. }
  11191. return this;
  11192. }
  11193. };
  11194. Tween.prototype.init.prototype = Tween.prototype;
  11195. Tween.propHooks = {
  11196. _default: {
  11197. get: function( tween ) {
  11198. var result;
  11199. // Use a property on the element directly when it is not a DOM element,
  11200. // or when there is no matching style property that exists.
  11201. if ( tween.elem.nodeType !== 1 ||
  11202. tween.elem[ tween.prop ] != null && tween.elem.style[ tween.prop ] == null ) {
  11203. return tween.elem[ tween.prop ];
  11204. }
  11205. // passing an empty string as a 3rd parameter to .css will automatically
  11206. // attempt a parseFloat and fallback to a string if the parse fails
  11207. // so, simple values such as "10px" are parsed to Float.
  11208. // complex values such as "rotate(1rad)" are returned as is.
  11209. result = jQuery.css( tween.elem, tween.prop, "" );
  11210. // Empty strings, null, undefined and "auto" are converted to 0.
  11211. return !result || result === "auto" ? 0 : result;
  11212. },
  11213. set: function( tween ) {
  11214. // use step hook for back compat - use cssHook if its there - use .style if its
  11215. // available and use plain properties where available
  11216. if ( jQuery.fx.step[ tween.prop ] ) {
  11217. jQuery.fx.step[ tween.prop ]( tween );
  11218. } else if ( tween.elem.nodeType === 1 &&
  11219. ( tween.elem.style[ jQuery.cssProps[ tween.prop ] ] != null ||
  11220. jQuery.cssHooks[ tween.prop ] ) ) {
  11221. jQuery.style( tween.elem, tween.prop, tween.now + tween.unit );
  11222. } else {
  11223. tween.elem[ tween.prop ] = tween.now;
  11224. }
  11225. }
  11226. }
  11227. };
  11228. // Support: IE <=9
  11229. // Panic based approach to setting things on disconnected nodes
  11230. Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = {
  11231. set: function( tween ) {
  11232. if ( tween.elem.nodeType && tween.elem.parentNode ) {
  11233. tween.elem[ tween.prop ] = tween.now;
  11234. }
  11235. }
  11236. };
  11237. jQuery.easing = {
  11238. linear: function( p ) {
  11239. return p;
  11240. },
  11241. swing: function( p ) {
  11242. return 0.5 - Math.cos( p * Math.PI ) / 2;
  11243. },
  11244. _default: "swing"
  11245. };
  11246. jQuery.fx = Tween.prototype.init;
  11247. // Back Compat <1.8 extension point
  11248. jQuery.fx.step = {};
  11249. var
  11250. fxNow, timerId,
  11251. rfxtypes = /^(?:toggle|show|hide)$/,
  11252. rrun = /queueHooks$/;
  11253. // Animations created synchronously will run synchronously
  11254. function createFxNow() {
  11255. window.setTimeout( function() {
  11256. fxNow = undefined;
  11257. } );
  11258. return ( fxNow = jQuery.now() );
  11259. }
  11260. // Generate parameters to create a standard animation
  11261. function genFx( type, includeWidth ) {
  11262. var which,
  11263. attrs = { height: type },
  11264. i = 0;
  11265. // if we include width, step value is 1 to do all cssExpand values,
  11266. // if we don't include width, step value is 2 to skip over Left and Right
  11267. includeWidth = includeWidth ? 1 : 0;
  11268. for ( ; i < 4 ; i += 2 - includeWidth ) {
  11269. which = cssExpand[ i ];
  11270. attrs[ "margin" + which ] = attrs[ "padding" + which ] = type;
  11271. }
  11272. if ( includeWidth ) {
  11273. attrs.opacity = attrs.width = type;
  11274. }
  11275. return attrs;
  11276. }
  11277. function createTween( value, prop, animation ) {
  11278. var tween,
  11279. collection = ( Animation.tweeners[ prop ] || [] ).concat( Animation.tweeners[ "*" ] ),
  11280. index = 0,
  11281. length = collection.length;
  11282. for ( ; index < length; index++ ) {
  11283. if ( ( tween = collection[ index ].call( animation, prop, value ) ) ) {
  11284. // we're done with this property
  11285. return tween;
  11286. }
  11287. }
  11288. }
  11289. function defaultPrefilter( elem, props, opts ) {
  11290. /* jshint validthis: true */
  11291. var prop, value, toggle, tween, hooks, oldfire, display, checkDisplay,
  11292. anim = this,
  11293. orig = {},
  11294. style = elem.style,
  11295. hidden = elem.nodeType && isHidden( elem ),
  11296. dataShow = jQuery._data( elem, "fxshow" );
  11297. // handle queue: false promises
  11298. if ( !opts.queue ) {
  11299. hooks = jQuery._queueHooks( elem, "fx" );
  11300. if ( hooks.unqueued == null ) {
  11301. hooks.unqueued = 0;
  11302. oldfire = hooks.empty.fire;
  11303. hooks.empty.fire = function() {
  11304. if ( !hooks.unqueued ) {
  11305. oldfire();
  11306. }
  11307. };
  11308. =======
  11309. // Unless errors are allowed to bubble, catch and return them
  11310. if ( conv && s[ "throws" ] ) {
  11311. response = conv( response );
  11312. } else {
  11313. try {
  11314. response = conv( response );
  11315. } catch ( e ) {
  11316. return { state: "parsererror", error: conv ? e : "No conversion from " + prev + " to " + current };
  11317. }
  11318. }
  11319. }
  11320. }
  11321. }
  11322. }
  11323. return { state: "success", data: response };
  11324. }
  11325. jQuery.extend({
  11326. // Counter for holding the number of active queries
  11327. active: 0,
  11328. // Last-Modified header cache for next request
  11329. lastModified: {},
  11330. etag: {},
  11331. ajaxSettings: {
  11332. url: ajaxLocation,
  11333. type: "GET",
  11334. isLocal: rlocalProtocol.test( ajaxLocParts[ 1 ] ),
  11335. global: true,
  11336. processData: true,
  11337. async: true,
  11338. contentType: "application/x-www-form-urlencoded; charset=UTF-8",
  11339. /*
  11340. timeout: 0,
  11341. data: null,
  11342. dataType: null,
  11343. username: null,
  11344. password: null,
  11345. cache: null,
  11346. throws: false,
  11347. traditional: false,
  11348. headers: {},
  11349. */
  11350. accepts: {
  11351. "*": allTypes,
  11352. text: "text/plain",
  11353. html: "text/html",
  11354. xml: "application/xml, text/xml",
  11355. json: "application/json, text/javascript"
  11356. },
  11357. contents: {
  11358. xml: /xml/,
  11359. html: /html/,
  11360. json: /json/
  11361. },
  11362. responseFields: {
  11363. xml: "responseXML",
  11364. text: "responseText",
  11365. json: "responseJSON"
  11366. },
  11367. // Data converters
  11368. // Keys separate source (or catchall "*") and destination types with a single space
  11369. converters: {
  11370. // Convert anything to text
  11371. "* text": String,
  11372. // Text to html (true = no transformation)
  11373. "text html": true,
  11374. // Evaluate text as a json expression
  11375. "text json": jQuery.parseJSON,
  11376. // Parse text as xml
  11377. "text xml": jQuery.parseXML
  11378. },
  11379. // For options that shouldn't be deep extended:
  11380. // you can add your own custom options here if
  11381. // and when you create one that shouldn't be
  11382. // deep extended (see ajaxExtend)
  11383. flatOptions: {
  11384. url: true,
  11385. context: true
  11386. }
  11387. },
  11388. // Creates a full fledged settings object into target
  11389. // with both ajaxSettings and settings fields.
  11390. // If target is omitted, writes into ajaxSettings.
  11391. ajaxSetup: function( target, settings ) {
  11392. return settings ?
  11393. // Building a settings object
  11394. ajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) :
  11395. // Extending ajaxSettings
  11396. ajaxExtend( jQuery.ajaxSettings, target );
  11397. },
  11398. ajaxPrefilter: addToPrefiltersOrTransports( prefilters ),
  11399. ajaxTransport: addToPrefiltersOrTransports( transports ),
  11400. // Main method
  11401. ajax: function( url, options ) {
  11402. // If url is an object, simulate pre-1.5 signature
  11403. if ( typeof url === "object" ) {
  11404. options = url;
  11405. url = undefined;
  11406. }
  11407. // Force options to be an object
  11408. options = options || {};
  11409. var // Cross-domain detection vars
  11410. parts,
  11411. // Loop variable
  11412. i,
  11413. // URL without anti-cache param
  11414. cacheURL,
  11415. // Response headers as string
  11416. responseHeadersString,
  11417. // timeout handle
  11418. timeoutTimer,
  11419. // To know if global events are to be dispatched
  11420. fireGlobals,
  11421. transport,
  11422. // Response headers
  11423. responseHeaders,
  11424. // Create the final options object
  11425. s = jQuery.ajaxSetup( {}, options ),
  11426. // Callbacks context
  11427. callbackContext = s.context || s,
  11428. // Context for global events is callbackContext if it is a DOM node or jQuery collection
  11429. globalEventContext = s.context && ( callbackContext.nodeType || callbackContext.jquery ) ?
  11430. jQuery( callbackContext ) :
  11431. jQuery.event,
  11432. // Deferreds
  11433. deferred = jQuery.Deferred(),
  11434. completeDeferred = jQuery.Callbacks("once memory"),
  11435. // Status-dependent callbacks
  11436. statusCode = s.statusCode || {},
  11437. // Headers (they are sent all at once)
  11438. requestHeaders = {},
  11439. requestHeadersNames = {},
  11440. // The jqXHR state
  11441. state = 0,
  11442. // Default abort message
  11443. strAbort = "canceled",
  11444. // Fake xhr
  11445. jqXHR = {
  11446. readyState: 0,
  11447. // Builds headers hashtable if needed
  11448. getResponseHeader: function( key ) {
  11449. var match;
  11450. if ( state === 2 ) {
  11451. if ( !responseHeaders ) {
  11452. responseHeaders = {};
  11453. while ( (match = rheaders.exec( responseHeadersString )) ) {
  11454. responseHeaders[ match[1].toLowerCase() ] = match[ 2 ];
  11455. }
  11456. }
  11457. match = responseHeaders[ key.toLowerCase() ];
  11458. }
  11459. return match == null ? null : match;
  11460. },
  11461. // Raw string
  11462. getAllResponseHeaders: function() {
  11463. return state === 2 ? responseHeadersString : null;
  11464. },
  11465. // Caches the header
  11466. setRequestHeader: function( name, value ) {
  11467. var lname = name.toLowerCase();
  11468. if ( !state ) {
  11469. name = requestHeadersNames[ lname ] = requestHeadersNames[ lname ] || name;
  11470. requestHeaders[ name ] = value;
  11471. }
  11472. return this;
  11473. },
  11474. // Overrides response content-type header
  11475. overrideMimeType: function( type ) {
  11476. if ( !state ) {
  11477. s.mimeType = type;
  11478. }
  11479. return this;
  11480. },
  11481. // Status-dependent callbacks
  11482. statusCode: function( map ) {
  11483. var code;
  11484. if ( map ) {
  11485. if ( state < 2 ) {
  11486. for ( code in map ) {
  11487. // Lazy-add the new callback in a way that preserves old ones
  11488. statusCode[ code ] = [ statusCode[ code ], map[ code ] ];
  11489. }
  11490. } else {
  11491. // Execute the appropriate callbacks
  11492. jqXHR.always( map[ jqXHR.status ] );
  11493. }
  11494. }
  11495. return this;
  11496. },
  11497. // Cancel the request
  11498. abort: function( statusText ) {
  11499. var finalText = statusText || strAbort;
  11500. if ( transport ) {
  11501. transport.abort( finalText );
  11502. }
  11503. done( 0, finalText );
  11504. return this;
  11505. }
  11506. };
  11507. // Attach deferreds
  11508. deferred.promise( jqXHR ).complete = completeDeferred.add;
  11509. jqXHR.success = jqXHR.done;
  11510. jqXHR.error = jqXHR.fail;
  11511. // Remove hash character (#7531: and string promotion)
  11512. // Add protocol if not provided (#5866: IE7 issue with protocol-less urls)
  11513. // Handle falsy url in the settings object (#10093: consistency with old signature)
  11514. // We also use the url parameter if available
  11515. s.url = ( ( url || s.url || ajaxLocation ) + "" ).replace( rhash, "" ).replace( rprotocol, ajaxLocParts[ 1 ] + "//" );
  11516. // Alias method option to type as per ticket #12004
  11517. s.type = options.method || options.type || s.method || s.type;
  11518. // Extract dataTypes list
  11519. s.dataTypes = jQuery.trim( s.dataType || "*" ).toLowerCase().match( rnotwhite ) || [ "" ];
  11520. // A cross-domain request is in order when we have a protocol:host:port mismatch
  11521. if ( s.crossDomain == null ) {
  11522. parts = rurl.exec( s.url.toLowerCase() );
  11523. s.crossDomain = !!( parts &&
  11524. ( parts[ 1 ] !== ajaxLocParts[ 1 ] || parts[ 2 ] !== ajaxLocParts[ 2 ] ||
  11525. ( parts[ 3 ] || ( parts[ 1 ] === "http:" ? "80" : "443" ) ) !==
  11526. ( ajaxLocParts[ 3 ] || ( ajaxLocParts[ 1 ] === "http:" ? "80" : "443" ) ) )
  11527. );
  11528. }
  11529. // Convert data if not already a string
  11530. if ( s.data && s.processData && typeof s.data !== "string" ) {
  11531. s.data = jQuery.param( s.data, s.traditional );
  11532. }
  11533. // Apply prefilters
  11534. inspectPrefiltersOrTransports( prefilters, s, options, jqXHR );
  11535. // If request was aborted inside a prefilter, stop there
  11536. if ( state === 2 ) {
  11537. return jqXHR;
  11538. }
  11539. // We can fire global events as of now if asked to
  11540. // Don't fire events if jQuery.event is undefined in an AMD-usage scenario (#15118)
  11541. fireGlobals = jQuery.event && s.global;
  11542. // Watch for a new set of requests
  11543. if ( fireGlobals && jQuery.active++ === 0 ) {
  11544. jQuery.event.trigger("ajaxStart");
  11545. }
  11546. // Uppercase the type
  11547. s.type = s.type.toUpperCase();
  11548. // Determine if request has content
  11549. s.hasContent = !rnoContent.test( s.type );
  11550. // Save the URL in case we're toying with the If-Modified-Since
  11551. // and/or If-None-Match header later on
  11552. cacheURL = s.url;
  11553. // More options handling for requests with no content
  11554. if ( !s.hasContent ) {
  11555. // If data is available, append data to url
  11556. if ( s.data ) {
  11557. cacheURL = ( s.url += ( rquery.test( cacheURL ) ? "&" : "?" ) + s.data );
  11558. // #9682: remove data so that it's not used in an eventual retry
  11559. delete s.data;
  11560. }
  11561. // Add anti-cache in url if needed
  11562. if ( s.cache === false ) {
  11563. s.url = rts.test( cacheURL ) ?
  11564. // If there is already a '_' parameter, set its value
  11565. cacheURL.replace( rts, "$1_=" + nonce++ ) :
  11566. // Otherwise add one to the end
  11567. cacheURL + ( rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + nonce++;
  11568. }
  11569. }
  11570. // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.
  11571. if ( s.ifModified ) {
  11572. if ( jQuery.lastModified[ cacheURL ] ) {
  11573. jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ cacheURL ] );
  11574. }
  11575. if ( jQuery.etag[ cacheURL ] ) {
  11576. jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ cacheURL ] );
  11577. }
  11578. }
  11579. // Set the correct header, if data is being sent
  11580. if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) {
  11581. jqXHR.setRequestHeader( "Content-Type", s.contentType );
  11582. }
  11583. // Set the Accepts header for the server, depending on the dataType
  11584. jqXHR.setRequestHeader(
  11585. "Accept",
  11586. s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[0] ] ?
  11587. s.accepts[ s.dataTypes[0] ] + ( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) :
  11588. s.accepts[ "*" ]
  11589. );
  11590. // Check for headers option
  11591. for ( i in s.headers ) {
  11592. jqXHR.setRequestHeader( i, s.headers[ i ] );
  11593. }
  11594. // Allow custom headers/mimetypes and early abort
  11595. if ( s.beforeSend && ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || state === 2 ) ) {
  11596. // Abort if not done already and return
  11597. return jqXHR.abort();
  11598. }
  11599. // aborting is no longer a cancellation
  11600. strAbort = "abort";
  11601. // Install callbacks on deferreds
  11602. for ( i in { success: 1, error: 1, complete: 1 } ) {
  11603. jqXHR[ i ]( s[ i ] );
  11604. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  11605. }
  11606. hooks.unqueued++;
  11607. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  11608. anim.always( function() {
  11609. // doing this makes sure that the complete handler will be called
  11610. // before this completes
  11611. anim.always( function() {
  11612. hooks.unqueued--;
  11613. if ( !jQuery.queue( elem, "fx" ).length ) {
  11614. hooks.empty.fire();
  11615. }
  11616. } );
  11617. } );
  11618. }
  11619. // height/width overflow pass
  11620. if ( elem.nodeType === 1 && ( "height" in props || "width" in props ) ) {
  11621. // Make sure that nothing sneaks out
  11622. // Record all 3 overflow attributes because IE does not
  11623. // change the overflow attribute when overflowX and
  11624. // overflowY are set to the same value
  11625. opts.overflow = [ style.overflow, style.overflowX, style.overflowY ];
  11626. // Set display property to inline-block for height/width
  11627. // animations on inline elements that are having width/height animated
  11628. display = jQuery.css( elem, "display" );
  11629. // Test default display if display is currently "none"
  11630. checkDisplay = display === "none" ?
  11631. jQuery._data( elem, "olddisplay" ) || defaultDisplay( elem.nodeName ) : display;
  11632. if ( checkDisplay === "inline" && jQuery.css( elem, "float" ) === "none" ) {
  11633. // inline-level elements accept inline-block;
  11634. // block-level elements need to be inline with layout
  11635. if ( !support.inlineBlockNeedsLayout || defaultDisplay( elem.nodeName ) === "inline" ) {
  11636. style.display = "inline-block";
  11637. } else {
  11638. style.zoom = 1;
  11639. }
  11640. }
  11641. }
  11642. if ( opts.overflow ) {
  11643. style.overflow = "hidden";
  11644. if ( !support.shrinkWrapBlocks() ) {
  11645. anim.always( function() {
  11646. style.overflow = opts.overflow[ 0 ];
  11647. style.overflowX = opts.overflow[ 1 ];
  11648. style.overflowY = opts.overflow[ 2 ];
  11649. } );
  11650. }
  11651. }
  11652. // show/hide pass
  11653. for ( prop in props ) {
  11654. value = props[ prop ];
  11655. if ( rfxtypes.exec( value ) ) {
  11656. delete props[ prop ];
  11657. toggle = toggle || value === "toggle";
  11658. if ( value === ( hidden ? "hide" : "show" ) ) {
  11659. // If there is dataShow left over from a stopped hide or show
  11660. // and we are going to proceed with show, we should pretend to be hidden
  11661. if ( value === "show" && dataShow && dataShow[ prop ] !== undefined ) {
  11662. hidden = true;
  11663. } else {
  11664. continue;
  11665. }
  11666. }
  11667. orig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop );
  11668. // Any non-fx value stops us from restoring the original display value
  11669. } else {
  11670. display = undefined;
  11671. }
  11672. }
  11673. if ( !jQuery.isEmptyObject( orig ) ) {
  11674. if ( dataShow ) {
  11675. if ( "hidden" in dataShow ) {
  11676. hidden = dataShow.hidden;
  11677. }
  11678. } else {
  11679. dataShow = jQuery._data( elem, "fxshow", {} );
  11680. }
  11681. // store state if its toggle - enables .stop().toggle() to "reverse"
  11682. if ( toggle ) {
  11683. dataShow.hidden = !hidden;
  11684. }
  11685. if ( hidden ) {
  11686. jQuery( elem ).show();
  11687. } else {
  11688. anim.done( function() {
  11689. jQuery( elem ).hide();
  11690. } );
  11691. }
  11692. anim.done( function() {
  11693. var prop;
  11694. jQuery._removeData( elem, "fxshow" );
  11695. for ( prop in orig ) {
  11696. jQuery.style( elem, prop, orig[ prop ] );
  11697. }
  11698. } );
  11699. for ( prop in orig ) {
  11700. tween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim );
  11701. if ( !( prop in dataShow ) ) {
  11702. dataShow[ prop ] = tween.start;
  11703. if ( hidden ) {
  11704. tween.end = tween.start;
  11705. tween.start = prop === "width" || prop === "height" ? 1 : 0;
  11706. }
  11707. }
  11708. }
  11709. // If this is a noop like .hide().hide(), restore an overwritten display value
  11710. } else if ( ( display === "none" ? defaultDisplay( elem.nodeName ) : display ) === "inline" ) {
  11711. style.display = display;
  11712. }
  11713. }
  11714. function propFilter( props, specialEasing ) {
  11715. var index, name, easing, value, hooks;
  11716. // camelCase, specialEasing and expand cssHook pass
  11717. for ( index in props ) {
  11718. name = jQuery.camelCase( index );
  11719. easing = specialEasing[ name ];
  11720. value = props[ index ];
  11721. if ( jQuery.isArray( value ) ) {
  11722. easing = value[ 1 ];
  11723. value = props[ index ] = value[ 0 ];
  11724. }
  11725. if ( index !== name ) {
  11726. props[ name ] = value;
  11727. delete props[ index ];
  11728. }
  11729. hooks = jQuery.cssHooks[ name ];
  11730. if ( hooks && "expand" in hooks ) {
  11731. value = hooks.expand( value );
  11732. delete props[ name ];
  11733. // not quite $.extend, this wont overwrite keys already present.
  11734. // also - reusing 'index' from above because we have the correct "name"
  11735. for ( index in value ) {
  11736. if ( !( index in props ) ) {
  11737. props[ index ] = value[ index ];
  11738. specialEasing[ index ] = easing;
  11739. }
  11740. }
  11741. } else {
  11742. specialEasing[ name ] = easing;
  11743. }
  11744. }
  11745. }
  11746. function Animation( elem, properties, options ) {
  11747. var result,
  11748. stopped,
  11749. index = 0,
  11750. length = Animation.prefilters.length,
  11751. deferred = jQuery.Deferred().always( function() {
  11752. // don't match elem in the :animated selector
  11753. delete tick.elem;
  11754. } ),
  11755. tick = function() {
  11756. if ( stopped ) {
  11757. return false;
  11758. }
  11759. var currentTime = fxNow || createFxNow(),
  11760. remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ),
  11761. // Support: Android 2.3
  11762. // Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497)
  11763. temp = remaining / animation.duration || 0,
  11764. percent = 1 - temp,
  11765. index = 0,
  11766. length = animation.tweens.length;
  11767. =======
  11768. // Get transport
  11769. transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR );
  11770. // If no transport, we auto-abort
  11771. if ( !transport ) {
  11772. done( -1, "No Transport" );
  11773. } else {
  11774. jqXHR.readyState = 1;
  11775. // Send global event
  11776. if ( fireGlobals ) {
  11777. globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] );
  11778. }
  11779. // Timeout
  11780. if ( s.async && s.timeout > 0 ) {
  11781. timeoutTimer = setTimeout(function() {
  11782. jqXHR.abort("timeout");
  11783. }, s.timeout );
  11784. }
  11785. try {
  11786. state = 1;
  11787. transport.send( requestHeaders, done );
  11788. } catch ( e ) {
  11789. // Propagate exception as error if not done
  11790. if ( state < 2 ) {
  11791. done( -1, e );
  11792. // Simply rethrow otherwise
  11793. } else {
  11794. throw e;
  11795. }
  11796. }
  11797. }
  11798. // Callback for when everything is done
  11799. function done( status, nativeStatusText, responses, headers ) {
  11800. var isSuccess, success, error, response, modified,
  11801. statusText = nativeStatusText;
  11802. // Called once
  11803. if ( state === 2 ) {
  11804. return;
  11805. }
  11806. // State is "done" now
  11807. state = 2;
  11808. // Clear timeout if it exists
  11809. if ( timeoutTimer ) {
  11810. clearTimeout( timeoutTimer );
  11811. }
  11812. // Dereference transport for early garbage collection
  11813. // (no matter how long the jqXHR object will be used)
  11814. transport = undefined;
  11815. // Cache response headers
  11816. responseHeadersString = headers || "";
  11817. // Set readyState
  11818. jqXHR.readyState = status > 0 ? 4 : 0;
  11819. // Determine if successful
  11820. isSuccess = status >= 200 && status < 300 || status === 304;
  11821. // Get response data
  11822. if ( responses ) {
  11823. response = ajaxHandleResponses( s, jqXHR, responses );
  11824. }
  11825. // Convert no matter what (that way responseXXX fields are always set)
  11826. response = ajaxConvert( s, response, jqXHR, isSuccess );
  11827. // If successful, handle type chaining
  11828. if ( isSuccess ) {
  11829. // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.
  11830. if ( s.ifModified ) {
  11831. modified = jqXHR.getResponseHeader("Last-Modified");
  11832. if ( modified ) {
  11833. jQuery.lastModified[ cacheURL ] = modified;
  11834. }
  11835. modified = jqXHR.getResponseHeader("etag");
  11836. if ( modified ) {
  11837. jQuery.etag[ cacheURL ] = modified;
  11838. }
  11839. }
  11840. // if no content
  11841. if ( status === 204 || s.type === "HEAD" ) {
  11842. statusText = "nocontent";
  11843. // if not modified
  11844. } else if ( status === 304 ) {
  11845. statusText = "notmodified";
  11846. // If we have data, let's convert it
  11847. } else {
  11848. statusText = response.state;
  11849. success = response.data;
  11850. error = response.error;
  11851. isSuccess = !error;
  11852. }
  11853. } else {
  11854. // We extract error from statusText
  11855. // then normalize statusText and status for non-aborts
  11856. error = statusText;
  11857. if ( status || !statusText ) {
  11858. statusText = "error";
  11859. if ( status < 0 ) {
  11860. status = 0;
  11861. }
  11862. }
  11863. }
  11864. // Set data for the fake xhr object
  11865. jqXHR.status = status;
  11866. jqXHR.statusText = ( nativeStatusText || statusText ) + "";
  11867. // Success/Error
  11868. if ( isSuccess ) {
  11869. deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] );
  11870. } else {
  11871. deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] );
  11872. }
  11873. // Status-dependent callbacks
  11874. jqXHR.statusCode( statusCode );
  11875. statusCode = undefined;
  11876. if ( fireGlobals ) {
  11877. globalEventContext.trigger( isSuccess ? "ajaxSuccess" : "ajaxError",
  11878. [ jqXHR, s, isSuccess ? success : error ] );
  11879. }
  11880. // Complete
  11881. completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] );
  11882. if ( fireGlobals ) {
  11883. globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] );
  11884. // Handle the global AJAX counter
  11885. if ( !( --jQuery.active ) ) {
  11886. jQuery.event.trigger("ajaxStop");
  11887. }
  11888. }
  11889. }
  11890. return jqXHR;
  11891. },
  11892. getJSON: function( url, data, callback ) {
  11893. return jQuery.get( url, data, callback, "json" );
  11894. },
  11895. getScript: function( url, callback ) {
  11896. return jQuery.get( url, undefined, callback, "script" );
  11897. }
  11898. });
  11899. jQuery.each( [ "get", "post" ], function( i, method ) {
  11900. jQuery[ method ] = function( url, data, callback, type ) {
  11901. // shift arguments if data argument was omitted
  11902. if ( jQuery.isFunction( data ) ) {
  11903. type = type || callback;
  11904. callback = data;
  11905. data = undefined;
  11906. }
  11907. return jQuery.ajax({
  11908. url: url,
  11909. type: method,
  11910. dataType: type,
  11911. data: data,
  11912. success: callback
  11913. });
  11914. };
  11915. });
  11916. jQuery._evalUrl = function( url ) {
  11917. return jQuery.ajax({
  11918. url: url,
  11919. type: "GET",
  11920. dataType: "script",
  11921. async: false,
  11922. global: false,
  11923. "throws": true
  11924. });
  11925. };
  11926. jQuery.fn.extend({
  11927. wrapAll: function( html ) {
  11928. if ( jQuery.isFunction( html ) ) {
  11929. return this.each(function(i) {
  11930. jQuery(this).wrapAll( html.call(this, i) );
  11931. });
  11932. }
  11933. if ( this[0] ) {
  11934. // The elements to wrap the target around
  11935. var wrap = jQuery( html, this[0].ownerDocument ).eq(0).clone(true);
  11936. if ( this[0].parentNode ) {
  11937. wrap.insertBefore( this[0] );
  11938. }
  11939. wrap.map(function() {
  11940. var elem = this;
  11941. while ( elem.firstChild && elem.firstChild.nodeType === 1 ) {
  11942. elem = elem.firstChild;
  11943. }
  11944. return elem;
  11945. }).append( this );
  11946. }
  11947. return this;
  11948. },
  11949. wrapInner: function( html ) {
  11950. if ( jQuery.isFunction( html ) ) {
  11951. return this.each(function(i) {
  11952. jQuery(this).wrapInner( html.call(this, i) );
  11953. });
  11954. }
  11955. return this.each(function() {
  11956. var self = jQuery( this ),
  11957. contents = self.contents();
  11958. if ( contents.length ) {
  11959. contents.wrapAll( html );
  11960. } else {
  11961. self.append( html );
  11962. }
  11963. });
  11964. },
  11965. wrap: function( html ) {
  11966. var isFunction = jQuery.isFunction( html );
  11967. return this.each(function(i) {
  11968. jQuery( this ).wrapAll( isFunction ? html.call(this, i) : html );
  11969. });
  11970. },
  11971. unwrap: function() {
  11972. return this.parent().each(function() {
  11973. if ( !jQuery.nodeName( this, "body" ) ) {
  11974. jQuery( this ).replaceWith( this.childNodes );
  11975. }
  11976. }).end();
  11977. }
  11978. });
  11979. jQuery.expr.filters.hidden = function( elem ) {
  11980. // Support: Opera <= 12.12
  11981. // Opera reports offsetWidths and offsetHeights less than zero on some elements
  11982. return elem.offsetWidth <= 0 && elem.offsetHeight <= 0 ||
  11983. (!support.reliableHiddenOffsets() &&
  11984. ((elem.style && elem.style.display) || jQuery.css( elem, "display" )) === "none");
  11985. };
  11986. jQuery.expr.filters.visible = function( elem ) {
  11987. return !jQuery.expr.filters.hidden( elem );
  11988. };
  11989. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  11990. var r20 = /%20/g,
  11991. rbracket = /\[\]$/,
  11992. rCRLF = /\r?\n/g,
  11993. rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i,
  11994. rsubmittable = /^(?:input|select|textarea|keygen)/i;
  11995. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  11996. deferred.notifyWith( elem, [ animation, percent, remaining ] );
  11997. =======
  11998. function buildParams( prefix, obj, traditional, add ) {
  11999. var name;
  12000. if ( jQuery.isArray( obj ) ) {
  12001. // Serialize array item.
  12002. jQuery.each( obj, function( i, v ) {
  12003. if ( traditional || rbracket.test( prefix ) ) {
  12004. // Treat each array item as a scalar.
  12005. add( prefix, v );
  12006. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  12007. } else {
  12008. // Item is non-scalar (array or object), encode its numeric index.
  12009. buildParams( prefix + "[" + ( typeof v === "object" ? i : "" ) + "]", v, traditional, add );
  12010. }
  12011. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  12012. },
  12013. animation = deferred.promise( {
  12014. elem: elem,
  12015. props: jQuery.extend( {}, properties ),
  12016. opts: jQuery.extend( true, {
  12017. specialEasing: {},
  12018. easing: jQuery.easing._default
  12019. }, options ),
  12020. originalProperties: properties,
  12021. originalOptions: options,
  12022. startTime: fxNow || createFxNow(),
  12023. duration: options.duration,
  12024. tweens: [],
  12025. createTween: function( prop, end ) {
  12026. var tween = jQuery.Tween( elem, animation.opts, prop, end,
  12027. animation.opts.specialEasing[ prop ] || animation.opts.easing );
  12028. animation.tweens.push( tween );
  12029. return tween;
  12030. },
  12031. stop: function( gotoEnd ) {
  12032. var index = 0,
  12033. // if we are going to the end, we want to run all the tweens
  12034. // otherwise we skip this part
  12035. length = gotoEnd ? animation.tweens.length : 0;
  12036. if ( stopped ) {
  12037. return this;
  12038. }
  12039. stopped = true;
  12040. for ( ; index < length ; index++ ) {
  12041. animation.tweens[ index ].run( 1 );
  12042. }
  12043. // resolve when we played the last frame
  12044. // otherwise, reject
  12045. if ( gotoEnd ) {
  12046. deferred.notifyWith( elem, [ animation, 1, 0 ] );
  12047. deferred.resolveWith( elem, [ animation, gotoEnd ] );
  12048. } else {
  12049. deferred.rejectWith( elem, [ animation, gotoEnd ] );
  12050. }
  12051. return this;
  12052. }
  12053. } ),
  12054. props = animation.props;
  12055. =======
  12056. });
  12057. } else if ( !traditional && jQuery.type( obj ) === "object" ) {
  12058. // Serialize object item.
  12059. for ( name in obj ) {
  12060. buildParams( prefix + "[" + name + "]", obj[ name ], traditional, add );
  12061. }
  12062. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  12063. } else {
  12064. // Serialize scalar item.
  12065. add( prefix, obj );
  12066. }
  12067. }
  12068. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  12069. for ( ; index < length ; index++ ) {
  12070. result = Animation.prefilters[ index ].call( animation, elem, props, animation.opts );
  12071. if ( result ) {
  12072. if ( jQuery.isFunction( result.stop ) ) {
  12073. jQuery._queueHooks( animation.elem, animation.opts.queue ).stop =
  12074. jQuery.proxy( result.stop, result );
  12075. }
  12076. return result;
  12077. }
  12078. =======
  12079. // Serialize an array of form elements or a set of
  12080. // key/values into a query string
  12081. jQuery.param = function( a, traditional ) {
  12082. var prefix,
  12083. s = [],
  12084. add = function( key, value ) {
  12085. // If value is a function, invoke it and return its value
  12086. value = jQuery.isFunction( value ) ? value() : ( value == null ? "" : value );
  12087. s[ s.length ] = encodeURIComponent( key ) + "=" + encodeURIComponent( value );
  12088. };
  12089. // Set traditional to true for jQuery <= 1.3.2 behavior.
  12090. if ( traditional === undefined ) {
  12091. traditional = jQuery.ajaxSettings && jQuery.ajaxSettings.traditional;
  12092. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  12093. }
  12094. // If an array was passed in, assume that it is an array of form elements.
  12095. if ( jQuery.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) {
  12096. // Serialize the form elements
  12097. jQuery.each( a, function() {
  12098. add( this.name, this.value );
  12099. });
  12100. } else {
  12101. // If traditional, encode the "old" way (the way 1.3.2 or older
  12102. // did it), otherwise encode params recursively.
  12103. for ( prefix in a ) {
  12104. buildParams( prefix, a[ prefix ], traditional, add );
  12105. }
  12106. }
  12107. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  12108. jQuery.fx.timer(
  12109. jQuery.extend( tick, {
  12110. elem: elem,
  12111. anim: animation,
  12112. queue: animation.opts.queue
  12113. } )
  12114. );
  12115. =======
  12116. // Return the resulting serialization
  12117. return s.join( "&" ).replace( r20, "+" );
  12118. };
  12119. jQuery.fn.extend({
  12120. serialize: function() {
  12121. return jQuery.param( this.serializeArray() );
  12122. },
  12123. serializeArray: function() {
  12124. return this.map(function() {
  12125. // Can add propHook for "elements" to filter or add form elements
  12126. var elements = jQuery.prop( this, "elements" );
  12127. return elements ? jQuery.makeArray( elements ) : this;
  12128. })
  12129. .filter(function() {
  12130. var type = this.type;
  12131. // Use .is(":disabled") so that fieldset[disabled] works
  12132. return this.name && !jQuery( this ).is( ":disabled" ) &&
  12133. rsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) &&
  12134. ( this.checked || !rcheckableType.test( type ) );
  12135. })
  12136. .map(function( i, elem ) {
  12137. var val = jQuery( this ).val();
  12138. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  12139. return val == null ?
  12140. null :
  12141. jQuery.isArray( val ) ?
  12142. jQuery.map( val, function( val ) {
  12143. return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) };
  12144. }) :
  12145. { name: elem.name, value: val.replace( rCRLF, "\r\n" ) };
  12146. }).get();
  12147. }
  12148. });
  12149. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  12150. jQuery.Animation = jQuery.extend( Animation, {
  12151. tweeners: {
  12152. "*": [ function( prop, value ) {
  12153. var tween = this.createTween( prop, value );
  12154. adjustCSS( tween.elem, prop, rcssNum.exec( value ), tween );
  12155. return tween;
  12156. } ]
  12157. },
  12158. tweener: function( props, callback ) {
  12159. if ( jQuery.isFunction( props ) ) {
  12160. callback = props;
  12161. props = [ "*" ];
  12162. } else {
  12163. props = props.match( rnotwhite );
  12164. }
  12165. =======
  12166. // Create the request object
  12167. // (This is still attached to ajaxSettings for backward compatibility)
  12168. jQuery.ajaxSettings.xhr = window.ActiveXObject !== undefined ?
  12169. // Support: IE6+
  12170. function() {
  12171. // XHR cannot access local files, always use ActiveX for that case
  12172. return !this.isLocal &&
  12173. // Support: IE7-8
  12174. // oldIE XHR does not support non-RFC2616 methods (#13240)
  12175. // See http://msdn.microsoft.com/en-us/library/ie/ms536648(v=vs.85).aspx
  12176. // and http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9
  12177. // Although this check for six methods instead of eight
  12178. // since IE also does not support "trace" and "connect"
  12179. /^(get|post|head|put|delete|options)$/i.test( this.type ) &&
  12180. createStandardXHR() || createActiveXHR();
  12181. } :
  12182. // For all other browsers, use the standard XMLHttpRequest object
  12183. createStandardXHR;
  12184. var xhrId = 0,
  12185. xhrCallbacks = {},
  12186. xhrSupported = jQuery.ajaxSettings.xhr();
  12187. // Support: IE<10
  12188. // Open requests must be manually aborted on unload (#5280)
  12189. // See https://support.microsoft.com/kb/2856746 for more info
  12190. if ( window.attachEvent ) {
  12191. window.attachEvent( "onunload", function() {
  12192. for ( var key in xhrCallbacks ) {
  12193. xhrCallbacks[ key ]( undefined, true );
  12194. }
  12195. });
  12196. }
  12197. // Determine support properties
  12198. support.cors = !!xhrSupported && ( "withCredentials" in xhrSupported );
  12199. xhrSupported = support.ajax = !!xhrSupported;
  12200. // Create transport if the browser can provide an xhr
  12201. if ( xhrSupported ) {
  12202. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  12203. jQuery.ajaxTransport(function( options ) {
  12204. // Cross domain only allowed if supported through XMLHttpRequest
  12205. if ( !options.crossDomain || support.cors ) {
  12206. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  12207. for ( ; index < length ; index++ ) {
  12208. prop = props[ index ];
  12209. Animation.tweeners[ prop ] = Animation.tweeners[ prop ] || [];
  12210. Animation.tweeners[ prop ].unshift( callback );
  12211. }
  12212. },
  12213. prefilters: [ defaultPrefilter ],
  12214. prefilter: function( callback, prepend ) {
  12215. if ( prepend ) {
  12216. Animation.prefilters.unshift( callback );
  12217. } else {
  12218. Animation.prefilters.push( callback );
  12219. }
  12220. }
  12221. } );
  12222. jQuery.speed = function( speed, easing, fn ) {
  12223. var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : {
  12224. complete: fn || !fn && easing ||
  12225. jQuery.isFunction( speed ) && speed,
  12226. duration: speed,
  12227. easing: fn && easing || easing && !jQuery.isFunction( easing ) && easing
  12228. };
  12229. opt.duration = jQuery.fx.off ? 0 : typeof opt.duration === "number" ? opt.duration :
  12230. opt.duration in jQuery.fx.speeds ?
  12231. jQuery.fx.speeds[ opt.duration ] : jQuery.fx.speeds._default;
  12232. // normalize opt.queue - true/undefined/null -> "fx"
  12233. if ( opt.queue == null || opt.queue === true ) {
  12234. opt.queue = "fx";
  12235. }
  12236. // Queueing
  12237. opt.old = opt.complete;
  12238. opt.complete = function() {
  12239. if ( jQuery.isFunction( opt.old ) ) {
  12240. opt.old.call( this );
  12241. }
  12242. if ( opt.queue ) {
  12243. jQuery.dequeue( this, opt.queue );
  12244. }
  12245. };
  12246. return opt;
  12247. };
  12248. jQuery.fn.extend( {
  12249. fadeTo: function( speed, to, easing, callback ) {
  12250. // show any hidden elements after setting opacity to 0
  12251. return this.filter( isHidden ).css( "opacity", 0 ).show()
  12252. // animate to the value specified
  12253. .end().animate( { opacity: to }, speed, easing, callback );
  12254. },
  12255. animate: function( prop, speed, easing, callback ) {
  12256. var empty = jQuery.isEmptyObject( prop ),
  12257. optall = jQuery.speed( speed, easing, callback ),
  12258. doAnimation = function() {
  12259. // Operate on a copy of prop so per-property easing won't be lost
  12260. var anim = Animation( this, jQuery.extend( {}, prop ), optall );
  12261. =======
  12262. var callback;
  12263. return {
  12264. send: function( headers, complete ) {
  12265. var i,
  12266. xhr = options.xhr(),
  12267. id = ++xhrId;
  12268. // Open the socket
  12269. xhr.open( options.type, options.url, options.async, options.username, options.password );
  12270. // Apply custom fields if provided
  12271. if ( options.xhrFields ) {
  12272. for ( i in options.xhrFields ) {
  12273. xhr[ i ] = options.xhrFields[ i ];
  12274. }
  12275. }
  12276. // Override mime type if needed
  12277. if ( options.mimeType && xhr.overrideMimeType ) {
  12278. xhr.overrideMimeType( options.mimeType );
  12279. }
  12280. // X-Requested-With header
  12281. // For cross-domain requests, seeing as conditions for a preflight are
  12282. // akin to a jigsaw puzzle, we simply never set it to be sure.
  12283. // (it can always be set on a per-request basis or even using ajaxSetup)
  12284. // For same-domain requests, won't change header if already provided.
  12285. if ( !options.crossDomain && !headers["X-Requested-With"] ) {
  12286. headers["X-Requested-With"] = "XMLHttpRequest";
  12287. }
  12288. // Set headers
  12289. for ( i in headers ) {
  12290. // Support: IE<9
  12291. // IE's ActiveXObject throws a 'Type Mismatch' exception when setting
  12292. // request header to a null-value.
  12293. //
  12294. // To keep consistent with other XHR implementations, cast the value
  12295. // to string and ignore `undefined`.
  12296. if ( headers[ i ] !== undefined ) {
  12297. xhr.setRequestHeader( i, headers[ i ] + "" );
  12298. }
  12299. }
  12300. // Do send the request
  12301. // This may raise an exception which is actually
  12302. // handled in jQuery.ajax (so no try/catch here)
  12303. xhr.send( ( options.hasContent && options.data ) || null );
  12304. // Listener
  12305. callback = function( _, isAbort ) {
  12306. var status, statusText, responses;
  12307. // Was never called and is aborted or complete
  12308. if ( callback && ( isAbort || xhr.readyState === 4 ) ) {
  12309. // Clean up
  12310. delete xhrCallbacks[ id ];
  12311. callback = undefined;
  12312. xhr.onreadystatechange = jQuery.noop;
  12313. // Abort manually if needed
  12314. if ( isAbort ) {
  12315. if ( xhr.readyState !== 4 ) {
  12316. xhr.abort();
  12317. }
  12318. } else {
  12319. responses = {};
  12320. status = xhr.status;
  12321. // Support: IE<10
  12322. // Accessing binary-data responseText throws an exception
  12323. // (#11426)
  12324. if ( typeof xhr.responseText === "string" ) {
  12325. responses.text = xhr.responseText;
  12326. }
  12327. // Firefox throws an exception when accessing
  12328. // statusText for faulty cross-domain requests
  12329. try {
  12330. statusText = xhr.statusText;
  12331. } catch( e ) {
  12332. // We normalize with Webkit giving an empty statusText
  12333. statusText = "";
  12334. }
  12335. // Filter status for non standard behaviors
  12336. // If the request is local and we have data: assume a success
  12337. // (success with no data won't get notified, that's the best we
  12338. // can do given current implementations)
  12339. if ( !status && options.isLocal && !options.crossDomain ) {
  12340. status = responses.text ? 200 : 404;
  12341. // IE - #1450: sometimes returns 1223 when it should be 204
  12342. } else if ( status === 1223 ) {
  12343. status = 204;
  12344. }
  12345. }
  12346. }
  12347. // Call complete if needed
  12348. if ( responses ) {
  12349. complete( status, statusText, responses, xhr.getAllResponseHeaders() );
  12350. }
  12351. };
  12352. if ( !options.async ) {
  12353. // if we're in sync mode we fire the callback
  12354. callback();
  12355. } else if ( xhr.readyState === 4 ) {
  12356. // (IE6 & IE7) if it's in cache and has been
  12357. // retrieved directly we need to fire the callback
  12358. setTimeout( callback );
  12359. } else {
  12360. // Add to the list of active xhr callbacks
  12361. xhr.onreadystatechange = xhrCallbacks[ id ] = callback;
  12362. }
  12363. },
  12364. abort: function() {
  12365. if ( callback ) {
  12366. callback( undefined, true );
  12367. }
  12368. }
  12369. };
  12370. }
  12371. });
  12372. }
  12373. // Functions to create xhrs
  12374. function createStandardXHR() {
  12375. try {
  12376. return new window.XMLHttpRequest();
  12377. } catch( e ) {}
  12378. }
  12379. function createActiveXHR() {
  12380. try {
  12381. return new window.ActiveXObject( "Microsoft.XMLHTTP" );
  12382. } catch( e ) {}
  12383. }
  12384. // Install script dataType
  12385. jQuery.ajaxSetup({
  12386. accepts: {
  12387. script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"
  12388. },
  12389. contents: {
  12390. script: /(?:java|ecma)script/
  12391. },
  12392. converters: {
  12393. "text script": function( text ) {
  12394. jQuery.globalEval( text );
  12395. return text;
  12396. }
  12397. }
  12398. });
  12399. // Handle cache's special case and global
  12400. jQuery.ajaxPrefilter( "script", function( s ) {
  12401. if ( s.cache === undefined ) {
  12402. s.cache = false;
  12403. }
  12404. if ( s.crossDomain ) {
  12405. s.type = "GET";
  12406. s.global = false;
  12407. }
  12408. });
  12409. // Bind script tag hack transport
  12410. jQuery.ajaxTransport( "script", function(s) {
  12411. // This transport only deals with cross domain requests
  12412. if ( s.crossDomain ) {
  12413. var script,
  12414. head = document.head || jQuery("head")[0] || document.documentElement;
  12415. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  12416. return {
  12417. send: function( _, callback ) {
  12418. script = document.createElement("script");
  12419. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  12420. return this.each( function() {
  12421. var dequeue = true,
  12422. index = type != null && type + "queueHooks",
  12423. timers = jQuery.timers,
  12424. data = jQuery._data( this );
  12425. =======
  12426. script.async = true;
  12427. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  12428. if ( s.scriptCharset ) {
  12429. script.charset = s.scriptCharset;
  12430. }
  12431. script.src = s.url;
  12432. // Attach handlers for all browsers
  12433. script.onload = script.onreadystatechange = function( _, isAbort ) {
  12434. if ( isAbort || !script.readyState || /loaded|complete/.test( script.readyState ) ) {
  12435. // Handle memory leak in IE
  12436. script.onload = script.onreadystatechange = null;
  12437. // Remove the script
  12438. if ( script.parentNode ) {
  12439. script.parentNode.removeChild( script );
  12440. }
  12441. // Dereference the script
  12442. script = null;
  12443. // Callback if not abort
  12444. if ( !isAbort ) {
  12445. callback( 200, "success" );
  12446. }
  12447. }
  12448. };
  12449. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  12450. for ( index = timers.length; index--; ) {
  12451. if ( timers[ index ].elem === this &&
  12452. ( type == null || timers[ index ].queue === type ) ) {
  12453. timers[ index ].anim.stop( gotoEnd );
  12454. dequeue = false;
  12455. timers.splice( index, 1 );
  12456. =======
  12457. // Circumvent IE6 bugs with base elements (#2709 and #4378) by prepending
  12458. // Use native DOM manipulation to avoid our domManip AJAX trickery
  12459. head.insertBefore( script, head.firstChild );
  12460. },
  12461. abort: function() {
  12462. if ( script ) {
  12463. script.onload( undefined, true );
  12464. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  12465. }
  12466. }
  12467. };
  12468. }
  12469. });
  12470. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  12471. // start the next in the queue if the last step wasn't forced
  12472. // timers currently will call their complete callbacks, which will dequeue
  12473. // but only if they were gotoEnd
  12474. if ( dequeue || !gotoEnd ) {
  12475. jQuery.dequeue( this, type );
  12476. }
  12477. } );
  12478. },
  12479. finish: function( type ) {
  12480. if ( type !== false ) {
  12481. type = type || "fx";
  12482. }
  12483. return this.each( function() {
  12484. var index,
  12485. data = jQuery._data( this ),
  12486. queue = data[ type + "queue" ],
  12487. hooks = data[ type + "queueHooks" ],
  12488. timers = jQuery.timers,
  12489. length = queue ? queue.length : 0;
  12490. =======
  12491. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  12492. var oldCallbacks = [],
  12493. rjsonp = /(=)\?(?=&|$)|\?\?/;
  12494. // Default jsonp settings
  12495. jQuery.ajaxSetup({
  12496. jsonp: "callback",
  12497. jsonpCallback: function() {
  12498. var callback = oldCallbacks.pop() || ( jQuery.expando + "_" + ( nonce++ ) );
  12499. this[ callback ] = true;
  12500. return callback;
  12501. }
  12502. });
  12503. // Detect, normalize options and install callbacks for jsonp requests
  12504. jQuery.ajaxPrefilter( "json jsonp", function( s, originalSettings, jqXHR ) {
  12505. var callbackName, overwritten, responseContainer,
  12506. jsonProp = s.jsonp !== false && ( rjsonp.test( s.url ) ?
  12507. "url" :
  12508. typeof s.data === "string" && !( s.contentType || "" ).indexOf("application/x-www-form-urlencoded") && rjsonp.test( s.data ) && "data"
  12509. );
  12510. // Handle iff the expected data type is "jsonp" or we have a parameter to set
  12511. if ( jsonProp || s.dataTypes[ 0 ] === "jsonp" ) {
  12512. // Get callback name, remembering preexisting value associated with it
  12513. callbackName = s.jsonpCallback = jQuery.isFunction( s.jsonpCallback ) ?
  12514. s.jsonpCallback() :
  12515. s.jsonpCallback;
  12516. // Insert callback into url or form data
  12517. if ( jsonProp ) {
  12518. s[ jsonProp ] = s[ jsonProp ].replace( rjsonp, "$1" + callbackName );
  12519. } else if ( s.jsonp !== false ) {
  12520. s.url += ( rquery.test( s.url ) ? "&" : "?" ) + s.jsonp + "=" + callbackName;
  12521. }
  12522. // Use data converter to retrieve json after script execution
  12523. s.converters["script json"] = function() {
  12524. if ( !responseContainer ) {
  12525. jQuery.error( callbackName + " was not called" );
  12526. }
  12527. return responseContainer[ 0 ];
  12528. };
  12529. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  12530. // look for any active animations, and finish them
  12531. for ( index = timers.length; index--; ) {
  12532. if ( timers[ index ].elem === this && timers[ index ].queue === type ) {
  12533. timers[ index ].anim.stop( true );
  12534. timers.splice( index, 1 );
  12535. }
  12536. }
  12537. // look for any animations in the old queue and finish them
  12538. for ( index = 0; index < length; index++ ) {
  12539. if ( queue[ index ] && queue[ index ].finish ) {
  12540. queue[ index ].finish.call( this );
  12541. }
  12542. }
  12543. // turn off finishing flag
  12544. delete data.finish;
  12545. } );
  12546. }
  12547. } );
  12548. jQuery.each( [ "toggle", "show", "hide" ], function( i, name ) {
  12549. var cssFn = jQuery.fn[ name ];
  12550. jQuery.fn[ name ] = function( speed, easing, callback ) {
  12551. return speed == null || typeof speed === "boolean" ?
  12552. cssFn.apply( this, arguments ) :
  12553. this.animate( genFx( name, true ), speed, easing, callback );
  12554. };
  12555. } );
  12556. // Generate shortcuts for custom animations
  12557. jQuery.each( {
  12558. slideDown: genFx( "show" ),
  12559. slideUp: genFx( "hide" ),
  12560. slideToggle: genFx( "toggle" ),
  12561. fadeIn: { opacity: "show" },
  12562. fadeOut: { opacity: "hide" },
  12563. fadeToggle: { opacity: "toggle" }
  12564. }, function( name, props ) {
  12565. jQuery.fn[ name ] = function( speed, easing, callback ) {
  12566. return this.animate( props, speed, easing, callback );
  12567. };
  12568. } );
  12569. jQuery.timers = [];
  12570. jQuery.fx.tick = function() {
  12571. var timer,
  12572. timers = jQuery.timers,
  12573. i = 0;
  12574. fxNow = jQuery.now();
  12575. for ( ; i < timers.length; i++ ) {
  12576. timer = timers[ i ];
  12577. // Checks the timer has not already been removed
  12578. if ( !timer() && timers[ i ] === timer ) {
  12579. timers.splice( i--, 1 );
  12580. }
  12581. }
  12582. if ( !timers.length ) {
  12583. jQuery.fx.stop();
  12584. }
  12585. fxNow = undefined;
  12586. };
  12587. jQuery.fx.timer = function( timer ) {
  12588. jQuery.timers.push( timer );
  12589. if ( timer() ) {
  12590. jQuery.fx.start();
  12591. } else {
  12592. jQuery.timers.pop();
  12593. }
  12594. };
  12595. jQuery.fx.interval = 13;
  12596. jQuery.fx.start = function() {
  12597. if ( !timerId ) {
  12598. timerId = window.setInterval( jQuery.fx.tick, jQuery.fx.interval );
  12599. }
  12600. };
  12601. jQuery.fx.stop = function() {
  12602. window.clearInterval( timerId );
  12603. timerId = null;
  12604. };
  12605. jQuery.fx.speeds = {
  12606. slow: 600,
  12607. fast: 200,
  12608. // Default speed
  12609. _default: 400
  12610. };
  12611. // Based off of the plugin by Clint Helfers, with permission.
  12612. // http://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/
  12613. jQuery.fn.delay = function( time, type ) {
  12614. time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time;
  12615. type = type || "fx";
  12616. return this.queue( type, function( next, hooks ) {
  12617. var timeout = window.setTimeout( next, time );
  12618. hooks.stop = function() {
  12619. window.clearTimeout( timeout );
  12620. };
  12621. } );
  12622. };
  12623. ( function() {
  12624. var a,
  12625. input = document.createElement( "input" ),
  12626. div = document.createElement( "div" ),
  12627. select = document.createElement( "select" ),
  12628. opt = select.appendChild( document.createElement( "option" ) );
  12629. // Setup
  12630. div = document.createElement( "div" );
  12631. div.setAttribute( "className", "t" );
  12632. div.innerHTML = " <link/><table></table><a href='/a'>a</a><input type='checkbox'/>";
  12633. a = div.getElementsByTagName( "a" )[ 0 ];
  12634. // Support: Windows Web Apps (WWA)
  12635. // `type` must use .setAttribute for WWA (#14901)
  12636. input.setAttribute( "type", "checkbox" );
  12637. div.appendChild( input );
  12638. a = div.getElementsByTagName( "a" )[ 0 ];
  12639. // First batch of tests.
  12640. a.style.cssText = "top:1px";
  12641. // Test setAttribute on camelCase class.
  12642. // If it works, we need attrFixes when doing get/setAttribute (ie6/7)
  12643. support.getSetAttribute = div.className !== "t";
  12644. // Get the style information from getAttribute
  12645. // (IE uses .cssText instead)
  12646. support.style = /top/.test( a.getAttribute( "style" ) );
  12647. // Make sure that URLs aren't manipulated
  12648. // (IE normalizes it by default)
  12649. support.hrefNormalized = a.getAttribute( "href" ) === "/a";
  12650. // Check the default checkbox/radio value ("" on WebKit; "on" elsewhere)
  12651. support.checkOn = !!input.value;
  12652. // Make sure that a selected-by-default option has a working selected property.
  12653. // (WebKit defaults to false instead of true, IE too, if it's in an optgroup)
  12654. support.optSelected = opt.selected;
  12655. // Tests for enctype support on a form (#6743)
  12656. support.enctype = !!document.createElement( "form" ).enctype;
  12657. // Make sure that the options inside disabled selects aren't marked as disabled
  12658. // (WebKit marks them as disabled)
  12659. select.disabled = true;
  12660. support.optDisabled = !opt.disabled;
  12661. // Support: IE8 only
  12662. // Check if we can trust getAttribute("value")
  12663. input = document.createElement( "input" );
  12664. input.setAttribute( "value", "" );
  12665. support.input = input.getAttribute( "value" ) === "";
  12666. // Check if an input maintains its value after becoming a radio
  12667. input.value = "t";
  12668. input.setAttribute( "type", "radio" );
  12669. support.radioValue = input.value === "t";
  12670. } )();
  12671. var rreturn = /\r/g,
  12672. rspaces = /[\x20\t\r\n\f]+/g;
  12673. jQuery.fn.extend( {
  12674. val: function( value ) {
  12675. var hooks, ret, isFunction,
  12676. elem = this[ 0 ];
  12677. if ( !arguments.length ) {
  12678. if ( elem ) {
  12679. hooks = jQuery.valHooks[ elem.type ] ||
  12680. jQuery.valHooks[ elem.nodeName.toLowerCase() ];
  12681. if (
  12682. hooks &&
  12683. "get" in hooks &&
  12684. ( ret = hooks.get( elem, "value" ) ) !== undefined
  12685. ) {
  12686. return ret;
  12687. }
  12688. ret = elem.value;
  12689. return typeof ret === "string" ?
  12690. // handle most common string cases
  12691. ret.replace( rreturn, "" ) :
  12692. // handle cases where value is null/undef or number
  12693. ret == null ? "" : ret;
  12694. }
  12695. return;
  12696. }
  12697. isFunction = jQuery.isFunction( value );
  12698. return this.each( function( i ) {
  12699. var val;
  12700. if ( this.nodeType !== 1 ) {
  12701. return;
  12702. }
  12703. if ( isFunction ) {
  12704. val = value.call( this, i, jQuery( this ).val() );
  12705. } else {
  12706. val = value;
  12707. }
  12708. // Treat null/undefined as ""; convert numbers to string
  12709. if ( val == null ) {
  12710. val = "";
  12711. } else if ( typeof val === "number" ) {
  12712. val += "";
  12713. } else if ( jQuery.isArray( val ) ) {
  12714. val = jQuery.map( val, function( value ) {
  12715. return value == null ? "" : value + "";
  12716. } );
  12717. }
  12718. hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ];
  12719. // If set returns undefined, fall back to normal setting
  12720. if ( !hooks || !( "set" in hooks ) || hooks.set( this, val, "value" ) === undefined ) {
  12721. this.value = val;
  12722. }
  12723. } );
  12724. }
  12725. } );
  12726. jQuery.extend( {
  12727. valHooks: {
  12728. option: {
  12729. get: function( elem ) {
  12730. var val = jQuery.find.attr( elem, "value" );
  12731. return val != null ?
  12732. val :
  12733. // Support: IE10-11+
  12734. // option.text throws exceptions (#14686, #14858)
  12735. // Strip and collapse whitespace
  12736. // https://html.spec.whatwg.org/#strip-and-collapse-whitespace
  12737. jQuery.trim( jQuery.text( elem ) ).replace( rspaces, " " );
  12738. }
  12739. },
  12740. select: {
  12741. get: function( elem ) {
  12742. var value, option,
  12743. options = elem.options,
  12744. index = elem.selectedIndex,
  12745. one = elem.type === "select-one" || index < 0,
  12746. values = one ? null : [],
  12747. max = one ? index + 1 : options.length,
  12748. i = index < 0 ?
  12749. max :
  12750. one ? index : 0;
  12751. // Loop through all the selected options
  12752. for ( ; i < max; i++ ) {
  12753. option = options[ i ];
  12754. // oldIE doesn't update selected after form reset (#2551)
  12755. if ( ( option.selected || i === index ) &&
  12756. // Don't return options that are disabled or in a disabled optgroup
  12757. ( support.optDisabled ?
  12758. !option.disabled :
  12759. option.getAttribute( "disabled" ) === null ) &&
  12760. ( !option.parentNode.disabled ||
  12761. !jQuery.nodeName( option.parentNode, "optgroup" ) ) ) {
  12762. // Get the specific value for the option
  12763. value = jQuery( option ).val();
  12764. // We don't need an array for one selects
  12765. if ( one ) {
  12766. return value;
  12767. }
  12768. // Multi-Selects return an array
  12769. values.push( value );
  12770. }
  12771. }
  12772. return values;
  12773. },
  12774. set: function( elem, value ) {
  12775. var optionSet, option,
  12776. options = elem.options,
  12777. values = jQuery.makeArray( value ),
  12778. i = options.length;
  12779. while ( i-- ) {
  12780. option = options[ i ];
  12781. if ( jQuery.inArray( jQuery.valHooks.option.get( option ), values ) > -1 ) {
  12782. // Support: IE6
  12783. // When new option element is added to select box we need to
  12784. // force reflow of newly added node in order to workaround delay
  12785. // of initialization properties
  12786. try {
  12787. option.selected = optionSet = true;
  12788. } catch ( _ ) {
  12789. // Will be executed only in IE6
  12790. option.scrollHeight;
  12791. }
  12792. } else {
  12793. option.selected = false;
  12794. }
  12795. }
  12796. // Force browsers to behave consistently when non-matching value is set
  12797. if ( !optionSet ) {
  12798. elem.selectedIndex = -1;
  12799. }
  12800. return options;
  12801. }
  12802. }
  12803. }
  12804. } );
  12805. // Radios and checkboxes getter/setter
  12806. jQuery.each( [ "radio", "checkbox" ], function() {
  12807. jQuery.valHooks[ this ] = {
  12808. set: function( elem, value ) {
  12809. if ( jQuery.isArray( value ) ) {
  12810. return ( elem.checked = jQuery.inArray( jQuery( elem ).val(), value ) > -1 );
  12811. }
  12812. }
  12813. };
  12814. if ( !support.checkOn ) {
  12815. jQuery.valHooks[ this ].get = function( elem ) {
  12816. return elem.getAttribute( "value" ) === null ? "on" : elem.value;
  12817. };
  12818. }
  12819. } );
  12820. var nodeHook, boolHook,
  12821. attrHandle = jQuery.expr.attrHandle,
  12822. ruseDefault = /^(?:checked|selected)$/i,
  12823. getSetAttribute = support.getSetAttribute,
  12824. getSetInput = support.input;
  12825. jQuery.fn.extend( {
  12826. attr: function( name, value ) {
  12827. return access( this, jQuery.attr, name, value, arguments.length > 1 );
  12828. },
  12829. removeAttr: function( name ) {
  12830. return this.each( function() {
  12831. jQuery.removeAttr( this, name );
  12832. } );
  12833. }
  12834. } );
  12835. jQuery.extend( {
  12836. attr: function( elem, name, value ) {
  12837. var ret, hooks,
  12838. nType = elem.nodeType;
  12839. // Don't get/set attributes on text, comment and attribute nodes
  12840. if ( nType === 3 || nType === 8 || nType === 2 ) {
  12841. return;
  12842. }
  12843. // Fallback to prop when attributes are not supported
  12844. if ( typeof elem.getAttribute === "undefined" ) {
  12845. return jQuery.prop( elem, name, value );
  12846. }
  12847. // All attributes are lowercase
  12848. // Grab necessary hook if one is defined
  12849. if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) {
  12850. name = name.toLowerCase();
  12851. hooks = jQuery.attrHooks[ name ] ||
  12852. ( jQuery.expr.match.bool.test( name ) ? boolHook : nodeHook );
  12853. }
  12854. if ( value !== undefined ) {
  12855. if ( value === null ) {
  12856. jQuery.removeAttr( elem, name );
  12857. return;
  12858. }
  12859. if ( hooks && "set" in hooks &&
  12860. ( ret = hooks.set( elem, value, name ) ) !== undefined ) {
  12861. return ret;
  12862. }
  12863. elem.setAttribute( name, value + "" );
  12864. return value;
  12865. }
  12866. if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) {
  12867. return ret;
  12868. }
  12869. ret = jQuery.find.attr( elem, name );
  12870. // Non-existent attributes return null, we normalize to undefined
  12871. return ret == null ? undefined : ret;
  12872. },
  12873. attrHooks: {
  12874. type: {
  12875. set: function( elem, value ) {
  12876. if ( !support.radioValue && value === "radio" &&
  12877. jQuery.nodeName( elem, "input" ) ) {
  12878. // Setting the type on a radio button after the value resets the value in IE8-9
  12879. // Reset value to default in case type is set after value during creation
  12880. var val = elem.value;
  12881. elem.setAttribute( "type", value );
  12882. if ( val ) {
  12883. elem.value = val;
  12884. }
  12885. return value;
  12886. }
  12887. }
  12888. }
  12889. },
  12890. removeAttr: function( elem, value ) {
  12891. var name, propName,
  12892. i = 0,
  12893. attrNames = value && value.match( rnotwhite );
  12894. if ( attrNames && elem.nodeType === 1 ) {
  12895. while ( ( name = attrNames[ i++ ] ) ) {
  12896. propName = jQuery.propFix[ name ] || name;
  12897. // Boolean attributes get special treatment (#10870)
  12898. if ( jQuery.expr.match.bool.test( name ) ) {
  12899. // Set corresponding property to false
  12900. if ( getSetInput && getSetAttribute || !ruseDefault.test( name ) ) {
  12901. elem[ propName ] = false;
  12902. // Support: IE<9
  12903. // Also clear defaultChecked/defaultSelected (if appropriate)
  12904. } else {
  12905. elem[ jQuery.camelCase( "default-" + name ) ] =
  12906. elem[ propName ] = false;
  12907. }
  12908. // See #9699 for explanation of this approach (setting first, then removal)
  12909. } else {
  12910. jQuery.attr( elem, name, "" );
  12911. }
  12912. elem.removeAttribute( getSetAttribute ? name : propName );
  12913. }
  12914. }
  12915. }
  12916. } );
  12917. // Hooks for boolean attributes
  12918. boolHook = {
  12919. set: function( elem, value, name ) {
  12920. if ( value === false ) {
  12921. // Remove boolean attributes when set to false
  12922. jQuery.removeAttr( elem, name );
  12923. } else if ( getSetInput && getSetAttribute || !ruseDefault.test( name ) ) {
  12924. // IE<8 needs the *property* name
  12925. elem.setAttribute( !getSetAttribute && jQuery.propFix[ name ] || name, name );
  12926. } else {
  12927. // Support: IE<9
  12928. // Use defaultChecked and defaultSelected for oldIE
  12929. elem[ jQuery.camelCase( "default-" + name ) ] = elem[ name ] = true;
  12930. }
  12931. return name;
  12932. }
  12933. };
  12934. jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( i, name ) {
  12935. var getter = attrHandle[ name ] || jQuery.find.attr;
  12936. if ( getSetInput && getSetAttribute || !ruseDefault.test( name ) ) {
  12937. attrHandle[ name ] = function( elem, name, isXML ) {
  12938. var ret, handle;
  12939. if ( !isXML ) {
  12940. // Avoid an infinite loop by temporarily removing this function from the getter
  12941. handle = attrHandle[ name ];
  12942. attrHandle[ name ] = ret;
  12943. ret = getter( elem, name, isXML ) != null ?
  12944. name.toLowerCase() :
  12945. null;
  12946. attrHandle[ name ] = handle;
  12947. }
  12948. return ret;
  12949. };
  12950. } else {
  12951. attrHandle[ name ] = function( elem, name, isXML ) {
  12952. if ( !isXML ) {
  12953. return elem[ jQuery.camelCase( "default-" + name ) ] ?
  12954. name.toLowerCase() :
  12955. null;
  12956. }
  12957. };
  12958. }
  12959. } );
  12960. // fix oldIE attroperties
  12961. if ( !getSetInput || !getSetAttribute ) {
  12962. jQuery.attrHooks.value = {
  12963. set: function( elem, value, name ) {
  12964. if ( jQuery.nodeName( elem, "input" ) ) {
  12965. // Does not return so that setAttribute is also used
  12966. elem.defaultValue = value;
  12967. } else {
  12968. // Use nodeHook if defined (#1954); otherwise setAttribute is fine
  12969. return nodeHook && nodeHook.set( elem, value, name );
  12970. }
  12971. }
  12972. };
  12973. }
  12974. // IE6/7 do not support getting/setting some attributes with get/setAttribute
  12975. if ( !getSetAttribute ) {
  12976. // Use this for any attribute in IE6/7
  12977. // This fixes almost every IE6/7 issue
  12978. nodeHook = {
  12979. set: function( elem, value, name ) {
  12980. // Set the existing or create a new attribute node
  12981. var ret = elem.getAttributeNode( name );
  12982. if ( !ret ) {
  12983. elem.setAttributeNode(
  12984. ( ret = elem.ownerDocument.createAttribute( name ) )
  12985. );
  12986. }
  12987. ret.value = value += "";
  12988. // Break association with cloned elements by also using setAttribute (#9646)
  12989. if ( name === "value" || value === elem.getAttribute( name ) ) {
  12990. return value;
  12991. }
  12992. }
  12993. };
  12994. // Some attributes are constructed with empty-string values when not defined
  12995. attrHandle.id = attrHandle.name = attrHandle.coords =
  12996. function( elem, name, isXML ) {
  12997. var ret;
  12998. if ( !isXML ) {
  12999. return ( ret = elem.getAttributeNode( name ) ) && ret.value !== "" ?
  13000. ret.value :
  13001. null;
  13002. }
  13003. };
  13004. // Fixing value retrieval on a button requires this module
  13005. jQuery.valHooks.button = {
  13006. get: function( elem, name ) {
  13007. var ret = elem.getAttributeNode( name );
  13008. if ( ret && ret.specified ) {
  13009. return ret.value;
  13010. }
  13011. },
  13012. set: nodeHook.set
  13013. };
  13014. // Set contenteditable to false on removals(#10429)
  13015. // Setting to empty string throws an error as an invalid value
  13016. jQuery.attrHooks.contenteditable = {
  13017. set: function( elem, value, name ) {
  13018. nodeHook.set( elem, value === "" ? false : value, name );
  13019. }
  13020. };
  13021. // Set width and height to auto instead of 0 on empty string( Bug #8150 )
  13022. // This is for removals
  13023. jQuery.each( [ "width", "height" ], function( i, name ) {
  13024. jQuery.attrHooks[ name ] = {
  13025. set: function( elem, value ) {
  13026. if ( value === "" ) {
  13027. elem.setAttribute( name, "auto" );
  13028. return value;
  13029. }
  13030. }
  13031. };
  13032. } );
  13033. }
  13034. if ( !support.style ) {
  13035. jQuery.attrHooks.style = {
  13036. get: function( elem ) {
  13037. // Return undefined in the case of empty string
  13038. // Note: IE uppercases css property names, but if we were to .toLowerCase()
  13039. // .cssText, that would destroy case sensitivity in URL's, like in "background"
  13040. return elem.style.cssText || undefined;
  13041. },
  13042. set: function( elem, value ) {
  13043. return ( elem.style.cssText = value + "" );
  13044. }
  13045. };
  13046. }
  13047. var rfocusable = /^(?:input|select|textarea|button|object)$/i,
  13048. rclickable = /^(?:a|area)$/i;
  13049. jQuery.fn.extend( {
  13050. prop: function( name, value ) {
  13051. return access( this, jQuery.prop, name, value, arguments.length > 1 );
  13052. },
  13053. removeProp: function( name ) {
  13054. name = jQuery.propFix[ name ] || name;
  13055. return this.each( function() {
  13056. // try/catch handles cases where IE balks (such as removing a property on window)
  13057. try {
  13058. this[ name ] = undefined;
  13059. delete this[ name ];
  13060. } catch ( e ) {}
  13061. } );
  13062. }
  13063. } );
  13064. jQuery.extend( {
  13065. prop: function( elem, name, value ) {
  13066. var ret, hooks,
  13067. nType = elem.nodeType;
  13068. // Don't get/set properties on text, comment and attribute nodes
  13069. if ( nType === 3 || nType === 8 || nType === 2 ) {
  13070. return;
  13071. }
  13072. if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) {
  13073. // Fix name and attach hooks
  13074. name = jQuery.propFix[ name ] || name;
  13075. hooks = jQuery.propHooks[ name ];
  13076. }
  13077. if ( value !== undefined ) {
  13078. if ( hooks && "set" in hooks &&
  13079. ( ret = hooks.set( elem, value, name ) ) !== undefined ) {
  13080. return ret;
  13081. }
  13082. return ( elem[ name ] = value );
  13083. }
  13084. if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) {
  13085. return ret;
  13086. }
  13087. return elem[ name ];
  13088. },
  13089. propHooks: {
  13090. tabIndex: {
  13091. get: function( elem ) {
  13092. // elem.tabIndex doesn't always return the
  13093. // correct value when it hasn't been explicitly set
  13094. // http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/
  13095. // Use proper attribute retrieval(#12072)
  13096. var tabindex = jQuery.find.attr( elem, "tabindex" );
  13097. return tabindex ?
  13098. parseInt( tabindex, 10 ) :
  13099. rfocusable.test( elem.nodeName ) ||
  13100. rclickable.test( elem.nodeName ) && elem.href ?
  13101. 0 :
  13102. -1;
  13103. }
  13104. }
  13105. },
  13106. propFix: {
  13107. "for": "htmlFor",
  13108. "class": "className"
  13109. }
  13110. } );
  13111. // Some attributes require a special call on IE
  13112. // http://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx
  13113. if ( !support.hrefNormalized ) {
  13114. // href/src property should get the full normalized URL (#10299/#12915)
  13115. jQuery.each( [ "href", "src" ], function( i, name ) {
  13116. jQuery.propHooks[ name ] = {
  13117. get: function( elem ) {
  13118. return elem.getAttribute( name, 4 );
  13119. }
  13120. };
  13121. } );
  13122. }
  13123. // Support: Safari, IE9+
  13124. // Accessing the selectedIndex property
  13125. // forces the browser to respect setting selected
  13126. // on the option
  13127. // The getter ensures a default option is selected
  13128. // when in an optgroup
  13129. if ( !support.optSelected ) {
  13130. jQuery.propHooks.selected = {
  13131. get: function( elem ) {
  13132. var parent = elem.parentNode;
  13133. if ( parent ) {
  13134. parent.selectedIndex;
  13135. // Make sure that it also works with optgroups, see #5701
  13136. if ( parent.parentNode ) {
  13137. parent.parentNode.selectedIndex;
  13138. }
  13139. }
  13140. return null;
  13141. },
  13142. set: function( elem ) {
  13143. var parent = elem.parentNode;
  13144. if ( parent ) {
  13145. parent.selectedIndex;
  13146. if ( parent.parentNode ) {
  13147. parent.parentNode.selectedIndex;
  13148. }
  13149. }
  13150. }
  13151. };
  13152. }
  13153. jQuery.each( [
  13154. "tabIndex",
  13155. "readOnly",
  13156. "maxLength",
  13157. "cellSpacing",
  13158. "cellPadding",
  13159. "rowSpan",
  13160. "colSpan",
  13161. "useMap",
  13162. "frameBorder",
  13163. "contentEditable"
  13164. ], function() {
  13165. jQuery.propFix[ this.toLowerCase() ] = this;
  13166. } );
  13167. // IE6/7 call enctype encoding
  13168. if ( !support.enctype ) {
  13169. jQuery.propFix.enctype = "encoding";
  13170. }
  13171. var rclass = /[\t\r\n\f]/g;
  13172. function getClass( elem ) {
  13173. return jQuery.attr( elem, "class" ) || "";
  13174. }
  13175. jQuery.fn.extend( {
  13176. addClass: function( value ) {
  13177. var classes, elem, cur, curValue, clazz, j, finalValue,
  13178. i = 0;
  13179. if ( jQuery.isFunction( value ) ) {
  13180. return this.each( function( j ) {
  13181. jQuery( this ).addClass( value.call( this, j, getClass( this ) ) );
  13182. } );
  13183. }
  13184. if ( typeof value === "string" && value ) {
  13185. classes = value.match( rnotwhite ) || [];
  13186. while ( ( elem = this[ i++ ] ) ) {
  13187. curValue = getClass( elem );
  13188. cur = elem.nodeType === 1 &&
  13189. ( " " + curValue + " " ).replace( rclass, " " );
  13190. if ( cur ) {
  13191. j = 0;
  13192. while ( ( clazz = classes[ j++ ] ) ) {
  13193. if ( cur.indexOf( " " + clazz + " " ) < 0 ) {
  13194. cur += clazz + " ";
  13195. }
  13196. }
  13197. // only assign if different to avoid unneeded rendering.
  13198. finalValue = jQuery.trim( cur );
  13199. if ( curValue !== finalValue ) {
  13200. jQuery.attr( elem, "class", finalValue );
  13201. }
  13202. }
  13203. }
  13204. }
  13205. return this;
  13206. },
  13207. removeClass: function( value ) {
  13208. var classes, elem, cur, curValue, clazz, j, finalValue,
  13209. i = 0;
  13210. if ( jQuery.isFunction( value ) ) {
  13211. return this.each( function( j ) {
  13212. jQuery( this ).removeClass( value.call( this, j, getClass( this ) ) );
  13213. } );
  13214. }
  13215. if ( !arguments.length ) {
  13216. return this.attr( "class", "" );
  13217. }
  13218. if ( typeof value === "string" && value ) {
  13219. classes = value.match( rnotwhite ) || [];
  13220. while ( ( elem = this[ i++ ] ) ) {
  13221. curValue = getClass( elem );
  13222. // This expression is here for better compressibility (see addClass)
  13223. cur = elem.nodeType === 1 &&
  13224. ( " " + curValue + " " ).replace( rclass, " " );
  13225. if ( cur ) {
  13226. j = 0;
  13227. while ( ( clazz = classes[ j++ ] ) ) {
  13228. // Remove *all* instances
  13229. while ( cur.indexOf( " " + clazz + " " ) > -1 ) {
  13230. cur = cur.replace( " " + clazz + " ", " " );
  13231. }
  13232. }
  13233. // Only assign if different to avoid unneeded rendering.
  13234. finalValue = jQuery.trim( cur );
  13235. if ( curValue !== finalValue ) {
  13236. jQuery.attr( elem, "class", finalValue );
  13237. }
  13238. }
  13239. }
  13240. }
  13241. return this;
  13242. },
  13243. toggleClass: function( value, stateVal ) {
  13244. var type = typeof value;
  13245. if ( typeof stateVal === "boolean" && type === "string" ) {
  13246. return stateVal ? this.addClass( value ) : this.removeClass( value );
  13247. }
  13248. if ( jQuery.isFunction( value ) ) {
  13249. return this.each( function( i ) {
  13250. jQuery( this ).toggleClass(
  13251. value.call( this, i, getClass( this ), stateVal ),
  13252. stateVal
  13253. );
  13254. } );
  13255. }
  13256. return this.each( function() {
  13257. var className, i, self, classNames;
  13258. if ( type === "string" ) {
  13259. // Toggle individual class names
  13260. i = 0;
  13261. self = jQuery( this );
  13262. classNames = value.match( rnotwhite ) || [];
  13263. while ( ( className = classNames[ i++ ] ) ) {
  13264. // Check each className given, space separated list
  13265. if ( self.hasClass( className ) ) {
  13266. self.removeClass( className );
  13267. } else {
  13268. self.addClass( className );
  13269. }
  13270. }
  13271. // Toggle whole class name
  13272. } else if ( value === undefined || type === "boolean" ) {
  13273. className = getClass( this );
  13274. if ( className ) {
  13275. // store className if set
  13276. jQuery._data( this, "__className__", className );
  13277. }
  13278. // If the element has a class name or if we're passed "false",
  13279. // then remove the whole classname (if there was one, the above saved it).
  13280. // Otherwise bring back whatever was previously saved (if anything),
  13281. // falling back to the empty string if nothing was stored.
  13282. jQuery.attr( this, "class",
  13283. className || value === false ?
  13284. "" :
  13285. jQuery._data( this, "__className__" ) || ""
  13286. );
  13287. }
  13288. } );
  13289. },
  13290. hasClass: function( selector ) {
  13291. var className, elem,
  13292. i = 0;
  13293. className = " " + selector + " ";
  13294. while ( ( elem = this[ i++ ] ) ) {
  13295. if ( elem.nodeType === 1 &&
  13296. ( " " + getClass( elem ) + " " ).replace( rclass, " " )
  13297. .indexOf( className ) > -1
  13298. ) {
  13299. return true;
  13300. }
  13301. }
  13302. return false;
  13303. }
  13304. } );
  13305. // Return jQuery for attributes-only inclusion
  13306. jQuery.each( ( "blur focus focusin focusout load resize scroll unload click dblclick " +
  13307. "mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " +
  13308. "change select submit keydown keypress keyup error contextmenu" ).split( " " ),
  13309. function( i, name ) {
  13310. // Handle event binding
  13311. jQuery.fn[ name ] = function( data, fn ) {
  13312. return arguments.length > 0 ?
  13313. this.on( name, null, data, fn ) :
  13314. this.trigger( name );
  13315. };
  13316. } );
  13317. jQuery.fn.extend( {
  13318. hover: function( fnOver, fnOut ) {
  13319. return this.mouseenter( fnOver ).mouseleave( fnOut || fnOver );
  13320. }
  13321. } );
  13322. var location = window.location;
  13323. var nonce = jQuery.now();
  13324. var rquery = ( /\?/ );
  13325. var rvalidtokens = /(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;
  13326. jQuery.parseJSON = function( data ) {
  13327. // Attempt to parse using the native JSON parser first
  13328. if ( window.JSON && window.JSON.parse ) {
  13329. // Support: Android 2.3
  13330. // Workaround failure to string-cast null input
  13331. return window.JSON.parse( data + "" );
  13332. }
  13333. var requireNonComma,
  13334. depth = null,
  13335. str = jQuery.trim( data + "" );
  13336. // Guard against invalid (and possibly dangerous) input by ensuring that nothing remains
  13337. // after removing valid tokens
  13338. return str && !jQuery.trim( str.replace( rvalidtokens, function( token, comma, open, close ) {
  13339. // Force termination if we see a misplaced comma
  13340. if ( requireNonComma && comma ) {
  13341. depth = 0;
  13342. }
  13343. // Perform no more replacements after returning to outermost depth
  13344. if ( depth === 0 ) {
  13345. return token;
  13346. }
  13347. // Commas must not follow "[", "{", or ","
  13348. requireNonComma = open || comma;
  13349. // Determine new depth
  13350. // array/object open ("[" or "{"): depth += true - false (increment)
  13351. // array/object close ("]" or "}"): depth += false - true (decrement)
  13352. // other cases ("," or primitive): depth += true - true (numeric cast)
  13353. depth += !close - !open;
  13354. // Remove this token
  13355. return "";
  13356. } ) ) ?
  13357. ( Function( "return " + str ) )() :
  13358. jQuery.error( "Invalid JSON: " + data );
  13359. };
  13360. // Cross-browser xml parsing
  13361. jQuery.parseXML = function( data ) {
  13362. var xml, tmp;
  13363. if ( !data || typeof data !== "string" ) {
  13364. return null;
  13365. }
  13366. try {
  13367. if ( window.DOMParser ) { // Standard
  13368. tmp = new window.DOMParser();
  13369. xml = tmp.parseFromString( data, "text/xml" );
  13370. } else { // IE
  13371. xml = new window.ActiveXObject( "Microsoft.XMLDOM" );
  13372. xml.async = "false";
  13373. xml.loadXML( data );
  13374. }
  13375. } catch ( e ) {
  13376. xml = undefined;
  13377. }
  13378. if ( !xml || !xml.documentElement || xml.getElementsByTagName( "parsererror" ).length ) {
  13379. jQuery.error( "Invalid XML: " + data );
  13380. }
  13381. return xml;
  13382. };
  13383. var
  13384. rhash = /#.*$/,
  13385. rts = /([?&])_=[^&]*/,
  13386. // IE leaves an \r character at EOL
  13387. rheaders = /^(.*?):[ \t]*([^\r\n]*)\r?$/mg,
  13388. // #7653, #8125, #8152: local protocol detection
  13389. rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/,
  13390. rnoContent = /^(?:GET|HEAD)$/,
  13391. rprotocol = /^\/\//,
  13392. rurl = /^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,
  13393. /* Prefilters
  13394. * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example)
  13395. * 2) These are called:
  13396. * - BEFORE asking for a transport
  13397. * - AFTER param serialization (s.data is a string if s.processData is true)
  13398. * 3) key is the dataType
  13399. * 4) the catchall symbol "*" can be used
  13400. * 5) execution will start with transport dataType and THEN continue down to "*" if needed
  13401. */
  13402. prefilters = {},
  13403. /* Transports bindings
  13404. * 1) key is the dataType
  13405. * 2) the catchall symbol "*" can be used
  13406. * 3) selection will start with transport dataType and THEN go to "*" if needed
  13407. */
  13408. transports = {},
  13409. // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression
  13410. allTypes = "*/".concat( "*" ),
  13411. // Document location
  13412. ajaxLocation = location.href,
  13413. // Segment location into parts
  13414. ajaxLocParts = rurl.exec( ajaxLocation.toLowerCase() ) || [];
  13415. // Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport
  13416. function addToPrefiltersOrTransports( structure ) {
  13417. // dataTypeExpression is optional and defaults to "*"
  13418. return function( dataTypeExpression, func ) {
  13419. if ( typeof dataTypeExpression !== "string" ) {
  13420. func = dataTypeExpression;
  13421. dataTypeExpression = "*";
  13422. }
  13423. var dataType,
  13424. i = 0,
  13425. dataTypes = dataTypeExpression.toLowerCase().match( rnotwhite ) || [];
  13426. if ( jQuery.isFunction( func ) ) {
  13427. // For each dataType in the dataTypeExpression
  13428. while ( ( dataType = dataTypes[ i++ ] ) ) {
  13429. // Prepend if requested
  13430. if ( dataType.charAt( 0 ) === "+" ) {
  13431. dataType = dataType.slice( 1 ) || "*";
  13432. ( structure[ dataType ] = structure[ dataType ] || [] ).unshift( func );
  13433. // Otherwise append
  13434. } else {
  13435. ( structure[ dataType ] = structure[ dataType ] || [] ).push( func );
  13436. }
  13437. }
  13438. }
  13439. };
  13440. }
  13441. // Base inspection function for prefilters and transports
  13442. function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) {
  13443. var inspected = {},
  13444. seekingTransport = ( structure === transports );
  13445. function inspect( dataType ) {
  13446. var selected;
  13447. inspected[ dataType ] = true;
  13448. jQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) {
  13449. var dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR );
  13450. if ( typeof dataTypeOrTransport === "string" &&
  13451. !seekingTransport && !inspected[ dataTypeOrTransport ] ) {
  13452. options.dataTypes.unshift( dataTypeOrTransport );
  13453. inspect( dataTypeOrTransport );
  13454. return false;
  13455. } else if ( seekingTransport ) {
  13456. return !( selected = dataTypeOrTransport );
  13457. }
  13458. } );
  13459. return selected;
  13460. }
  13461. return inspect( options.dataTypes[ 0 ] ) || !inspected[ "*" ] && inspect( "*" );
  13462. }
  13463. // A special extend for ajax options
  13464. // that takes "flat" options (not to be deep extended)
  13465. // Fixes #9887
  13466. function ajaxExtend( target, src ) {
  13467. var deep, key,
  13468. flatOptions = jQuery.ajaxSettings.flatOptions || {};
  13469. for ( key in src ) {
  13470. if ( src[ key ] !== undefined ) {
  13471. ( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ];
  13472. }
  13473. }
  13474. if ( deep ) {
  13475. jQuery.extend( true, target, deep );
  13476. }
  13477. return target;
  13478. }
  13479. /* Handles responses to an ajax request:
  13480. * - finds the right dataType (mediates between content-type and expected dataType)
  13481. * - returns the corresponding response
  13482. */
  13483. function ajaxHandleResponses( s, jqXHR, responses ) {
  13484. var firstDataType, ct, finalDataType, type,
  13485. contents = s.contents,
  13486. dataTypes = s.dataTypes;
  13487. // Remove auto dataType and get content-type in the process
  13488. while ( dataTypes[ 0 ] === "*" ) {
  13489. dataTypes.shift();
  13490. if ( ct === undefined ) {
  13491. ct = s.mimeType || jqXHR.getResponseHeader( "Content-Type" );
  13492. }
  13493. }
  13494. // Check if we're dealing with a known content-type
  13495. if ( ct ) {
  13496. for ( type in contents ) {
  13497. if ( contents[ type ] && contents[ type ].test( ct ) ) {
  13498. dataTypes.unshift( type );
  13499. break;
  13500. }
  13501. }
  13502. }
  13503. // Check to see if we have a response for the expected dataType
  13504. if ( dataTypes[ 0 ] in responses ) {
  13505. finalDataType = dataTypes[ 0 ];
  13506. } else {
  13507. // Try convertible dataTypes
  13508. for ( type in responses ) {
  13509. if ( !dataTypes[ 0 ] || s.converters[ type + " " + dataTypes[ 0 ] ] ) {
  13510. finalDataType = type;
  13511. break;
  13512. }
  13513. if ( !firstDataType ) {
  13514. firstDataType = type;
  13515. }
  13516. }
  13517. // Or just use first one
  13518. finalDataType = finalDataType || firstDataType;
  13519. }
  13520. // If we found a dataType
  13521. // We add the dataType to the list if needed
  13522. // and return the corresponding response
  13523. if ( finalDataType ) {
  13524. if ( finalDataType !== dataTypes[ 0 ] ) {
  13525. dataTypes.unshift( finalDataType );
  13526. }
  13527. return responses[ finalDataType ];
  13528. }
  13529. }
  13530. /* Chain conversions given the request and the original response
  13531. * Also sets the responseXXX fields on the jqXHR instance
  13532. */
  13533. function ajaxConvert( s, response, jqXHR, isSuccess ) {
  13534. var conv2, current, conv, tmp, prev,
  13535. converters = {},
  13536. // Work with a copy of dataTypes in case we need to modify it for conversion
  13537. dataTypes = s.dataTypes.slice();
  13538. // Create converters map with lowercased keys
  13539. if ( dataTypes[ 1 ] ) {
  13540. for ( conv in s.converters ) {
  13541. converters[ conv.toLowerCase() ] = s.converters[ conv ];
  13542. }
  13543. }
  13544. current = dataTypes.shift();
  13545. // Convert to each sequential dataType
  13546. while ( current ) {
  13547. if ( s.responseFields[ current ] ) {
  13548. jqXHR[ s.responseFields[ current ] ] = response;
  13549. }
  13550. // Apply the dataFilter if provided
  13551. if ( !prev && isSuccess && s.dataFilter ) {
  13552. response = s.dataFilter( response, s.dataType );
  13553. }
  13554. prev = current;
  13555. current = dataTypes.shift();
  13556. if ( current ) {
  13557. // There's only work to do if current dataType is non-auto
  13558. if ( current === "*" ) {
  13559. current = prev;
  13560. // Convert response if prev dataType is non-auto and differs from current
  13561. } else if ( prev !== "*" && prev !== current ) {
  13562. // Seek a direct converter
  13563. conv = converters[ prev + " " + current ] || converters[ "* " + current ];
  13564. // If none found, seek a pair
  13565. if ( !conv ) {
  13566. for ( conv2 in converters ) {
  13567. // If conv2 outputs current
  13568. tmp = conv2.split( " " );
  13569. if ( tmp[ 1 ] === current ) {
  13570. // If prev can be converted to accepted input
  13571. conv = converters[ prev + " " + tmp[ 0 ] ] ||
  13572. converters[ "* " + tmp[ 0 ] ];
  13573. if ( conv ) {
  13574. // Condense equivalence converters
  13575. if ( conv === true ) {
  13576. conv = converters[ conv2 ];
  13577. // Otherwise, insert the intermediate dataType
  13578. } else if ( converters[ conv2 ] !== true ) {
  13579. current = tmp[ 0 ];
  13580. dataTypes.unshift( tmp[ 1 ] );
  13581. }
  13582. break;
  13583. }
  13584. }
  13585. }
  13586. }
  13587. // Apply converter (if not an equivalence)
  13588. if ( conv !== true ) {
  13589. // Unless errors are allowed to bubble, catch and return them
  13590. if ( conv && s[ "throws" ] ) { // jscs:ignore requireDotNotation
  13591. response = conv( response );
  13592. } else {
  13593. try {
  13594. response = conv( response );
  13595. } catch ( e ) {
  13596. return {
  13597. state: "parsererror",
  13598. error: conv ? e : "No conversion from " + prev + " to " + current
  13599. };
  13600. }
  13601. }
  13602. }
  13603. }
  13604. }
  13605. }
  13606. return { state: "success", data: response };
  13607. }
  13608. jQuery.extend( {
  13609. // Counter for holding the number of active queries
  13610. active: 0,
  13611. // Last-Modified header cache for next request
  13612. lastModified: {},
  13613. etag: {},
  13614. ajaxSettings: {
  13615. url: ajaxLocation,
  13616. type: "GET",
  13617. isLocal: rlocalProtocol.test( ajaxLocParts[ 1 ] ),
  13618. global: true,
  13619. processData: true,
  13620. async: true,
  13621. contentType: "application/x-www-form-urlencoded; charset=UTF-8",
  13622. /*
  13623. timeout: 0,
  13624. data: null,
  13625. dataType: null,
  13626. username: null,
  13627. password: null,
  13628. cache: null,
  13629. throws: false,
  13630. traditional: false,
  13631. headers: {},
  13632. */
  13633. accepts: {
  13634. "*": allTypes,
  13635. text: "text/plain",
  13636. html: "text/html",
  13637. xml: "application/xml, text/xml",
  13638. json: "application/json, text/javascript"
  13639. },
  13640. contents: {
  13641. xml: /\bxml\b/,
  13642. html: /\bhtml/,
  13643. json: /\bjson\b/
  13644. },
  13645. responseFields: {
  13646. xml: "responseXML",
  13647. text: "responseText",
  13648. json: "responseJSON"
  13649. },
  13650. // Data converters
  13651. // Keys separate source (or catchall "*") and destination types with a single space
  13652. converters: {
  13653. // Convert anything to text
  13654. "* text": String,
  13655. // Text to html (true = no transformation)
  13656. "text html": true,
  13657. // Evaluate text as a json expression
  13658. "text json": jQuery.parseJSON,
  13659. // Parse text as xml
  13660. "text xml": jQuery.parseXML
  13661. },
  13662. // For options that shouldn't be deep extended:
  13663. // you can add your own custom options here if
  13664. // and when you create one that shouldn't be
  13665. // deep extended (see ajaxExtend)
  13666. flatOptions: {
  13667. url: true,
  13668. context: true
  13669. }
  13670. },
  13671. // Creates a full fledged settings object into target
  13672. // with both ajaxSettings and settings fields.
  13673. // If target is omitted, writes into ajaxSettings.
  13674. ajaxSetup: function( target, settings ) {
  13675. return settings ?
  13676. // Building a settings object
  13677. ajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) :
  13678. // Extending ajaxSettings
  13679. ajaxExtend( jQuery.ajaxSettings, target );
  13680. },
  13681. ajaxPrefilter: addToPrefiltersOrTransports( prefilters ),
  13682. ajaxTransport: addToPrefiltersOrTransports( transports ),
  13683. // Main method
  13684. ajax: function( url, options ) {
  13685. // If url is an object, simulate pre-1.5 signature
  13686. if ( typeof url === "object" ) {
  13687. options = url;
  13688. url = undefined;
  13689. }
  13690. // Force options to be an object
  13691. options = options || {};
  13692. var
  13693. // Cross-domain detection vars
  13694. parts,
  13695. // Loop variable
  13696. i,
  13697. // URL without anti-cache param
  13698. cacheURL,
  13699. // Response headers as string
  13700. responseHeadersString,
  13701. // timeout handle
  13702. timeoutTimer,
  13703. // To know if global events are to be dispatched
  13704. fireGlobals,
  13705. transport,
  13706. // Response headers
  13707. responseHeaders,
  13708. // Create the final options object
  13709. s = jQuery.ajaxSetup( {}, options ),
  13710. // Callbacks context
  13711. callbackContext = s.context || s,
  13712. // Context for global events is callbackContext if it is a DOM node or jQuery collection
  13713. globalEventContext = s.context &&
  13714. ( callbackContext.nodeType || callbackContext.jquery ) ?
  13715. jQuery( callbackContext ) :
  13716. jQuery.event,
  13717. // Deferreds
  13718. deferred = jQuery.Deferred(),
  13719. completeDeferred = jQuery.Callbacks( "once memory" ),
  13720. // Status-dependent callbacks
  13721. statusCode = s.statusCode || {},
  13722. // Headers (they are sent all at once)
  13723. requestHeaders = {},
  13724. requestHeadersNames = {},
  13725. // The jqXHR state
  13726. state = 0,
  13727. // Default abort message
  13728. strAbort = "canceled",
  13729. // Fake xhr
  13730. jqXHR = {
  13731. readyState: 0,
  13732. // Builds headers hashtable if needed
  13733. getResponseHeader: function( key ) {
  13734. var match;
  13735. if ( state === 2 ) {
  13736. if ( !responseHeaders ) {
  13737. responseHeaders = {};
  13738. while ( ( match = rheaders.exec( responseHeadersString ) ) ) {
  13739. responseHeaders[ match[ 1 ].toLowerCase() ] = match[ 2 ];
  13740. }
  13741. }
  13742. match = responseHeaders[ key.toLowerCase() ];
  13743. }
  13744. return match == null ? null : match;
  13745. },
  13746. // Raw string
  13747. getAllResponseHeaders: function() {
  13748. return state === 2 ? responseHeadersString : null;
  13749. },
  13750. // Caches the header
  13751. setRequestHeader: function( name, value ) {
  13752. var lname = name.toLowerCase();
  13753. if ( !state ) {
  13754. name = requestHeadersNames[ lname ] = requestHeadersNames[ lname ] || name;
  13755. requestHeaders[ name ] = value;
  13756. }
  13757. return this;
  13758. },
  13759. // Overrides response content-type header
  13760. overrideMimeType: function( type ) {
  13761. if ( !state ) {
  13762. s.mimeType = type;
  13763. }
  13764. return this;
  13765. },
  13766. // Status-dependent callbacks
  13767. statusCode: function( map ) {
  13768. var code;
  13769. if ( map ) {
  13770. if ( state < 2 ) {
  13771. for ( code in map ) {
  13772. // Lazy-add the new callback in a way that preserves old ones
  13773. statusCode[ code ] = [ statusCode[ code ], map[ code ] ];
  13774. }
  13775. } else {
  13776. // Execute the appropriate callbacks
  13777. jqXHR.always( map[ jqXHR.status ] );
  13778. }
  13779. }
  13780. return this;
  13781. },
  13782. // Cancel the request
  13783. abort: function( statusText ) {
  13784. var finalText = statusText || strAbort;
  13785. if ( transport ) {
  13786. transport.abort( finalText );
  13787. }
  13788. done( 0, finalText );
  13789. return this;
  13790. }
  13791. };
  13792. // Attach deferreds
  13793. deferred.promise( jqXHR ).complete = completeDeferred.add;
  13794. jqXHR.success = jqXHR.done;
  13795. jqXHR.error = jqXHR.fail;
  13796. // Remove hash character (#7531: and string promotion)
  13797. // Add protocol if not provided (#5866: IE7 issue with protocol-less urls)
  13798. // Handle falsy url in the settings object (#10093: consistency with old signature)
  13799. // We also use the url parameter if available
  13800. s.url = ( ( url || s.url || ajaxLocation ) + "" )
  13801. .replace( rhash, "" )
  13802. .replace( rprotocol, ajaxLocParts[ 1 ] + "//" );
  13803. // Alias method option to type as per ticket #12004
  13804. s.type = options.method || options.type || s.method || s.type;
  13805. // Extract dataTypes list
  13806. s.dataTypes = jQuery.trim( s.dataType || "*" ).toLowerCase().match( rnotwhite ) || [ "" ];
  13807. // A cross-domain request is in order when we have a protocol:host:port mismatch
  13808. if ( s.crossDomain == null ) {
  13809. parts = rurl.exec( s.url.toLowerCase() );
  13810. s.crossDomain = !!( parts &&
  13811. ( parts[ 1 ] !== ajaxLocParts[ 1 ] || parts[ 2 ] !== ajaxLocParts[ 2 ] ||
  13812. ( parts[ 3 ] || ( parts[ 1 ] === "http:" ? "80" : "443" ) ) !==
  13813. ( ajaxLocParts[ 3 ] || ( ajaxLocParts[ 1 ] === "http:" ? "80" : "443" ) ) )
  13814. );
  13815. }
  13816. // Convert data if not already a string
  13817. if ( s.data && s.processData && typeof s.data !== "string" ) {
  13818. s.data = jQuery.param( s.data, s.traditional );
  13819. }
  13820. // Apply prefilters
  13821. inspectPrefiltersOrTransports( prefilters, s, options, jqXHR );
  13822. // If request was aborted inside a prefilter, stop there
  13823. if ( state === 2 ) {
  13824. return jqXHR;
  13825. }
  13826. // We can fire global events as of now if asked to
  13827. // Don't fire events if jQuery.event is undefined in an AMD-usage scenario (#15118)
  13828. fireGlobals = jQuery.event && s.global;
  13829. // Watch for a new set of requests
  13830. if ( fireGlobals && jQuery.active++ === 0 ) {
  13831. jQuery.event.trigger( "ajaxStart" );
  13832. }
  13833. // Uppercase the type
  13834. s.type = s.type.toUpperCase();
  13835. // Determine if request has content
  13836. s.hasContent = !rnoContent.test( s.type );
  13837. // Save the URL in case we're toying with the If-Modified-Since
  13838. // and/or If-None-Match header later on
  13839. cacheURL = s.url;
  13840. // More options handling for requests with no content
  13841. if ( !s.hasContent ) {
  13842. // If data is available, append data to url
  13843. if ( s.data ) {
  13844. cacheURL = ( s.url += ( rquery.test( cacheURL ) ? "&" : "?" ) + s.data );
  13845. // #9682: remove data so that it's not used in an eventual retry
  13846. delete s.data;
  13847. }
  13848. // Add anti-cache in url if needed
  13849. if ( s.cache === false ) {
  13850. s.url = rts.test( cacheURL ) ?
  13851. // If there is already a '_' parameter, set its value
  13852. cacheURL.replace( rts, "$1_=" + nonce++ ) :
  13853. // Otherwise add one to the end
  13854. cacheURL + ( rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + nonce++;
  13855. }
  13856. }
  13857. // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.
  13858. if ( s.ifModified ) {
  13859. if ( jQuery.lastModified[ cacheURL ] ) {
  13860. jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ cacheURL ] );
  13861. }
  13862. if ( jQuery.etag[ cacheURL ] ) {
  13863. jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ cacheURL ] );
  13864. }
  13865. }
  13866. // Set the correct header, if data is being sent
  13867. if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) {
  13868. jqXHR.setRequestHeader( "Content-Type", s.contentType );
  13869. }
  13870. // Set the Accepts header for the server, depending on the dataType
  13871. jqXHR.setRequestHeader(
  13872. "Accept",
  13873. s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[ 0 ] ] ?
  13874. s.accepts[ s.dataTypes[ 0 ] ] +
  13875. ( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) :
  13876. s.accepts[ "*" ]
  13877. );
  13878. // Check for headers option
  13879. for ( i in s.headers ) {
  13880. jqXHR.setRequestHeader( i, s.headers[ i ] );
  13881. }
  13882. // Allow custom headers/mimetypes and early abort
  13883. if ( s.beforeSend &&
  13884. ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || state === 2 ) ) {
  13885. // Abort if not done already and return
  13886. return jqXHR.abort();
  13887. }
  13888. // aborting is no longer a cancellation
  13889. strAbort = "abort";
  13890. // Install callbacks on deferreds
  13891. for ( i in { success: 1, error: 1, complete: 1 } ) {
  13892. jqXHR[ i ]( s[ i ] );
  13893. }
  13894. // Get transport
  13895. transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR );
  13896. // If no transport, we auto-abort
  13897. if ( !transport ) {
  13898. done( -1, "No Transport" );
  13899. } else {
  13900. jqXHR.readyState = 1;
  13901. // Send global event
  13902. if ( fireGlobals ) {
  13903. globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] );
  13904. }
  13905. // If request was aborted inside ajaxSend, stop there
  13906. if ( state === 2 ) {
  13907. return jqXHR;
  13908. }
  13909. // Timeout
  13910. if ( s.async && s.timeout > 0 ) {
  13911. timeoutTimer = window.setTimeout( function() {
  13912. jqXHR.abort( "timeout" );
  13913. }, s.timeout );
  13914. }
  13915. try {
  13916. state = 1;
  13917. transport.send( requestHeaders, done );
  13918. } catch ( e ) {
  13919. // Propagate exception as error if not done
  13920. if ( state < 2 ) {
  13921. done( -1, e );
  13922. // Simply rethrow otherwise
  13923. } else {
  13924. throw e;
  13925. }
  13926. }
  13927. }
  13928. // Callback for when everything is done
  13929. function done( status, nativeStatusText, responses, headers ) {
  13930. var isSuccess, success, error, response, modified,
  13931. statusText = nativeStatusText;
  13932. // Called once
  13933. if ( state === 2 ) {
  13934. return;
  13935. }
  13936. // State is "done" now
  13937. state = 2;
  13938. // Clear timeout if it exists
  13939. if ( timeoutTimer ) {
  13940. window.clearTimeout( timeoutTimer );
  13941. }
  13942. // Dereference transport for early garbage collection
  13943. // (no matter how long the jqXHR object will be used)
  13944. transport = undefined;
  13945. // Cache response headers
  13946. responseHeadersString = headers || "";
  13947. // Set readyState
  13948. jqXHR.readyState = status > 0 ? 4 : 0;
  13949. // Determine if successful
  13950. isSuccess = status >= 200 && status < 300 || status === 304;
  13951. // Get response data
  13952. if ( responses ) {
  13953. response = ajaxHandleResponses( s, jqXHR, responses );
  13954. }
  13955. // Convert no matter what (that way responseXXX fields are always set)
  13956. response = ajaxConvert( s, response, jqXHR, isSuccess );
  13957. // If successful, handle type chaining
  13958. if ( isSuccess ) {
  13959. // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.
  13960. if ( s.ifModified ) {
  13961. modified = jqXHR.getResponseHeader( "Last-Modified" );
  13962. if ( modified ) {
  13963. jQuery.lastModified[ cacheURL ] = modified;
  13964. }
  13965. modified = jqXHR.getResponseHeader( "etag" );
  13966. if ( modified ) {
  13967. jQuery.etag[ cacheURL ] = modified;
  13968. }
  13969. }
  13970. // if no content
  13971. if ( status === 204 || s.type === "HEAD" ) {
  13972. statusText = "nocontent";
  13973. // if not modified
  13974. } else if ( status === 304 ) {
  13975. statusText = "notmodified";
  13976. // If we have data, let's convert it
  13977. } else {
  13978. statusText = response.state;
  13979. success = response.data;
  13980. error = response.error;
  13981. isSuccess = !error;
  13982. }
  13983. } else {
  13984. // We extract error from statusText
  13985. // then normalize statusText and status for non-aborts
  13986. error = statusText;
  13987. if ( status || !statusText ) {
  13988. statusText = "error";
  13989. if ( status < 0 ) {
  13990. status = 0;
  13991. }
  13992. }
  13993. }
  13994. // Set data for the fake xhr object
  13995. jqXHR.status = status;
  13996. jqXHR.statusText = ( nativeStatusText || statusText ) + "";
  13997. // Success/Error
  13998. if ( isSuccess ) {
  13999. deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] );
  14000. } else {
  14001. deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] );
  14002. }
  14003. // Status-dependent callbacks
  14004. jqXHR.statusCode( statusCode );
  14005. statusCode = undefined;
  14006. if ( fireGlobals ) {
  14007. globalEventContext.trigger( isSuccess ? "ajaxSuccess" : "ajaxError",
  14008. [ jqXHR, s, isSuccess ? success : error ] );
  14009. }
  14010. // Complete
  14011. completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] );
  14012. if ( fireGlobals ) {
  14013. globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] );
  14014. // Handle the global AJAX counter
  14015. if ( !( --jQuery.active ) ) {
  14016. jQuery.event.trigger( "ajaxStop" );
  14017. }
  14018. }
  14019. }
  14020. return jqXHR;
  14021. },
  14022. getJSON: function( url, data, callback ) {
  14023. return jQuery.get( url, data, callback, "json" );
  14024. },
  14025. getScript: function( url, callback ) {
  14026. return jQuery.get( url, undefined, callback, "script" );
  14027. }
  14028. } );
  14029. jQuery.each( [ "get", "post" ], function( i, method ) {
  14030. jQuery[ method ] = function( url, data, callback, type ) {
  14031. // shift arguments if data argument was omitted
  14032. if ( jQuery.isFunction( data ) ) {
  14033. type = type || callback;
  14034. callback = data;
  14035. data = undefined;
  14036. }
  14037. // The url can be an options object (which then must have .url)
  14038. return jQuery.ajax( jQuery.extend( {
  14039. url: url,
  14040. type: method,
  14041. dataType: type,
  14042. data: data,
  14043. success: callback
  14044. }, jQuery.isPlainObject( url ) && url ) );
  14045. };
  14046. } );
  14047. jQuery._evalUrl = function( url ) {
  14048. return jQuery.ajax( {
  14049. url: url,
  14050. // Make this explicit, since user can override this through ajaxSetup (#11264)
  14051. type: "GET",
  14052. dataType: "script",
  14053. cache: true,
  14054. async: false,
  14055. global: false,
  14056. "throws": true
  14057. } );
  14058. };
  14059. jQuery.fn.extend( {
  14060. wrapAll: function( html ) {
  14061. if ( jQuery.isFunction( html ) ) {
  14062. return this.each( function( i ) {
  14063. jQuery( this ).wrapAll( html.call( this, i ) );
  14064. } );
  14065. }
  14066. if ( this[ 0 ] ) {
  14067. // The elements to wrap the target around
  14068. var wrap = jQuery( html, this[ 0 ].ownerDocument ).eq( 0 ).clone( true );
  14069. if ( this[ 0 ].parentNode ) {
  14070. wrap.insertBefore( this[ 0 ] );
  14071. }
  14072. wrap.map( function() {
  14073. var elem = this;
  14074. while ( elem.firstChild && elem.firstChild.nodeType === 1 ) {
  14075. elem = elem.firstChild;
  14076. }
  14077. return elem;
  14078. } ).append( this );
  14079. }
  14080. return this;
  14081. },
  14082. wrapInner: function( html ) {
  14083. if ( jQuery.isFunction( html ) ) {
  14084. return this.each( function( i ) {
  14085. jQuery( this ).wrapInner( html.call( this, i ) );
  14086. } );
  14087. }
  14088. return this.each( function() {
  14089. var self = jQuery( this ),
  14090. contents = self.contents();
  14091. if ( contents.length ) {
  14092. contents.wrapAll( html );
  14093. } else {
  14094. self.append( html );
  14095. }
  14096. } );
  14097. },
  14098. wrap: function( html ) {
  14099. var isFunction = jQuery.isFunction( html );
  14100. return this.each( function( i ) {
  14101. jQuery( this ).wrapAll( isFunction ? html.call( this, i ) : html );
  14102. } );
  14103. },
  14104. unwrap: function() {
  14105. return this.parent().each( function() {
  14106. if ( !jQuery.nodeName( this, "body" ) ) {
  14107. jQuery( this ).replaceWith( this.childNodes );
  14108. }
  14109. } ).end();
  14110. }
  14111. } );
  14112. function getDisplay( elem ) {
  14113. return elem.style && elem.style.display || jQuery.css( elem, "display" );
  14114. }
  14115. function filterHidden( elem ) {
  14116. // Disconnected elements are considered hidden
  14117. if ( !jQuery.contains( elem.ownerDocument || document, elem ) ) {
  14118. return true;
  14119. }
  14120. while ( elem && elem.nodeType === 1 ) {
  14121. if ( getDisplay( elem ) === "none" || elem.type === "hidden" ) {
  14122. return true;
  14123. }
  14124. elem = elem.parentNode;
  14125. }
  14126. return false;
  14127. }
  14128. jQuery.expr.filters.hidden = function( elem ) {
  14129. // Support: Opera <= 12.12
  14130. // Opera reports offsetWidths and offsetHeights less than zero on some elements
  14131. return support.reliableHiddenOffsets() ?
  14132. ( elem.offsetWidth <= 0 && elem.offsetHeight <= 0 &&
  14133. !elem.getClientRects().length ) :
  14134. filterHidden( elem );
  14135. };
  14136. jQuery.expr.filters.visible = function( elem ) {
  14137. return !jQuery.expr.filters.hidden( elem );
  14138. };
  14139. var r20 = /%20/g,
  14140. rbracket = /\[\]$/,
  14141. rCRLF = /\r?\n/g,
  14142. rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i,
  14143. rsubmittable = /^(?:input|select|textarea|keygen)/i;
  14144. function buildParams( prefix, obj, traditional, add ) {
  14145. var name;
  14146. if ( jQuery.isArray( obj ) ) {
  14147. // Serialize array item.
  14148. jQuery.each( obj, function( i, v ) {
  14149. if ( traditional || rbracket.test( prefix ) ) {
  14150. // Treat each array item as a scalar.
  14151. add( prefix, v );
  14152. } else {
  14153. // Item is non-scalar (array or object), encode its numeric index.
  14154. buildParams(
  14155. prefix + "[" + ( typeof v === "object" && v != null ? i : "" ) + "]",
  14156. v,
  14157. traditional,
  14158. add
  14159. );
  14160. }
  14161. } );
  14162. } else if ( !traditional && jQuery.type( obj ) === "object" ) {
  14163. // Serialize object item.
  14164. for ( name in obj ) {
  14165. buildParams( prefix + "[" + name + "]", obj[ name ], traditional, add );
  14166. }
  14167. } else {
  14168. // Serialize scalar item.
  14169. add( prefix, obj );
  14170. }
  14171. }
  14172. // Serialize an array of form elements or a set of
  14173. // key/values into a query string
  14174. jQuery.param = function( a, traditional ) {
  14175. var prefix,
  14176. s = [],
  14177. add = function( key, value ) {
  14178. // If value is a function, invoke it and return its value
  14179. value = jQuery.isFunction( value ) ? value() : ( value == null ? "" : value );
  14180. s[ s.length ] = encodeURIComponent( key ) + "=" + encodeURIComponent( value );
  14181. };
  14182. // Set traditional to true for jQuery <= 1.3.2 behavior.
  14183. if ( traditional === undefined ) {
  14184. traditional = jQuery.ajaxSettings && jQuery.ajaxSettings.traditional;
  14185. }
  14186. // If an array was passed in, assume that it is an array of form elements.
  14187. if ( jQuery.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) {
  14188. // Serialize the form elements
  14189. jQuery.each( a, function() {
  14190. add( this.name, this.value );
  14191. } );
  14192. } else {
  14193. // If traditional, encode the "old" way (the way 1.3.2 or older
  14194. // did it), otherwise encode params recursively.
  14195. for ( prefix in a ) {
  14196. buildParams( prefix, a[ prefix ], traditional, add );
  14197. }
  14198. }
  14199. // Return the resulting serialization
  14200. return s.join( "&" ).replace( r20, "+" );
  14201. };
  14202. jQuery.fn.extend( {
  14203. serialize: function() {
  14204. return jQuery.param( this.serializeArray() );
  14205. },
  14206. serializeArray: function() {
  14207. return this.map( function() {
  14208. // Can add propHook for "elements" to filter or add form elements
  14209. var elements = jQuery.prop( this, "elements" );
  14210. return elements ? jQuery.makeArray( elements ) : this;
  14211. } )
  14212. .filter( function() {
  14213. var type = this.type;
  14214. // Use .is(":disabled") so that fieldset[disabled] works
  14215. return this.name && !jQuery( this ).is( ":disabled" ) &&
  14216. rsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) &&
  14217. ( this.checked || !rcheckableType.test( type ) );
  14218. } )
  14219. .map( function( i, elem ) {
  14220. var val = jQuery( this ).val();
  14221. return val == null ?
  14222. null :
  14223. jQuery.isArray( val ) ?
  14224. jQuery.map( val, function( val ) {
  14225. return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) };
  14226. } ) :
  14227. { name: elem.name, value: val.replace( rCRLF, "\r\n" ) };
  14228. } ).get();
  14229. }
  14230. } );
  14231. // Create the request object
  14232. // (This is still attached to ajaxSettings for backward compatibility)
  14233. jQuery.ajaxSettings.xhr = window.ActiveXObject !== undefined ?
  14234. // Support: IE6-IE8
  14235. function() {
  14236. // XHR cannot access local files, always use ActiveX for that case
  14237. if ( this.isLocal ) {
  14238. return createActiveXHR();
  14239. }
  14240. // Support: IE 9-11
  14241. // IE seems to error on cross-domain PATCH requests when ActiveX XHR
  14242. // is used. In IE 9+ always use the native XHR.
  14243. // Note: this condition won't catch Edge as it doesn't define
  14244. // document.documentMode but it also doesn't support ActiveX so it won't
  14245. // reach this code.
  14246. if ( document.documentMode > 8 ) {
  14247. return createStandardXHR();
  14248. }
  14249. // Support: IE<9
  14250. // oldIE XHR does not support non-RFC2616 methods (#13240)
  14251. // See http://msdn.microsoft.com/en-us/library/ie/ms536648(v=vs.85).aspx
  14252. // and http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9
  14253. // Although this check for six methods instead of eight
  14254. // since IE also does not support "trace" and "connect"
  14255. return /^(get|post|head|put|delete|options)$/i.test( this.type ) &&
  14256. createStandardXHR() || createActiveXHR();
  14257. } :
  14258. // For all other browsers, use the standard XMLHttpRequest object
  14259. createStandardXHR;
  14260. var xhrId = 0,
  14261. xhrCallbacks = {},
  14262. xhrSupported = jQuery.ajaxSettings.xhr();
  14263. // Support: IE<10
  14264. // Open requests must be manually aborted on unload (#5280)
  14265. // See https://support.microsoft.com/kb/2856746 for more info
  14266. if ( window.attachEvent ) {
  14267. window.attachEvent( "onunload", function() {
  14268. for ( var key in xhrCallbacks ) {
  14269. xhrCallbacks[ key ]( undefined, true );
  14270. }
  14271. } );
  14272. }
  14273. // Determine support properties
  14274. support.cors = !!xhrSupported && ( "withCredentials" in xhrSupported );
  14275. xhrSupported = support.ajax = !!xhrSupported;
  14276. // Create transport if the browser can provide an xhr
  14277. if ( xhrSupported ) {
  14278. jQuery.ajaxTransport( function( options ) {
  14279. // Cross domain only allowed if supported through XMLHttpRequest
  14280. if ( !options.crossDomain || support.cors ) {
  14281. var callback;
  14282. return {
  14283. send: function( headers, complete ) {
  14284. var i,
  14285. xhr = options.xhr(),
  14286. id = ++xhrId;
  14287. // Open the socket
  14288. xhr.open(
  14289. options.type,
  14290. options.url,
  14291. options.async,
  14292. options.username,
  14293. options.password
  14294. );
  14295. // Apply custom fields if provided
  14296. if ( options.xhrFields ) {
  14297. for ( i in options.xhrFields ) {
  14298. xhr[ i ] = options.xhrFields[ i ];
  14299. }
  14300. }
  14301. // Override mime type if needed
  14302. if ( options.mimeType && xhr.overrideMimeType ) {
  14303. xhr.overrideMimeType( options.mimeType );
  14304. }
  14305. // X-Requested-With header
  14306. // For cross-domain requests, seeing as conditions for a preflight are
  14307. // akin to a jigsaw puzzle, we simply never set it to be sure.
  14308. // (it can always be set on a per-request basis or even using ajaxSetup)
  14309. // For same-domain requests, won't change header if already provided.
  14310. if ( !options.crossDomain && !headers[ "X-Requested-With" ] ) {
  14311. headers[ "X-Requested-With" ] = "XMLHttpRequest";
  14312. }
  14313. // Set headers
  14314. for ( i in headers ) {
  14315. // Support: IE<9
  14316. // IE's ActiveXObject throws a 'Type Mismatch' exception when setting
  14317. // request header to a null-value.
  14318. //
  14319. // To keep consistent with other XHR implementations, cast the value
  14320. // to string and ignore `undefined`.
  14321. if ( headers[ i ] !== undefined ) {
  14322. xhr.setRequestHeader( i, headers[ i ] + "" );
  14323. }
  14324. }
  14325. // Do send the request
  14326. // This may raise an exception which is actually
  14327. // handled in jQuery.ajax (so no try/catch here)
  14328. xhr.send( ( options.hasContent && options.data ) || null );
  14329. // Listener
  14330. callback = function( _, isAbort ) {
  14331. var status, statusText, responses;
  14332. // Was never called and is aborted or complete
  14333. if ( callback && ( isAbort || xhr.readyState === 4 ) ) {
  14334. // Clean up
  14335. delete xhrCallbacks[ id ];
  14336. callback = undefined;
  14337. xhr.onreadystatechange = jQuery.noop;
  14338. // Abort manually if needed
  14339. if ( isAbort ) {
  14340. if ( xhr.readyState !== 4 ) {
  14341. xhr.abort();
  14342. }
  14343. } else {
  14344. responses = {};
  14345. status = xhr.status;
  14346. // Support: IE<10
  14347. // Accessing binary-data responseText throws an exception
  14348. // (#11426)
  14349. if ( typeof xhr.responseText === "string" ) {
  14350. responses.text = xhr.responseText;
  14351. }
  14352. // Firefox throws an exception when accessing
  14353. // statusText for faulty cross-domain requests
  14354. try {
  14355. statusText = xhr.statusText;
  14356. } catch ( e ) {
  14357. // We normalize with Webkit giving an empty statusText
  14358. statusText = "";
  14359. }
  14360. // Filter status for non standard behaviors
  14361. // If the request is local and we have data: assume a success
  14362. // (success with no data won't get notified, that's the best we
  14363. // can do given current implementations)
  14364. if ( !status && options.isLocal && !options.crossDomain ) {
  14365. status = responses.text ? 200 : 404;
  14366. // IE - #1450: sometimes returns 1223 when it should be 204
  14367. } else if ( status === 1223 ) {
  14368. status = 204;
  14369. }
  14370. }
  14371. }
  14372. // Call complete if needed
  14373. if ( responses ) {
  14374. complete( status, statusText, responses, xhr.getAllResponseHeaders() );
  14375. }
  14376. };
  14377. // Do send the request
  14378. // `xhr.send` may raise an exception, but it will be
  14379. // handled in jQuery.ajax (so no try/catch here)
  14380. if ( !options.async ) {
  14381. // If we're in sync mode we fire the callback
  14382. callback();
  14383. } else if ( xhr.readyState === 4 ) {
  14384. // (IE6 & IE7) if it's in cache and has been
  14385. // retrieved directly we need to fire the callback
  14386. window.setTimeout( callback );
  14387. } else {
  14388. // Register the callback, but delay it in case `xhr.send` throws
  14389. // Add to the list of active xhr callbacks
  14390. xhr.onreadystatechange = xhrCallbacks[ id ] = callback;
  14391. }
  14392. },
  14393. abort: function() {
  14394. if ( callback ) {
  14395. callback( undefined, true );
  14396. }
  14397. }
  14398. };
  14399. }
  14400. } );
  14401. }
  14402. // Functions to create xhrs
  14403. function createStandardXHR() {
  14404. try {
  14405. return new window.XMLHttpRequest();
  14406. } catch ( e ) {}
  14407. }
  14408. function createActiveXHR() {
  14409. try {
  14410. return new window.ActiveXObject( "Microsoft.XMLHTTP" );
  14411. } catch ( e ) {}
  14412. }
  14413. // Install script dataType
  14414. jQuery.ajaxSetup( {
  14415. accepts: {
  14416. script: "text/javascript, application/javascript, " +
  14417. "application/ecmascript, application/x-ecmascript"
  14418. },
  14419. contents: {
  14420. script: /\b(?:java|ecma)script\b/
  14421. },
  14422. converters: {
  14423. "text script": function( text ) {
  14424. jQuery.globalEval( text );
  14425. return text;
  14426. }
  14427. }
  14428. } );
  14429. // Handle cache's special case and global
  14430. jQuery.ajaxPrefilter( "script", function( s ) {
  14431. if ( s.cache === undefined ) {
  14432. s.cache = false;
  14433. }
  14434. if ( s.crossDomain ) {
  14435. s.type = "GET";
  14436. s.global = false;
  14437. }
  14438. } );
  14439. // Bind script tag hack transport
  14440. jQuery.ajaxTransport( "script", function( s ) {
  14441. // This transport only deals with cross domain requests
  14442. if ( s.crossDomain ) {
  14443. var script,
  14444. head = document.head || jQuery( "head" )[ 0 ] || document.documentElement;
  14445. return {
  14446. send: function( _, callback ) {
  14447. script = document.createElement( "script" );
  14448. script.async = true;
  14449. if ( s.scriptCharset ) {
  14450. script.charset = s.scriptCharset;
  14451. }
  14452. script.src = s.url;
  14453. // Attach handlers for all browsers
  14454. script.onload = script.onreadystatechange = function( _, isAbort ) {
  14455. if ( isAbort || !script.readyState || /loaded|complete/.test( script.readyState ) ) {
  14456. // Handle memory leak in IE
  14457. script.onload = script.onreadystatechange = null;
  14458. // Remove the script
  14459. if ( script.parentNode ) {
  14460. script.parentNode.removeChild( script );
  14461. }
  14462. // Dereference the script
  14463. script = null;
  14464. // Callback if not abort
  14465. if ( !isAbort ) {
  14466. callback( 200, "success" );
  14467. }
  14468. }
  14469. };
  14470. // Circumvent IE6 bugs with base elements (#2709 and #4378) by prepending
  14471. // Use native DOM manipulation to avoid our domManip AJAX trickery
  14472. head.insertBefore( script, head.firstChild );
  14473. },
  14474. abort: function() {
  14475. if ( script ) {
  14476. script.onload( undefined, true );
  14477. }
  14478. }
  14479. };
  14480. }
  14481. } );
  14482. var oldCallbacks = [],
  14483. rjsonp = /(=)\?(?=&|$)|\?\?/;
  14484. // Default jsonp settings
  14485. jQuery.ajaxSetup( {
  14486. jsonp: "callback",
  14487. jsonpCallback: function() {
  14488. var callback = oldCallbacks.pop() || ( jQuery.expando + "_" + ( nonce++ ) );
  14489. this[ callback ] = true;
  14490. return callback;
  14491. }
  14492. } );
  14493. // Detect, normalize options and install callbacks for jsonp requests
  14494. jQuery.ajaxPrefilter( "json jsonp", function( s, originalSettings, jqXHR ) {
  14495. var callbackName, overwritten, responseContainer,
  14496. jsonProp = s.jsonp !== false && ( rjsonp.test( s.url ) ?
  14497. "url" :
  14498. typeof s.data === "string" &&
  14499. ( s.contentType || "" )
  14500. .indexOf( "application/x-www-form-urlencoded" ) === 0 &&
  14501. rjsonp.test( s.data ) && "data"
  14502. );
  14503. // Handle iff the expected data type is "jsonp" or we have a parameter to set
  14504. if ( jsonProp || s.dataTypes[ 0 ] === "jsonp" ) {
  14505. // Get callback name, remembering preexisting value associated with it
  14506. callbackName = s.jsonpCallback = jQuery.isFunction( s.jsonpCallback ) ?
  14507. s.jsonpCallback() :
  14508. s.jsonpCallback;
  14509. // Insert callback into url or form data
  14510. if ( jsonProp ) {
  14511. s[ jsonProp ] = s[ jsonProp ].replace( rjsonp, "$1" + callbackName );
  14512. } else if ( s.jsonp !== false ) {
  14513. s.url += ( rquery.test( s.url ) ? "&" : "?" ) + s.jsonp + "=" + callbackName;
  14514. }
  14515. // Use data converter to retrieve json after script execution
  14516. s.converters[ "script json" ] = function() {
  14517. if ( !responseContainer ) {
  14518. jQuery.error( callbackName + " was not called" );
  14519. }
  14520. return responseContainer[ 0 ];
  14521. };
  14522. =======
  14523. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  14524. // force json dataType
  14525. s.dataTypes[ 0 ] = "json";
  14526. // Install callback
  14527. overwritten = window[ callbackName ];
  14528. window[ callbackName ] = function() {
  14529. responseContainer = arguments;
  14530. };
  14531. // Clean-up function (fires after converters)
  14532. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  14533. jqXHR.always( function() {
  14534. // If previous value didn't exist - remove it
  14535. if ( overwritten === undefined ) {
  14536. jQuery( window ).removeProp( callbackName );
  14537. // Otherwise restore preexisting value
  14538. } else {
  14539. window[ callbackName ] = overwritten;
  14540. }
  14541. // Save back as free
  14542. if ( s[ callbackName ] ) {
  14543. =======
  14544. jqXHR.always(function() {
  14545. // Restore preexisting value
  14546. window[ callbackName ] = overwritten;
  14547. // Save back as free
  14548. if ( s[ callbackName ] ) {
  14549. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  14550. // make sure that re-using the options doesn't screw things around
  14551. s.jsonpCallback = originalSettings.jsonpCallback;
  14552. // save the callback name for future use
  14553. oldCallbacks.push( callbackName );
  14554. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  14555. }
  14556. // Call if it was a function and we have a response
  14557. if ( responseContainer && jQuery.isFunction( overwritten ) ) {
  14558. overwritten( responseContainer[ 0 ] );
  14559. }
  14560. responseContainer = overwritten = undefined;
  14561. } );
  14562. =======
  14563. }
  14564. // Call if it was a function and we have a response
  14565. if ( responseContainer && jQuery.isFunction( overwritten ) ) {
  14566. overwritten( responseContainer[ 0 ] );
  14567. }
  14568. responseContainer = overwritten = undefined;
  14569. });
  14570. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  14571. // Delegate to script
  14572. return "script";
  14573. }
  14574. } );
  14575. // data: string of html
  14576. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  14577. // context (optional): If specified, the fragment will be created in this context,
  14578. // defaults to document
  14579. =======
  14580. // context (optional): If specified, the fragment will be created in this context, defaults to document
  14581. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  14582. // keepScripts (optional): If true, will include scripts passed in the html string
  14583. jQuery.parseHTML = function( data, context, keepScripts ) {
  14584. if ( !data || typeof data !== "string" ) {
  14585. return null;
  14586. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  14587. }
  14588. if ( typeof context === "boolean" ) {
  14589. keepScripts = context;
  14590. context = false;
  14591. }
  14592. =======
  14593. }
  14594. if ( typeof context === "boolean" ) {
  14595. keepScripts = context;
  14596. context = false;
  14597. }
  14598. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  14599. context = context || document;
  14600. var parsed = rsingleTag.exec( data ),
  14601. scripts = !keepScripts && [];
  14602. // Single tag
  14603. if ( parsed ) {
  14604. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  14605. return [ context.createElement( parsed[ 1 ] ) ];
  14606. }
  14607. parsed = buildFragment( [ data ], context, scripts );
  14608. =======
  14609. return [ context.createElement( parsed[1] ) ];
  14610. }
  14611. parsed = jQuery.buildFragment( [ data ], context, scripts );
  14612. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  14613. if ( scripts && scripts.length ) {
  14614. jQuery( scripts ).remove();
  14615. }
  14616. return jQuery.merge( [], parsed.childNodes );
  14617. };
  14618. // Keep a copy of the old load method
  14619. var _load = jQuery.fn.load;
  14620. /**
  14621. * Load a url into a page
  14622. */
  14623. jQuery.fn.load = function( url, params, callback ) {
  14624. if ( typeof url !== "string" && _load ) {
  14625. return _load.apply( this, arguments );
  14626. }
  14627. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  14628. var selector, type, response,
  14629. self = this,
  14630. off = url.indexOf( " " );
  14631. if ( off > -1 ) {
  14632. =======
  14633. var selector, response, type,
  14634. self = this,
  14635. off = url.indexOf(" ");
  14636. if ( off >= 0 ) {
  14637. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  14638. selector = jQuery.trim( url.slice( off, url.length ) );
  14639. url = url.slice( 0, off );
  14640. }
  14641. // If it's a function
  14642. if ( jQuery.isFunction( params ) ) {
  14643. // We assume that it's the callback
  14644. callback = params;
  14645. params = undefined;
  14646. // Otherwise, build a param string
  14647. } else if ( params && typeof params === "object" ) {
  14648. type = "POST";
  14649. }
  14650. // If we have elements to modify, make the request
  14651. if ( self.length > 0 ) {
  14652. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  14653. jQuery.ajax( {
  14654. url: url,
  14655. // If "type" variable is undefined, then "GET" method will be used.
  14656. // Make value of this field explicit since
  14657. // user can override it through ajaxSetup method
  14658. type: type || "GET",
  14659. dataType: "html",
  14660. data: params
  14661. } ).done( function( responseText ) {
  14662. =======
  14663. jQuery.ajax({
  14664. url: url,
  14665. // if "type" variable is undefined, then "GET" method will be used
  14666. type: type,
  14667. dataType: "html",
  14668. data: params
  14669. }).done(function( responseText ) {
  14670. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  14671. // Save response for use in complete callback
  14672. response = arguments;
  14673. self.html( selector ?
  14674. // If a selector was specified, locate the right elements in a dummy div
  14675. // Exclude scripts to avoid IE 'Permission Denied' errors
  14676. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  14677. jQuery( "<div>" ).append( jQuery.parseHTML( responseText ) ).find( selector ) :
  14678. =======
  14679. jQuery("<div>").append( jQuery.parseHTML( responseText ) ).find( selector ) :
  14680. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  14681. // Otherwise use the full result
  14682. responseText );
  14683. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  14684. // If the request succeeds, this function gets "data", "status", "jqXHR"
  14685. // but they are ignored because response was set above.
  14686. // If it fails, this function gets "jqXHR", "status", "error"
  14687. } ).always( callback && function( jqXHR, status ) {
  14688. self.each( function() {
  14689. callback.apply( this, response || [ jqXHR.responseText, status, jqXHR ] );
  14690. } );
  14691. } );
  14692. =======
  14693. }).complete( callback && function( jqXHR, status ) {
  14694. self.each( callback, response || [ jqXHR.responseText, status, jqXHR ] );
  14695. });
  14696. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  14697. }
  14698. return this;
  14699. };
  14700. // Attach a bunch of functions for handling common AJAX events
  14701. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  14702. jQuery.each( [
  14703. "ajaxStart",
  14704. "ajaxStop",
  14705. "ajaxComplete",
  14706. "ajaxError",
  14707. "ajaxSuccess",
  14708. "ajaxSend"
  14709. ], function( i, type ) {
  14710. jQuery.fn[ type ] = function( fn ) {
  14711. return this.on( type, fn );
  14712. };
  14713. } );
  14714. =======
  14715. jQuery.each( [ "ajaxStart", "ajaxStop", "ajaxComplete", "ajaxError", "ajaxSuccess", "ajaxSend" ], function( i, type ) {
  14716. jQuery.fn[ type ] = function( fn ) {
  14717. return this.on( type, fn );
  14718. };
  14719. });
  14720. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  14721. jQuery.expr.filters.animated = function( elem ) {
  14722. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  14723. return jQuery.grep( jQuery.timers, function( fn ) {
  14724. return elem === fn.elem;
  14725. } ).length;
  14726. =======
  14727. return jQuery.grep(jQuery.timers, function( fn ) {
  14728. return elem === fn.elem;
  14729. }).length;
  14730. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  14731. };
  14732. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  14733. =======
  14734. var docElem = window.document.documentElement;
  14735. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  14736. /**
  14737. * Gets a window from an element
  14738. */
  14739. function getWindow( elem ) {
  14740. return jQuery.isWindow( elem ) ?
  14741. elem :
  14742. elem.nodeType === 9 ?
  14743. elem.defaultView || elem.parentWindow :
  14744. false;
  14745. }
  14746. jQuery.offset = {
  14747. setOffset: function( elem, options, i ) {
  14748. var curPosition, curLeft, curCSSTop, curTop, curOffset, curCSSLeft, calculatePosition,
  14749. position = jQuery.css( elem, "position" ),
  14750. curElem = jQuery( elem ),
  14751. props = {};
  14752. // set position first, in-case top/left are set even on static elem
  14753. if ( position === "static" ) {
  14754. elem.style.position = "relative";
  14755. }
  14756. curOffset = curElem.offset();
  14757. curCSSTop = jQuery.css( elem, "top" );
  14758. curCSSLeft = jQuery.css( elem, "left" );
  14759. calculatePosition = ( position === "absolute" || position === "fixed" ) &&
  14760. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  14761. jQuery.inArray( "auto", [ curCSSTop, curCSSLeft ] ) > -1;
  14762. =======
  14763. jQuery.inArray("auto", [ curCSSTop, curCSSLeft ] ) > -1;
  14764. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  14765. // need to be able to calculate position if either top or left
  14766. // is auto and position is either absolute or fixed
  14767. if ( calculatePosition ) {
  14768. curPosition = curElem.position();
  14769. curTop = curPosition.top;
  14770. curLeft = curPosition.left;
  14771. } else {
  14772. curTop = parseFloat( curCSSTop ) || 0;
  14773. curLeft = parseFloat( curCSSLeft ) || 0;
  14774. }
  14775. if ( jQuery.isFunction( options ) ) {
  14776. // Use jQuery.extend here to allow modification of coordinates argument (gh-1848)
  14777. options = options.call( elem, i, jQuery.extend( {}, curOffset ) );
  14778. }
  14779. if ( options.top != null ) {
  14780. props.top = ( options.top - curOffset.top ) + curTop;
  14781. }
  14782. if ( options.left != null ) {
  14783. props.left = ( options.left - curOffset.left ) + curLeft;
  14784. }
  14785. if ( "using" in options ) {
  14786. options.using.call( elem, props );
  14787. } else {
  14788. curElem.css( props );
  14789. }
  14790. }
  14791. };
  14792. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  14793. jQuery.fn.extend( {
  14794. =======
  14795. jQuery.fn.extend({
  14796. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  14797. offset: function( options ) {
  14798. if ( arguments.length ) {
  14799. return options === undefined ?
  14800. this :
  14801. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  14802. this.each( function( i ) {
  14803. jQuery.offset.setOffset( this, options, i );
  14804. } );
  14805. =======
  14806. this.each(function( i ) {
  14807. jQuery.offset.setOffset( this, options, i );
  14808. });
  14809. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  14810. }
  14811. var docElem, win,
  14812. box = { top: 0, left: 0 },
  14813. elem = this[ 0 ],
  14814. doc = elem && elem.ownerDocument;
  14815. if ( !doc ) {
  14816. return;
  14817. }
  14818. docElem = doc.documentElement;
  14819. // Make sure it's not a disconnected DOM node
  14820. if ( !jQuery.contains( docElem, elem ) ) {
  14821. return box;
  14822. }
  14823. // If we don't have gBCR, just use 0,0 rather than error
  14824. // BlackBerry 5, iOS 3 (original iPhone)
  14825. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  14826. if ( typeof elem.getBoundingClientRect !== "undefined" ) {
  14827. =======
  14828. if ( typeof elem.getBoundingClientRect !== strundefined ) {
  14829. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  14830. box = elem.getBoundingClientRect();
  14831. }
  14832. win = getWindow( doc );
  14833. return {
  14834. top: box.top + ( win.pageYOffset || docElem.scrollTop ) - ( docElem.clientTop || 0 ),
  14835. left: box.left + ( win.pageXOffset || docElem.scrollLeft ) - ( docElem.clientLeft || 0 )
  14836. };
  14837. },
  14838. position: function() {
  14839. if ( !this[ 0 ] ) {
  14840. return;
  14841. }
  14842. var offsetParent, offset,
  14843. parentOffset = { top: 0, left: 0 },
  14844. elem = this[ 0 ];
  14845. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  14846. // Fixed elements are offset from window (parentOffset = {top:0, left: 0},
  14847. // because it is its only offset parent
  14848. =======
  14849. // fixed elements are offset from window (parentOffset = {top:0, left: 0}, because it is its only offset parent
  14850. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  14851. if ( jQuery.css( elem, "position" ) === "fixed" ) {
  14852. // we assume that getBoundingClientRect is available when computed position is fixed
  14853. offset = elem.getBoundingClientRect();
  14854. } else {
  14855. // Get *real* offsetParent
  14856. offsetParent = this.offsetParent();
  14857. // Get correct offsets
  14858. offset = this.offset();
  14859. if ( !jQuery.nodeName( offsetParent[ 0 ], "html" ) ) {
  14860. parentOffset = offsetParent.offset();
  14861. }
  14862. // Add offsetParent borders
  14863. parentOffset.top += jQuery.css( offsetParent[ 0 ], "borderTopWidth", true );
  14864. parentOffset.left += jQuery.css( offsetParent[ 0 ], "borderLeftWidth", true );
  14865. }
  14866. // Subtract parent offsets and element margins
  14867. // note: when an element has margin: auto the offsetLeft and marginLeft
  14868. // are the same in Safari causing offset.left to incorrectly be 0
  14869. return {
  14870. top: offset.top - parentOffset.top - jQuery.css( elem, "marginTop", true ),
  14871. left: offset.left - parentOffset.left - jQuery.css( elem, "marginLeft", true )
  14872. };
  14873. },
  14874. offsetParent: function() {
  14875. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  14876. return this.map( function() {
  14877. var offsetParent = this.offsetParent;
  14878. while ( offsetParent && ( !jQuery.nodeName( offsetParent, "html" ) &&
  14879. jQuery.css( offsetParent, "position" ) === "static" ) ) {
  14880. =======
  14881. return this.map(function() {
  14882. var offsetParent = this.offsetParent || docElem;
  14883. while ( offsetParent && ( !jQuery.nodeName( offsetParent, "html" ) && jQuery.css( offsetParent, "position" ) === "static" ) ) {
  14884. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  14885. offsetParent = offsetParent.offsetParent;
  14886. }
  14887. return offsetParent || documentElement;
  14888. } );
  14889. }
  14890. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  14891. } );
  14892. =======
  14893. });
  14894. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  14895. // Create scrollLeft and scrollTop methods
  14896. jQuery.each( { scrollLeft: "pageXOffset", scrollTop: "pageYOffset" }, function( method, prop ) {
  14897. var top = /Y/.test( prop );
  14898. jQuery.fn[ method ] = function( val ) {
  14899. return access( this, function( elem, method, val ) {
  14900. var win = getWindow( elem );
  14901. if ( val === undefined ) {
  14902. return win ? ( prop in win ) ? win[ prop ] :
  14903. win.document.documentElement[ method ] :
  14904. elem[ method ];
  14905. }
  14906. if ( win ) {
  14907. win.scrollTo(
  14908. !top ? val : jQuery( win ).scrollLeft(),
  14909. top ? val : jQuery( win ).scrollTop()
  14910. );
  14911. } else {
  14912. elem[ method ] = val;
  14913. }
  14914. }, method, val, arguments.length, null );
  14915. };
  14916. } );
  14917. // Support: Safari<7-8+, Chrome<37-44+
  14918. // Add the top/left cssHooks using jQuery.fn.position
  14919. // Webkit bug: https://bugs.webkit.org/show_bug.cgi?id=29084
  14920. // getComputedStyle returns percent when specified for top/left/bottom/right
  14921. // rather than make the css module depend on the offset module, we just check for it here
  14922. jQuery.each( [ "top", "left" ], function( i, prop ) {
  14923. jQuery.cssHooks[ prop ] = addGetHookIf( support.pixelPosition,
  14924. function( elem, computed ) {
  14925. if ( computed ) {
  14926. computed = curCSS( elem, prop );
  14927. // if curCSS returns percentage, fallback to offset
  14928. return rnumnonpx.test( computed ) ?
  14929. jQuery( elem ).position()[ prop ] + "px" :
  14930. computed;
  14931. }
  14932. }
  14933. );
  14934. } );
  14935. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  14936. =======
  14937. // Add the top/left cssHooks using jQuery.fn.position
  14938. // Webkit bug: https://bugs.webkit.org/show_bug.cgi?id=29084
  14939. // getComputedStyle returns percent when specified for top/left/bottom/right
  14940. // rather than make the css module depend on the offset module, we just check for it here
  14941. jQuery.each( [ "top", "left" ], function( i, prop ) {
  14942. jQuery.cssHooks[ prop ] = addGetHookIf( support.pixelPosition,
  14943. function( elem, computed ) {
  14944. if ( computed ) {
  14945. computed = curCSS( elem, prop );
  14946. // if curCSS returns percentage, fallback to offset
  14947. return rnumnonpx.test( computed ) ?
  14948. jQuery( elem ).position()[ prop ] + "px" :
  14949. computed;
  14950. }
  14951. }
  14952. );
  14953. });
  14954. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  14955. // Create innerHeight, innerWidth, height, width, outerHeight and outerWidth methods
  14956. jQuery.each( { Height: "height", Width: "width" }, function( name, type ) {
  14957. jQuery.each( { padding: "inner" + name, content: type, "": "outer" + name },
  14958. function( defaultExtra, funcName ) {
  14959. // margin is only for outerHeight, outerWidth
  14960. jQuery.fn[ funcName ] = function( margin, value ) {
  14961. var chainable = arguments.length && ( defaultExtra || typeof margin !== "boolean" ),
  14962. extra = defaultExtra || ( margin === true || value === true ? "margin" : "border" );
  14963. return access( this, function( elem, type, value ) {
  14964. var doc;
  14965. if ( jQuery.isWindow( elem ) ) {
  14966. // As of 5/8/2012 this will yield incorrect results for Mobile Safari, but there
  14967. // isn't a whole lot we can do. See pull request at this URL for discussion:
  14968. // https://github.com/jquery/jquery/pull/764
  14969. return elem.document.documentElement[ "client" + name ];
  14970. }
  14971. // Get document width or height
  14972. if ( elem.nodeType === 9 ) {
  14973. doc = elem.documentElement;
  14974. // Either scroll[Width/Height] or offset[Width/Height] or client[Width/Height],
  14975. // whichever is greatest
  14976. // unfortunately, this causes bug #3838 in IE6/8 only,
  14977. // but there is currently no good, small way to fix it.
  14978. return Math.max(
  14979. elem.body[ "scroll" + name ], doc[ "scroll" + name ],
  14980. elem.body[ "offset" + name ], doc[ "offset" + name ],
  14981. doc[ "client" + name ]
  14982. );
  14983. }
  14984. return value === undefined ?
  14985. // Get width or height on the element, requesting but not forcing parseFloat
  14986. jQuery.css( elem, type, extra ) :
  14987. // Set width or height on the element
  14988. jQuery.style( elem, type, value, extra );
  14989. }, type, chainable ? margin : undefined, chainable, null );
  14990. };
  14991. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  14992. } );
  14993. } );
  14994. jQuery.fn.extend( {
  14995. bind: function( types, data, fn ) {
  14996. return this.on( types, null, data, fn );
  14997. },
  14998. unbind: function( types, fn ) {
  14999. return this.off( types, null, fn );
  15000. },
  15001. delegate: function( selector, types, data, fn ) {
  15002. return this.on( types, selector, data, fn );
  15003. },
  15004. undelegate: function( selector, types, fn ) {
  15005. // ( namespace ) or ( selector, types [, fn] )
  15006. return arguments.length === 1 ?
  15007. this.off( selector, "**" ) :
  15008. this.off( types, selector || "**", fn );
  15009. }
  15010. } );
  15011. =======
  15012. });
  15013. });
  15014. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  15015. // The number of elements contained in the matched element set
  15016. jQuery.fn.size = function() {
  15017. return this.length;
  15018. };
  15019. jQuery.fn.andSelf = jQuery.fn.addBack;
  15020. // Register as a named AMD module, since jQuery can be concatenated with other
  15021. // files that may use define, but not via a proper concatenation script that
  15022. // understands anonymous AMD modules. A named AMD is safest and most robust
  15023. // way to register. Lowercase jquery is used because AMD module names are
  15024. // derived from file names, and jQuery is normally delivered in a lowercase
  15025. // file name. Do this after creating the global so that if an AMD module wants
  15026. // to call noConflict to hide this version of jQuery, it will work.
  15027. // Note that for maximum portability, libraries that are not jQuery should
  15028. // declare themselves as anonymous modules, and avoid setting a global if an
  15029. // AMD loader is present. jQuery is a special case. For more information, see
  15030. // https://github.com/jrburke/requirejs/wiki/Updating-existing-libraries#wiki-anon
  15031. if ( typeof define === "function" && define.amd ) {
  15032. define( "jquery", [], function() {
  15033. return jQuery;
  15034. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  15035. } );
  15036. =======
  15037. });
  15038. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  15039. }
  15040. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  15041. var
  15042. =======
  15043. var
  15044. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  15045. // Map over jQuery in case of overwrite
  15046. _jQuery = window.jQuery,
  15047. // Map over the $ in case of overwrite
  15048. _$ = window.$;
  15049. jQuery.noConflict = function( deep ) {
  15050. if ( window.$ === jQuery ) {
  15051. window.$ = _$;
  15052. }
  15053. if ( deep && window.jQuery === jQuery ) {
  15054. window.jQuery = _jQuery;
  15055. }
  15056. return jQuery;
  15057. };
  15058. // Expose jQuery and $ identifiers, even in
  15059. // AMD (#7102#comment:10, https://github.com/jquery/jquery/pull/557)
  15060. // and CommonJS for browser emulators (#13566)
  15061. <<<<<<< HEAD:src/main/resources/static/admin/lib/jquery.min.js
  15062. if ( !noGlobal ) {
  15063. window.jQuery = window.$ = jQuery;
  15064. }
  15065. return jQuery;
  15066. =======
  15067. if ( typeof noGlobal === strundefined ) {
  15068. window.jQuery = window.$ = jQuery;
  15069. }
  15070. return jQuery;
  15071. >>>>>>> refs/remotes/origin/yq_dev:src/main/resources/static/public/jquery-1.11.2.js
  15072. }));