1*4882a593SmuzhiyunAPPLE PUBLIC SOURCE LICENSE Version 2.0 - August 6, 2003 2*4882a593Smuzhiyun 3*4882a593SmuzhiyunPlease read this License carefully before downloading this software. By 4*4882a593Smuzhiyundownloading or using this software, you are agreeing to be bound by the terms of 5*4882a593Smuzhiyunthis License. If you do not or cannot agree to the terms of this License, 6*4882a593Smuzhiyunplease do not download or use the software. 7*4882a593Smuzhiyun 8*4882a593SmuzhiyunApple Note: In January 2007, Apple changed its corporate name from "Apple 9*4882a593SmuzhiyunComputer, Inc." to "Apple Inc." This change has been reflected below and 10*4882a593Smuzhiyuncopyright years updated, but no other changes have been made to the APSL 2.0. 11*4882a593Smuzhiyun 12*4882a593Smuzhiyun1. General; Definitions. This License applies to any program or other work 13*4882a593Smuzhiyunwhich Apple Inc. ("Apple") makes publicly available and which contains a notice 14*4882a593Smuzhiyunplaced by Apple identifying such program or work as "Original Code" and stating 15*4882a593Smuzhiyunthat it is subject to the terms of this Apple Public Source License version 2.0 16*4882a593Smuzhiyun("License"). As used in this License: 17*4882a593Smuzhiyun 18*4882a593Smuzhiyun1.1 "Applicable Patent Rights" mean: (a) in the case where Apple is the 19*4882a593Smuzhiyungrantor of rights, (i) claims of patents that are now or hereafter acquired, 20*4882a593Smuzhiyunowned by or assigned to Apple and (ii) that cover subject matter contained in 21*4882a593Smuzhiyunthe Original Code, but only to the extent necessary to use, reproduce and/or 22*4882a593Smuzhiyundistribute the Original Code without infringement; and (b) in the case where You 23*4882a593Smuzhiyunare the grantor of rights, (i) claims of patents that are now or hereafter 24*4882a593Smuzhiyunacquired, owned by or assigned to You and (ii) that cover subject matter in Your 25*4882a593SmuzhiyunModifications, taken alone or in combination with Original Code. 26*4882a593Smuzhiyun 27*4882a593Smuzhiyun1.2 "Contributor" means any person or entity that creates or contributes to the 28*4882a593Smuzhiyuncreation of Modifications. 29*4882a593Smuzhiyun 30*4882a593Smuzhiyun1.3 "Covered Code" means the Original Code, Modifications, the combination of 31*4882a593SmuzhiyunOriginal Code and any Modifications, and/or any respective portions thereof. 32*4882a593Smuzhiyun 33*4882a593Smuzhiyun1.4 "Externally Deploy" means: (a) to sublicense, distribute or otherwise make 34*4882a593SmuzhiyunCovered Code available, directly or indirectly, to anyone other than You; and/or 35*4882a593Smuzhiyun(b) to use Covered Code, alone or as part of a Larger Work, in any way to 36*4882a593Smuzhiyunprovide a service, including but not limited to delivery of content, through 37*4882a593Smuzhiyunelectronic communication with a client other than You. 38*4882a593Smuzhiyun 39*4882a593Smuzhiyun1.5 "Larger Work" means a work which combines Covered Code or portions thereof 40*4882a593Smuzhiyunwith code not governed by the terms of this License. 41*4882a593Smuzhiyun 42*4882a593Smuzhiyun1.6 "Modifications" mean any addition to, deletion from, and/or change to, the 43*4882a593Smuzhiyunsubstance and/or structure of the Original Code, any previous Modifications, the 44*4882a593Smuzhiyuncombination of Original Code and any previous Modifications, and/or any 45*4882a593Smuzhiyunrespective portions thereof. When code is released as a series of files, a 46*4882a593SmuzhiyunModification is: (a) any addition to or deletion from the contents of a file 47*4882a593Smuzhiyuncontaining Covered Code; and/or (b) any new file or other representation of 48*4882a593Smuzhiyuncomputer program statements that contains any part of Covered Code. 49*4882a593Smuzhiyun 50*4882a593Smuzhiyun1.7 "Original Code" means (a) the Source Code of a program or other work as 51*4882a593Smuzhiyunoriginally made available by Apple under this License, including the Source Code 52*4882a593Smuzhiyunof any updates or upgrades to such programs or works made available by Apple 53*4882a593Smuzhiyununder this License, and that has been expressly identified by Apple as such in 54*4882a593Smuzhiyunthe header file(s) of such work; and (b) the object code compiled from such 55*4882a593SmuzhiyunSource Code and originally made available by Apple under this License 56*4882a593Smuzhiyun 57*4882a593Smuzhiyun1.8 "Source Code" means the human readable form of a program or other work that 58*4882a593Smuzhiyunis suitable for making modifications to it, including all modules it contains, 59*4882a593Smuzhiyunplus any associated interface definition files, scripts used to control 60*4882a593Smuzhiyuncompilation and installation of an executable (object code). 61*4882a593Smuzhiyun 62*4882a593Smuzhiyun1.9 "You" or "Your" means an individual or a legal entity exercising rights 63*4882a593Smuzhiyununder this License. For legal entities, "You" or "Your" includes any entity 64*4882a593Smuzhiyunwhich controls, is controlled by, or is under common control with, You, where 65*4882a593Smuzhiyun"control" means (a) the power, direct or indirect, to cause the direction or 66*4882a593Smuzhiyunmanagement of such entity, whether by contract or otherwise, or (b) ownership of 67*4882a593Smuzhiyunfifty percent (50%) or more of the outstanding shares or beneficial ownership of 68*4882a593Smuzhiyunsuch entity. 69*4882a593Smuzhiyun 70*4882a593Smuzhiyun2. Permitted Uses; Conditions & Restrictions. Subject to the terms and 71*4882a593Smuzhiyunconditions of this License, Apple hereby grants You, effective on the date You 72*4882a593Smuzhiyunaccept this License and download the Original Code, a world-wide, royalty-free, 73*4882a593Smuzhiyunnon-exclusive license, to the extent of Apple's Applicable Patent Rights and 74*4882a593Smuzhiyuncopyrights covering the Original Code, to do the following: 75*4882a593Smuzhiyun 76*4882a593Smuzhiyun2.1 Unmodified Code. You may use, reproduce, display, perform, internally 77*4882a593Smuzhiyundistribute within Your organization, and Externally Deploy verbatim, unmodified 78*4882a593Smuzhiyuncopies of the Original Code, for commercial or non-commercial purposes, provided 79*4882a593Smuzhiyunthat in each instance: 80*4882a593Smuzhiyun 81*4882a593Smuzhiyun(a) You must retain and reproduce in all copies of Original Code the copyright 82*4882a593Smuzhiyunand other proprietary notices and disclaimers of Apple as they appear in the 83*4882a593SmuzhiyunOriginal Code, and keep intact all notices in the Original Code that refer to 84*4882a593Smuzhiyunthis License; and 85*4882a593Smuzhiyun 86*4882a593Smuzhiyun(b) You must include a copy of this License with every copy of Source Code of 87*4882a593SmuzhiyunCovered Code and documentation You distribute or Externally Deploy, and You may 88*4882a593Smuzhiyunnot offer or impose any terms on such Source Code that alter or restrict this 89*4882a593SmuzhiyunLicense or the recipients' rights hereunder, except as permitted under Section 90*4882a593Smuzhiyun6. 91*4882a593Smuzhiyun 92*4882a593Smuzhiyun2.2 Modified Code. You may modify Covered Code and use, reproduce, display, 93*4882a593Smuzhiyunperform, internally distribute within Your organization, and Externally Deploy 94*4882a593SmuzhiyunYour Modifications and Covered Code, for commercial or non-commercial purposes, 95*4882a593Smuzhiyunprovided that in each instance You also meet all of these conditions: 96*4882a593Smuzhiyun 97*4882a593Smuzhiyun(a) You must satisfy all the conditions of Section 2.1 with respect to the 98*4882a593SmuzhiyunSource Code of the Covered Code; 99*4882a593Smuzhiyun 100*4882a593Smuzhiyun(b) You must duplicate, to the extent it does not already exist, the notice in 101*4882a593SmuzhiyunExhibit A in each file of the Source Code of all Your Modifications, and cause 102*4882a593Smuzhiyunthe modified files to carry prominent notices stating that You changed the files 103*4882a593Smuzhiyunand the date of any change; and 104*4882a593Smuzhiyun 105*4882a593Smuzhiyun(c) If You Externally Deploy Your Modifications, You must make Source Code of 106*4882a593Smuzhiyunall Your Externally Deployed Modifications either available to those to whom You 107*4882a593Smuzhiyunhave Externally Deployed Your Modifications, or publicly available. Source Code 108*4882a593Smuzhiyunof Your Externally Deployed Modifications must be released under the terms set 109*4882a593Smuzhiyunforth in this License, including the license grants set forth in Section 3 110*4882a593Smuzhiyunbelow, for as long as you Externally Deploy the Covered Code or twelve (12) 111*4882a593Smuzhiyunmonths from the date of initial External Deployment, whichever is longer. You 112*4882a593Smuzhiyunshould preferably distribute the Source Code of Your Externally Deployed 113*4882a593SmuzhiyunModifications electronically (e.g. download from a web site). 114*4882a593Smuzhiyun 115*4882a593Smuzhiyun2.3 Distribution of Executable Versions. In addition, if You Externally Deploy 116*4882a593SmuzhiyunCovered Code (Original Code and/or Modifications) in object code, executable 117*4882a593Smuzhiyunform only, You must include a prominent notice, in the code itself as well as in 118*4882a593Smuzhiyunrelated documentation, stating that Source Code of the Covered Code is available 119*4882a593Smuzhiyununder the terms of this License with information on how and where to obtain such 120*4882a593SmuzhiyunSource Code. 121*4882a593Smuzhiyun 122*4882a593Smuzhiyun2.4 Third Party Rights. You expressly acknowledge and agree that although 123*4882a593SmuzhiyunApple and each Contributor grants the licenses to their respective portions of 124*4882a593Smuzhiyunthe Covered Code set forth herein, no assurances are provided by Apple or any 125*4882a593SmuzhiyunContributor that the Covered Code does not infringe the patent or other 126*4882a593Smuzhiyunintellectual property rights of any other entity. Apple and each Contributor 127*4882a593Smuzhiyundisclaim any liability to You for claims brought by any other entity based on 128*4882a593Smuzhiyuninfringement of intellectual property rights or otherwise. As a condition to 129*4882a593Smuzhiyunexercising the rights and licenses granted hereunder, You hereby assume sole 130*4882a593Smuzhiyunresponsibility to secure any other intellectual property rights needed, if any. 131*4882a593SmuzhiyunFor example, if a third party patent license is required to allow You to 132*4882a593Smuzhiyundistribute the Covered Code, it is Your responsibility to acquire that license 133*4882a593Smuzhiyunbefore distributing the Covered Code. 134*4882a593Smuzhiyun 135*4882a593Smuzhiyun3. Your Grants. In consideration of, and as a condition to, the licenses 136*4882a593Smuzhiyungranted to You under this License, You hereby grant to any person or entity 137*4882a593Smuzhiyunreceiving or distributing Covered Code under this License a non-exclusive, 138*4882a593Smuzhiyunroyalty-free, perpetual, irrevocable license, under Your Applicable Patent 139*4882a593SmuzhiyunRights and other intellectual property rights (other than patent) owned or 140*4882a593Smuzhiyuncontrolled by You, to use, reproduce, display, perform, modify, sublicense, 141*4882a593Smuzhiyundistribute and Externally Deploy Your Modifications of the same scope and extent 142*4882a593Smuzhiyunas Apple's licenses under Sections 2.1 and 2.2 above. 143*4882a593Smuzhiyun 144*4882a593Smuzhiyun4. Larger Works. You may create a Larger Work by combining Covered Code with 145*4882a593Smuzhiyunother code not governed by the terms of this License and distribute the Larger 146*4882a593SmuzhiyunWork as a single product. In each such instance, You must make sure the 147*4882a593Smuzhiyunrequirements of this License are fulfilled for the Covered Code or any portion 148*4882a593Smuzhiyunthereof. 149*4882a593Smuzhiyun 150*4882a593Smuzhiyun5. Limitations on Patent License. Except as expressly stated in Section 2, no 151*4882a593Smuzhiyunother patent rights, express or implied, are granted by Apple herein. 152*4882a593SmuzhiyunModifications and/or Larger Works may require additional patent licenses from 153*4882a593SmuzhiyunApple which Apple may grant in its sole discretion. 154*4882a593Smuzhiyun 155*4882a593Smuzhiyun6. Additional Terms. You may choose to offer, and to charge a fee for, 156*4882a593Smuzhiyunwarranty, support, indemnity or liability obligations and/or other rights 157*4882a593Smuzhiyunconsistent with the scope of the license granted herein ("Additional Terms") to 158*4882a593Smuzhiyunone or more recipients of Covered Code. However, You may do so only on Your own 159*4882a593Smuzhiyunbehalf and as Your sole responsibility, and not on behalf of Apple or any 160*4882a593SmuzhiyunContributor. You must obtain the recipient's agreement that any such Additional 161*4882a593SmuzhiyunTerms are offered by You alone, and You hereby agree to indemnify, defend and 162*4882a593Smuzhiyunhold Apple and every Contributor harmless for any liability incurred by or 163*4882a593Smuzhiyunclaims asserted against Apple or such Contributor by reason of any such 164*4882a593SmuzhiyunAdditional Terms. 165*4882a593Smuzhiyun 166*4882a593Smuzhiyun7. Versions of the License. Apple may publish revised and/or new versions of 167*4882a593Smuzhiyunthis License from time to time. Each version will be given a distinguishing 168*4882a593Smuzhiyunversion number. Once Original Code has been published under a particular 169*4882a593Smuzhiyunversion of this License, You may continue to use it under the terms of that 170*4882a593Smuzhiyunversion. You may also choose to use such Original Code under the terms of any 171*4882a593Smuzhiyunsubsequent version of this License published by Apple. No one other than Apple 172*4882a593Smuzhiyunhas the right to modify the terms applicable to Covered Code created under this 173*4882a593SmuzhiyunLicense. 174*4882a593Smuzhiyun 175*4882a593Smuzhiyun8. NO WARRANTY OR SUPPORT. The Covered Code may contain in whole or in part 176*4882a593Smuzhiyunpre-release, untested, or not fully tested works. The Covered Code may contain 177*4882a593Smuzhiyunerrors that could cause failures or loss of data, and may be incomplete or 178*4882a593Smuzhiyuncontain inaccuracies. You expressly acknowledge and agree that use of the 179*4882a593SmuzhiyunCovered Code, or any portion thereof, is at Your sole and entire risk. THE 180*4882a593SmuzhiyunCOVERED CODE IS PROVIDED "AS IS" AND WITHOUT WARRANTY, UPGRADES OR SUPPORT OF 181*4882a593SmuzhiyunANY KIND AND APPLE AND APPLE'S LICENSOR(S) (COLLECTIVELY REFERRED TO AS "APPLE" 182*4882a593SmuzhiyunFOR THE PURPOSES OF SECTIONS 8 AND 9) AND ALL CONTRIBUTORS EXPRESSLY DISCLAIM 183*4882a593SmuzhiyunALL WARRANTIES AND/OR CONDITIONS, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED 184*4882a593SmuzhiyunTO, THE IMPLIED WARRANTIES AND/OR CONDITIONS OF MERCHANTABILITY, OF SATISFACTORY 185*4882a593SmuzhiyunQUALITY, OF FITNESS FOR A PARTICULAR PURPOSE, OF ACCURACY, OF QUIET ENJOYMENT, 186*4882a593SmuzhiyunAND NONINFRINGEMENT OF THIRD PARTY RIGHTS. APPLE AND EACH CONTRIBUTOR DOES NOT 187*4882a593SmuzhiyunWARRANT AGAINST INTERFERENCE WITH YOUR ENJOYMENT OF THE COVERED CODE, THAT THE 188*4882a593SmuzhiyunFUNCTIONS CONTAINED IN THE COVERED CODE WILL MEET YOUR REQUIREMENTS, THAT THE 189*4882a593SmuzhiyunOPERATION OF THE COVERED CODE WILL BE UNINTERRUPTED OR ERROR-FREE, OR THAT 190*4882a593SmuzhiyunDEFECTS IN THE COVERED CODE WILL BE CORRECTED. NO ORAL OR WRITTEN INFORMATION 191*4882a593SmuzhiyunOR ADVICE GIVEN BY APPLE, AN APPLE AUTHORIZED REPRESENTATIVE OR ANY CONTRIBUTOR 192*4882a593SmuzhiyunSHALL CREATE A WARRANTY. You acknowledge that the Covered Code is not intended 193*4882a593Smuzhiyunfor use in the operation of nuclear facilities, aircraft navigation, 194*4882a593Smuzhiyuncommunication systems, or air traffic control machines in which case the failure 195*4882a593Smuzhiyunof the Covered Code could lead to death, personal injury, or severe physical or 196*4882a593Smuzhiyunenvironmental damage. 197*4882a593Smuzhiyun 198*4882a593Smuzhiyun9. LIMITATION OF LIABILITY. TO THE EXTENT NOT PROHIBITED BY LAW, IN NO EVENT 199*4882a593SmuzhiyunSHALL APPLE OR ANY CONTRIBUTOR BE LIABLE FOR ANY INCIDENTAL, SPECIAL, INDIRECT 200*4882a593SmuzhiyunOR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO THIS LICENSE OR YOUR USE 201*4882a593SmuzhiyunOR INABILITY TO USE THE COVERED CODE, OR ANY PORTION THEREOF, WHETHER UNDER A 202*4882a593SmuzhiyunTHEORY OF CONTRACT, WARRANTY, TORT (INCLUDING NEGLIGENCE), PRODUCTS LIABILITY OR 203*4882a593SmuzhiyunOTHERWISE, EVEN IF APPLE OR SUCH CONTRIBUTOR HAS BEEN ADVISED OF THE POSSIBILITY 204*4882a593SmuzhiyunOF SUCH DAMAGES AND NOTWITHSTANDING THE FAILURE OF ESSENTIAL PURPOSE OF ANY 205*4882a593SmuzhiyunREMEDY. SOME JURISDICTIONS DO NOT ALLOW THE LIMITATION OF LIABILITY OF 206*4882a593SmuzhiyunINCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS LIMITATION MAY NOT APPLY TO YOU. In 207*4882a593Smuzhiyunno event shall Apple's total liability to You for all damages (other than as may 208*4882a593Smuzhiyunbe required by applicable law) under this License exceed the amount of fifty 209*4882a593Smuzhiyundollars ($50.00). 210*4882a593Smuzhiyun 211*4882a593Smuzhiyun10. Trademarks. This License does not grant any rights to use the trademarks 212*4882a593Smuzhiyunor trade names "Apple", "Mac", "Mac OS", "QuickTime", "QuickTime Streaming 213*4882a593SmuzhiyunServer" or any other trademarks, service marks, logos or trade names belonging 214*4882a593Smuzhiyunto Apple (collectively "Apple Marks") or to any trademark, service mark, logo or 215*4882a593Smuzhiyuntrade name belonging to any Contributor. You agree not to use any Apple Marks 216*4882a593Smuzhiyunin or as part of the name of products derived from the Original Code or to 217*4882a593Smuzhiyunendorse or promote products derived from the Original Code other than as 218*4882a593Smuzhiyunexpressly permitted by and in strict compliance at all times with Apple's third 219*4882a593Smuzhiyunparty trademark usage guidelines which are posted at 220*4882a593Smuzhiyunhttp://www.apple.com/legal/guidelinesfor3rdparties.html. 221*4882a593Smuzhiyun 222*4882a593Smuzhiyun11. Ownership. Subject to the licenses granted under this License, each 223*4882a593SmuzhiyunContributor retains all rights, title and interest in and to any Modifications 224*4882a593Smuzhiyunmade by such Contributor. Apple retains all rights, title and interest in and 225*4882a593Smuzhiyunto the Original Code and any Modifications made by or on behalf of Apple ("Apple 226*4882a593SmuzhiyunModifications"), and such Apple Modifications will not be automatically subject 227*4882a593Smuzhiyunto this License. Apple may, at its sole discretion, choose to license such 228*4882a593SmuzhiyunApple Modifications under this License, or on different terms from those 229*4882a593Smuzhiyuncontained in this License or may choose not to license them at all. 230*4882a593Smuzhiyun 231*4882a593Smuzhiyun12. Termination. 232*4882a593Smuzhiyun 233*4882a593Smuzhiyun12.1 Termination. This License and the rights granted hereunder will 234*4882a593Smuzhiyunterminate: 235*4882a593Smuzhiyun 236*4882a593Smuzhiyun(a) automatically without notice from Apple if You fail to comply with any 237*4882a593Smuzhiyunterm(s) of this License and fail to cure such breach within 30 days of becoming 238*4882a593Smuzhiyunaware of such breach; (b) immediately in the event of the circumstances 239*4882a593Smuzhiyundescribed in Section 13.5(b); or (c) automatically without notice from Apple if 240*4882a593SmuzhiyunYou, at any time during the term of this License, commence an action for patent 241*4882a593Smuzhiyuninfringement against Apple; provided that Apple did not first commence an action 242*4882a593Smuzhiyunfor patent infringement against You in that instance. 243*4882a593Smuzhiyun 244*4882a593Smuzhiyun12.2 Effect of Termination. Upon termination, You agree to immediately stop 245*4882a593Smuzhiyunany further use, reproduction, modification, sublicensing and distribution of 246*4882a593Smuzhiyunthe Covered Code. All sublicenses to the Covered Code which have been properly 247*4882a593Smuzhiyungranted prior to termination shall survive any termination of this License. 248*4882a593SmuzhiyunProvisions which, by their nature, should remain in effect beyond the 249*4882a593Smuzhiyuntermination of this License shall survive, including but not limited to Sections 250*4882a593Smuzhiyun3, 5, 8, 9, 10, 11, 12.2 and 13. No party will be liable to any other for 251*4882a593Smuzhiyuncompensation, indemnity or damages of any sort solely as a result of terminating 252*4882a593Smuzhiyunthis License in accordance with its terms, and termination of this License will 253*4882a593Smuzhiyunbe without prejudice to any other right or remedy of any party. 254*4882a593Smuzhiyun 255*4882a593Smuzhiyun13. Miscellaneous. 256*4882a593Smuzhiyun 257*4882a593Smuzhiyun13.1 Government End Users. The Covered Code is a "commercial item" as defined 258*4882a593Smuzhiyunin FAR 2.101. Government software and technical data rights in the Covered Code 259*4882a593Smuzhiyuninclude only those rights customarily provided to the public as defined in this 260*4882a593SmuzhiyunLicense. This customary commercial license in technical data and software is 261*4882a593Smuzhiyunprovided in accordance with FAR 12.211 (Technical Data) and 12.212 (Computer 262*4882a593SmuzhiyunSoftware) and, for Department of Defense purchases, DFAR 252.227-7015 (Technical 263*4882a593SmuzhiyunData -- Commercial Items) and 227.7202-3 (Rights in Commercial Computer Software 264*4882a593Smuzhiyunor Computer Software Documentation). Accordingly, all U.S. Government End Users 265*4882a593Smuzhiyunacquire Covered Code with only those rights set forth herein. 266*4882a593Smuzhiyun 267*4882a593Smuzhiyun13.2 Relationship of Parties. This License will not be construed as creating 268*4882a593Smuzhiyunan agency, partnership, joint venture or any other form of legal association 269*4882a593Smuzhiyunbetween or among You, Apple or any Contributor, and You will not represent to 270*4882a593Smuzhiyunthe contrary, whether expressly, by implication, appearance or otherwise. 271*4882a593Smuzhiyun 272*4882a593Smuzhiyun13.3 Independent Development. Nothing in this License will impair Apple's 273*4882a593Smuzhiyunright to acquire, license, develop, have others develop for it, market and/or 274*4882a593Smuzhiyundistribute technology or products that perform the same or similar functions as, 275*4882a593Smuzhiyunor otherwise compete with, Modifications, Larger Works, technology or products 276*4882a593Smuzhiyunthat You may develop, produce, market or distribute. 277*4882a593Smuzhiyun 278*4882a593Smuzhiyun13.4 Waiver; Construction. Failure by Apple or any Contributor to enforce any 279*4882a593Smuzhiyunprovision of this License will not be deemed a waiver of future enforcement of 280*4882a593Smuzhiyunthat or any other provision. Any law or regulation which provides that the 281*4882a593Smuzhiyunlanguage of a contract shall be construed against the drafter will not apply to 282*4882a593Smuzhiyunthis License. 283*4882a593Smuzhiyun 284*4882a593Smuzhiyun13.5 Severability. (a) If for any reason a court of competent jurisdiction 285*4882a593Smuzhiyunfinds any provision of this License, or portion thereof, to be unenforceable, 286*4882a593Smuzhiyunthat provision of the License will be enforced to the maximum extent permissible 287*4882a593Smuzhiyunso as to effect the economic benefits and intent of the parties, and the 288*4882a593Smuzhiyunremainder of this License will continue in full force and effect. (b) 289*4882a593SmuzhiyunNotwithstanding the foregoing, if applicable law prohibits or restricts You from 290*4882a593Smuzhiyunfully and/or specifically complying with Sections 2 and/or 3 or prevents the 291*4882a593Smuzhiyunenforceability of either of those Sections, this License will immediately 292*4882a593Smuzhiyunterminate and You must immediately discontinue any use of the Covered Code and 293*4882a593Smuzhiyundestroy all copies of it that are in your possession or control. 294*4882a593Smuzhiyun 295*4882a593Smuzhiyun13.6 Dispute Resolution. Any litigation or other dispute resolution between 296*4882a593SmuzhiyunYou and Apple relating to this License shall take place in the Northern District 297*4882a593Smuzhiyunof California, and You and Apple hereby consent to the personal jurisdiction of, 298*4882a593Smuzhiyunand venue in, the state and federal courts within that District with respect to 299*4882a593Smuzhiyunthis License. The application of the United Nations Convention on Contracts for 300*4882a593Smuzhiyunthe International Sale of Goods is expressly excluded. 301*4882a593Smuzhiyun 302*4882a593Smuzhiyun13.7 Entire Agreement; Governing Law. This License constitutes the entire 303*4882a593Smuzhiyunagreement between the parties with respect to the subject matter hereof. This 304*4882a593SmuzhiyunLicense shall be governed by the laws of the United States and the State of 305*4882a593SmuzhiyunCalifornia, except that body of California law concerning conflicts of law. 306*4882a593Smuzhiyun 307*4882a593SmuzhiyunWhere You are located in the province of Quebec, Canada, the following clause 308*4882a593Smuzhiyunapplies: The parties hereby confirm that they have requested that this License 309*4882a593Smuzhiyunand all related documents be drafted in English. Les parties ont exigé que le 310*4882a593Smuzhiyunprésent contrat et tous les documents connexes soient rédigés en anglais. 311*4882a593Smuzhiyun 312*4882a593SmuzhiyunEXHIBIT A. 313*4882a593Smuzhiyun 314*4882a593Smuzhiyun"Portions Copyright (c) 1999-2007 Apple Inc. All Rights Reserved. 315*4882a593Smuzhiyun 316*4882a593SmuzhiyunThis file contains Original Code and/or Modifications of Original Code as 317*4882a593Smuzhiyundefined in and that are subject to the Apple Public Source License Version 2.0 318*4882a593Smuzhiyun(the 'License'). You may not use this file except in compliance with the 319*4882a593SmuzhiyunLicense. Please obtain a copy of the License at 320*4882a593Smuzhiyunhttp://www.opensource.apple.com/apsl/ and read it before using this file. 321*4882a593Smuzhiyun 322*4882a593SmuzhiyunThe Original Code and all software distributed under the License are distributed 323*4882a593Smuzhiyunon an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, 324*4882a593SmuzhiyunAND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, 325*4882a593SmuzhiyunANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET 326*4882a593SmuzhiyunENJOYMENT OR NON-INFRINGEMENT. Please see the License for the specific language 327*4882a593Smuzhiyungoverning rights and limitations under the License." 328